Skip to contentSkip to conversation

changing TEXT_BASE before build

U-Boot-Users Sam Song 2 participants 2 messages Mar 19, 2005 – Mar 20, 2005

lore
Share & tools
lore

Sam Song

author
#0 lore raw
Quoted 9 lines · Robert P. J. Day

board, i just wanted to clarify one thing -- since our current system
flash is mapped to address 0xfc000000, and that's where we've been
flashing planet core all this time, i'm assuming that i'd start by
modifying the config.mk file and setting

TEXT_BASE = 0xfc000000

Yeah, this is necessary if there is 64MB FLASH on your board. Also pls set CFG_FLASH_BASE and CFG_MONITOR_BASE as 0xfc000000 in include/configs/RPXlite_DW.h. Perhaps you need to change BRO && OR0 and other register value in this file in a comparison with Planetcore later:-)

Good luck,

Best regards,

Sam

_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
???????????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

#1 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines

TEXT_BASE = 0xfc000000

Yeah, this is necessary if there is 64MB FLASH on your board. Also pls set CFG_FLASH_BASE and

Please consider the port for this board to be broken when you need to change any such definitions just because of a different flash (or RAM) size. U-Boot was designed that NO such changes are needed, and none are needed on any correct port.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
        Ordnung ist die Lust der Vernunft,
        aber Unordnung die Wonne der Phantasie         - Paul Claudel