The 88F7040 CPU supports multiple interface boot modes, but depending on the hardware configuration, Mochabin only supports 2 boot modes.
1. SPI FLASH boot-up
Currently using SPI FLASH for booting up
2. UART boot-up
This method is only applicable to recovery in case the boot image has been damaged and won’t boot up anyhow.
Use this method to boot up from UART then load the bootloader image from PC and re-burn the bootloader image into SPI FLASH in Mochabin.
Please use the script below to do the recovery.
https://github.com/globalscaletechnologies/u-boot-marvell/blob/u-boot-2018.03-armada-18.12-gti/tools/mrvl_uart.sh
ex. mrvl_uart.sh /dev/ttyUSB0 flash-image.bin
Although Mochabin cannot boot up from USB drive but it can load root-fs image from USB after boot up, the description will be put here later.