This screenshot is of the boot order which is ran from uboot, the bootloader.
The first few lines (untill “… is now current device”) are regarding selecting usb0 als the first boot device.
Then it tries to boot balena (hence the reference to resin).
The boot fails and after “SCRIPT FAILED: continuing…” it indeed switches to mmc memory.
So this code ran in the bootloader which tried to go over each device in the boot order.
I flashed the BalenaOS image of my NPE X500 M3 application onto a USB pendrive.
I thought that the balena image would install itself on the onboard storage, just like it does on intel NUCs, but apparently this is not the case?
Here is some more info from the vendor on the storage and it’s layout:
NPE X500/9500 MMC contains two copies of Raspbian - recovery system and main system - which share no files.
The recovery system can be used to repair or reinstall the main system laced on bigger partition.
There is no difference between the two systems other than the size of their root partitions therefore all software and configurations can be easily copied and reused.
MMC memory is divided into four partitions.
First one contains firmware, u-boot, rescue kernel and device tree.
Second one is the rescue file system which is a very cut-down Raspbian.
Third partition is the official
/boot partition visible on normal (non-rescue) system and it contains kernel and device tree for normal system.
Fourth biggest partition contains main file system.
p1 p2 p3 p4
| F | | | R |
| F i | R | F / | N a |
| A r | E e | A b | E o s |
| T m | x s F | T o | x r F p |
| 3 w | t c S | 3 o | t m S b |
| 2 a | 4 u | 2 t | 4 a i |
| r | e | | l a |
| e | | | n |
The only OS I booted on the device was the default installed raspbian which is located on partition 4 of the MMC memory. I however am unable to install balenaOS in place of this raspbian OS.
Thanks for the help with this and I hope this info helps.