
9 Mar
2012
9 Mar
'12
4:19 p.m.
Hi,
On Fri, 9 Mar 2012 19:29:03 +0530 Haneef hawk21 haneef.hawk21@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