[U-Boot-Users] FADS and ICU862 Environment problems
nyet at mrv.com
Fri Jun 20 03:45:30 CEST 2003
The current FADS code does not seem to restore the environment properly,
and i can't figure out what it SHOULD do.
Right now, relocate_code only relocates up to the end of text
(_init_end), and since CFG_MONITOR_BASE + CONFIG_MONITOR_LEN is after
CFG_ENV_ADDR, ENV_IS_EMBEDDED is set.
Since ENV_IS_EMBEDDED is set, env_reloca_spec in flash.c does NOT
There are several refereces to environment in start.S that are
ifdefed out if CONFIG_FADS or CONFIG_ICU862, which don't look right.
My fix is to remove those ifdefs, and make sure that ENV_IS_EMBEDDED
is NOT set by reducing CFG_MONITOR_LEN to not include the environment.
What is the correct behavior?
nliu at mrv.com
"Who would be stupid enough to quote a fictitious character?"
-- Don Quixote
More information about the U-Boot