[Sound-open-firmware] How do you provide the firmware binary, e.g sof-byt.ri file?

Daniel Baluta daniel.baluta at gmail.com
Mon Dec 10 21:48:25 CET 2018


On Mon, Dec 10, 2018 at 5:00 PM Liam Girdwood
<liam.r.girdwood at linux.intel.com> wrote:
>
> On Mon, 2018-12-10 at 07:48 -0600, Pierre-Louis Bossart wrote:
> > > I am having this problem where SOF is compiled as built in the
> > > kernel and the firmware binary is on the rootfs.
> > >
> > > When request_firmware is called in sof_probe the rootfs
> > > is not yet mounted so the call to request_firmware fails.
> > >
> > > Just curious, how do you provide the firmware binary?
> >
> > it's a known issue that we haven't fixed since we use modules both for
> > development and production. Other drivers have the same problem IIRC.
> >
>
> You could try adding the image to initramfs, but as Pierre says this is a
> general problem with loading FW on Linux, not just related to audio.

I used CONFIG_EXTRA_FIRMWARE and compiled the firmware binary
inside the kernel Image and it works just fine for the moment.

Yes, the easiest solution would be to add the image to initramfs.

Thanks a lot for your quick replies!

Daniel.


More information about the Sound-open-firmware mailing list