factory-loader.img
Amlogic has an official burning tool, Amlogic USB Burning Tools, which can burn Amlogic’s Android image. It will write the bootloader in three places, boot0 boot1, and user. So we need to load a special loader to clear it. We do not recommend using this burning tool.
rz-fastboot-loader.bin
Load this loader to enter fastboot mode, and then you can execute fastboot commands, such as erase bootloader
rz-udisk-loader.bin
Expose embedded eMMC as a USB Mass Storage device.
radxa-zero-erase-emmc.bin
It looks like simplifying the work of rz-fastboot-loader.bin + erase bootloader and rz-udisk-loader.bin. But I think it’s a bit unreasonable, it does two things at once. If you haven’t installed another system before, you don’t have to clear it.
android-bootloader.img
Load it into fastboot mode, and then use the fastboot command to install the Android image. It and rz-fastboot-loader.bin are compiled based on different u-boot versions, and they can accept different fastboot commands.
That’s pretty much right, except I can’t speak for anything Android related. Most Linux images have a U-Boot partition included so you usually do not need to separately flash u-boot.bin. Generally for Linux distros, all you need to do is put it in maskrom mode, flash radxa-zero-erase-emmc.bin, use Balena Etcher to flash your chosen distro image to the resulting USB mass storage device, and reboot.
Quick follow-up question - what’s the difference between u-boot.bin.sd.bin and u-boot.bin?
The guides (Boot Troubleshooting and Maskrom guide) ask to flash u-boot.bin.sd.bin for eMMC and warn against u-boot.bin.sd.bin, but the build instructions ask to flash u-boot.bin and use u-boot.bin.sd.bin only for SD-cards.
Is there a difference between the pre-built binaries and building from source?
Thanks, Good to know!
These files do not tell me anything though - the only reference to the sd.bin file I could find is in the call to delete that file when running distclean.