Would it be possible to flash the eMMC on the Rock5B by first booting the Rock5B off an SD memory card with a live OS, and then attach the eMMC to the Rock5B PCB, and then use “dd” or other flash tool to flash the eMMC?
This would need the eMMC to be hotpluggable, perhaps by turning on/off some jumper while doing so.