All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Unable to run scripts with autoscr command
@ 2012-02-17 11:22 Asif Sulikeri
  2012-02-17 15:31 ` Detlev Zundel
  0 siblings, 1 reply; 13+ messages in thread
From: Asif Sulikeri @ 2012-02-17 11:22 UTC (permalink / raw)
  To: u-boot

Hi,

Im using u-boot version U-Boot 1.3.4 (Dec  9 2010 - 17:45:52)
DM365-IPNC-1.0.14 on a davinci_dm365 board,

I'm trying to run script under U-boot using "autoscr" command, since I
don't see any "source" command ported into this version of U-boot yet,

but autoscr isn't executing commands like -if -then -while in the script,
gives the following error: *Unknown command 'if' - try 'help'*


*After this I tried enabling the hush shell by setting the following in the
config file for respective board,*

#define CFG_HUSH_PARSER
#define CFG_PROMPT_HUSH_PS2     "=> "
#undef CONFIG_BOOT_RETRY_TIME
#undef CONFIG_RESET_TO_RETRY
#define CONFIG_AUTOSCRIPT               1
#define CONFIG_CMD_AUTOSCRIPT

*but after this when I reboot the board, I get indefinite repetative
display of the u-boot prompt as below:*

Jumping to entry point at 0x81080000
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

Jumping to entry point at 0x81080000
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

Jumping to entry point at 0x81080000
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

Jumping to entry point at 0x81080000
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

Jumping to entry point at 0x81080000
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

.......

what might be the problem, early help would be much appreciated.

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

end of thread, other threads:[~2012-02-27 11:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 11:22 [U-Boot] Unable to run scripts with autoscr command Asif Sulikeri
2012-02-17 15:31 ` Detlev Zundel
2012-02-20 10:15   ` Asif Sulikeri
2012-02-24  5:25     ` Asif Sulikeri
2012-02-24  5:31       ` Graeme Russ
2012-02-24  5:43         ` Asif Sulikeri
2012-02-25  1:14           ` Graeme Russ
2012-02-27  5:57             ` Asif Sulikeri
2012-02-27  6:03               ` Graeme Russ
2012-02-27  6:26                 ` Asif Sulikeri
2012-02-27  6:42                   ` Graeme Russ
2012-02-27  8:19                     ` Asif Sulikeri
2012-02-27 11:56                       ` Graeme Russ

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.