imx6ul

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

imx6ul

1,443 Views
srinu_inaganti
Contributor III

1. How uboot changes to the new partition when kernel fails to start.

2. kernel changes any boot arguments to notify the uboot ? 

Labels (1)
3 Replies

775 Views
radhikasomaiya
Senior Contributor II

Hi srinu.inaganti@ltts.com ,

For roll back to another kernel in case of failure/crash of current kernel, you can do below things(just a raw idea):

1) Create two partition scheme both will have zImage and dtb.

2) Change the boot partition from u-boot. (change mmcdev and mmcpart env variables)

3) To automatically detect the kernel failure you can use the bootcount and bootlimit variables in u-boot and implement the mechanism to switch automatically.

For further understanding of the same in detail please refer to the SWUpdate: software update for embedded system — Embedded Software Update Documentation 2019.11 docum... .

Regards,

Radhika Somaiya.

775 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you download images success to your board? Here you can send us your fail log.

0 Kudos

775 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which version of BSP are you using?

0 Kudos