[U-Boot] Auto-booting problem

Vijay Nikam vijay.t.nikam at gmail.com
Mon May 25 07:05:28 CEST 2009


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 at 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 at denx.de> wrote:
>
>> Dear paras,
>>
>> In message <8136f0210905220236o93ab0a0gbf8ff5e15192ea21 at 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 at 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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>


More information about the U-Boot mailing list