[U-Boot] Auto-booting problem

Hi all, I am working on MPC8313erdb board. I configure U-Boot 1.3.0 for my board, But the problem is on auto-boot. When I start the board it stop on command prompt of u-boot. Please help me to solve this problem. The list of environment variables are given below.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ U-Boot 1.3.0 (May 15 2009 - 11:35:09) MPC83XX
Reset Status: Software Hard, External/Internal Soft, External/Internal Hard
CPU: e300c3, MPC8313E, Rev: 10 at 333.333 MHz, CSB: 166 MHz Board: Freescale MPC8313ERDB I2C: ready DRAM: 128 MB FLASH: 8 MB NAND: 32 MiB In: serial Out: serial Err: serial Net: TSEC0, TSEC1 [PRIME] => printenv ramboot=setenv rootdev /dev/ram;run setbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr nfsboot=setenv rootdev /dev/nfs;run setbootargs;run setipargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr baudrate=115200 loads_echo=1 ethaddr=00:E0:0C:00:95:01 eth1addr=00:E0:0C:00:95:02 rootpath=/nfs/root/path hostname=mpc8313erdb bootfile=uImage loadaddr=200000 netdev=eth1 ethprime=TSEC1 uboot=u-boot.bin tftpflash=tftpboot $loadaddr $uboot; protect off 0xFE000000 +$filesize; erase 0xFE000000 +$filesize; cp.b $loadaddr 0xFE000000 $filesize; protect on 0xFE000000 +$filesize; cmp.b $e fdtaddr=400000 fdtfile=mpc8313erdb.dtb console=ttyS0 setbootargs=setenv bootargs root=$rootdev rw console=$console,$baudrate $othbootargs setipargs=setenv bootargs nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off root=$rootdev rw console=$console,$baudrate $othbootargs filesize=490000 fileaddr=100000 gatewayip=10.0.0.1 netmask=255.0.0.0 bootargs=root=/dev/mtdblock6 rootfstype=jffs2 rw console=ttyS0,115200 bootcmd=cp.b fe710000 40000 11000; go 40004; bootm fe100000 - fe700000 stdin=serial stdout=serial stderr=serial ethact=TSEC1
Environment size: 1334/8188 bytes =>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank in advance.

Dear paras,
In message 8136f0210905220236o93ab0a0gbf8ff5e15192ea21@mail.gmail.com you wrote:
I am working on MPC8313erdb board. I configure U-Boot 1.3.0 for my board,
U-Boot 1.3.0 is very old. Why don't you use current code?
But the problem is on auto-boot. When I start the board it stop on command prompt of u-boot.
That's normal given your setup. Try setting "bootdelay".
Best regards,
Wolfgang Denk

Thank you Sir for your response. As per your instruction I set "bootdelay" variable. log is given below, But the problem is not solve. I run command "run bootcmd" for booting the kernel.
------------------------------------------ LOG ------------------------------------------------------------- ramboot=setenv rootdev /dev/ram;run setbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr nfsboot=setenv rootdev /dev/nfs;run setbootargs;run setipargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr baudrate=115200 loads_echo=1 ethaddr=00:E0:0C:00:95:01 eth1addr=00:E0:0C:00:95:02 rootpath=/nfs/root/path hostname=mpc8313erdb bootfile=uImage loadaddr=200000 netdev=eth1 ethprime=TSEC1 uboot=u-boot.bin tftpflash=tftpboot $loadaddr $uboot; protect off 0xFE000000 +$filesize; erase 0xFE000000 +$filesize; cp.b $loadaddr 0xFE000000 $filesize; protect on 0xFE000000 +$filesize; cmp.b $e fdtaddr=400000 fdtfile=mpc8313erdb.dtb console=ttyS0 setbootargs=setenv bootargs root=$rootdev rw console=$console,$baudrate $othbootargs setipargs=setenv bootargs nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off root=$rootdev rw console=$console,$baudrate $othbootargs filesize=490000 fileaddr=100000 netmask=255.0.0.0 bootargs=root=/dev/mtdblock6 rootfstype=jffs2 rw console=ttyS0,115200 bootcmd=cp.b fe710000 40000 11000; go 40004; bootm fe100000 - fe700000 *bootdelay=3* stdin=serial stdout=serial stderr=serial ethact=TSEC1 --------------------------------------------------------------------------------------------------------------------------------------------------
Thanks In Advance.
On Fri, May 22, 2009 at 4:22 PM, Wolfgang Denk wd@denx.de wrote:
Dear paras,
In message 8136f0210905220236o93ab0a0gbf8ff5e15192ea21@mail.gmail.com you wrote:
I am working on MPC8313erdb board. I configure U-Boot 1.3.0 for my board,
U-Boot 1.3.0 is very old. Why don't you use current code?
But the problem is on auto-boot. When I start the board it stop on command prompt of u-boot.
That's normal given your setup. Try setting "bootdelay".
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "Do we define evil as the absence of goodness? It seems only logical that shit happens--we discover this by the process of elimination." -- Larry Wall

