[U-Boot-Users] FADS and ICU862 Environment problems

Nye Liu 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

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?


Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote

More information about the U-Boot mailing list