iMX7 error when booting Yocto built BSP3.0 image

Hi.

I followed the guide (OpenEmbedded (core) - Toradex System/Computer on Modules) to build BSP3.0 for my IMX7D on an Aster carrier board, everything built fine and I installed the generated Tezi images with Easy Installer. Then the board will not boot, I get a undefined instruction error when booting the kernel.

When I build the image with:

$ repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImage3.0 -m default.xml
$ repo sync
$ . export

local.conf editing:
MACHINE ?= "colibri-imx7-emmc" and
ACCEPT_FSL_EULA = "1"

$ bitbake console-tdx-image

The image I built is named “Toradex Embedded Linux Console Demo 3.0b1” and this one does not work. But there is working images in Easy Installer to be downloaded named “Toradex Embedded Linux Console Demo 3.0b2.xx-nightly”.

Serial Log:
Starting kernel ...

[    0.355902] imx_usb 30b10000.usb: Can't register ci_hdrc platform device, err=-517
Running /etc/rc.local...
Colibri-iMX7_ToradexEasyInstaller_1.8-20181019

Welcome to Toradex Easy Installer

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.

/ #  [  214.883360] reboot: Restarting system


U-Boot 2019.07-rc1 (Aug 20 2019 - 11:27:38 +0000)

CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 49C
Reset cause: POR
DRAM:  1 GiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
Video: 640x480x18
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 1GB (eMMC) V1.1A, Serial# 06476535
SEC0: RNG instantiated
Net:   FEC0
Hit any key to stop autoboot:  0
Booting from internal eMMC chip...
45377 bytes read in 11 ms (3.9 MiB/s)
5581856 bytes read in 101 ms (52.7 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x552c20 ]
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Using Device Tree in place at 82000000, end 8200e140

Starting kernel ...

undefined instruction
pc : [<00901c48>]          lr : [<805d9838>]
reloc pc : []    lr : [<47e7b838>]
sp : 80c01f08  ip : 80c01f18     fp : fffff000
r10: abfffe40  r9 : 80c971b8     r8 : 80c08100
r7 : 00000000  r6 : 00000000     r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : 00000000     r1 : 00000000  r0 : 800001d6
Flags: nZcv  IRQs off  FIQs off  Mode UK6_32
Code: 70e00802 70f00802 71000802 71100802 (71200802)
Resetting CPU ...

resetting ...


U-Boot 2019.07-rc1 (Aug 20 2019 - 11:27:38 +0000)

CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 50C
Reset cause: POR
DRAM:  1 GiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
Video: 640x480x18
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 1GB (eMMC) V1.1A, Serial# 06476535
SEC0: RNG instantiated
Net:   FEC0
Hit any key to stop autoboot:  0
Booting from internal eMMC chip...
45377 bytes read in 10 ms (4.3 MiB/s)
5581856 bytes read in 101 ms (52.7 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x552c20 ]
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Using Device Tree in place at 82000000, end 8200e140

Starting kernel ...

undefined instruction
pc : [<00901c48>]          lr : [<805d9838>]
reloc pc : []    lr : [<47e7b838>]
sp : 80c01f08  ip : 80c01f18     fp : fffff000
r10: abfffe40  r9 : 80c971b8     r8 : 80c08100
r7 : 00000000  r6 : 00000000     r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : 00000000     r1 : 00000000  r0 : 800001d6
Flags: nZcv  IRQs off  FIQs off  Mode UK6_32
Code: 70e00802 70f00802 71000802 71100802 (71200802)
Resetting CPU ...

resetting ...

Any suggestions?
How is the nightly builds built that works?

Best Regards,
Bjoern

Greetings @bjoern_almqvist,

The initial release of BSP 3.0 (i.e. 3.0b1) only has support for the Apalis i.MX8QM. The next release (3.0b2) will have support for the rest of our NXP based modules. That is the reason the nightly builds are working since they’re 3.0b2 based.

Best Regards,
Jeremias

Thank you!

When is the next release expected?

Best Regards,
Bjoern

Hi @bjoern_almqvist

The release is expected at end of August 2019. Please check the following site for future updates.

Best regards,
Jaski