Linux imx6

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

Linux imx6

466 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

354 Views
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 Kudos