Colibri iMX7 Toradex easy installer fails

Hi,

I’m having problems flashing my Colibri iMX7D from u-boot. It seems there are commands missing that causes the scripts to fail. See below for u-boot transcript:

U-Boot 2016.11-2.7.4+g1b121c6 (Oct 04 2017 - 21:46:51 +0000)
arm-angstrom-linux-gnueabi-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
GNU ld (GNU Binutils) 2.27.0.20160806
Colibri iMX7 #

U-Boot 2016.11-2.7.4+g1b121c6 (Oct 04 2017 - 21:46:51 +0000)

CPU:   Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 45C
Reset cause: POR
DRAM:  1 GiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

Video: 640x480x18
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 1GB V1.1A, Serial# 02997276
Net:   FEC0
Hit any key to stop autoboot:  0
Colibri iMX7 #
Colibri iMX7 #
Colibri iMX7 # run setupdate
reading colibri_imx7/flash_blk.img
** Unable to read file colibri_imx7/flash_blk.img **
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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
reading colibri_imx7/flash_blk.img
2707 bytes read in 31 ms (85 KiB/s)
## Executing script at 80800000
enter "run update" to update the entire module
Colibri iMX7 # run update
Unknown command 'mtdparts' - try 'help'
Colibri iMX7 # run update_uboot
reading colibri_imx7/u-boot-nand.imx
602112 bytes read in 65 ms (8.8 MiB/s)
Unknown command 'nand' - try 'help'

So, I suspected something might be wrong with my u-boot, so I wanted to go back to the Toradex Easy Installer following the instructions here: http://developer.toradex.com/software/toradex-easy-installer

Unfortunately this fails as well. The image is loaded into ram:

pedro$ ./recovery-linux.sh -d
Downloading Toradex Easy Installer...
config file <./recovery//imx_usb.conf>
vid=0x15a2 pid=0x0054 file_name=mx6_usb_rom.conf
-> vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
-> vid=0x1b67 pid=0x4000 file_name=mx6_usb_sdp_uboot.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_rom.conf
-> vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
-> vid=0x1b67 pid=0x4000 file_name=mx6_usb_sdp_uboot.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_rom.conf
-> vid=0x1b67 pid=0x4000 file_name=mx7_usb_sdp_uboot.conf
config file <./recovery//mx7_usb_rom.conf>
parse ./recovery//mx7_usb_rom.conf
Trying to open device vid=0x15a2 pid=0x0076
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot-nand.imx
load_size 0 bytes
load_addr 0x83f00000
dcd 1
clear_dcd 0
plug 0
jump_mode 3
jump_addr 0x00000000
== end work item
loading DCD table @0x910000

<<<-588, 1024 bytes>>>
succeeded (status 0x128a8a12)

loading binary file(u-boot-nand.imx) to 877ff000, skip=0, fsize=8b000 type=aa

<<<569344, 569344 bytes>>>
succeeded (status 0x88888888)
jumping to 0x877ff400
config file <./recovery//mx7_usb_sdp_uboot.conf>
parse ./recovery//mx7_usb_sdp_uboot.conf
Trying to open device vid=0x1b67 pid=0x4000.........................
Could not open device vid=0x1b67 pid=0x4000

And on the serial port it looks like it just fails too boot u-boot since it just stops after this output:

U-Boot 2016.11-1.1.0+g51b53b4 (Sep 06 2017 - 15:16:08 -0700)

CPU:   Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 42C
Reset cause: POR
DRAM:  512 MiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
NAND:  0 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial

The same thing happens if I try to flash a newly built u-boot (following these instructions: http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core) ). It just stops in the same location after I execute “./update.sh -d”:

U-Boot 2016.11-2.7.4+g1b121c6 (Nov 02 2017 - 19:10:37 +0100)

CPU:   Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 43C
Reset cause: POR
DRAM:  512 MiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
NAND:  0 MiB
MMC:   FSL_SDHC: 0
*** Warning - readenv() failed, using default environment

Video: 640x480x18
In:    serial
Out:   serial
Err:   serial

I have tried using a different module (same type), but get the same issues. I initially used the Toradex Easy Installer to install the “Colibri-iMX7-eMMC_LXDE-Image 2.7b4 20171004” image and it boots just fine. I just can’t get anywhere from here.

I’m really stuck here. Any ideas?

Note the Colibri iMX7 1GB come with a eMMC flash. This is quite different from the Colibri iMX7 Solo 256MB/Dual 512MB which come with raw NAND devices.

Toradex Easy Installer 1.2 will support Colibri iMX7 Dual 1GB.

We are currently in the process of updating Toradex Easy Installer and updating our flashing instructions. Unfortunately due to the website outage and restructure of the developer website we are not able to complete this at the moment. Please check back early next week.

Well that explains it, none of the instructions mention anything about that though, so it might be good to just update those so that others won’t have to waste time with incorrect instructions.

Thanks!

The release details of the Toradex Easy Installer did contain the information when Colibri iMX7 1GB was scheduled to be supported:
http://developer.toradex.com/software/toradex-easy-installer/release-details

But I agree, the instructions should contain a note too, will update our developer website.