How to Recover or Upgrade
Please unplug the power supply before proceeding to update SPI flash memory with an update image in an SD card. Otherwise, the update image would not be recognized and the update procedure would not start.
Recovery mode
The recovery mode is a useful method when Petitboot in SPI memory is corrupted or you are not sure what is in the SPI memory. This image is a complete firmware that can boot by itself and proceeding to flash SPI flash memory as soon as ODROID-N2 is booted.
- Download Recovery Image
- Flash the image to micro SD card using Etcher
- Power off ODROID-N2
- Insert the card to ODROID-N2
- Toggle the boot mode switch to MMC boot mode as shown below
- Power on ODROID-N2
Before you proceed to recover SPI flash memory, Must remove eMMC.
Upgrade mode
This instruction is suggested only when Petitboot already installed in SPI flash memory
The Upgrade mode is to upgrade the contents in the SPI flash memory fully or partially whenever new Petitboot firmware is released. Then U-boot will recognize the firmware file and start to update SPI flash memory.
- Download Upgrade image
- Rename the image to spiboot.img
- Paste 'spiboot.img' into the file system of the first partition on a micro SD card, not on eMMC
- Power off ODROID-N2
- Insert the card to ODROID-N2
- Toggle the boot mode switch to SPI boot mode
- Power on ODROID-N2
If Petitboot detects 'spiboot.img' from an SD card, Automatically Upgrade itself.
If you have an SD card with an Ubuntu image from Hardkernel, then the name of the first partition is BOOT. In this case, paste 'spiboot.img' into BOOT as shown below.