
5 Aug
2009
5 Aug
'09
4:57 a.m.
Put environment into .ppcenv section aligned on a
smaller "boot" eraseblock
boundary near flash end.
Hm... if you change to code to using a smaller boot sector...
#define CONFIG_ENV_ADDR
(CONFIG_SYS_MONITOR_BASE + 0x38000)
#define
CONFIG_ENV_SECT_SIZE 0x4000 /* 16K(one sector) for env */
-#define CONFIG_ENV_SIZE
0x2000
+#define CONFIG_ENV_SIZE
0x4000
...should then not be CONFIG_ENV_SECT_SIZE changed to some smaller size, too?
The "large" eraseblock size for this flash config is 128k (2x64k). Small one is 16k (2x8k).