Questions about fw_printenv

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

Questions about fw_printenv

869 次查看
songhee_yun
Contributor III

Hello~

I use lx2160ardb board and sd card by changing the DIP switch(SW1:1111->1000).

I added the env tool(fw_printenv/fw_setenv) build configuration in u-boot and ran this command after kernel boot.

This tool get flexSPI environment value, not sd card env.

I want to get sd card env.

How can i do?

and default mtd part(flexSpi) has 0 and 1. what's different?

0 项奖励
1 回复

729 次查看
songhee_yun
Contributor III

I solve this problem. i can edit config at u-boot environment!

i changed value in lx2160a_common.h

CONFIG_SYS_MMC_ENV_DEV 0 -> 1

and edit fw_env.config like this

/dev/mmcblk0   0x500000 0x2000

0 项奖励