Hi,
My currently installed BSP is Apalis-iMX6_LXDE-Image 2.8b4 20190601 and I want update it to newest Toradex demo image.
The problem is I can only access to Serial Console and USB-Host port.
I try to update board with Legacy Image Format and this but I get error:
Note that on the Ixora V1.0 the SD card slot had the number ‘2’. But Ixora V1.1 did change that to ‘1’.
So if you want to access read a file from the SD card it would be ‘fatload mmc 1:1’ not ‘fatload mmc 2:1’ as you do in your example.
Did you try to NOT change anything in the U-Boot environment and then use ‘run setupdate’?
That should first try to read the update script from the sd cards which fails and then initializes USB and tries to read from an USB Massstorage device.
E.g. reset the environment:
env default -a
saveenv
Then run setupdate with an USB Mass-Storage Device inserted should look like this:
Apalis iMX6 # run setupdate
MMC: no card present
** Bad device mmc 1 **
MMC: no card present
** Bad device mmc 2 **
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading flash_blk.img
710 bytes read in 24 ms (28.3 KiB/s)
## Executing script at 12000000
reading apalis_imx6/flash_blk.img
4257 bytes read in 31 ms (133.8 KiB/s)
## Executing script at 12000000
enter "run update" to update the entire module