Software Release for Petitboot

This page introduces you the update of Petitboot for ODROID-N2 and provides you an instruction on how SPI flash memory can be updated with a new version of Petitboot.


Release

Please visit the thread if you have any question about using Petitboot. https://forum.odroid.com/viewtopic.php?f=182&t=33873


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.

2020/01/14 18:21 · tony.hong

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.

  1. Download Recovery Image
  2. Flash the image to micro SD card using Etcher
  3. Power off ODROID-N2
  4. Insert the card to ODROID-N2
  5. Toggle the boot mode switch to MMC boot mode as shown below
  6. Power on ODROID-N2

Before you proceed to recover SPI flash memory, Must remove eMMC.

2020/01/14 18:21 · tony.hong

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.

  1. Download Upgrade image
  2. Rename the image to spiboot.img
  3. Paste 'spiboot.img' into the file system of the first partition on a micro SD card, not on eMMC
  4. Power off ODROID-N2
  5. Insert the card to ODROID-N2
  6. Toggle the boot mode switch to SPI boot mode
  7. 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.

2020/01/14 18:21 · tony.hong