Dual boot setup in imx8mplus

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

Dual boot setup in imx8mplus

885 Views
sanum19
Contributor III

After successfully building and flashing the image into the imx8mplus board. 2partitions are formed boot & root. 

Boot= contains devicetree, kernel(Image)

Root= root file system

1.I would like to know how u-boot binary is integrated into the image?

My motive is to maually setup a dualcopy image in imx8mplus. ie The board will be having 2 boot partition and 2 root partitions (for booting 2 respective images ).

mmcblk p1,p2(imageA)  ,p3,p4(imageB)

I have updated bootargs and other paths from u-boot shell to choose the current image to load. When i boot the board a bashshell is coming up instead of loading proper rootfs.

2.So can anyone helpme out with how to correctly do the partition to make dual copy image booting.

0 Kudos
Reply
2 Replies

852 Views
sanum19
Contributor III

Hi Bio_TICFSL,

What I'm looking for is emmc of the board should have 2 images and the board should be able to boot from both images. I'm also looking it as solution for adding image upgrade feature. Jailhouse is generally used for running isolated applications or OS instances, not directly for performing image upgrades.

0 Kudos
Reply

867 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Uboot need to boot 1st device and the other device boot the second device, you may need read the jailhouse mode:

https://community.nxp.com/t5/i-MX-Processors/IMX-8M-Quad-Eval-board-Jailhouse-Demo-instructions/td-p...

https://variwiki.com/index.php?title=Jailhouse_Guide

 

Regards

0 Kudos
Reply