All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Auto-booting problem
@ 2009-05-22  9:36 paras
  2009-05-22 10:52 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: paras @ 2009-05-22  9:36 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Auto-booting problem
  2009-05-22  9:36 [U-Boot] Auto-booting problem paras
@ 2009-05-22 10:52 ` Wolfgang Denk
  2009-05-23  4:19   ` paras
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2009-05-22 10:52 UTC (permalink / raw)
  To: u-boot

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 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Auto-booting problem
  2009-05-22 10:52 ` Wolfgang Denk
@ 2009-05-23  4:19   ` paras
  2009-05-25  5:05     ` Vijay Nikam
  0 siblings, 1 reply; 5+ messages in thread
From: paras @ 2009-05-23  4:19 UTC (permalink / raw)
  To: u-boot

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 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Auto-booting problem
  2009-05-23  4:19   ` paras
@ 2009-05-25  5:05     ` Vijay Nikam
  2009-05-26 19:54       ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Vijay Nikam @ 2009-05-25  5:05 UTC (permalink / raw)
  To: u-boot

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 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
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Auto-booting problem
  2009-05-25  5:05     ` Vijay Nikam
@ 2009-05-26 19:54       ` Scott Wood
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2009-05-26 19:54 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-26 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-22  9:36 [U-Boot] Auto-booting problem paras
2009-05-22 10:52 ` Wolfgang Denk
2009-05-23  4:19   ` paras
2009-05-25  5:05     ` Vijay Nikam
2009-05-26 19:54       ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.