[U-Boot-Users] the ppc405ep u-boot (with jffs2 configure) failed

Tyler Jia txjia at yahoo.com
Tue Sep 28 23:09:41 CEST 2004


thanks!!!  thanks!!!

as your said,
 
After add 128k to size of u-boot.bin, the u-boot with
JFFS2 configure comes up serial port.
I could run setenv and saveenv command.

in ../board/ppc405epvv/config.mk, 
changed from TEXT_BASE = 0xFFFE0000 to 0xFFFC0000  
add 128k.

also:
in ../include/configs/PPC405EPVV.h changed from:
#define CFG_MONITOR_BASE        0xFFFE0000      /*
last 128 kB */  
to 0xFFFC0000, /*last 256K */.

changed from
#define CFG_MONITOR_LEN         (128 * 1024) 
to 256*1024


Tyler Jia






--- Wolfgang Denk <wd at denx.de> wrote:

> In message
> <20040928171537.6055.qmail at web53410.mail.yahoo.com>
> you wrote:
> > 
> > > > > How big is your U-Boot image?
> ...
> > > >             no jffs2       with jffs2   
> > > >                           
> > > > u-boot.bin = 131071         131071  
> >     so sorry ,   131072         131072  
> 
> Arghh... <It's really difficult to help when you
> come up with  random
> numbers.
> 
> > > U-boot will not fit in this image). Check your
> > > u-boot.map file and/or
> > > the output of objdump -h to make sure you don;t
> have
> > > any  overlapping
> > > sections defined in your linker script.
> ...
> > with jffs2 u-boot.map info:
> > ............
> >  .bss.NetArpWaitPacketBuf
> >                 0xfffffb5c      0x620
> > net/libnet.a(net.o)
> >                 0xfffffb5c               
> > NetArpWaitPacketBuf
> >  
> > .sbss.NetArpWaitTimerStart
> >                 0x0000017c        0x4
> >  .sbss.NetArpWaitTimerStart
> >                 0x0000017c        0x4
> 
> Gotcha!!!
> 
> > it seems jffs2 u-boot go out of size.
> 
> Indeed. As I mentioned before: 128 kB seems too
> small to me.
> 
> >  I need redefine the size of u-boot.bin and the
> > env-offset, env-addr in configure file
> > /include/configs/PPC405EPVV.h,  could you give me 
> > some info to do this correct? 
> 
> Reduce TEXT_BASE in your config.mk file.
> 
> > > And please keep the list Cc:ed.
> > 
> >     sorry,  Cc:ed ?
> 
> Add  a  "Cc:   <U-Boot-Users at lists.sourceforge.net>"
>   header   line,
> probably  by  using  "reply  to  all" or whatever
> your MUA names this
> function.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime
> Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88 
> Email: wd at denx.de
> The price of curiosity is a terminal experience.
>                          - Terry Pratchett, _The
> Dark Side of the Sun_
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




More information about the U-Boot mailing list