Yes, then you need to set/use CONFIG_BOOTDELAY to enable or disable for autoboot. For details and information have a look at doc/README.autoboot
Once you use CONFIG_BOOTDELAY, then recompile and generate u-boot.bin, if everything goes fine you would have bootdelay option in you printenv settings.
Kind Regards, Vijay Nikam
On Sat, May 23, 2009 at 9:49 AM, paras beparas@gmail.com wrote:
Thank you Sir for your response. As per your instruction I set "bootdelay" variable. log is given below, But the problem is not solve. I run command "run bootcmd" for booting the kernel.
------------------------------------------ LOG
ramboot=setenv rootdev /dev/ram;run setbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr nfsboot=setenv rootdev /dev/nfs;run setbootargs;run setipargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr baudrate=115200 loads_echo=1 ethaddr=00:E0:0C:00:95:01 eth1addr=00:E0:0C:00:95:02 rootpath=/nfs/root/path hostname=mpc8313erdb bootfile=uImage loadaddr=200000 netdev=eth1 ethprime=TSEC1 uboot=u-boot.bin tftpflash=tftpboot $loadaddr $uboot; protect off 0xFE000000 +$filesize; erase 0xFE000000 +$filesize; cp.b $loadaddr 0xFE000000 $filesize; protect on 0xFE000000 +$filesize; cmp.b $e fdtaddr=400000 fdtfile=mpc8313erdb.dtb console=ttyS0 setbootargs=setenv bootargs root=$rootdev rw console=$console,$baudrate $othbootargs setipargs=setenv bootargs nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off root=$rootdev rw console=$console,$baudrate $othbootargs filesize=490000 fileaddr=100000 netmask=255.0.0.0 bootargs=root=/dev/mtdblock6 rootfstype=jffs2 rw console=ttyS0,115200 bootcmd=cp.b fe710000 40000 11000; go 40004; bootm fe100000 - fe700000 *bootdelay=3* stdin=serial stdout=serial stderr=serial ethact=TSEC1
Thanks In Advance.
On Fri, May 22, 2009 at 4:22 PM, Wolfgang Denk wd@denx.de wrote:
Dear paras,
In message 8136f0210905220236o93ab0a0gbf8ff5e15192ea21@mail.gmail.com you wrote:
I am working on MPC8313erdb board. I configure U-Boot 1.3.0 for my board,
U-Boot 1.3.0 is very old. Why don't you use current code?
But the problem is on auto-boot. When I start the board it stop on command prompt of u-boot.
That's normal given your setup. Try setting "bootdelay".
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "Do we define evil as the absence of goodness? It seems only logical that shit happens--we discover this by the process of elimination." -- Larry Wall
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On Mon, May 25, 2009 at 10:35:28AM +0530, Vijay Nikam wrote:
Yes, then you need to set/use CONFIG_BOOTDELAY to enable or disable for autoboot. For details and information have a look at doc/README.autoboot
Once you use CONFIG_BOOTDELAY, then recompile and generate u-boot.bin, if everything goes fine you would have bootdelay option in you printenv settings.
Note that this has been added to the 8313erdb config file in more recent versions of u-boot.
-Scott
participants (4)
-
paras
-
Scott Wood
-
Vijay Nikam
-
Wolfgang Denk