Questions about fw_printenv

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Questions about fw_printenv

920 Views
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 Kudos
Reply
1 Reply

780 Views
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 Kudos
Reply