u-boot dos not autostart commands
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.
Signature · 4 lines
Regards, Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia http://www.rez.ru Jabber ID: impatt at jabber.ru
Quoted 8 lines · Alexei Babich
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?
...
Quoted 3 lines
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
Quoted 2 lines
Quoted 1 line
bootcmd=cp.b
01e00000a100000013216eWhat are you trying to do here?
Simple test autostart. If I run it manually, this copy linux uImage from FLASH to RAM..
Quoted 3 lines
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.
Signature · 4 lines
Regards, Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia http://www.rez.ru Jabber ID: impatt at jabber.ru
Quoted 4 lines · Alexei Babich
Quoted 2 lines
Quoted 1 line
bootcmd=cp.b
01e00000a100000013216eWhat 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
Quoted 1 line
You know "bootm" will do this for you?
I know, but u-boot do _NOTHING_ after power on. Any command in 'bootcmd' is ignored.
Signature · 4 lines
Regards, Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia http://www.rez.ru Jabber ID: impatt at jabber.ru
Quoted 2 lines · In message <[email protected]> you wrote:
But after power on, I cannot see countdown & run bootcmd.
Probably that was not selected in the board configuration?
Quoted 2 lines
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
Signature · 6 lines
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