
Hi Nathan,
Hi Wolfgang,
How do people usually learn u-boot command line, scripting, and hush shell without any kind of syntax guide?
It is very similar to standard dash, without many "advanced features".
In short - you can count that you will have return value of executed command, which can be checked.
Also some looping is supported (like iterating through all emmc devices in boot scripts).
The best approaches:
1. grep the ./include/configs directory to see already working scripts
2. You may want to look into ./boards/samsung/common/bootscript/*.cmd to see how to create script file (which may be read from e.g. fat partition)
3. Look into source code - for example the ./cmd/test.c
Best regards, Łukasz Majewski
-Nate
Dear Nathan,
In message < DM2PR0801MB074718634A75D114D3D5CD52B3E20@DM2PR0801MB0747.namprd08.prod.outlook.com> you wrote:
This manual http://www.denx.de/wiki/DULG/Manual
is out of date and missing a lot of info.
I have been using it thinking it was the official manual.
It is. And it is organized in the form of a wiki, where each and every U-Boot user has the opportnity to contribute, to fix bugs and to add missing parts.
But then I learned many commands are not listed there.
Well, maybe you could help and add what you find is missing?
Please take down the manual so that people don't mistakenly use it
thinking it is correct.
This is IMO a stupid request. Incomplete documentation is still better than no documentation at all. Instead of complaining it would be more helpful if you supporteed the community by adding to and improving the documentation.
Thanks.
Wolfgang Denk
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de