§2023-08-24

NAME        FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
mtdblock0                                                                               
mmcblk0                                                                                 
├─mmcblk0p1 vfat   FAT16 BOOT_MNJRO DDBA-9480                             396.7M    13% /boot
└─mmcblk0p2 ext4   1.0   ROOT_MNJRO c116cbd4-ed1c-408d-88c7-6901ccb65d60   24.8G     4% /
zram0
$ tree /boot -L 2
/boot
├── boot.ini
├── dtbs                 <-- device tree binary (DTB) files 
│   └── amlogic
├── Image
├── Image.gz
├── initramfs-linux.img  <-- the initial ramdisk image. I
├── initramfs-linux.uimg <-- The ".uimg" extension suggests that it might be a U-Boot-specific format.
└── u-boot.bin           <-- This is the U-Boot bootloader binary.

3 directories, 6 files
$ sudo blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_MNJRO" LABEL="BOOT_MNJRO" UUID="DDBA-9480" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="6319cfe2-01"
/dev/mmcblk0p2: LABEL="ROOT_MNJRO" UUID="c116cbd4-ed1c-408d-88c7-6901ccb65d60" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="6319cfe2-02"
/dev/zram0: LABEL="zram0" UUID="71f971f6-e6b3-4a5f-96e0-143c479f5630" TYPE="swap"                                                                              [SWAP]
ODROIDC4-UBOOT-CONFIG

# Default Console Device Setting
setenv condev "console=ttyAML0,115200n8"   # on both

# setenv bootlabel
setenv bootlabel "2023-08-24 Manjaro-arm-installer"

# Boot Args
setenv bootargs "root=PARTUUID=6319cfe2-02 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 clk_ignore_unused quiet splash plymouth.ignore-serial-consoles"

# Set load addresses
setenv dtb_loadaddr "0x20000000"
setenv loadaddr "0x1080000"
setenv initrd_loadaddr "0x4080000"

# Load kernel, dtb and initrd
load mmc ${devno}:1 ${loadaddr} /Image
load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson-sm1-odroid-hc4.dtb
load mmc ${devno}:1 ${initrd_loadaddr} /initramfs-linux.uimg
#fdt addr ${dtb_loadaddr}

# boot
booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}