Hi there,
I’m very new to FCOS. I’m trying to make it run on my Raspberry Pi.
It boots (but without Device Tree support).
Currently, I struggle with WiFi.
Before I start tinkering, can you tell me if it should work out of the box?
As described in the docs I provided links to in my previous post, you can try to inspect your wireless card to determine what driver you need by running lspci (provided by the pciutils package) inside a Toolbx container.
I’m not sure for Fedora Server as I don’t use it, but Fedora CoreOS works just fine on Raspberry Pi 4. Enabling Wi-Fi should be straightforward if you follow the docs from my previous post.
admin@CoreOS:~$ toolbox create
Image required to create Toolbx container.
Download registry.fedoraproject.org/fedora-toolbox:41 (348.7MB)? [y/N]: y
Created container: fedora-toolbox-41
Enter with: toolbox enter
admin@CoreOS:~$ toolbox enter
first toolbox enter
Welcome to the Toolbx; a container where you can install and run
all your tools.
- Use DNF in the usual manner to install command line tools.
- To create a new tools container, run 'toolbox create'.
For more information, see the documentation.
⬢ [admin@toolbx ~]$ lspci
bash: lspci: command not found
⬢ [admin@toolbx ~]$ sudo dnf install pciutils
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - aarch64 100% | 6.9 KiB/s | 6.0 KiB | 00m01s Fedora 41 - aarch64 100% | 942.5 KiB/s | 34.3 MiB | 00m37s Fedora 41 - aarch64 - Updates 100% | 980.6 KiB/s | 7.5 MiB | 00m08sRepositories loaded.
Package Arch Version Repository SizeInstalling:
pciutils aarch64 3.13.0-5.fc41 fedora 488.6 KiBInstalling dependencies:
pciutils-libs aarch64 3.13.0-5.fc41 fedora 215.1 KiB
Transaction Summary:
Installing: 2 packages
Total size of inbound packages is 152 KiB. Need to download 152 KiB.
After this operation, 704 KiB extra will be used (install 704 KiB, remove 0 B).
Is this ok [y/N]: y
[1/2] pciutils-libs-0:3.13.0-5.fc41.aarch64 100% | 253.0 KiB/s | 50.6 KiB | 00m00s[2/2] pciutils-0:3.13.0-5.fc41.aarch64 100% | 383.4 KiB/s | 101.2 KiB | 00m00s---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[2/2] Total 100% | 264.0 KiB/s | 151.8 KiB | 00m01sRunning transaction
[1/4] Verify package files 100% | 400.0 B/s | 2.0 B | 00m00s[2/4] Prepare transaction 100% | 2.0 B/s | 2.0 B | 00m01s[3/4] Installing pciutils-libs-0:3.13.0-5.fc41.aarch64 100% | 2.0 MiB/s | 216.2 KiB | 00m00s[4/4] Installing pciutils-0:3.13.0-5.fc41.aarch64 100% | 173.0 KiB/s | 491.0 KiB | 00m03sComplete!
gives no result:
⬢ [admin@toolbx ~]$ lspci
⬢ [admin@toolbx ~]$
but wifi was ok, during fcos installer on Raspiberry OS
same hardware only swapped OS (SDCard).
On Raspberry OS:
raspi@raspberrypi:~ $ lspci
00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2711 PCIe Bridge (rev 20)
01:00.0 USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01)
admin@CoreOS:~$ toolbox enter
⬢ [admin@toolbx ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 003: ID 14cd:1212 Super Top microSD card reader (SY-T18)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I run Fedora Minimal (I think) on my RPi4 and it’s Wifi shows up as wlan0 when I run ip link. Since I do not use WiFi this is not something I configure, it is default.
I found the driver from looking in the /sys/class/net/wlan0 tree is brcmfmac.
Then I looked at dmesg add see this:
dmesg |grep brcm
[ 0.662126] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 14)
[ 0.667083] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.667114] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.667159] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[ 0.667177] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[ 0.667986] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.776887] brcm-pcie fd500000.pcie: clkreq-mode set to default
[ 0.778946] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 2.709497] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 2.711473] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 11.220709] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 11.221619] usbcore: registered new interface driver brcmfmac
[ 11.320845] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[ 11.691973] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[ 11.692724] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[ 11.702524] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.raspberrypi,4-model-b.hcd'
[ 11.702527] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
[ 11.702530] Bluetooth: hci0: BCM: 'brcm/BCM.raspberrypi,4-model-b.hcd'
[ 11.702533] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
If you do not have a wlan0 you could modprobe brcmfmac and see if the wlan0 shows up.
admin@CoreOS:~$ sudo ip link show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
link/ether e2:c4:76:cb:96:b9 brd ff:ff:ff:ff:ff:ff permaddr e4:5f:01:54:1a:56
sudo dmesg |grep brcm
admin@CoreOS:~$ sudo dmesg |grep brcm
[ 24.681936] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 24.682470] usbcore: registered new interface driver brcmfmac
[ 24.696764] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.bin failed with error -2
[ 25.160525] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[ 25.160975] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
sudo modprobe brcmfmac
admin@CoreOS:~$ sudo modprobe brcmfmac
admin@CoreOS:~$ sudo modprobe brcmf*
modprobe: FATAL: Module brcmf* not found in directory /lib/modules/6.11.8-300.fc41.aarch64