Forums

Skip to content

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

Pi4 wants both raspberrypi-wifi-ucode and linux-firmware...

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
6 posts • Page 1 of 1
Author
Message
twork
Apprentice
Apprentice
User avatar
Posts: 214
Joined: Fri Jul 28, 2006 2:45 am

Pi4 wants both raspberrypi-wifi-ucode and linux-firmware...

  • Quote

Post by twork » Sat Apr 20, 2024 11:41 pm

...but, they're a block...?

I'm trying to set up my first Gentoo instance on a RaspberryPi 4 machine. It will need to do WiFi.

At: https://wiki.gentoo.org/wiki/Raspberry_ ... stall#WiFi I read:
WiFi needs three firmware files from in /lib/firmware/brcm/:

brcmfmac43455-sdio.bin
brcmfmac43455-sdio.clm_blob
brcmfmac43455-sdio.txt
[...]
These files, including the Pi 4 version of above file, are found in sys-firmware/raspberrypi-wifi-ucode, to install it you'll also need to install sys-kernel/linux-firmware with the savedconfig USE flag
So, let's do:

Code: Select all

# emerge -auvb linux-firmware raspberrypi-wifi-ucode
...nope:

Code: Select all

Total: 2 packages (2 new), Size of downloads: 363156 KiB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-kernel/linux-firmware-20240410:0/0::gentoo, ebuild scheduled for merge) pulled in by
    linux-firmware

  (sys-firmware/raspberrypi-wifi-ucode-20221012.1_p1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    raspberrypi-wifi-ucode
Maybe irrelevant but just in case: I did add, in 'make.conf':

Code: Select all

# because, Broadcom
ACCEPT_LICENSE="*"
...figuring, I'll fix that to be more specific than "*" once I have this fixed; my guess is it doesn't matter but who knows...

Might the HowTo that I'm reading is out of date, maybe?
Top
Ralphred
l33t
l33t
Posts: 822
Joined: Tue Dec 31, 2013 11:52 am

  • Quote

Post by Ralphred » Sun Apr 21, 2024 1:03 am

It's in
also need to install sys-kernel/linux-firmware with the savedconfig USE flag
When you enable savedconfig for the sys-kernel/linux-firmware package, it allows you to only install the firmware you want by using these instructions.
If you set savedconfig then install sys-kernel/linux-firmware first, then try to install sys-kernel/raspberrypi-wifi-ucode the ebuild will spit out a list of the files you need to remove via the config file.
Top
twork
Apprentice
Apprentice
User avatar
Posts: 214
Joined: Fri Jul 28, 2006 2:45 am

  • Quote

Post by twork » Sun Apr 21, 2024 2:40 am

Ah, thanks! I was misreading that line, now I understand the need to build those in sequence.

Next, I'm realizing what a mistake it's been to have a Pi VM build stuff. This is getting old. Time for me to learn how to make arm64 builds on the Real Computer...
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56103
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Apr 21, 2024 10:06 am

twork,

Code: Select all

roy@neddy_static ~ $ ls /lib/firmware/brcm/brcmfmac43455-sdio.bin
/lib/firmware/brcm/brcmfmac43455-sdio.bin
roy@neddy_static ~ $ ls /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob 
/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
roy@neddy_static ~ $ ls /lib/firmware/brcm/brcmfmac43455-sdio.txt
ls: cannot access '/lib/firmware/brcm/brcmfmac43455-sdio.txt': No such file or directory
Only brcmfmac43455-sdio.txt is missing from linux-firmware now. At least, by name.
The other files are symbolic links to .../cypress/cyfmac...
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
twork
Apprentice
Apprentice
User avatar
Posts: 214
Joined: Fri Jul 28, 2006 2:45 am

  • Quote

Post by twork » Sun Apr 21, 2024 11:54 pm

NeddySeagoon wrote:Only brcmfmac43455-sdio.txt is missing from linux-firmware now. At least, by name.
The other files are symbolic links to .../cypress/cyfmac...
OK thanks, that's (part of, sort of) what has been confusing me. In:

https://wiki.gentoo.org/wiki/Raspberry_ ... Guide#WIFI

...there are explicit references to the Pi5, and some explicit "in all cases" elsewhere, so I checked the Pi4 page -- I know, not as up to date, but still, Different; I can't tell when I'm guessing and when I'm guessing wrong.

I should just go plug this into hardware and see what happens. It's a Pi, FFS, WCPGW. Practice the Way, all that, wat ho.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56103
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Apr 22, 2024 9:03 am

twork,

The Pi3, 4 and 5 wifi firmware are all different.

The https://wiki.gentoo.org/wiki/Raspberry_ ... Guide#WIFI was written around the Pi5. That section really needs to be moved into the Pi5 specific section and the wifi part from the Pi4 guide updated and moved over to the Pi4 part, which in currently empty. Bluetooth is similar.
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

6 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