* Adding the Firmware file (.bin) to the Yocto recipes #dunfell
@ 2022-09-01 18:51 Mahendra Sondagar
2022-09-01 20:51 ` [yocto] " Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Mahendra Sondagar @ 2022-09-01 18:51 UTC (permalink / raw)
To: yocto
[-- Attachment #1.1: Type: text/plain, Size: 1364 bytes --]
Hi... There
Hope all are doing well
Right now, I'm dealing with the *TP-Link Bluetooth dongle*.
My goal is to add the Bluetooth functionality with the Yocto custom image
After some research i got to know that the Bluetooth dongle, that I'm using is unsupported by activating the Bluetooth drivers only by menuconfig
I'll have to manually add the *rtl8761b_fw.bin* file with the image
Here is the good post for the same
https://askubuntu.com/questions/1370663/bluetooth-scan-doesnt-detect-any-device-on-ubuntu-21-10
Now, my problem is, I'm getting some errors after adding it's firmware file
Here is the steps, which i have gone through
1. Created linux-firmware file under recpies-kernel directory
2. added the rtl8761b_fw.bin to /files directory under linux-firmware file
3. Created .bbappend file as per the available kernel name called *"linux-stm32mp_%.bbappend"*
4. installed the .bin image with the custom recipes file called custom-image.bb as follows
# Drivers for the TPL-Link Bluetooth dongle
IMAGE_INSTALL += "linux-firmware-rtl8761b_fw"
5. bake the image with bitbake custom-image
here is the tree of the directories
The error screenshot is mentioned here
The content of the .bbappend file is listed here
Can any one help me here ?
All suggestions and comments welcome :)
Regards
Mahendra Sondagar
[-- Attachment #1.2: Type: text/html, Size: 2003 bytes --]
[-- Attachment #2: tree.png --]
[-- Type: image/png, Size: 12685 bytes --]
[-- Attachment #3: errors.png --]
[-- Type: image/png, Size: 37255 bytes --]
[-- Attachment #4: bbappend.png --]
[-- Type: image/png, Size: 26858 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Adding the Firmware file (.bin) to the Yocto recipes #dunfell
2022-09-01 18:51 Adding the Firmware file (.bin) to the Yocto recipes #dunfell Mahendra Sondagar
@ 2022-09-01 20:51 ` Khem Raj
[not found] ` <15375.1662139838514653945@lists.yoctoproject.org>
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2022-09-01 20:51 UTC (permalink / raw)
To: Mahendra Sondagar, yocto
[-- Attachment #1.1.1: Type: text/plain, Size: 2551 bytes --]
On 9/1/22 11:51 AM, Mahendra Sondagar wrote:
> Hi... There
>
> Hope all are doing well
>
> Right now, I'm dealing with the *TP-Link Bluetooth dongle*.
> My goal is to add the Bluetooth functionality with the Yocto custom image
> After some research i got to know that the Bluetooth dongle, that I'm
> using is unsupported by activating the Bluetooth drivers only by menuconfig
> I'll have to manually add the *rtl8761b_fw.bin* file with the image
>
> Here is the good post for the same
> https://askubuntu.com/questions/1370663/bluetooth-scan-doesnt-detect-any-device-on-ubuntu-21-10 <https://askubuntu.com/questions/1370663/bluetooth-scan-doesnt-detect-any-device-on-ubuntu-21-10>
>
> Now, my problem is, I'm getting some errors after adding it's firmware file
>
> Here is the steps, which i have gone through
>
> 1. Created linux-firmware file under recpies-kernel directory
there already is a linux-firmware recipe
meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
>
> 2. added the rtl8761b_fw.bin to /files directory under linux-firmware file
OK
>
> 3. Created .bbappend file as per the available kernel name called
> *"linux-stm32mp_%.bbappend"*
bbappend should be for linux-firmware recipe.
>
> 4. installed the .bin image with the custom recipes file called
> custom-image.bb as follows
> # Drivers for the TPL-Link Bluetooth dongle
> IMAGE_INSTALL += "linux-firmware-rtl8761b_fw"
I think it will be called something else then perhaps
linux-firmware-rtl8761b or some such. Avoid using '_' in the name as its
used a version separator and can confuse the packaging
>
> 5. bake the image with bitbake custom-image
>
> here is the tree of the directories
>
>
> The error screenshot is mentioned here
>
>
>
>
> The content of the .bbappend file is listed here
>
>
>
> Can any one help me here ?
> All suggestions and comments welcome :)
>
> Regards
> Mahendra Sondagar
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#57969): https://lists.yoctoproject.org/g/yocto/message/57969
> Mute This Topic: https://lists.yoctoproject.org/mt/93402938/1997914
> Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2613 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Private: Re: [yocto] Adding the Firmware file (.bin) to the Yocto recipes #dunfell
[not found] ` <15375.1662139838514653945@lists.yoctoproject.org>
@ 2022-09-02 18:45 ` Khem Raj
2022-09-02 19:25 ` Mahendra Sondagar
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2022-09-02 18:45 UTC (permalink / raw)
To: Mahendra Sondagar, Yocto-mailing-list
Adding back mailing list.
On Fri, Sep 2, 2022 at 10:30 AM Mahendra Sondagar
<mahendrasondagar08@gmail.com> wrote:
>
> On Fri, Sep 2, 2022 at 02:21 AM, Khem Raj wrote:
>
> inux-firmware-rtl8761b
>
> 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/custom-image.bb 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
>
> ----------------------------------------
>
> Thanks
>
> Mahendra
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Private: Re: [yocto] Adding the Firmware file (.bin) to the Yocto recipes #dunfell
2022-09-02 18:45 ` Private: " Khem Raj
@ 2022-09-02 19:25 ` Mahendra Sondagar
0 siblings, 0 replies; 4+ messages in thread
From: Mahendra Sondagar @ 2022-09-02 19:25 UTC (permalink / raw)
To: Khem Raj; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]
Hi.. Khem Raj
Thanks for the prompt response
Yes, it works :)
you made my days
Many thanks,
Mahendra
On Sat, Sep 3, 2022 at 12:15 AM Khem Raj <raj.khem@gmail.com> wrote:
> Adding back mailing list.
>
> On Fri, Sep 2, 2022 at 10:30 AM Mahendra Sondagar
> <mahendrasondagar08@gmail.com> wrote:
> >
> > On Fri, Sep 2, 2022 at 02:21 AM, Khem Raj wrote:
> >
> > inux-firmware-rtl8761b
> >
> > 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/
> custom-image.bb 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
> >
> > ----------------------------------------
> >
> > Thanks
> >
> > Mahendra
>
[-- Attachment #2: Type: text/html, Size: 3004 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-02 19:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-01 18:51 Adding the Firmware file (.bin) to the Yocto recipes #dunfell Mahendra Sondagar
2022-09-01 20:51 ` [yocto] " Khem Raj
[not found] ` <15375.1662139838514653945@lists.yoctoproject.org>
2022-09-02 18:45 ` Private: " Khem Raj
2022-09-02 19:25 ` Mahendra Sondagar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox