Linux imx6

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

Linux imx6

1,075 次查看
ailtonlopes
Contributor III

Hi, 

Id like to ask if there's a way to have a linux bin that doesn't require the .dtb file. 
Basically i want to include the linux .bin file on my code using .incbin and then jump to the linux image after executing my program. 

The flow i want its like this

Startup code ----> main of my program ------> linux 

im using the imx6quad sd

kind regards, 

Ailton Lopes

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

963 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ailton Lopes,

The current linux kernels require the .dtb file for hardware information so the information has to be loaded by the kernel, either from a separate .dtb file or as an append to the kernel.

The ROM code looks for the bootloader, you could run a script from the bootloader and then load the kernel; or alternatively you could run a plugin image and later run the booloader.

I hope this information helps!

Regards,

0 项奖励
回复