lx2160ardb firmware install problem

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

lx2160ardb firmware install problem

ソリューションへジャンプ
2,068件の閲覧回数
jackho
Contributor IV

Hi,

I try to upgrade firmware to emmc by using below command:

flex-installer -f firmware_lx2160ardb_rev2_uboot_emmcboot.img /dev/mmcblk1

Because we use dual image architecture,  we install kernel and filesystem before and it's workable, but now we need add install firmware function, so we need to switch boot partition by devpart_boot and devpart_root env value after upgrading firmware. we use fw_setenv to write uboot env, but it will show below error:

Warning: Bad CRC, using default environment

 All uboot env will restore to default, it will cause cannot boot into kernel normally, fw_setenv is workable if firmware not upgrade

Do you have any suggestion for us about our problem?

Thank you

Jack

 

0 件の賞賛
返信
1 解決策
2,058件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot:

=> env default -a
## Resetting to default environment
=> saveenv
Saving Environment to MMC... Writing to MMC(0)... OK

In Linux, please  configure /etc/fw_env.config as the following.

# device name       Device offset   Env. size       Flash sector size       
/dev/mmcblk0        0x500000        0x2000   

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,059件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot:

=> env default -a
## Resetting to default environment
=> saveenv
Saving Environment to MMC... Writing to MMC(0)... OK

In Linux, please  configure /etc/fw_env.config as the following.

# device name       Device offset   Env. size       Flash sector size       
/dev/mmcblk0        0x500000        0x2000   
0 件の賞賛
返信
2,051件の閲覧回数
jackho
Contributor IV

Hi yipingwang,

Thanks for you reply,

Yes, my /etc/fw_env.config is correct 

I can read uboot env by using fw_printenv correctly after I upgrading firmware, but it will show  

Warning: Bad CRC, using default environment

The problem is my original uboot env variables are all reset to default, like Mac address, devpart_boot and  devpart_boot.... , I think is CRC check failed problem, do you have any suggestion?

Jack

0 件の賞賛
返信