public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot dos not autostart commands
@ 2008-05-17  8:08 Alexei Babich
  2008-05-18 11:06 ` Markus Klotzbücher
  2008-05-18 20:41 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Alexei Babich @ 2008-05-17  8:08 UTC (permalink / raw)
  To: u-boot

Hi all.
I have PXA270 board with embedded by vendor bootleader - "U-Boot 1.3.0".
I define that environment:
---
$ printenv
baudrate=115200
bootdelay=3
bootargs=video=pxafb:mode:800x480-16,active,pixclock:37000,left:100,right:1,hsynclen:10,upper:20,lower:1,vsynclen:10,outputen:1,pixclockpol:0 root=/dev/sda1 rootdelay=20 console=ttyS0,115200
bootcmd=cp.b 01e00000 a1000000 13216e
stdin=serial
stdout=serial
stderr=serial

Environment size: 298/262140 bytes
---
But after power on, I cannot see countdown & run bootcmd.
If I 'run bootcmd' by hand - that works OK. But not automatically after power on.
Can anybody tell me, how I can solve this ?

Thank you.
-- 
Regards,
Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: impatt at jabber.ru

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

* [U-Boot-Users] u-boot dos not autostart commands
  2008-05-17  8:08 [U-Boot-Users] u-boot dos not autostart commands Alexei Babich
@ 2008-05-18 11:06 ` Markus Klotzbücher
  2008-05-18 11:17   ` Alexei Babich
  2008-05-18 20:41 ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Markus Klotzbücher @ 2008-05-18 11:06 UTC (permalink / raw)
  To: u-boot

Alexei Babich <a.babich@rez.ru> writes:

> I have PXA270 board with embedded by vendor bootleader - "U-Boot 1.3.0".
> I define that environment:
> ---
> $ printenv
> baudrate=115200
> bootdelay=3
> bootargs=video=pxafb:mode:800x480-16,active,pixclock:37000,left:100,right:1,hsynclen:10,upper:20,lower:1,vsynclen:10,outputen:1,pixclockpol:0 root=/dev/sda1 rootdelay=20 console=ttyS0,115200
> bootcmd=cp.b 01e00000 a1000000 13216e

What are you trying to do here?

...

> But after power on, I cannot see countdown & run bootcmd.
> If I 'run bootcmd' by hand - that works OK. But not automatically after power on.
> Can anybody tell me, how I can solve this ?

It seems that support for bootdelay (CONFIG_BOOTDELAY) is not enabled in
your vendors version of U-Boot. So to get this feature you will have to
compile a new U-Boot.

Best regards

Markus Klotzbuecher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de

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

* [U-Boot-Users] u-boot dos not autostart commands
  2008-05-18 11:06 ` Markus Klotzbücher
@ 2008-05-18 11:17   ` Alexei Babich
  2008-05-18 12:21     ` Markus Klotzbücher
  0 siblings, 1 reply; 6+ messages in thread
From: Alexei Babich @ 2008-05-18 11:17 UTC (permalink / raw)
  To: u-boot

> > bootcmd=cp.b 01e00000 a1000000 13216e
> What are you trying to do here?
Simple test autostart. If I run it manually, this copy linux uImage from FLASH to RAM..

> It seems that support for bootdelay (CONFIG_BOOTDELAY) is not enabled in
> your vendors version of U-Boot. So to get this feature you will have to
> compile a new U-Boot.
Thank you, I will ask them.

-- 
Regards,
Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: impatt at jabber.ru

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

* [U-Boot-Users] u-boot dos not autostart commands
  2008-05-18 11:17   ` Alexei Babich
@ 2008-05-18 12:21     ` Markus Klotzbücher
  2008-05-19  2:24       ` Alexei Babich
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Klotzbücher @ 2008-05-18 12:21 UTC (permalink / raw)
  To: u-boot

Alexei Babich <a.babich@rez.ru> writes:

>> > bootcmd=cp.b 01e00000 a1000000 13216e
>> What are you trying to do here?
> Simple test autostart. If I run it manually, this copy linux uImage
> from FLASH to RAM..

You know "bootm" will do this for you?

Best regards

Markus Klotzbuecher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de

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

* [U-Boot-Users] u-boot dos not autostart commands
  2008-05-17  8:08 [U-Boot-Users] u-boot dos not autostart commands Alexei Babich
  2008-05-18 11:06 ` Markus Klotzbücher
@ 2008-05-18 20:41 ` Wolfgang Denk
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2008-05-18 20:41 UTC (permalink / raw)
  To: u-boot

In message <200805171408.06423.a.babich@rez.ru> you wrote:
>
> But after power on, I cannot see countdown & run bootcmd.

Probably that was not selected in the board configuration?

> If I 'run bootcmd' by hand - that works OK. But not automatically after power on.
> Can anybody tell me, how I can solve this ?

Add at least CONFIG_BOOTDELAY to your board configuration, build  and
install the new version.



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
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
	-- Parmen, "Plato's Stepchildren", stardate 5784.3

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

* [U-Boot-Users] u-boot dos not autostart commands
  2008-05-18 12:21     ` Markus Klotzbücher
@ 2008-05-19  2:24       ` Alexei Babich
  0 siblings, 0 replies; 6+ messages in thread
From: Alexei Babich @ 2008-05-19  2:24 UTC (permalink / raw)
  To: u-boot

> You know "bootm" will do this for you?
I know, but u-boot do _NOTHING_ after power on. Any command in 'bootcmd' is ignored.

-- 
Regards,
Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: impatt at jabber.ru

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

end of thread, other threads:[~2008-05-19  2:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17  8:08 [U-Boot-Users] u-boot dos not autostart commands Alexei Babich
2008-05-18 11:06 ` Markus Klotzbücher
2008-05-18 11:17   ` Alexei Babich
2008-05-18 12:21     ` Markus Klotzbücher
2008-05-19  2:24       ` Alexei Babich
2008-05-18 20:41 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox