Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Firmware Installation for Raspberry Pi 4

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Author
Message
Nirbodha
n00b
n00b
Posts: 10
Joined: Thu Nov 11, 2021 4:47 pm
Location: Somewhere in the universe

Firmware Installation for Raspberry Pi 4

  • Quote

Post by Nirbodha » Thu Nov 11, 2021 4:53 pm

Hi,

I'm trying to run Gentoo on my Raspberry Pi 4 via USB booting, and it's going well. Only problem is, the documentation for installing it doesn't exactly explain what firmware is needed for Wi-Fi usage. I got the impression that I would have to emerge the firmware after getting everything else set up, but I don't have an ethernet connection available.

1. If there's a way to share my internet connection with my laptop's ethernet cable, is it possible to do so via NetworkManager? My laptop's also running Gentoo (installed 3 weeks ago if you need this information).
2. Alternatively are there any links to installing the Raspberry Pi 4 firmware for networking as opposed to emerging?

Thank you for reading this topic. If I messed up the categorization of this post (which I usually do; I'm not very bright) please do tell me.

Nirbodha
Nirbodha = idiot
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Thu Nov 11, 2021 5:23 pm

Hi Nirbodha,

Welcome,

I think you can take your USB storage to your laptop and mount/chroot than install firmware ebuild.

On your laptop you can install qemu with USE=static-user and QEMU_USER_TARGETS="aarch64 arm". Once qemu installed then copy /usr/bin/qemu-aarch64 to $chroot/usr/bin/qemu-aarch64.

Once you copy qemu-aarch64 you should be able to emerge within chroot environment.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Nov 11, 2021 5:42 pm

Nirbodha,

There are instructions for WiFI on the Pi4 here.
The firmware is provided in linux-firmware now, so no need to search the internet.

You can install that on the pi as pingtoo described or using 'Sneakernet".

Code: Select all

emerge -fp linux-firmware
will tell the files you need.
Put those files into $DISTDIR, on the Pi. That is /var/cache/distfiles unless you changed it.
Now emerge will not try to download them and

Code: Select all

emerge -av linux-firmware
should work.

You may have all the files in /var/cache/distfiles on your laptop already, so copy them over.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Nirbodha
n00b
n00b
Posts: 10
Joined: Thu Nov 11, 2021 4:47 pm
Location: Somewhere in the universe

  • Quote

Post by Nirbodha » Fri Nov 12, 2021 3:52 am

Thank you all for your replies.

I did not want to go to the hassle of running a QEMU environment on my laptop, so I followed this. Emerging worked. HOWEVER, the wi-fi chip is still not functional.

Maybe on the weekend, I'll try to start up the QEMU environment. Anyway, thank you all for your answers, I really appreciate it.
Nirbodha = idiot
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Nov 12, 2021 8:24 am

Nirbodha,

We need to see all of dmesg and the output of

Code: Select all

ifconfig -a
from the Pi.
QEMU will not produce different results if its a configuration issue somewhere.

dmesg will need to be posted to a pastebin.
ifconfig -a will fit into a post.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Nirbodha
n00b
n00b
Posts: 10
Joined: Thu Nov 11, 2021 4:47 pm
Location: Somewhere in the universe

  • Quote

Post by Nirbodha » Fri Nov 12, 2021 7:00 pm

... I think I spoke too soon.

I did

Code: Select all

ifconfig -a
today and it shows the wlan0 chip now. Guess I forgot to reboot at the last step.

Thank you NeddySeagoon and pingtoo for helping me, and sorry for any time wasted with my previous reply. If you haven't seen already from my signature, I'm a bit dull.
Nirbodha = idiot
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Nov 12, 2021 7:50 pm

Nirbodha,

You are learning, so you do not live up to, (or down to) your username.
Maybe you should be called Student instead ?

What you have gained after fixing your WiFi is experience.
Experience is what you get just after you needed it. :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic