Hello Jeremias, and thank you for your quick reply,
I installed the version 6.2.0 (and even version 6.8.5), and I am able to correctly see my 4GB of RAM.
However, as soon as I add the device trees into my tcbuild.yml like this:
Note: I already had this configuration on the older version and it had no impact.
input:
easy-installer:
local: images/torizon-core-docker-verdin-imx8mp-Tezi_6.8.5+build.41.tar
customization:
#filesystem:
#- changes/
device-tree:
include-dirs:
- linux/include/
custom: linux/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-yavia.dts
overlays:
add:
- device-trees/overlays/verdin-imx8mp_spidev_overlay.dts
output:
easy-installer:
local: torizon-core-docker-verdin.CUSTOM
accept-licence: true
autoinstall: true
autoreboot: true
My DTS files
imx8mp.dtsi (73.6 KB)
imx8mp-verdin.dtsi (38.3 KB)
imx8mp-verdin-nonwifi-yavia.dts (400 Bytes)
The device trees were modified to add SPI interfaces and to free some pins due to a lack of available pins.
The Yavia board goes into error and sometimes reboots in a loop, so, I can’t have access using ssh.
I’m wondering why I didn’t have this issue before, and I think I cannot take the risk of modifying my device trees since this is a critical part that I do not fully master.
Regarding the second solution you suggested, I am not sure how to test it.
I pulled from u-boot-toradex.git
I switched to the branch: toradex_imx_v2020.04_5.4.70_2.3.0
and then ran:
make distclean
make verdin-imx8mp_defconfig
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc)
This results in:
OBJCOPY lib/efi_loader/helloworld.efi
LD lib/built-in.o
LD common/built-in.o
LD u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
SYM u-boot.sym
start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x40200000 $start $end
CAT u-boot-dtb.bin
MKIMAGE u-boot.img
MKIMAGE u-boot-dtb.img
COPY u-boot.bin
LD u-boot.elf
CC spl/common/spl/spl.o
WARNING 'lpddr4_pmu_train_1d_imem_201904.bin' not found, resulting binary is not-functional
CC spl/arch/arm/cpu/armv8/fwcall.o
CC spl/common/fdt_support.o
CC spl/lib/display_options.o
LD spl/arch/arm/cpu/armv8/built-in.o
LD spl/common/spl/built-in.o
LD spl/lib/built-in.o
LD spl/common/built-in.o
LD spl/u-boot-spl
OBJCOPY spl/u-boot-spl-nodtb.bin
COPY spl/u-boot-spl.bin
WARNING 'lpddr4_pmu_train_1d_imem_201904.bin' not found, resulting binary is not-functional
make[1]: Nothing to be done for 'SPL'.
CFGCHK u-boot.cfg
I have this build issue and I do not know how to fix it. I also do not know what to do next. Which .bin file should I use and where should I place it?
I tried using the imx-boot.bin from the 6.8.5 reference image inside the 5.7.2 reference image, but it does not work.
I would really appreciate your help, and I am open to other possible solutions.
Best regards,