Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Sparc
  • Search

Qla2xxx: Initramfs no longer required

Have a Sparc system? Post here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
blu3bird
Retired Dev
Retired Dev
Posts: 619
Joined: Sat Oct 04, 2003 10:19 am
Location: Munich, Germany

Qla2xxx: Initramfs no longer required

  • Quote

Post by blu3bird » Fri Aug 15, 2008 12:34 pm

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

Code: Select all

>=sys-kernel/vanilla-sources-2.6.27_rc1
	or
>=sys-kernel/gentoo-sources-2.6.27
and the firmware for the qla2xxx adapter

Code: Select all

sys-block/qla-fc-firmware
open up your kernel's menuconfig and set

Code: Select all

Device Drivers  --->
	Generic Driver Options  --->
		External firmware blobs to build into the kernel binary
to "ql2200_fw.bin"

and

Code: Select all

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

translated to .config this means:

Code: Select all

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:

Code: Select all

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.
Black Holes are created when God divides by zero!
Top
Ferris
Retired Dev
Retired Dev
User avatar
Posts: 426
Joined: Mon Jan 13, 2003 5:33 pm
Location: N. Virginia (USA)

  • Quote

Post by Ferris » Fri Sep 12, 2008 6:51 pm

Note also that once again you do not want to build the kernel driver as a module if you want to boot from a qla2xxx fibre channel disk. You will want:

Code: Select all

CONFIG_SCSI_QLA_FC=y
Regards,
Ferris McCormick (fmccor)
Gentoo/SPARC, Gentoo/Devrel, Gentoo/Userrel, Trustees
Top
Post Reply

2 posts • Page 1 of 1

Return to “Gentoo on Sparc”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy