am335x_evm: Re-work eMMC environment
PATCH 1/1 am335x_evm: Re-work eMMC environment
board/ti/am335x/README talks about eMMC env on the main partition, with redundancy, rather than in one of the boot partitions. Switch to using the main partition + redundant copy.
Signed-off-by Tom Rini <[email protected]>
--- include/configs/am335x_evm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/configs/am335x_evm.h +4 -3
@@ -344,10 +344,11 @@"128k(u-boot-env2),3464k(kernel)," \ "-(rootfs)"#elif defined(CONFIG_EMMC_BOOT ) -#undef CONFIG_ENV_IS_NOWHERE#define CONFIG_ENV_IS_IN_MMC -#define CONFIG_SYS_MMC_ENV_DEV 1 -#define CONFIG_SYS_MMC_ENV_PART 2 +#define CONFIG_SYS_MMC_ENV_DEV 1/* SLOT2: eMMC(1) */ +#define CONFIG_ENV_OFFSET 0xE0000 +#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) +#define CONFIG_SYS_REDUNDAND_ENVIRONMENT #endif /* SPI flash. */
Signature · 1 line
1.7.9.5
PATCH 1/1 am335x_evm: Re-work eMMC environment
Quoted 5 lines · Tom Rini
board/ti/am335x/README talks about eMMC env on the main partition, with redundancy, rather than in one of the boot partitions. Switch to using the main partition + redundant copy.
Signed-off-by Tom Rini <[email protected]>
I'm going to re-tract this and update the README instead, along with switching to redundant env support.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130912/ccbcdc0f/attachment.pgp>