We are using a Colibri iMX8QXP SoM with a custom carrier board and custom TorizonCore image build with TorizonCore Builder (based off torizon-core-docker-colibri-imx8x-Tezi_5.7.2+build.20) with custom device-tree and overlays and an external driver module. The board is connected to the company’s local network through ethernet and the company’s local network is connected to the internet through a cooperate firewall/proxy/router (we point it out because it has caused us problems when working with Torizon tools before)
We are using the ApolloX extension v2.1.2 on an Ubuntu distribution running on WSL2.
First we do a clean install of our custom TorizonCore image on the board using EasyInstaller. We login to the board though SSH and change the factory password for the torizon user.
Then we open vscode, connect to WSL, open the ApolloX Torizon side bar and we try to add the network device manually by pressing the “+” (tooltip: “Manually Connect Device”, it prompts for IP, username and password. When we confirm, the board reboots and then keeps rebooting endlessly every 15 seconds approximately. It never stops rebooting even when disconnecting it from the network.
We can’t access TorizonCore by ssh before it reboots and we can’t even get a user prompt on the serial console before it reboots. All we can do from the serial console is to stop U-Boot from continuing to boot the kernel and get a U-Boot prompt.
This failure mode doesn’t happen always. Sometimes the device gets added and connected to the extension correctly and we use it normally for development. It happens with the Colibri iMX6DL SoM as well.
The following is the output from the serial console while booting:
CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 44C
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex Colibri iMX8 QuadXPlus 2GB Wi-Fi / BT IT V1.0D, Serial# 07329488
BuildInfo:
- SCFW 216a2c2e, SECO-FW c9de51c0, IMX-MKIMAGE 6a315dbc, ATF 2fa8c63
- U-Boot 2020.04-5.7.2+git.33bb8e968332
flash target is MMC:0
Net: eth0: ethernet@5b040000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 10 ms (94.7 KiB/s)
## Executing script at 83200000
4688 bytes read in 22 ms (208 KiB/s)
127969 bytes read in 36 ms (3.4 MiB/s)
164 bytes read in 30 ms (4.9 KiB/s)
Applying Overlay: colibri-imx8x_display-lcdif_overlay.dtbo
1376 bytes read in 38 ms (35.2 KiB/s)
Applying Overlay: display-g104xce-l01_overlay.dtbo
739 bytes read in 38 ms (18.6 KiB/s)
Applying Overlay: colibri-imx8_goodix-gt928-ts_overlay.dtbo
398 bytes read in 36 ms (10.7 KiB/s)
Applying Overlay: colibri-imx8_flexcan1_overlay.dtbo
274 bytes read in 37 ms (6.8 KiB/s)
12197548 bytes read in 295 ms (39.4 MiB/s)
Uncompressed size: 30724608 = 0x1D4D200
9186396 bytes read in 232 ms (37.8 MiB/s)
## Flattened Device Tree blob at 83100000
Booting using the fdt blob at 0x83100000
Loading Ramdisk to fcda9000, end fd66bc5c ... OK
Loading Device Tree to 00000000fcd66000, end 00000000fcda8fff ... OK
Starting kernel ...
[ 0.135338] No BMan portals available!
[ 0.136529] No QMan portals available!
[ 1.530310] imx8qxp-lpcg-clk 37620000.clock-controller: failed to get clock parent names
[ 2.015456] imx6q-pcie 5f010000.pcie: pcie_ext clock source missing or invalid
[ 2.079674] debugfs: Directory '59040000.sai' with parent 'imx8qxp-sgtl5000' already present!
Starting version 244.5+
[ 7.296084] Goodix-TS 17-0014: i2c test failed attempt 1: -5
[ 7.333973] Goodix-TS 17-0014: i2c test failed attempt 2: -5
[ 7.373544] Goodix-TS 17-0014: I2C communication failure: -5
[ 18.511355] Bluetooth: hci0: unexpected event for opcode 0x0000
[ 23.242237] reboot: Restarting system
▒
U-Boot 2020.04-5.7.2+git.33bb8e968332 (Jan 01 1970 - 00:00:00 +0000)
CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 47C
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex Colibri iMX8 QuadXPlus 2GB Wi-Fi / BT IT V1.0D, Serial# 07329488
BuildInfo:
- SCFW 216a2c2e, SECO-FW c9de51c0, IMX-MKIMAGE 6a315dbc, ATF 2fa8c63
- U-Boot 2020.04-5.7.2+git.33bb8e968332
flash target is MMC:0
Net: eth0: ethernet@5b040000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 10 ms (94.7 KiB/s)
## Executing script at 83200000
4688 bytes read in 22 ms (208 KiB/s)
127969 bytes read in 36 ms (3.4 MiB/s)
164 bytes read in 30 ms (4.9 KiB/s)
Applying Overlay: colibri-imx8x_display-lcdif_overlay.dtbo
1376 bytes read in 38 ms (35.2 KiB/s)
Applying Overlay: display-g104xce-l01_overlay.dtbo
739 bytes read in 38 ms (18.6 KiB/s)
Applying Overlay: colibri-imx8_goodix-gt928-ts_overlay.dtbo
398 bytes read in 37 ms (9.8 KiB/s)
Applying Overlay: colibri-imx8_flexcan1_overlay.dtbo
274 bytes read in 37 ms (6.8 KiB/s)
12197548 bytes read in 296 ms (39.3 MiB/s)
Uncompressed size: 30724608 = 0x1D4D200
9186396 bytes read in 232 ms (37.8 MiB/s)
## Flattened Device Tree blob at 83100000
Booting using the fdt blob at 0x83100000
Loading Ramdisk to fcda9000, end fd66bc5c ... OK
Loading Device Tree to 00000000fcd66000, end 00000000fcda8fff ... OK
Starting kernel ...
What could be the problem?