U-Boot FDT issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-Boot FDT issue

2,391 Views
mhammouda
Contributor I

I'm facing an issue with imx8mq_evk. The device tree is the same, I changed only the memory size to 1GB.

u-boot -> ext4load mmc 1:2 0x40000000 boot/${bootenv_sd} && env import -t 0x40000000 ${filesize}

u-boot -> ext4load mmc 1:2 0x40480000 boot/Image && ext4load mmc 1:2 0x43050000 boot/dts-linux.dtb && booti 0x40480000 - 0x43050000

27433472 bytes read in 1204 ms (21.7 MiB/s)
35119 bytes read in 19 ms (1.8 MiB/s)
Kernel loaded, boot from SD ...
## Flattened Device Tree blob at 43050000
Booting using the fdt blob at 0x43050000
ERROR: Failed to allocate 0xb92f bytes below 0x10000000.
Failed using fdt_high value for Device TreeFDT creation failed! hanging...### ERROR ### Please RESET the board ###

Info:

Yocto BSP Rev. L5.4.24_2.1.0

Uboot version 2020.04

0 Kudos
Reply
7 Replies

2,369 Views
mhammouda
Contributor I

Hi Igor,

thank for your replay. I dont have OP-TEE in my boot image. Honestly this is the first time that i see this kind of error and i dont have any idea how to fix it.

0 Kudos
Reply

2,365 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mihamed

 

one can try program image with uuu.

 

Best regards
igor

0 Kudos
Reply

2,351 Views
mhammouda
Contributor I

Hi Igoar,

Tried without success. Same situation. I also tried with 2019.04.1 version and its work perfectly.

0 Kudos
Reply

2,347 Views
igorpadykov
NXP Employee
NXP Employee

one can try with latest Linux 5.10.35_2.0.0

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

 

0 Kudos
Reply

2,332 Views
mhammouda
Contributor I

Hi Igor,

if I lunch only this:

u-boot -> ext4load mmc 1:2 0x40480000 boot/Image && ext4load mmc 1:2 0x43050000 boot/dts-linux.dtb && booti 0x40480000 - 0x43050000

it's work without any problem.

Is there any limitation on total memory that i can use with u-boot? Becausa at this point, it seems to me that there is not enghogh space for load environement, dtb and kernel image

0 Kudos
Reply

2,327 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mihamed

 

one can look at sect.4.3 Preparing an SD/MMC card to boot  i.MX Linux User’s Guide​

 

Best regards
igor

0 Kudos
Reply

2,374 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mihamed

 

for this issue one can check if it is caused by OP-TEE, build without it using sect.5.6.10 OP-TEE

enablement Yocto Guide included in   Documentation

Program eemc with new image using uuu script example_kernel_emmc.uuu included in Demo Image

i.MX 8M Quad EVK

https://github.com/NXPmicro/mfgtools

 

Best regards
igor

0 Kudos
Reply