imx6ul

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

imx6ul

2,303 次查看
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 ? 

标签 (1)
3 回复数

1,635 次查看
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.

1,635 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,635 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复