Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-sparc@g.o
From: Friedrich Oslage <bluebird@g.o>
Subject: Qla2xxx: Initramfs no longer required
Date: Fri, 15 Aug 2008 14:34:38 +0200
If you own a SPARC system with a qla2xxx fibre channel adapter - SUN
Blade 1000/2000 for instance - you have been through a lot to get it
working with a recent kernel.

Before kernel 2.6.18 was released it worked out of the box but then the
firmware has been removed from the kernel(due to licence issues) and an
initramfs was required to boot such a system.

http://www.gentoo.org/proj/en/base/sparc/qla2xxx.xml was created to
assist users in creating such an initramfs.

Not any more!

In kernel 2.6.27 a new features has been added that allows you to
compile 3rd party (including non-GPL) firmwares directly into the
kernel.

To set it up you need to install the kernel
	>=sys-kernel/vanilla-sources-2.6.27_rc1
	or
	>=sys-kernel/gentoo-sources-2.6.27

and the firmware for the qla2xxx adapter
	sys-block/qla-fc-firmware

open up your kernel's menuconfig and set
	Device Drivers  --->
		Generic Driver Options  --->
			External firmware blobs to build into the kernel binary
to "ql2200_fw.bin"

and
	Device Drivers  --->
		Generic Driver Options  --->
			Firmware blobs root directory
to "/lib/firmware"

translated to .config this means:
	CONFIG_EXTRA_FIRMWARE="ql2200_fw.bin"
	CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

Compile it, boot it and during the boot-process you'll see this line
that indicates that everything works as it should:
	firmware: using built-in firmware ql2200_fw.bin


Please note, the linux kernel is GPL, the qla2xxx firmware is NOT. That
means you may not redistribute the resulting kernel image.
However, you may redistribute both, the linux kernel(source) and the
firmware seperatly(under the terms of their licences) and provide
instructions to others on how to compile it.
Attachment:
signature.asc (Dies ist ein digital signierter Nachrichtenteil)
Replies:
Re: Qla2xxx: Initramfs no longer required
-- Andrew Gaffney
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[gentoo-dev] Re: Jeeves IRC replacement now alive - Willikins
Next by thread:
Re: Qla2xxx: Initramfs no longer required
Previous by date:
[gentoo-dev] Re: Jeeves IRC replacement now alive - Willikins
Next by date:
Re: Qla2xxx: Initramfs no longer required


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.