Skip to contentSkip to conversation

the ppc405ep u-boot (with jffs2 configure) failed

U-Boot-Users Wolfgang Denk 2 participants 2 messages Sep 28, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How big is your U-Boot image?

...

Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 5 lines
Quoted 5 lines

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.

...

Quoted 6 lines

with jffs2 u-boot.map info:
............
.bss.NetArpWaitPacketBuf

                0xfffffb5c      0x620
net/libnet.a(net.o)
                0xfffffb5c               
Quoted 6 lines

NetArpWaitPacketBuf

.sbss.NetArpWaitTimerStart

                0x0000017c        0x4
 .sbss.NetArpWaitTimerStart
                0x0000017c        0x4

Gotcha!!!

Quoted 1 line

it seems jffs2 u-boot go out of size.

Indeed. As I mentioned before: 128 kB seems too small to me.

Quoted 4 lines

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.

Quoted 3 lines
Quoted 1 line

And please keep the list Cc:ed.

sorry, Cc:ed ?

Add a "Cc: <[email protected]>" header line,
probably by using "reply to all" or whatever your MUA names this function.

Best regards,

Wolfgang Denk

Signature · 4 lines
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_
#2 lore raw

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

Quoted 59 lines · --- Wolfgang Denk

In message <[email protected]>

Quoted 2 lines · you
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How big is your U-Boot image?

...

Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 3 lines
Quoted 3 lines

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

Quoted 2 lines
Quoted 2 lines

any overlapping
sections defined in your linker script.

...

Quoted 6 lines

with jffs2 u-boot.map info:
............
.bss.NetArpWaitPacketBuf

                0xfffffb5c      0x620
net/libnet.a(net.o)
                0xfffffb5c               
Quoted 6 lines

NetArpWaitPacketBuf

.sbss.NetArpWaitTimerStart

                0x0000017c        0x4
 .sbss.NetArpWaitTimerStart
                0x0000017c        0x4

Gotcha!!!

Quoted 1 line

it seems jffs2 u-boot go out of size.

Indeed. As I mentioned before: 128 kB seems too small to me.

Quoted 4 lines

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.

Quoted 3 lines
Quoted 1 line

And please keep the list Cc:ed.

sorry, Cc:ed ?

Add a "Cc: <[email protected]>"
header line,
probably by using "reply to all" or whatever your MUA names this
function.

Quoted 13 lines

Best regards,

Wolfgang Denk

Signature · 7 lines
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