Hi I have a Colibri-iMX8QXP device with the colibri evaluation board. I wan’t to customize the device tree, but event the default (at least what I’m thinking it is) is not working. The kernel is not booting.
I’m using torizoncore-builder to create my image for the easyinstaller:
tcbuild.yaml
input:
easy-installer:
local: torizon-core-docker-colibri-imx8x-Tezi_6.7.0+build.18.tar
customization:
filesystem:
- changes0/
device-tree:
include-dirs:
- linux/include
custom: linux/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts
output:
easy-installer:
local: torizon-core-docker-colibri-imx8x-Tezi_6.7.0+build.18-custom
name: "Test Image iMX8"
torizoncore-builder
user@localhost:~/tcbdir8> torizoncore-builder build --force
Building image as per configuration file 'tcbuild.yaml'...
=>> Handling input section
Unpacking Toradex Easy Installer image.
Copying Toradex Easy Installer image.
Unpacking TorizonCore Toradex Easy Installer image.
Importing OSTree revision 9319b42b26d4d192a9c2ce27f32de4e88de10f379e6005be7471e6733ded1e9e from local repository...
1044 metadata, 9297 content objects imported; 583.7 MB content written
0 metadata, 0 content objects imported; 0 bytes content written
Unpacked OSTree from Toradex Easy Installer image:
Commit checksum: 9319b42b26d4d192a9c2ce27f32de4e88de10f379e6005be7471e6733ded1e9e
TorizonCore Version: 6.7.0+build.18
=>> Handling customization section
=> Handling device-tree subsection
=> Selecting custom device-tree 'linux/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts'
'imx8qxp-colibri-eval-v3.dts' compiles successfully.
warning: removing currently applied device tree overlays
Device tree imx8qxp-colibri-eval-v3.dtb successfully applied.
=>> Handling output section
Applying changes from STORAGE/dt.
Applying changes from WORKDIR/changes0.
Commit 1174624d80731e7bdfdd4e8ac6aafa18a7d6d21c1f93a60394324e8d0d926969 has been generated for changes and is ready to be deployed.
Deploying commit ref: tcbuilder-20240808131418
Pulling OSTree with ref tcbuilder-20240808131418 from local archive repository...
Commit checksum: 1174624d80731e7bdfdd4e8ac6aafa18a7d6d21c1f93a60394324e8d0d926969
TorizonCore Version: 6.7.0+build.18-tcbuilder.20240808131418
Default kernel arguments: quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3
1044 metadata, 9298 content objects imported; 583.6 MB content written
Pulling done.
Deploying OSTree with checksum 1174624d80731e7bdfdd4e8ac6aafa18a7d6d21c1f93a60394324e8d0d926969
Bootloader found in unpacked image: U-Boot
Deploying done.
Copy files not under OSTree control from original deployment.
Packing rootfs...
Packing rootfs done.
Updating TorizonCore image in place.
=>> Build command successfully executed!
Output on the serial console:
U-Boot 2022.04-6.7.0+git.7588eb559ca2 (Jan 01 1970 - 00:00:00 +0000)
CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 49C
DRAM: 2 GiB
Core: 240 devices, 20 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex 0050 Colibri iMX8QXP 2GB IT V1.0D
Serial#: 14791013
BuildInfo:
- SCFW 6638c032, SECO-FW c9de51c0, IMX-MKIMAGE 3bfcfccb, ATF 3c1583b
- U-Boot 2022.04-6.7.0+git.7588eb559ca2
flash target is MMC:0
Net: eth0: ethernet@5b040000
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 2 ms (474.6 KiB/s)
## Executing script at 9d480000
6695 bytes read in 4 ms (1.6 MiB/s)
35841 bytes read in 6 ms (5.7 MiB/s)
14 bytes read in 4 ms (2.9 KiB/s)
13439264 bytes read in 309 ms (41.5 MiB/s)
6106112 bytes read in 143 ms (40.7 MiB/s)
Uncompressing Kernel Image
## Flattened Device Tree blob at 9d400000
Booting using the fdt blob at 0x9d400000
Loading Device Tree to 00000000fd644000, end 00000000fd66ffff ... OK
Disable clock-controller@59580000 rsrc 512 not owned
Starting kernel ...
A tried using the linux-5.15.y branch for the device tree as well as the master branch.
Pleas help me.
Regards, Martin!