Hi all. I'm porting u-boot to a custom board with CPU S3C44B0X now.
I modified include/configs/B2.h accroding to my configurations.
And I don't know how to set the u-boot's console as serial port.
Thanks for your replies.
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_…
Hi, Rapha,
> In the file include/configs/RPXlite_DW.h
> at line 324 I had to replace
> #define CFG_OR1_PRELIM ( CFG_OR_AM_SDRAM |
> CFG_OR_TIMING_SDRAM )
> for
> #define CFG_OR1_PRELIM 0xFF000E00
> and at line 353-354
> I had to replace
> #define CFG_MAMR_9COL ((CFG_MAMR_PTA <<
> MAMR_PTA_SHIFT) | MAMR_PTAE |
> \ MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL |
MAMR_G0CLA_A10)
> by
> #define CFG_MAMR_9COL 0x20802000
OK, you can do that because there are only 16MB RAM on
your board. So if you successfully port U-Boot on your
16MB RPXlite_DW board. I would meet you half way. Just
Add "make RPXlite_DW_16MB" to support your board. So
you just need add a CONFIG_RPXLITE_16MB macro in your
code only. Note, I ported U-Boot on RPXlite DW board
with 64MB SDRAM and it has been working fine:-)
=====
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_…