[ipxe-devel] Missing non-free firmware

Ghassan Elrayah ghel at spreadshirt.net
Tue Apr 9 20:29:36 UTC 2019



On 4/9/19 9:55 PM, Geert Stappers wrote:
> On Tue, Apr 09, 2019 at 08:49:51PM +0200, Ghassan Elrayah wrote:
>> On 4/9/19 7:53 PM, Ghassan Elrayah wrote:
>>> On 4/9/19 6:56 PM, Geert Stappers wrote:
>>>> On Tue, Apr 09, 2019 at 06:30:16PM +0200, Ghassan Elrayah wrote:
>>>>> On 4/9/19 4:57 PM, Geert Stappers wrote:
>>>>>> On 09-04-2019 16:46, Ghassan Elrayah wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have an issue with missing non-free firmware for ....
>>>>>>> way to upload the missing firmware with IPXE?
>>>>>>>
>>>>>> into
>>>>>>
>>>>>> initrd ${base-url}/initrd.gz
>>>>>> initrd tftp://ipxe01.server.lej.sprd.net/preseed/debian_buster_node.seed /tmp/debian_buster_node.seed
>>>>>> initrd URL://server.subdomain.tld/path/firmware/bnx.fw /lib/firmware/bnx2x/bnx2x-e2-7.13.1.fw
>>>>>>
>>>>>>
>>>>> What do you mean by this line:
>>>>>
>>>>> initrd URL://server.subdomain.tld/path/firmware/bnx.fw /lib/firmware/bnx2x/bnx2x-e2-7.13.1.fw
>>>>>
>>>>> should the URL point to the local firmware file on the ipxe server, after
>>>>> coping it to /srv/tftp/ folder, something like this:
>>>>>
>>>>> initrd tftp:///my.ipxe.server/bnx2x-e2-7.13.1.fw /lib/firmware/bnx2x/bnx2x-e2-7.13.1.fw
>>>> Yes, indeed. Simular as you did with the preseed file.
>>>>
>>>>   ( See also https://ipxe.org/cmd/initrd )
>>>>
>>>>
>>>>>> and see what happens.
>>>>>> Please share your results.
>>>>> Thanks
>>>>   ;-)
>>>>
>>> Unfortunately it is not working. I put the firmware file in /tmp and /mnt.
>>> I tied to put the deb file in /tmp, /mnt/,
>>> I treid with tar.gz and zip file but nothing, still complaining about missing firmware.
>>> Is there a way to cat the cpio firmware file to the end of the initrd.gz?
>>> The installer seem not to find the firmware file.
>>>
>>>
>> I could fix it and upload the missing non-free firmware by adding the following line to my menu.ipxe:
>>
>> initrd http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/buster/current/firmware.cpio.gz
>   
>
> Thanks for reporting back.
>
> It will take a while before I can test something like
>   initrd tftp:///my.ipxe.server/bnx2x-e2-7.13.1.fw /lib/firmware/bnx2x/bnx2x-e2-7.13.1.fw
>
>
> Any confirms on
>
>    yes
>      initrd http://my.server/path/initrd.gz
>      initrd http://my.server/path/foobar.fw   /lib/firmware/foobar.fw
>    works for me. Kernel does find the foobar.fw at  /lib/firmware
> ?
>
>
> Groeten
> Geert Stappers
It didn't work for me, I don't know why. I took a look to the file 
system and there is no directory /lib/firmware. I can tested again and 
see if I can make it work. The cpio file is more convenient for me, 
since I just need to add the URL for the archive. Any way I'll test it 
tomorrow at work.

Thanks

-- 

Ghassan Elrayah
System Engineer




More information about the ipxe-devel mailing list