Closed minecraft2048 closed 1 year ago
You are going to have to edit the U-Boot script and adjust it for your boot device (the default device is mmc, see the load_uenv, load_fdt, and load_kernel variables). To use PCIe you may also have to edit the U-Boot configuration and enable hardware support. The current U-Boot configuration should support USB mass-storage devices.
Given the number of changes required and the lack of support for RPi alternate boot methods in Buildroot, I currently have no plans to support anything other than the standard mmc / uSD boot. Feel free to send a pull request if you do get this working.
I'm currently developing a CM4 carrier board that will boot from PCIe NVMe SSD instead of eMMC/SD card. For now I use a NVMe USB reader, which works with the official image. When I try to use br2rauc to make image, and flash it to the SSD, it got stuck in a boot loop, complaining about Bad Linux ARM64 Image magic!: