Jump to content

Recommended Posts

Posted (edited)

Hi all,  I'm building a rpi5b image with some success.
My build machine is a x86_64 GNU/Linux with a 1gb ssd and 32gb of ram
.
The image builds and boots fine but there is no wlan0 device available in the booted image.
I can get it by installing the armbian-firmware-full package and rebooting

apt install -y armbian-firmware-full

reboot
I thought I could include the install in the customize-image.sh script
but I get an error
E: Unable to locate package armbian-firmware-full ( line 515 in the log ) - any ideas guys

Edited by pkfox
more detail added
<
Posted

Confirmed. Well that's odd. Maybe bad luck to both of us having a bad mirror when attempting?

 

Anyway have you checked if the armbian-firmware-full packages actually contains the necessary blobs you are looking for?

Check github.com/armbian/firmware

 

 

Posted

Well rpi is partially proprietary and especially the boot process is handled completely different that other boards.

However I found a workaround. No clue it if works, I don't have this board and probably never get one unless its a gift lol

 

 

Main() {

	apt-get update
	apt-get -y install wget
	cd /root
	wget http://mirrors.dotsrc.org/armbian-apt/pool/main/a/armbian-firmware-full/armbian-firmware-full_24.11.2_all__1-SA8dbb-SM633e-B6c7f-R448a.deb
	dpkg -i *.deb
} # Main

Main "$@"

 

Posted

Anyway have you checked if the armbian-firmware-full packages actually contains the necessary blobs you are looking for?

 

No, I don't know what blobs I need, all I know is, wlan0 appears after I install armbian-firmware-full and reboot - is it because my build machine isn't running armbian that the armbian mirrors are not found - could I add them to my /etc/apt/sources.list ? getting desperate now 😀

Posted
19 minutes ago, pkfox said:

is it because my build machine isn't running armbian that the armbian mirrors are not found

No. You can build Armbian on any Linux machine if Docker is available.

 

Check my workaround above. It just pulls the package from a random mirror (dotsrc in this case) and installs it via dpkg.

 

20 minutes ago, pkfox said:

No, I don't know what blobs I need, all I know is, wlan0 appears after I install armbian-firmware-full and reboot

Might be interesting to know which are necessary so they might get moved into standard firmware package to make this work oob.

Posted

Your suggestion of wget and install worked perfectly so thanks @Werner now I'll have to ascertain which blob is doing the business - any idea as to how I can do that ? thanks again

Posted

That's a good question. I would probably try things like comparing dmesg output after boot from the board with and without and check for differences. If you're lucky the name is right there. If so I'd try to extract the blob and place it manually where it would be if the firmware package would be installed and see if it works.

Posted

That's probably what I'll do - I'm fairly sure it's broadcom related - I have another pi 5 with raspbian installed  (which has wlan0 present by default) so I can probably glean some info there - wish me luck

Posted

Does this resolve it?

 

sudo git clone --depth=1 https://github.com/pyavitz/firmware.git /lib/firmware/updates/brcm

 

If so we should be able to resolve this for future builds.

 

Posted

Good stuff thanks - why put them in /lib/firmware/updates ? I'm not doubting you just tring to make sense of all this 😀

Posted
4 minutes ago, pkfox said:

Ah that's good to know thanks very much for your help - are you a kernel developer ?

 

I just maintain a few boards here and help out where I can.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines