Sige7 installation system to NVME startup

Overall steps:

  • Prepare an SD card or eMMC Module as a boot disk.
  • Burn Uboot firmware into EMMC.
  • Flush the system image to the NVME SSD.
  • Unplug the SD card and boot from NVME.

Prepare an SD card or eMMC Module as a boot disk

The firmware can be downloaded from the Armsom official website
Refer to the section on making a MicroSD boot disc to install the system on the SD card.

Burn Uboot firmware into EMMC

There is no SPI flash on the development board, and the Uboot firmware needs to be installed on the EMMC.
There are two storage paths for uboot firmware:
One is in the system image:

armsom@armsom-sige7:~$ ls /usr/lib/linux-u-boot-current-armsom-sige7/
idbloader.img  rkspi_loader.img  u-boot.itb

Another one is generated during the compilation of the source code:
armbian/build/output/debs/linux-u-boot

Use the dd command to flash firmware into EMMC:

dd if=./idbloader.img of=/dev/mmcblk0 seek=64 conv=notrunc status=none
dd if=./u-boot.itb of=/dev/mmcblk0 seek=16384 conv=notrunc status=none

Flush the system image to the NVME SSD

Insert the NVME SSD into the board and verify that the NVME is recognized by the system

armsom@armsom-sige7:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk0      179:0    0 115.3G  0 disk
mmcblk0boot0 179:32   0     4M  1 disk
mmcblk0boot1 179:64   0     4M  1 disk
mmcblk1      179:96   0  29.7G  0 disk
└─mmcblk1p1  179:97   0  29.4G  0 part /var/log.hdd
                                       /
zram0        251:0    0  15.5G  0 disk [SWAP]
zram1        251:1    0    50M  0 disk /var/log
zram2        251:2    0     0B  0 disk
nvme0n1      259:0    0  13.4G  0 disk
└─nvme0n1p1  259:1    0  13.3G  0 part

As shown above the system already recognizes the NVME SSD as nvme0n1 (in Linux NVMe devices are usually recognized as nvmeXnY)

Copy the system image you want to run into the development board

 PC Host: scp  /path/to/img armsom@boardIP:/tmp

Then dd the system image into NVME on the board .

armsom@armsom-sige7:/tmp$sudo dd if=./Armbian_community_24.11.0-trunk.351_Armsom-sige7_noble_current_6.11.5_gnome-kisak_desktop.img of=/dev/nvme0n1 bs=1M status=progress

Unplug the SD card and boot from NVME

After removing the SD card, power up the system using the 12V/2A PD power adapter, then the system starts booting from NVME and HDMI displays the desktop