All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Hopkins <lnxgnome@hopnet.net>
To: Wakko Warner <wakko@animx.eu.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: AIC94xx SAS question.
Date: Sun, 27 Apr 2008 13:31:11 +0800	[thread overview]
Message-ID: <48140F9F.1070109@hopnet.net> (raw)
In-Reply-To: <20080426145649.GA8848@animx.eu.org>

On 04/26/2008 10:56 PM, Wakko Warner wrote:
> Keith Hopkins wrote:
>> On 04/22/2008 07:19 AM, Wakko Warner wrote:
>>> Can either of these be done:
>>> 1) Embed the firmware into the driver so that it can be used before the
>>> rootfs id mounted.
>> I think this is generally not done because firmware tends to be 
>> closed-source.
> 
> I can understand this from the point of the distrobution of the linux
> kernel, but it still can be done.  If there were a patch or something that
> would convert the file, that's all I care.  This for me would be preferred.

Sorry, no idea if it can actually be done.

> 
>>> 2) Can the firmware be loaded in an initr{d,amfs}?
>> Sure.  openSuSE does it in their mkinitrd.
> 
> I'm not sure if you got the point of #2 or not.  I do *NOT* want the driver
> as a module, I want it compiled into the kernel and then load the firmware
> from an initramfs.

I think I got you all right.  My answers were just too short :)

SuSE loads the driver as a module and the firmware in initrd.  I haven't tried initramfs, nor compiling it into the kernel.

I unpacked my current initrd, and in it I found:

lib/firmware/aic94xx-seq.fw
+ some ql firmware that I don't need.

I'm not sure if the driver compiled for SuSE "just knows" to look in /lib/firmware, or how it finds the file.  It might have something to do with the firmware_class module in SuSE.
I do remember that I needed to load 'edd' before 94xx, or it would not init the firmware.

As for compiling the driver in the kernel, and putting the firmware in initrd/initramfs, you would have to force the init of the 94xx module to be after the initrd/initramfs was initialized, loaded and mounted.  I have not checked to see if that is currently possible.

--Keith

  parent reply	other threads:[~2008-04-27  5:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 23:19 AIC94xx SAS question Wakko Warner
2008-04-26  4:58 ` Keith Hopkins
2008-04-26 14:56   ` Wakko Warner
2008-04-26 15:56     ` James Bottomley
2008-04-29  1:46       ` Wakko Warner
2008-04-27  5:31     ` Keith Hopkins [this message]
2008-04-28  9:35       ` Raoul Bhatia [IPAX]
2008-04-29  2:04         ` Wakko Warner
2008-04-29  7:41           ` Raoul Bhatia [IPAX]
2008-04-29  1:53       ` Wakko Warner
  -- strict thread matches above, loose matches on Subject: below --
2008-04-22 22:10 Wakko Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48140F9F.1070109@hopnet.net \
    --to=lnxgnome@hopnet.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=wakko@animx.eu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.