[U-Boot-Users] [patch][cvs] A fix in main.c

Hello Thomas,
I misused CONFIG_MENUKEY in my test program and found an error but not quite sure. Pls check it.
BTW, CONFIG_MENUKEY and CONFIG_MENUCOMMAND is only used in the AmigaOneG3SE board, which you maintaine. I didn't see their info in README. Could you pls explain the usage or even better send a patch in README?
Thanks a lot.
* Patch by Sam Song, 10 October 2004: - Fix a parameter of run_command in main.c
Index: common/main.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/common/main.c,v retrieving revision 1.20 diff -p -u -r1.20 main.c --- common/main.c 23 Apr 2004 20:32:06 -0000 1.20 +++ common/main.c 10 Oct 2004 00:51:18 -0000 @@ -432,7 +432,7 @@ void main_loop (void) s = getenv("menucmd"); if (s) { # ifndef CFG_HUSH_PARSER - run_command (s, bd, 0); + run_command (s, 0); # else parse_string_outer(s, FLAG_PARSE_SEMICOLON | FLAG_EXIT_FROM_LOOP);
===== Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...

Hi,
First of all, sorry for taking so ridiculously long to answer. I'm extremely busy and swamped with work.
Sam Song wrote:
I misused CONFIG_MENUKEY in my test program and found an error but not quite sure. Pls check it.
Thanks.
BTW, CONFIG_MENUKEY and CONFIG_MENUCOMMAND is only used in the AmigaOneG3SE board, which you maintaine. I didn't see their info in README. Could you pls explain the usage or even better send a patch in README?
The AmigaOne version has a built-in menu system similar to the usual PC BIOSes. It implements a new command "menu" which brings up the menu, and during autoboot, pressing the menu key will bring up the menu automatically (similar to pressing "del" on a PC).
Regards,

Thomas Frieden ThomasF@hyperion-entertainment.biz wrote:
Sam Song wrote:
I misused CONFIG_MENUKEY in my test program and found an error but not quite sure. Pls check it.
Thanks.
So the patch I did is good for use?
BTW, CONFIG_MENUKEY and CONFIG_MENUCOMMAND is only used in the AmigaOneG3SE board, which you
The AmigaOne version has a built-in menu system similar to the usual PC BIOSes. It implements a new command "menu" which brings up the menu, and during autoboot, pressing the menu key will bring up the menu automatically (similar to pressing "del" on a PC).
Uh, interesting to me. What content of the menu? Could we set or choose sth in it?
Nice to see your reply,
===== Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...
participants (2)
-
Sam Song
-
Thomas Frieden