Gentoo Archives: gentoo-sparc

From: Ivan Kabaivanov <chepati@×××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] Booting the system...
Date: Fri, 28 Mar 2008 21:55:58
Message-Id: 200803281523.33739.chepati@yahoo.com
In Reply to: Re: [gentoo-sparc] Booting the system... by Ferris McCormick
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 -- gentoo-sparc@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-sparc] Booting the system... Ferris McCormick <fmccor@g.o>