From e7286178d3dfc464fcb723502337a82d94e84cb0 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 11 Aug 2010 16:05:41 +0200 Subject: Add firmwares for the graphic adaptors (at least required by radeon based chipsets, see #730 - newer Ubuntus, SuSE11.3) --- boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm') 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 -- cgit v1.2.3-55-g7522