Re: [U-Boot-Users] RPXlite_DW problem/solution U-boot CVS

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_1...

In message 20041130145337.65907.qmail@web15601.mail.cnb.yahoo.com you wrote:
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
No, please don't. It is trivial (less than 15 lines of code) to support both 8 and 9 column SDRAM chips with the same configuration, so instead of littering the Makefile with countless configurations all the boards will be able to run the same U-Boot image. I already poointed out how to do this.
you just need add a CONFIG_RPXLITE_16MB macro in your
Don't. I will reject any such patches. Do it the Right Way (TM).
Best regards,
Wolfgang Denk

Wolfgang Denk wd@denx.de wrote:
Add "make RPXlite_DW_16MB" to support your board.
No, please don't. It is trivial (less than 15 lines of code) to support both 8 and 9 column SDRAM chips with the same configuration, so instead of littering the Makefile with countless configurations all the boards will be able to run the same U-Boot image. I already poointed out how to do this.
Sorry for this misleading advice I did. OK, just do the port in your way. But first thing is to port right on 16MB RPXlite DW board. For Rapha's port convenience, I list the ported RPXlite DW hardware configuration.
CPU: MPC823e FLASH: 4×AM29DL323DB90VI 4×4MB=16MB 4×8bit SDRAM: 2×MT48LC16M16A2-75 2×32MB=64MB 2×16bit
you just need add a CONFIG_RPXLITE_16MB macro in
Don't. I will reject any such patches. Do it the Right Way (TM).
OK, fine. Be more professional. I do agree:-)
===== 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
-
Wolfgang Denk