Firmware Loading
Okay, I'm back getting a more up to date setup working on my Cirrus Labs EP9302, and things are mostly going well. Buildroot got me a working filesystem the first time, and after some fun with kernels that were too large for the flash partition I had set aside, the thing boots by itself. Now I'm trying to get my USB wireless adapter to work. It's a ZyDas chipset and uses the zd1211rw driver, which loads successfully, but fails to load firmware. The firmware is in /lib/firmware (the driver requests zd1211/zd1211_*, so it's actually in a subdirectory of /lib/firmware), but when I try to do "ifconfig wlan0 up", I get a kernel message stating that the firmware has been requested, a long wait, and an error -2 that the loading the firmware failed.
I'm guessing this is user error, and from reading the lists, it looks like mdev is supposed to do firmware loading, but echoing "/sbin/mdev" to "/proc/sys/hotplug" (that second path is probably wrong; it was right when I actually did the command) had no noticeable effect. What do I need to change from the default configuration to get firmware loading to work? I've verified that userspace firmware loading is enabled in my kernel.
Andrew Wiley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100116/ade40cb4/attachment.htm>
Quoted 18 lines · Andrew Wiley
Okay, I'm back getting a more up to date setup working on my Cirrus Labs EP9302, and things are mostly going well. Buildroot got me a working filesystem the first time, and after some fun with kernels that were too large for the flash partition I had set aside, the thing boots by itself. Now I'm trying to get my USB wireless adapter to work. It's a ZyDas chipset and uses the zd1211rw driver, which loads successfully, but fails to load firmware. The firmware is in
/lib/firmware(the driver requests zd1211/zd1211_*, so it's actually in a subdirectory of/lib/firmware), but when I try to do "ifconfig wlan0 up", I get a kernel message stating that the firmware has been requested, a long wait, and an error -2 that the loading the firmware failed.
I'm guessing this is user error, and from reading the lists, it looks like mdev is supposed to do firmware loading, but echoing "/sbin/mdev" to "/proc/sys/hotplug" (that second path is probably wrong; it was right when I actually did the command) had no noticeable effect. What do I need to change from the default configuration to get firmware loading to work? I've verified that userspace firmware loading is enabled in my kernel.
Quoted 2 lines
Andrew Wiley
Perhaps update the mdev configuration file?
It ships empty, it has to, too installation specific to pre-define anything.
mdev --help
will start you off; continue as required with the command descriptions - if loaded on your machine during the build or at the busybox web-site.
Mike
Quoted 9 lines · Michael S. Zick
Perhaps update the mdev configuration file?
It ships empty, it has to, too installation specific to pre-define anything.mdev --help
will start you off; continue as required with the command descriptions - if loaded on your machine during the build or at the busybox web-site.
Well, I wound up just going with udev, call me lazy if you like, but it works for me. My board runs off a flash drive, so space isn't an issue. I won't generally be adding or removing devices after startup, so performance isn't really an issue either, but I may wind up swapping out devices that are connected at boot time, so udev seemed like a better solution for my setup.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100119/cc79a052/attachment.htm>