summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-11 16:05:41 +0200
committerDirk von Suchodoletz2010-08-11 16:05:41 +0200
commite7286178d3dfc464fcb723502337a82d94e84cb0 (patch)
treea2cbe36e8767af660098b01246310bf8f452c2b9 /boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
parentRemove unneeded kernel driver modules ... (diff)
downloadcore-e7286178d3dfc464fcb723502337a82d94e84cb0.tar.gz
core-e7286178d3dfc464fcb723502337a82d94e84cb0.tar.xz
core-e7286178d3dfc464fcb723502337a82d94e84cb0.zip
Add firmwares for the graphic adaptors (at least required by radeon
based chipsets, see #730 - newer Ubuntus, SuSE11.3)
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm')
-rw-r--r--boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
index 6de0a4fe..b09543dc 100644
--- a/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
+++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
@@ -1,4 +1,4 @@
-# Copyright (c) 2006-2008 - OpenSLX GmbH
+# Copyright (c) 2006..2010 - OpenSLX GmbH
#
# This program is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
@@ -275,12 +275,13 @@ sub _copyKernelModules
}
}
- # build a list of required firmwares out of the list of modules
+ # build a list of required firmwares out of the list of modules - not
+ # totally optimal
my @firmwares;
$self->addCMD("mkdir -p $self->{'build-path'}/lib/firmware/$self->{'kernel-version'}");
foreach my $moduleToBeCopied(%modulesToBeCopied) {
$moduleToBeCopied =~ /.*\/(.*?)$/;
- # implies usage of Switch
+ # implies usage of switch
vlog(1,$1);
switch ($1){
case "e100.ko" {push @firmwares, split ' ', "e100"}
@@ -289,6 +290,10 @@ sub _copyKernelModules
"iwlwifi-3945-1.ucode iwlwifi-3945-2.ucode iwlwifi-4965-1.ucode iwlwifi-4965-2.ucode iwlwifi-5000-1.ucode"
}
case "tg3.ko" {push @firmwares, split ' ', "tigon/"}
+ # modules required for graphic adaptors (bootsplash, Xorg)
+ case "radeon.ko" {push @firmwares, split ' ', "radeon/"}
+ case "mga.ko" {push @firmwares, split ' ', "matrox/"}
+ case "r128.ko" {push @firmwares, split ' ', "r128/"}
}
}
# copy all the firmwares that we think are required