RPXlite_DW problem/solution U-boot CVS
Hi, Rapha,
Quoted 7 lines
In the file
include/configs/RPXlite_DW.h
at line 324 I had to replace
#defineCFG_OR1_PRELIM(CFG_OR_AM_SDRAM|CFG_OR_TIMING_SDRAM)
for
#defineCFG_OR1_PRELIM0xFF000E00
Quoted 5 lines
and at line 353-354
I had to replace
#defineCFG_MAMR_9COL((CFG_MAMR_PTA<<MAMR_PTA_SHIFT) |MAMR_PTAE|
\MAMR_AMA_TYPE_1|MAMR_DSA_1_CYCL|
MAMR_G0CLA_A10)
Quoted 2 lines
by
#defineCFG_MAMR_9COL0x20802000
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_1g/
Quoted 5 lines · In message <[email protected]> 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_DWboard. I would meet you half way. Just Add "makeRPXlite_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.
Quoted 1 line
you just need add a
CONFIG_RPXLITE_16MBmacro in your
Don't. I will reject any such patches. Do it the Right Way (TM).
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de COBOL is for morons. -- E.W. Dijkstra
Wolfgang Denk <[email protected]> wrote?
Quoted 9 lines
Quoted 1 line
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 theMakefilewith 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
Quoted 4 lines
Quoted 1 line
you just need add a
CONFIG_RPXLITE_16MBmacro inDon'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_1g/