Re: Private: Re: [yocto] Adding the Firmware file (.bin) to the Yocto recipes #dunfell

Khem Raj

Adding back mailing list.

On Fri, Sep 2, 2022 at 10:30 AM Mahendra Sondagar
<mahendrasondagar08@...> wrote:

On Fri, Sep 2, 2022 at 02:21 AM, Khem Raj wrote:


Hi... Khem Raj

Thanks for the quick revert

Yes, i have made the changes as per your suggestions
Unfortunately, it's seems the same result
you have not followed what I said. The bbappend is still a kernel
bbappend, so please make a bbappend for linux-firmware recipe
instead as suggested.

secondly, the bbappend itself has issues

PACKAGES =+ "${PN}-rtl8761b"
FILES_${PN}-example = "/lib/firmware/rtl_bt/rtl8761b.bin"

PACKAGES and FILES do not match. what you want is something like

PACKAGES =+ "${PN}-rtl8761b"
FILES_${PN}-rtl8761b = "/lib/firmware/rtl_bt/rtl8761b.bin"

then in image add.

IMAGE_INSTALL += "linux-firmware-rtl8761b"

here is the error logs
Can you please check ?

Loaded 3484 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'linux-firmware-rtl8761b' (but /home/mahendra/STM32MPU_workspace/Digikey_YoctoSeries/Digikey_Yocto/meta-custom/recipes-core/images/ RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'linux-firmware-rtl8761b' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['linux-firmware-rtl8761b']
ERROR: Required build target 'custom-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['custom-image', 'linux-firmware-rtl8761b']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code




Join to automatically receive all group messages.