Failure to read older uboot environment variable from uboot BSP 5.10.72_2.2.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Failure to read older uboot environment variable from uboot BSP 5.10.72_2.2.0

1,132件の閲覧回数
tamdo
Contributor I

Dear all,

I'm trying to upgrade uboot (BSP 5.4.70_2.3.0) to uboot (BSP 5.10.72_2.2.0) and got an issue when read environment variables.

In uboot (BSP 5.4.70_2.3.0), CONFIG_ENV_SIZE=0x1000

In uboot (BSP 5.10.72_2.2.0), CONFIG_ENV_SIZE=0x4000

I save uboot environment at an offset of eMMC, but because the sizes are different between 2 version, new uboot can not read successfully older uboot environment and it will use default. This makes a wrong behavior in upgrade flow by SWUpdate (double copying).

I'm trying to reduce size of default enviorment variables in uboot 5.10.72_2.2.0 by removing unnecessary variables and continue use CONFIG_ENV_SIZE=0x1000. 

This way is working but I do not know if there are better solutions. It's great if you can share your experience. Thanks in advance !

 

0 件の賞賛
返信
3 返答(返信)

1,116件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

1,109件の閲覧回数
tamdo
Contributor I

Thanks @joanxie for reply. I am using SWUpdate and it worked for some firmwares. But the issue occured when I was trying to upgrade to new uboot with bigger ENV size. 

0 件の賞賛
返信

1,095件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I remember I mailed to you, did you receive it? how about now? 

0 件の賞賛
返信