* [Buildroot] Include binary firmware blob in image
@ 2016-02-23 16:30 Patrick Doyle
2016-02-23 16:33 ` Gustavo Zacarias
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Doyle @ 2016-02-23 16:30 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Include binary firmware blob in image
2016-02-23 16:30 [Buildroot] Include binary firmware blob in image Patrick Doyle
@ 2016-02-23 16:33 ` Gustavo Zacarias
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2016-02-23 16:33 UTC (permalink / raw)
To: buildroot
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-23 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 16:30 [Buildroot] Include binary firmware blob in image Patrick Doyle
2016-02-23 16:33 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox