[poky] Kernel firmware?

Gary Thomas gary at mlbassoc.com
Mon Jan 17 08:49:30 PST 2011


On 01/17/2011 06:28 AM, Gary Thomas wrote:
> On 01/17/2011 06:10 AM, Joshua Lock wrote:
>> On Mon, 2011-01-17 at 05:53 -0700, Gary Thomas wrote:
>>> On 01/17/2011 02:23 AM, Joshua Lock wrote:
>>>> Hi Gary,
>>>>
>>>> On Sun, 2011-01-16 at 05:30 -0700, Gary Thomas wrote:
>>>>> I'm trying to get various USB WiFi dongles working on my
>>>>> BeagleBoard (or look-alike). Many of these require runtime
>>>>> downloads of firmware. However, these files don't seem to
>>>>> be installed in Poky:
>>>>> phy1 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
>>>>> rt73usb 2-1.2.4:1.0: firmware: requesting rt73.bin
>>>>> phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
>>>>>
>>>>> Is there some way to enable this?
>>>>
>>>> There's a linux-firmware recipe
>>>> (meta/recipes-kernel/linux-firmware/linux-firmware_git.bb) which you'll
>>>> have to modify to package the required firmware (at the moment we only
>>>> package firmware for the Libertas sd8686) and ensure that the packages
>>>> are included in your images.
>>>
>>> I don't see anywhere that linux-firmware-sd8686 is included in
>>> an image. Am I missing something?
>>
>> You need to have something pull in the required linux-firmware, for
>> example the igep0020 and igep0030 machines add linux-firmware-sd8686 to
>> the MACHINE_EXTRA_RRECOMMENDS.
>
> Thanks. Doing it this way wasn't totally clear from "ensure that the
> packages are included in your images."
>
> It's working now.

My exuberance was a bit premature.  Indeed, I rebuilt my install
image, but the firmware package wasn't installed.  On my target,
I see:
   root at cobra3530p60:~# opkg list-installed linux*
   root at cobra3530p60:~# opkg list linux*
   linux-firmware-rt73 - 0.0+git0+40c0f950be7040614dc45df54e25e54d00e3b73b-r0 - Firmware files for use with Linux kernel
    Firmware files for use with Linux kernel
   linux-firmware-sd8686 - 0.0+git0+40c0f950be7040614dc45df54e25e54d00e3b73b-r0 - Firmware files for use with Linux kernel
    Firmware files for use with Linux kernel
   linux-libc-headers-dbg - 2.6.36-r0 - Debugging files for linux-libc-headers
    Debugging files for linux-libc-headers
   linux-libc-headers-dev - 2.6.36-r0 - Development files for linux-libc-headers
    Development files for linux-libc-headers

To be clear, all I did was add "linux-firmware-rt73" to MACHINE_EXTRA_RRECOMMENDS
in my <MACHINE>.conf file, then rebuild the image using:
    % bitbake poky-image-sato
This was from a previously built tree, etc.  Did I need to do anything
else to get the package actually installed at build time?

Note: If I 'opkg install linux-firmware-rt73' on my target, I get
the correct files.  I'd just like to understand how to make it happen
in the "image"

Thanks


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list