Colibri iMX7D doesn't boot

Hi, after setting the iMX7D in recovery mode, I installed the Toradex Easy Installer and it worked. Now I want to install the Linux LXDE Stable image via network. After installing I get the massage to turn off or reboot the system. I turned the system off and on again but it doesn’t boot. I only got a black screen. Has anyone an idea how to solve this?
thanks in advance

Which image did you try to install?

Do you have any output on debug UART?

You can put module to recovery mode and again run Toradex Easy Installer.

I installed Toradex Embedded Linux Demo with LXDE Stable 2.7 and Toradex Embedded Linux Demo with LXDE Stable 2.8b6.184.

After restart I only get 00 Hex on the debug UART.

I run the Toradex Easy Installer several times and it installs the image successfully but after restart it still doesn’t boot.

Are you getting something on debug UART when you run Toradex Easy Installer?

I get this:

..
.
.U-Boot 2016.11-1.8.0+g07edca0bb8 (Oct 19 2018 - 13:34:21 +0000)
.
.CPU:   Freescale i.MX7D rev1.3 996 MHz (running at 792 MHz)
.CPU:   Extended Commercial temperature grade (-20C to 105C) at 30C
.Reset cause: POR
.DRAM:  512 MiB
.PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
.MMC:   FSL_SDHC: 0
.Using default environment
.
.In:    serial
.Out:   serial
.Err:   serial
.Model: Toradex Colibri iMX7S/D
.Model: Toradex Colibri iMX7D
.Serial Downloader recovery mode, using sdp command
.Net:   FEC0
.Error: FEC0 address not set.
.
.Hit any key to stop autoboot:  0 
.SDP: initialize...
.SDP: handle requests...
.Downloading file of size 21374744 to 0x82100000... done
.Downloading file of size 300 to 0x82000000... done
.Jumping to header at 0x82000000
.Header Tag is not a IMX image
.## Loading kernel from FIT Image at 82100000 ...
.   Using 'config@imx7d' configuration
.   Trying 'kernel@1' kernel subimage
.     Description:  Linux Kernel 4.1
.     Type:         Kernel Image
.     Compression:  uncompressed
.     Data Start:   0x821000dc
.     Data Size:    5308472 Bytes = 5.1 MiB
.     Architecture: ARM
.     OS:           Linux
.     Load Address: 0x81000000
.     Entry Point:  0x81000000
.     Hash algo:    md5
.     Hash value:   910fc4bfe6325ca943e1af0824a15957
.   Verifying Hash Integrity ... md5+ OK
.## Loading ramdisk from FIT Image at 82100000 ...
.   Using 'config@imx7d' configuration
.   Trying 'ramdisk@1' ramdisk subimage
.     Description:  SquashFS RAMdisk
.     Type:         RAMDisk Image
.     Compression:  uncompressed
.     Data Start:   0x826101fc
.     Data Size:    15929344 Bytes = 15.2 MiB
.     Architecture: ARM
.     OS:           Linux
.     Load Address: unavailable
.     Entry Point:  unavailable
.     Hash algo:    md5
.     Hash value:   bf0a406d6fa572c48f601023ca980bd2
.   Verifying Hash Integrity ... md5+ OK
.## Loading fdt from FIT Image at 82100000 ...
.   Using 'config@imx7d' configuration
.   Trying 'fdt@imx7d' fdt subimage
.     Description:  Colibri iMX7 Dual Device Tree
.     Type:         Flat Device Tree
.     Compression:  uncompressed
.     Data Start:   0x8354bf8c
.     Data Size:    45356 Bytes = 44.3 KiB
.     Architecture: ARM
.     Hash algo:    md5
.     Hash value:   76f76a539fc485372532ae7cbf683d5b
.   Verifying Hash Integrity ... md5+ OK
.   Booting using the fdt blob at 0x8354bf8c
.   Loading Kernel Image ... OK
.   Loading Device Tree to 8fff1000, end 8ffff12b ... OK
.   Updating MTD partitions...
.Device nand0 not found!
.
.Starting kernel ...
.
.[    0.348115] gpmi-nand 33002000.gpmi-nand: mode:5 ,failed in set feature.
.[    0.366392] fec 30be0000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
.[    0.382624] imx_usb 30b10000.usb: Can't register ci_hdrc platform device, err=-517
.[    0.702664] rtc-ds1307 3-0068: hctosys: unable to read the hardware clock
.Running /etc/rc.local...
.Colibri-iMX7_ToradexEasyInstaller_1.8-20181019
.
..[1mWelcome to Toradex Easy Installer.[0m
.
.This is a Linux based installer for Toradex modules. Currently the
.installer does not have a serial console interface. You can use the
.Toradex Easy Installer through any of the available display interfaces
.using USB mouse/keyboard or via network using VNC. Use:
.  # ip addr show eth0
.to display the Ethernet IP address or use USB RNDIS at IP 192.168.11.1.
.
./ #

One thing you may try is to completely clear the NAND and trying to re-flash everything afterwards. Unfortunately, this only works with the former Toradex Easy Installer version 1.8 and you will need to use the rawnand U-Boot variant e.g. as follows:

    [user@host ~]$ unzip ~/Downloads/Colibri-iMX7_ToradexEasyInstaller_1.8-20181019.zip
    [user@host ~]$ cd Colibri-iMX7_ToradexEasyInstaller_1.8-20181019/
    [user@host Colibri-iMX7_ToradexEasyInstaller_1.8-20181019]$ mv u-boot.imx u-boot.imx-orig
    [user@host Colibri-iMX7_ToradexEasyInstaller_1.8-20181019]$ cp u-boot.imx-rawnand u-boot.imx
    [user@host Colibri-iMX7_ToradexEasyInstaller_1.8-20181019]$ ./recovery-linux.sh 
    Downloading Toradex Easy Installer...
    Successfully downloaded Toradex Easy Installer.

Now on the U-Boot side you would need to CTRL+C twice and clear the NAND contents using the nand erase.chip command e.g. as follows:

U-Boot 2016.11-1.8.0+g07edca0bb8 (Oct 19 2018 - 13:33:39 +0000)

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

In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 512MB V1.1D, Serial# 02983037
Serial Downloader recovery mode, using sdp command
Net:   FEC0
Hit any key to stop autoboot:  0
SDP: initialize...
CTRL+C - Operation aborted.
SDP: handle requests...
CTRL+C - Operation aborted.
Colibri iMX7 # nand erase.chip

NAND erase.chip: device 0 whole chip
Skipping bad block at  0x1f300000
Skipping bad block at  0x1ff80000
Skipping bad block at  0x1ffa0000
Skipping bad block at  0x1ffc0000
Skipping bad block at  0x1ffe0000

OK
Colibri iMX7 # sdp 0
SDP: initialize...
SDP: handle requests...
Downloading file of size 21374744 to 0x82100000... done
Downloading file of size 300 to 0x82000000... done
Jumping to header at 0x82000000
Header Tag is not a IMX image
## Loading kernel from FIT Image at 82100000 ...
...

The sdp 0 above should should continue transferring the Toradex Easy Installer via USB to the module’s RAM. Subsequently, you will need to re-enter the type, version and serial number information from the Colibri iMX7D module’s barcode sticker. And after installing an image again be it the Toradex Easy Installer itself or any BSP image it should all work again.

Have you tried to clear NAND as Marcel suggested?