* With a SEI510 flashed with Amlogic U-Boot only (original board state) => [From a SEI510 flashed with Amlogic U-Boot](#from-a-sei510-flashed-with-amlogic-u-boot)
* With a SEI510 flashed with an earlier version of Mainline U-Boot (No support for `fastboot flash bootloader`) => [From a SEI510 flashed with an earlier version of Mainline U-Boot](#from-a-sei510-flashed-with-an-earlier-version-of-mainline-u-boot)
* With a SEI510 flashed with Mainline U-Boot (supporting `fastboot flash bootloader`) => [From a SEI510 flashed with Mainline U-Boot](#from-a-sei510-flashed-with-mainline-u-boot)
From a SEI510 flashed with Amlogic U-Boot
=========================================
Boot using the special dongle into update mode using the Amlogic u-boot to erase the bootloader on the user and each eMMC HW boot partitions :
```
./usb_recovery.sh 1 BOOTLOADER/bootloader.img
update bulkcmd "mmc dev 1"
update bulkcmd "mmc write 0x8000000 1 0x800
update bulkcmd "mmc dev 1 1"
update bulkcmd "mmc write 0x8000000 1 0x800
update bulkcmd "mmc dev 1 2"
update bulkcmd "mmc write 0x8000000 1 0x800
update bulkcmd "reset"
```
then => [When the board rebooted in USB ROM boot mode](#when-the-board-rebooted-in-usb-rom-boot-mode)
From a SEI510 flashed with an earlier version of Mainline U-Boot
Erase the start of user partition and the two eMMC boot* HW partitions:
```
mmc dev 1
mmc erase 0 0x2000
mmc dev 1 1
mmc erase 0 0x2000
mmc dev 1 2
mmc erase 0 0x2000
reset
```
Or you can use the same process as with the Amlogic U-Boot flashed => [From a SEI510 flashed with Amlogic U-Boot](#from-a-sei510-flashed-with-amlogic-u-boot)