§2023-06-17
New version 20220317]is uploaded and ready to upgrade to your ODROID-N2/N2Plus, this version have been tested by several users in this forum and tested. The firmware can be updated in the Petitboot itself by running the command 'pb-update', or you can download firmware file from spiboot-20220317.img and copy it to your SD card as spiboot.img.
$ wget http://bit.ly/3wfXhJJ
$ mv 3wfXhJJ spiboot.img
$ sudo mv spiboot.img /mnt/
$ ls -l /mnt
total 65592
-rwxr-xr-x 1 root root 799 Jun 15 15:04 boot.ini
drwxr-xr-x 3 root root 8192 Jun 15 15:00 dtbs
-rwxr-xr-x 1 root root 30165504 Jun 5 03:02 Image
-rwxr-xr-x 1 root root 12551598 Jun 5 03:02 Image.gz
-rwxr-xr-x 1 root root 7572663 Jun 15 15:01 initramfs-linux.img
-rwxr-xr-x 1 root root 7572727 Jun 15 15:01 initramfs-linux.uimg
-rwxr-xr-x 1 root root 8388608 Mar 17 2022 spiboot.img
-rwxr-xr-x 1 root root 872304 May 25 2021 u-boot.bin
- then plug into odroid-n2 in spi mode, ('spiboot.img' is found, SPI flash memory will be updatedte automatically.
- after that the spiboot.img will be erased automatically.
§2023-06-11
Download both files from this serverthen extract and write your spiupdate_odroidhc4_20201222.img to a Micro SD card either using dd or Rufus. Once written, rename you spiboot-20220317.img to spiboot.img and replace the file in the root of the SD card with this replacement.
Now boot from this SD card, you may need to hold down the black button on the underside when powering on. Once you’re in the temporary PetitBoot environment, select ‘Exit to Shell’ and then run pb-update. This will go online and update/restore your PetitBoot image. Once done you should now be able to reboot without the SD card straight into PetitBoot, solving the initial problem.