* [U-Boot-Users] u-boot scripts
@ 2007-07-06 15:50 Junior
2007-07-06 16:30 ` Junior
0 siblings, 1 reply; 5+ messages in thread
From: Junior @ 2007-07-06 15:50 UTC (permalink / raw)
To: u-boot
I would like to lear now to write uboot starter scripts and would
like to know where the docs for this is.
The manual section 5.11 talks very little about this and I'm thinking
there might be other docs somewhere on this website.
I'm looking to start with a simple stript that will
if imi 0x4000
then
elif ...
...
bootp;
...
or any of the other defined commands.
Any directions?
Much thanks.
____________________________________________________________
KEEP SPYWARE OFF YOUR COMPUTER - Protect your computer with Spyware Terminator!
Visit http://www.spywareterminator.com/install and find out more!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] u-boot scripts
2007-07-06 15:50 [U-Boot-Users] u-boot scripts Junior
@ 2007-07-06 16:30 ` Junior
2007-07-06 17:05 ` Leonid
2007-07-06 19:43 ` [U-Boot-Users] u-boot scripts Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: Junior @ 2007-07-06 16:30 UTC (permalink / raw)
To: u-boot
> I would like to lear now to write uboot starter scripts and would
> like to know where the docs for this is.
> The manual section 5.11 talks very little about this and I'm thinking
> there might be other docs somewhere on this website.
>
> I'm looking to start with a simple stript that will
>
> if imi 0x4000
> then
> elif ...
> ...
> bootp;
> ...
>
> or any of the other defined commands.
>
Perhaps I'm misinformed.
From what I've looked at, it doesn't look like the script capability includes such
"bash like" scripts. Please correct me if I'm wrong.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] u-boot scripts
2007-07-06 16:30 ` Junior
@ 2007-07-06 17:05 ` Leonid
2007-07-07 1:40 ` [U-Boot-Users] USB for AT91RM9200-EK board Leonid
2007-07-06 19:43 ` [U-Boot-Users] u-boot scripts Wolfgang Denk
1 sibling, 1 reply; 5+ messages in thread
From: Leonid @ 2007-07-06 17:05 UTC (permalink / raw)
To: u-boot
You should cumpile with HUSH shall enabled. It's not that sophisticated
as bash, but does most things you are looking for.
-----Original Message-----
From: u-boot-users-bounces@lists.sourceforge.net
[mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Junior
Sent: Friday, July 06, 2007 9:30 AM
To: U-Boot-Users
Subject: Re: [U-Boot-Users] u-boot scripts
> I would like to lear now to write uboot starter scripts and would like
> to know where the docs for this is.
> The manual section 5.11 talks very little about this and I'm thinking
> there might be other docs somewhere on this website.
>
> I'm looking to start with a simple stript that will
>
> if imi 0x4000
> then
> elif ...
> ...
> bootp;
> ...
>
> or any of the other defined commands.
>
Perhaps I'm misinformed.
From what I've looked at, it doesn't look like the script capability
>includes such
"bash like" scripts. Please correct me if I'm wrong.
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the FREE version of DB2 express and take control of your XML. No limits.
Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] USB for AT91RM9200-EK board.
2007-07-06 17:05 ` Leonid
@ 2007-07-07 1:40 ` Leonid
0 siblings, 0 replies; 5+ messages in thread
From: Leonid @ 2007-07-07 1:40 UTC (permalink / raw)
To: u-boot
Hi:
I'm using u-boot 1.2.0 official release. I have compiled it for
AT91RM9200-EK with following USB related options:
#define CONFIG_USB_STORAGE
#define CONFIG_DOS_PARTITION
#define CONFIG_USB_OHCI
USB part of CLI is also active and I can start/stop USB:
U-Boot$ usb start
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
U-Boot$ usb tree
Device Tree:
1 See Interface (12MBit/s, 0mA)
OHCI Root Hub
I expected that if I insert flash stick, u-boot shall recognize it, but
it is not happening and usb stop/start doesn't help.
Apparently my definitions are not correct ones and/or u-boot code
version I'm using doesn't support AT91RM9200-EK. I saw a lot of USB
related activity lately, but since I'm a novice in USB world I cannot
say how relevant these changes are for me.
Does anybody have a suggestion?
Thanks,
Leonid.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] u-boot scripts
2007-07-06 16:30 ` Junior
2007-07-06 17:05 ` Leonid
@ 2007-07-06 19:43 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2007-07-06 19:43 UTC (permalink / raw)
To: u-boot
In message <DBF07B2B4CC.0000023Eejr@inbox.com> you wrote:
>
> Perhaps I'm misinformed.
Indeed.
> >From what I've looked at, it doesn't look like the script capability includes such
> "bash like" scripts. Please correct me if I'm wrong.
You are wrong. U-Boot can be configured to use the hush shell as
command interpreter, which allows for pretty good scripting
(especially given the small memory footprint of hush).
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
Shakespeare's Law of Prototyping: (Hamlet III, iv, 156-160)
O, throw away the worser part of it,
And live the purer with the other half.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-07-07 1:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 15:50 [U-Boot-Users] u-boot scripts Junior
2007-07-06 16:30 ` Junior
2007-07-06 17:05 ` Leonid
2007-07-07 1:40 ` [U-Boot-Users] USB for AT91RM9200-EK board Leonid
2007-07-06 19:43 ` [U-Boot-Users] u-boot scripts Wolfgang Denk
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.