[Buildroot] Include binary firmware blob in image

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Feb 23 16:33:47 UTC 2016


On 23/02/16 13:30, Patrick Doyle wrote:

> Short version:
> What is the best way to include a binary firmware blob fetched from
> GitHub in a buildroot image?
>
> Long version:
> I am using the wilc1003_firmware.bin file available in the
> https://github.com/linux4sc/wireless-firmware GitHub repository.  It
> needs to be installed in /lib/firmware/atmel on my rootfs.
>
> I could certainly write a post_build.sh script to clone the repo and
> copy the file to the rootfs, but this doesn't feel like the most
> buildroot-esque way to do this.  I feel like I should create a package
> (where should I put it in the menu hierarchy?) and use that.
>
> Is there an existing example I could follow for this sort of package?
>
> Can folks recommend any tips or tricks for writing this package from scratch?
>
> --wpd

Take a look at package/zd1211-firmware, or package/ux500-firmware.
Or if it's lots of firmware options/choices, then package/linux-firmware.
Regards.


More information about the buildroot mailing list