iMX6ull Dart botting from USB storage

Post Reply
comarius
Posts: 14
Joined: Thu Nov 07, 2019 3:32 am

iMX6ull Dart botting from USB storage

Post by comarius » Thu Dec 12, 2019 12:42 am

After having a SD-card image for the iMX6 dd the SD-card image onto a USB drive.

Boot onto eMMC u-boot and stop the boot process.

Code: Select all


setenv boot_dev usb
setenv mmcbootpart 1
setenv mmcdev 0
setenv mmcrootpart 2
setenv loadbootenv load usb ${mmcdev}:${mmcbootpart} ${loadaddr} ${bootdir}/${bootenv}
setenv loadimage load usb ${mmcdev}:${mmcbootpart} ${loadaddr} ${bootdir}/${image}
setenv loadbootscript load usb ${mmcdev}:${mmcbootpart} ${loadaddr} ${bootdir}/${script}
setenv mmcargs setenv bootargs console=${console},${baudrate} root=/dev/sda2 rootwait rw ${cma_size}
saveenv
usb start
boot

:mrgreen:

Post Reply