U-Boot FDT issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

U-Boot FDT issue

2,686 次查看
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 项奖励
回复
7 回复数

2,664 次查看
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 项奖励
回复

2,660 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Mihamed

 

one can try program image with uuu.

 

Best regards
igor

0 项奖励
回复

2,646 次查看
mhammouda
Contributor I

Hi Igoar,

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

0 项奖励
回复

2,642 次查看
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 项奖励
回复

2,627 次查看
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 项奖励
回复

2,622 次查看
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 项奖励
回复

2,669 次查看
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 项奖励
回复