How write kernel image and dtbs to Bootloader area

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

How write kernel image and dtbs to Bootloader area

668 Views
wang12zhe
Contributor III

IMX8QXP Linux BSP includes the following major components:

1.Bootloader image : flash.bin is here

2.Boot partition
– FAT32 partition containing the kernel image, dtbs

Rootfs partition
– EXT type partition containing the root filesystem.

 

Whether can we save the kernel image and dtbs to the first components(Bootloader image area) and we only need two components:

1.Bootloader image :containing the flash.bin,kernel image, dtbs.

2.Rootfs partition
– EXT type partition containing the root filesystem.

Anyone has any ideas about this ? How to do it

0 Kudos
Reply
2 Replies

626 Views
Mestkim
Contributor III

You can use two files. one for vfat, one for ext4. 

and use loop to mount them. and copy the file to the partition mirror. 

after that, you can "cat" them together. 

 

 

 

 

Untitled.png

 

There is very good document, I read and used :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/SWUpdate-OTA-i-MX8MM-EVK-i-MX8QXP-MEK/ta...

 

 

SWUpdate OTA i.MX8MM EVK_rev3.pdf

 

pg 74 ~ 80

Untitled1.png

0 Kudos
Reply

640 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

You can refer to "4.3 Preparing an SD/MMC card to boot" of i.MX Linux User's Guide (nxp.com)

 

Best regards

Harvey

0 Kudos
Reply