So manged to get the Label to work by making sure both the device name and the label command were in all caps as bellow
Code: boot.ini - Updated Line 40
if test "${usbstorage}" = "1"; then setenv bootrootfs "BOOT_IMAGE=KERNEL boot=UUID=2222-2262 disk=LABEL=USB_STORAGE"; fi
so the generic boot.ini file would look as follows (again changes on line 40)
Code: /usr/share/bootloader/boot.ini
#------------------------------------------------------------------------------------------------------
#
# boot.ini
#
# WARNING DO NOT MODIFY THIS FILE! ALL CHANGES WILL BE LOST WITH THE NEXT UPDATE!
# Set your own settings in config.ini
#
#------------------------------------------------------------------------------------------------------
ODROIDC2-UBOOT-CONFIG
setenv bootrootfs "BOOT_IMAGE=KERNEL boot=UUID=@BOOT_UUID@ disk=UUID=@DISK_UUID@"
setenv condev "ttyS0,115200"
setenv hdmimode "1080p60hz"
setenv hdmioutput "1"
setenv vpu "1"
setenv libreelec "quiet"
setenv hdmi_cec "1"
setenv maxcpus "4"
setenv max_freq "1536"
setenv rtc_shield "0"
setenv kernel_addr 0x11000000
setenv dtb_addr 0x1000000
setenv uenv_addr 0x13000000
fatload mmc 0:1 ${kernel_addr} KERNEL
fatload mmc 0:1 ${dtb_addr} meson64_odroidc2.dtb
if fatload mmc 0:1 ${uenv_addr} config.ini; then env import -t ${uenv_addr} $filesize; fi
fdt addr ${dtb_addr}
fdt resize
setenv odroidp1 "no_console_suspend logo=osd1,loaded,0x3f800000,${hdmimode} vout=${hdmimode},enable hdmimode=${hdmimode} cvbsmode=nocvbs"
setenv odroidp2 "mac=${ethaddr} consoleblank=0 max_freq=${max_freq} maxcpus=${maxcpus}"
setenv odroid "${odroidp1} ${odroidp2}"
if test "${hdmi_cec}" = "1"; then setenv cec "hdmitx=cec17"; fi
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
if test "${rtc_shield}" = "0"; then fdt set "/i2c@c1108500/pcf8563@51" status disabled; fi
if test "${usbstorage}" = "1"; then setenv bootrootfs "BOOT_IMAGE=KERNEL boot=UUID=@BOOT_UUID@ disk=LABEL=USB_STORAGE"; fi
setenv bootargs "console=${condev} ${bootrootfs} ${odroid} ${cec} ${libreelec} "
booti ${kernel_addr} - ${dtb_addr}
Display More
and as above the config.ini now has this block at line 15
Code: config.ini
#------------------------------------------------------------------------------------------------------
#
# Store user data on USB memory stick (not on sd-card/emmc)
# USB storage device must have a label of USB_STORAGE (in all caps)
#
# usbstorage='1'
#
#------------------------------------------------------------------------------------------------------
As i recently updated to 9.0.1 MR i noticed that the update script did not successfully get my @DISK_UUID@ at line 11 in boot.ini. I believe this was due to it trying to get it from /dev/sda1 which may not have been mounted yet and therefor the update.sh script may need altered as-well to accommodate this option