vyos-pi-builder
vyos-pi-builder copied to clipboard
What is the issue with Pi 3?
Hi,
In 3c3c1f2b3f5376c7a46cdb2aa8b63d6efe53a4b6 you disable building for Pi 3 boards. I'm interesting in getting this working, do you remember what the issue was?
Thanks
Update: I managed to get this it to build using the ARM64 builder container on my x86 laptop, booting the resulting image on a Pi 3 gives:
- uboot boots
- Grub loads
- Selecting "serial console" leads to no output after the EFI stub
- Selecting "graphical console" gives normal boot output, eventually (~2 minutes?) getting as far as login prompt, but:
- Config doesn't load - output about migration error?
- Doesn't seem to actually allow input - USB keyboard doesn't seem to be detected
Hi insertjokehere! As i remember i disabled pi3 building because og usb issues as you’ve discovered it cn be part flaky… i think this is only a kernel config issue but i dont have any pi3 to test with to solove these issues….
If you mount a FTDI adapter on the serial port pins(dont remember the pins) you might get the serial console working. And If you want to troubleshoot this you could build a custom image with a custom firmware using the vyos/vyos-build repository. There shold be guides on how to build custom kernels there.
Also, the config load erre is most likly because of a missing ethernet nic as the ethernet nic is on the usb port om those boards
Thanks for the pointers - I've tried building an image with a kernel using:
- The defconfig from the raspberry pi source tree (https://github.com/raspberrypi/linux/blob/rpi-5.15.y/arch/arm64/configs/bcmrpi3_defconfig) - fails to boot - "Cannot mount live system"
- This an older defconfig from the vyos-build repo (https://github.com/vyos/vyos-build/blob/7c5fd20976daaee9cb408711ebc8d270b57696c1/packages/linux-kernel/arch/arm64/configs/vyos_defconfig), because I found a Stack Overflow answer that suggests that the
USB_DWCOTG
option is important, and this config was removed from the vyos-build repo in https://github.com/vyos/vyos-build/commit/f50138795db88149a829ee4e713148e1bb7c9313 - probably a red herring, same result as I was seeing my previous post, no USB
Might try with the same kernel version that was specified in https://github.com/vyos/vyos-build/commit/7c5fd20976daaee9cb408711ebc8d270b57696c1 in case that is important, but I'm pretty much out of ideas. This probably needs someone who understands the kernel better than I do