Wolfgang, I'm glad that you found the problem.
> Booting works fast as it should. (This new CFG_BOOTMAPSZ came from M5329EVB.h). It must have been the early work that I did not change to use the new CFG_BOOTMAPSZ. Now, the current repository has the new CFG_BOOTMAPSZ. Regards, TsiChung -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 04, 2008 3:03 AM To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] "huge" (6 second) delay when booting linuxkernel (coldfire) On 4 Apr 2008 at 8:36, [EMAIL PROTECTED] wrote: > Hi, > > On 4 Apr 2008 at 8:13, [EMAIL PROTECTED] wrote: > > > Hi, > > > > I have a problem on startup on my Coldfire MCF5373L board. > > > > When the flash is empty, something before booting the linux kernel > > takes too long such that the watchdog resets my board before there > > is a chance for the kernel to take over control. > > with some more puts() I found there is around 4 second delay in this > line of do_bootm_linux() in lib_m68k/m68k_linux.c: > > cmd_end = cmd_start + strlen(cmdline); Found the problem. It was a wrong CFG_BOOTMAPSZ, seems to have been a relic from my very first try in porting to MCF53xx. With the correct line: #define CFG_BOOTMAPSZ (CFG_SDRAM_BASE + (CFG_SDRAM_SIZE << 20)) Booting works fast as it should. (This new CFG_BOOTMAPSZ came from M5329EVB.h). Regards, Wolfgang ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users