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

Nye Liu nyet at mrv.com
Wed Jun 25 02:27:49 CEST 2003


On Sun, Jun 22, 2003 at 06:22:03PM +0200, Wolfgang Denk wrote:
> No.
> 
> If you look at the u-boot.map file when building for the ICU862 board
> you can see this:
> 
> ...
>                 0x40f22b3c                __init_end = .
>                 0x40f22b3c                __bss_start = .
>     
> .bss            0x40f22c00     0x417c  
> ...
>                 0x40f26c30                flash_info
>                 0x40f40000                . =  ALIGN (0x40000)
> 
> .ppcenv         0x40f40000     0x4000
>  common/environment.o(.ppcenv)
>  .ppcenv        0x40f40000     0x4000 common/environment.o
>                 0x40f40000                environment
>                 0x40f44000                _end = .
>                 0x40f44000                PROVIDE (end, .)
> 
> The #ifdef in "cpu/mpc8xx/start.S" makes sure that  clear_bss()  does
> not attempt to clear any memory that belongs to the environment.

but later, you write:

> I see no discrepancy - ENV_IS_EMBEDDED is NOT set for ICU862

how does environment.o have any data; it is totally ifdef'ed out
if ENV_IS_EMBEDDED is not set...?

I am totally confused now ;/

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