I am coming up on a full year since trying. I am focusing on using release.sh assuming that will be supported more readily. I modified the release.sh to checkout a specific src commit and to use pkg if the ports were not enabled. I managed to build an image file from release.sh 13.0-Release p4, src git commit 940681634ee17, and the msdosfs files from pkg u-boot-rpi-arm64-2021.07 and rpi-firmware-1.20210303.g20210303. However, my image would not boot unless I replaced u-boot.bin with a copy from the
aarch64-RPI SD card image. All other msdosfs files matched between my release.sh build and the SD card image.
Does anyone know why the u-boot.bin file from u-boot-rpi-arm64-2021.07 does not work? Remember, all other msdosfs files from pkg on my build match the msdosfs files from the SD card image.
I next tried allowing release.sh to build u-boot and get necessary msdosfs files from ports. My ports build image did not work, even after replacing the ports built u-boot.bin with the SD card image. I did not do a comparison of the remaining msdosfs files.
Does anyone know if the ports u-boot-rpi-arm64 or rpi-firmware require configuring before building or why it may not be working for me?
Has anyone been successful at building a working u-boot.bin from ports or used release.sh to produce a 100% working SD image for sh release.sh -c arm64/RPI?
The runtime error at SD image boot time on my RPI3B+ SD card, is a once "Missing environment variable pxeuuid" followed by a repeated "Missing environment variable bootfile". Booting eventually gives up and drops to the u-boot prompt.