[U-Boot-Users] autoboot in U-boot

Sung mikegas at tm.net.my
Fri Jul 18 09:22:53 CEST 2003


hi there,

Can someone help me on this autoboot? I successfully configured the
u-boot-0.4.0 for mpc857 custom board but somehow the bootcommand and
boot arg would not run, it just skip the autoboot and goes to prompt. so
help!!!

this is part of the configuration

....................................................................
#if 0
#define CONFIG_BOOTDELAY        -1      /* autoboot disabled*/
#else
#define CONFIG_BOOTDELAY        3       /* autoboot after 3 sec */
#endif

#define CONFIG_BOOTCOMMAND      "bootm 02800000 02880000"
#define CONFIG_BOOTARGS         "root=/dev/ram rw"


#undef  CONFIG_WATCHDOG                 /* watchdog disabled*/

#define CONFIG_SCC2_ENET        1       /* use SCC2 ethernet */
#undef  CONFIG_FEC_ENET                 /* disable FEC ethernet  */

/* this must be included AFTER the definition of CONFIG_COMMANDS (if
any) */
#include <cmd_confdefs.h>

/*
 * Miscellaneous configurable options
 */
#undef  CFG_LONGHELP            /* undef to save memory*/
#define CFG_PROMPT      ":>"    /* Monitor CommandPrompt        */
..................................................................

and this is the output displayed:-

......................................................................
U-Boot 0.4.0 (Jul 18 2003 - 10:17:35)

CPU:   unknown MPC850 (0x07000003) at 48 MHz: 4 kB I-Cache 4 kB D-Cache
FEC pret
         *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
SDRAM:  16 MB
Top of RAM usable for U-Boot at: 01000000
Reserving 512k for U-Boot at: 00f80000
Reserving 256k for malloc() at: 00f40000
Reserving 60 Bytes for Board Info at: 00f3ffc4
Reserving 52 Bytes for Global Data at: 00f3ff90
Stack Pointer at: 00f3ff78
New Stack Pointer is: 00f3ff78
Now running in RAM - U-Boot at: 00f80000
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 00f80000
Net:   SCC ETHERNET
:>
:>

...................................................................

So i don't understand... where did the autoboot go??

the u-boot is store in flash 0x2b00000
the kernel is store in flash 0x2800000
and the ramdisk is in flash  0x2880000


hmm.... thanks guys


regards,
Mike G.






More information about the U-Boot mailing list