* 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
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