From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] Include binary firmware blob in image
Date: Tue, 23 Feb 2016 13:33:47 -0300 [thread overview]
Message-ID: <56CC89EB.9020807@zacarias.com.ar> (raw)
In-Reply-To: <CAF_dkJDzeoumYA2KKCa2oxo9NwKg+cYf0t=EhedY=up04NbuvA@mail.gmail.com>
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.
prev parent reply other threads:[~2016-02-23 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 16:30 [Buildroot] Include binary firmware blob in image Patrick Doyle
2016-02-23 16:33 ` Gustavo Zacarias [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56CC89EB.9020807@zacarias.com.ar \
--to=gustavo@zacarias.com.ar \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox