raspberry-pi-nix
raspberry-pi-nix copied to clipboard
migrate firmware does not work + Network deivce type "bridge" unknown after update
After updating my flake nix flake update my raspberry pi 5 is not able to create a bridge device "br0".
I get this error:
ip link add name br0 type bridge
Error: Unknown device type
Any idea?
Here is my config: https://github.com/Svenum/holynix/blob/main/systems/aarch64-linux/srv-raspi5/default.nix
And the raspberry-pi-firmware-migrate.service does not run either:
Failed to setup mount namespacing: /boot/firmware: Invalid argument
Failed at st NAMESPACE spawning /nix/store/xxxxxxxx-migrate-rpi-firmware: invalid argument
I have noticed a similar issue. After upgrading to test latest kernels, my rpi Ethernet stopped working. Downgrading to a different kernel did not fix the issue. I am still investigating, and upgrading the firmware, but something feels off. Using a USB Ethernet dongle works for now, but it is a workaround 😅
Sticking to v0.4.1 branch in the flake config fixed the issue for me!
Using the firmware files from the next branch worked for me. Perhaps it is best if raspberry-pi-nix starts building these by itself like the upstream linux_rpi4 kernel does? That way they won't ever go out of sync.
Reference: https://github.com/NixOS/nixpkgs/blob/a45fa362d887f4d4a7157d95c28ca9ce2899b70e/pkgs/os-specific/linux/kernel/linux-rpi.nix#L96-L135