[Buildroot] [PATCH v4] New package: linux-firmware

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Jan 26 15:33:27 UTC 2012


On 2012-01-26 12:23, Peter Korsgaard wrote:

>>>>>> "Yegor" == Yegor Yefremov <yegor_sub1 at visionsystems.de> writes:
>
>  Yegor> Am 26.01.2012 16:13, schrieb yegorslists at googlemail.com:
>
>  Yegor> So here we have another issue: how can I define if files 
> should
>  Yegor> be copied to /lib/firmware or /lib/firmware/foo? 
> ti-connectivity
>  Yegor> firmware files should go direct to /lib/firmware. This is not
>  Yegor> the case now.
>
> Ahh, I thought there would be a 1-to-1 relation between the
> linux-firmware.git location an /lib/firmware. How do other 
> distributions
> handle it?

At least for ti-connectivity it seems to be kept in 
/lib/firmware/ti-connectivity.
Most of the time linux-firmware unpacks directly to /lib/firmware and 
that's it.
Checking the kernel source...

grep for "request_firmware" in the relevant drivers (for instance 
linux/drivers/net/wireless/wl12xx) and we get "ret = 
request_firmware(&fw, WL128X_FW_NAME"... grepping for FW_NAME gets us...

wl12xx.h:#define WL1271_FW_NAME "ti-connectivity/wl1271-fw-2.bin"
wl12xx.h:#define WL128X_FW_NAME "ti-connectivity/wl128x-fw.bin"
wl12xx.h:#define WL127X_AP_FW_NAME "ti-connectivity/wl1271-fw-ap.bin"
wl12xx.h:#define WL128X_AP_FW_NAME "ti-connectivity/wl128x-fw-ap.bin"

So they are used in the directory no less...
Regards.



More information about the buildroot mailing list