Hi, I am trying to save environment variables on a SD card of a MX28EVK board.
'save' command reports no errors, but if I reboot the board then the board no longer boots. In order to recover the boot, I need to reformat the SD card and reflash the u-boot.sd image. I am trying the following configuration taken from FSL U-boot: /* * MMC Driver */ #define CONFIG_ENV_IS_IN_MMC #define CONFIG_ENV_OFFSET 0x400 #define CONFIG_ENV_SIZE 0x20000 - 0x400 #define CONFIG_SYS_MMC_ENV_DEV 0 #ifdef CONFIG_CMD_MMC #define CONFIG_MMC #define CONFIG_GENERIC_MMC #define CONFIG_MXS_MMC #endif Not sure on the CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE values. Has anyone tried saving env vars on MX28? Any suggestions? Thanks, Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot