How to update u-boot by swupdate

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

How to update u-boot by swupdate

跳至解决方案
3,260 次查看
wang12zhe
Contributor III

 

HW: IMX8QXP EVK

I had update rootfs/Kernel image and dtb successfully,

Rootfs/kernel Image and dtb  are store in fat32 or ext4 partition,I can add information to sw-description to update them.

But u-boot store a raw data area, how to update u-boot by swupdate?

Any help will very useful for me thanks very much

0 项奖励
回复
1 解答
3,241 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @wang12zhe,

I hope you are doing well.

Please find the information related to SWUpdate OTA over IMX8QXP from the below documents.
 
Thanks & regards,
Dhruvit Vasavada

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,242 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @wang12zhe,

I hope you are doing well.

Please find the information related to SWUpdate OTA over IMX8QXP from the below documents.
 
Thanks & regards,
Dhruvit Vasavada
0 项奖励
回复
3,218 次查看
wang12zhe
Contributor III

@Dhruvit 

Thank you very much.

Refer the sw-description file  in  

upgrage_image_build_source_file.zip (i.MX8QXP\imx8qxpmek_doublecopy_slotb_full_LF_v5.10.9_1.0.0)
 

Add below information to my  sw-description 

                    images: (
                        {
                            filename = "imx-boot-imx8qxpmek-sd.bin-flash_spl";
                            device = "/dev/mmcblk0boot0";
                        }  
                    );
 
after update by swupdate and reset the system output nothing from console(uboot not start).
My start command:
swupdate -l TRACE  -i imx8qxpevk.swu -e "stable,mmcblk0p2" or 
swupdate -l TRACE  -i imx8qxpevk.swu -e "stable,mmcblk0p4"
 
I had added my sw-description as attachment, please check it where the error is, thank very much.
 
0 项奖励
回复
3,211 次查看
wang12zhe
Contributor III

@Dhruvit 

If Run "reboot" after update by swupdate, will show below from console

U-Boot SPL 2021.04-lf_v2021.04+g1c0116f3da (Sep 06 2021 - 08:48:23 +0000)
Normal Boot
Trying to boot from MMC1
Primary set selected
Parse seco container failed -14
Load image from MMC/SD 0x0

Any suggestion about this? Thanks very much.

 

0 项奖励
回复
3,159 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

I hope you are doing well
 
It seems that the error 'Parse seco container failed -14' occurs because of the Wrong container header.
Please share the steps you followed to further debug the issue.
 
Thanks & Regards

Dhruvit Vasavada

0 项奖励
回复