View previous topic :: View next topic |
Author |
Message |
melts n00b
Joined: 21 Feb 2004 Posts: 53
|
Posted: Mon Feb 26, 2007 12:51 pm Post subject: genkernel & firmware help needed |
|
|
hi everyone
I really do need some help figuring out how to load firmware within initrd so its available for my scsi cards module during boot so i can access my root filesystem and all.
Im trying to load an aic94xx module that requires the aic94xx-seq.fw file when the module is called.
I think that i need to use hotplug to copy the firmware to the right path.
I think i need to get the firmware to /sys/classes/firmware/aic94xx/aic94xx-seq.fw - that seems to be where the module expects it to be. hotplug seems to refer to it as $sysfs/$devpath/data though.
I have made an initramfs with the firmware file in it, and found out i cant just cp the file to where i think it needs to be. why not?
I have looked though the init files supplied with genkernel and there seems to be nothing relating to loading firmware, should i even be using genkernel?
i've been working on this for hours, in my own time with a work server because i said i could do it. I had no idea this controller needed a firmware, and its driving me insane. There is so little information out there for it, i'm going to personally put all this into the gentoo wiki once i know what works and what doesnt. even if i'm the only one who ever refers to it
thanks in advance for all the help _________________ === === === === === ===
doh
=== === === === === === |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
|
Back to top |
|
|
melts n00b
Joined: 21 Feb 2004 Posts: 53
|
Posted: Mon Feb 26, 2007 10:19 pm Post subject: |
|
|
Ah, i have, unfortunately the driver needs a firmware file that cant be complied into the kernel?
At the moment I'm only using genkernel initrd, keeping my custom kernel as is. Its getting the firmware into the right spot in /sys thats giving me a headache.
Is there a way to force the kernel to compile the firmware file into the kernel, even though the driver source specifies that its using the firmware_class loader tools? (/usr/src/linux/Documentation/firmware_class) that would be wonderful _________________ === === === === === ===
doh
=== === === === === === |
|
Back to top |
|
|
wilix n00b
Joined: 18 Jun 2007 Posts: 11
|
|
Back to top |
|
|
|