Gentoo Archives: gentoo-sparc

From: Ferris McCormick <fmccor@g.o>
To: gentoo-sparc@l.g.o
Cc: chepati@×××××.com, armin76@g.o
Subject: Re: [gentoo-sparc] Booting the system...
Date: Fri, 28 Mar 2008 22:58:10
Message-Id: 20080328225757.2c14ae55@anaconda.krait.us
In Reply to: Re: [gentoo-sparc] Booting the system... by Ivan Kabaivanov
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 28 Mar 2008 15:23:33 -0400
Ivan Kabaivanov <chepati@×××××.com> wrote:

> On Thursday 27 March 2008 19:05, Ferris McCormick wrote: > > On Thu, 27 Mar 2008 17:06:47 -0400 > > > > [snip] > > > > you're almost there. Get the binary firmware from > > > ftp://ftp.qlogic.com/outgoing/linux/firmware (just get the .bin files, > > > not the .bin-version files). There are five or six files altogether. > > > You don't need all, but they are relatively small so it's no big deal > > > putting all of them in /lib/firmware. > > > > Actually, you can get the firmware by > > emerge qla-fc-firmware > > (We have a package for it). > > > > Also, if you want to try it, you can now use genkernel for building > > this (although it sounds like you are close enough that you would > > likely lose time that way). The trick with genkernel is that the > > stable version probably will not work, but the ~sparc version will > > (that is, sys-kernel/genkernel-3.4.10_pre7). > > > > > Make sure on the initramfs you have /etc/udev/rules.d/ with appropriate > > > rules, including one to handle firmware loading. Also make sure you have > > > on the initramfs /lib/udev/firmware.sh. This script is part of udev. > > > Just copy it. > > > > Interesting. Does that approach work? (I guess it must because you > > seem to be using it.) Normally, the qla2xxxx driver loads the firmware > > (and when you use genkernel, you also build the driver as a module and > > put the firmware into the initrd). I'm interested to see how this > > works. > > Ferris, > > Indeed it works -- that's the way our ipcop-sparc initramfs loads the > firmware. I did try it without udev but simply modprobing the module did not > load the firmware. > > If you're interested I can send you our ipcop-sparc initramfs image. > > IvanK. > > [snip] > d >
I think I know what it must look like. I'm just trying to guess why it works. I guess that udev must set up the devices, because the driver can't without the firmware. Clearly you've thought about this a lot more than I have. (Or maybe I'm just confusing myself. :) ) Raúl, this might be of use to you?
> -- > gentoo-sparc@l.g.o mailing list >
Regards, - -- Ferris McCormick (P44646, MI) <fmccor@g.o> Developer, Gentoo Linux (Sparc, Devrel, Userrel, Trustees) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH7Xf7Qa6M3+I///cRAtDnAKDKE11ZTgWp02U+EWSPa/wb9ihjCACfVNoA RKGqxgcSdLucQnms8d+Er/0= =oxOR -----END PGP SIGNATURE-----