[U-Boot] adding new command in u-boot
Anatolij Gustschin
agust at denx.de
Fri Mar 9 16:19:51 CET 2012
Hi,
On Fri, 9 Mar 2012 19:29:03 +0530
Haneef hawk21 <haneef.hawk21 at gmail.com> wrote:
> Hi,
>
> I am trying to create a new command that would be used to do custom
> tests like mm, md, mtest all at once by calling their do_** function.
Can't you just put needed commands in a script and run it?
...
> U_BOOT_CMD(
> myprint, 1, 1, do_myprint,
> "print message",
> ""
> );
...
> this got compiled without any problem and even got the hush prompt
> but when i gave help command i did not see my command listed there.
Try to pass a help string as the sixth argument of U_BOOT_CMD().
BR,
Anatolij
More information about the U-Boot
mailing list