Questions about fw_printenv

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

Questions about fw_printenv

871件の閲覧回数
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 返信

731件の閲覧回数
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 件の賞賛