Yocto Project Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Mahendra Sondagar <mahendrasondagar08@gmail.com>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] Adding the Firmware file (.bin) to the Yocto recipes #dunfell
Date: Thu, 1 Sep 2022 13:51:51 -0700	[thread overview]
Message-ID: <3751d58b-0306-e10c-6698-1a62e9f670dc@gmail.com> (raw)
In-Reply-To: <5IB8.1662058301609430083.aVmQ@lists.yoctoproject.org>


[-- 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 --]

  reply	other threads:[~2022-09-01 20:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 18:51 Adding the Firmware file (.bin) to the Yocto recipes #dunfell Mahendra Sondagar
2022-09-01 20:51 ` Khem Raj [this message]
     [not found]   ` <15375.1662139838514653945@lists.yoctoproject.org>
2022-09-02 18:45     ` Private: Re: [yocto] " Khem Raj
2022-09-02 19:25       ` Mahendra Sondagar

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=3751d58b-0306-e10c-6698-1a62e9f670dc@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=mahendrasondagar08@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /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