I made some progress with booting Armbian from USB on my Mochabin. I've been teaching myself U-boot cli.
I downloaded Armbian_community_24.5.0-trunk.93_Espressobin_jammy_current_5.15.149.img.xz and used dd to write it to a USB stick.
Marvell>> usb start
starting USB...
USB0: Register 2000120 NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1: Register 2000120 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Marvell>> usb dev
IDE device 0: Vendor: Rev: PMAP Prod: USB DISK 3.0
Type: Removable Hard Disk
Capacity: 29604.0 MB = 28.9 GB (60628992 x 512)
Marvell>> usb part
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 8192 4644864 1806f7be-01 83
Then to boot from the USB I use:
setenv bootargs 'console=ttyS0,115200' 'earlycon=uart8250,mmio32,0xf0512000' 'root=/dev/sdb1' 'rootfstype=ext2' rootwait
setenv bootcmd 'true; usb start; ext2load usb 0:1 $kernel_addr_r $image_name; ext2load usb 0:1 $fdt_addr_r boot/dtb/marvell/armada-7040-db.dtb; booti $kernel_addr_r - $fdt_addr_r'
boot
The image boots but the kernel reports that it is waiting for /dev/sdb1
What should:
root=
be set to, please?
Thanks,
Butch
xx