From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Jia Date: Tue, 28 Sep 2004 14:09:41 -0700 (PDT) Subject: [U-Boot-Users] the ppc405ep u-boot (with jffs2 configure) failed In-Reply-To: <20040928173244.79871C1430@atlas.denx.de> Message-ID: <20040928210941.7773.qmail@web53404.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 wrote: > In message > <20040928171537.6055.qmail@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... 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: " > 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