Trying to setup hands-free (i.e. not pressing recovery button) loading of TEZI image similar to this post using verdin-imx8mp SOM on an Ivy carrier board.
Following directions located here but having a couple of issues. The contents of the USB drive are setup per the instructions and can verify that boot.scr is accessible by running usb start then fatls usb 0:1.
Verdin iMX8MP # usb start
starting USB…
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38200000 for devices… 4 USB Device(s) found
scanning usb for storage devices… 1 Storage Device(s) found
Verdin iMX8MP # fatls usb 0:1
recovery/
1842 boot.scr
1503 image.json
1372776 imx-boot-recoverytezi
1375456 imx-boot-sd
118 overlays.txt
491 recovery-linux.README
362 recovery-linux.sh
273 recovery-windows.bat
1464 recovery-windows.README
42213651 tezi.itb
2997 tezi.png
18 wrapup.sh
12 file(s), 1 dir(s)
However, there isn’t a u-boot variable defined as bootcmd_usb0 so defining it manually with setenv bootcmd_usb0 'usb start; load usb 0:1 ${scriptaddr} boot.scr; source ${scriptaddr}' and then running it with run bootcmd_usb0 as below:
Verdin iMX8MP # run bootcmd_usb0
1842 bytes read in 1 ms (1.8 MiB/s)
Executing script at 50280000
** Bad device specification : 0x42e10000 **
Couldn’t find partition : 0x42e10000
Can’t set block device
** Bad device specification : 0x44200000 **
Couldn’t find partition : 0x44200000
Can’t set block device
Bootargs: quiet video=HDMI-A-1:1280x720-16@60D video=HDMI-A-2:1280x720-16@60D initcall_blacklist=vpu_driver_init rootfstype=squashfs root=/dev/ram autoinstall
Wrong Image Type for bootm command
ERROR -91: can’t get kernel image!
Verdin iMX8MP #
Does boot.scr need to be updated? Do other items need to be placed on the USB drive?
I don’t want to use an sdcard as that would require (manually) removing the card after the image is loaded to the eMMC to reboot (sdcard has a higher priority than eMMC).