Skip to contentSkip to conversation

the ppc405ep u-boot (with jffs2 configure) failed

U-Boot-Users Tyler Jia 1 participant 1 message 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