Skip to contentSkip to conversation

the ppc405ep u-boot (with jffs2 configure) failed

U-Boot-Users Tyler Jia 2 participants 2 messages Sep 27, 2004

lore
Share & tools
lore

Tyler Jia

author
#0 lore raw

Hello,

I am a new user, try to get the u-boot(with jffs2)
work on a ppc405ep board(32M Ram, 8M flash disk, one serial port, one network port), it will has one partition for u-boot(128k), the rest make one jffs2 partition, the kernel and initrd will locate in this JFFS2 partition.

First I build the u-boot.bin without configure
jffs2 support, installed it to 405ep board flash memory, it works well, when turn on power, from serial port, I could get the prompt => and excute the u-boot command like setenv, saveenv.

But after I configure u-boot JFFS2 support in
include/configs/PPC405EPVV.h, add 4 lines:

#define CONFIG_COMMANDS ( CFG_CMD_JFFS2 )

#define CFG_JFFS2_FIRST_BANK    0    
#define CFG_JFFS2_FIRST_SECTOR  0
#define CFG_JFFS2_NUM_BANKS     1

(the 8M flash memery havs one bank, 64 sector.)

after make compile, I load this jffs2 configured
u-boot.bin to flash memory, turn on power, but
nothing happened on serial port, no display, no prompt =>, could not type command, it seems u-boot crashed.

I could not figure out how to fix the problem that
adding jffs2 support crashed the u-boot.

thanks

Tyler

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

I am a new user, try to get the u-boot(with jffs2)
work on a ppc405ep board(32M Ram, 8M flash disk, one serial port, one network port), it will has one partition for u-boot(128k), the rest make one jffs2 partition, the kernel and initrd will locate in this JFFS2 partition.

So you have at least these two partitions, right?

Quoted 10 lines

But after I configure u-boot JFFS2 support in
include/configs/PPC405EPVV.h, add 4 lines:

#define CONFIG_COMMANDS ( CFG_CMD_JFFS2 )

#define CFG_JFFS2_FIRST_BANK    0    
#define CFG_JFFS2_FIRST_SECTOR  0
#define CFG_JFFS2_NUM_BANKS     1

(the 8M flash memery havs one bank, 64 sector.)

How many partitions did you configure here, and which sizes do they have?

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Prediction is very difficult, especially of the future.  - Niels Bohr