<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>
<DIV><FONT size=2>I port u-boot to magicarm board based on lpc2290, this board
has a nor flash whose address range form 0x80000000 to 0x801fffff
</FONT></DIV>
<DIV><FONT size=2>ram address(0x81000000-0x817fffff). I modified the micro
TEXT_BASE to 0x81080000 and dowmload the u-boot.bin into the flash. the
u-boot doesn't work at all . when i modified the micao TEXT_BASE to
0x80000000 and download to flash ,it only work for </FONT><FONT
size=2> a while and soon collapsed . who can tell me what the problem
is.</FONT></DIV>
<DIV><FONT size=2> this is the ld sccript </FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV>
<DIV align=left><FONT color=#c0c0c0><FONT size=2></FONT></DIV><FONT
color=#00ff00 size=2>OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm",
"elf32-littlearm")<BR>OUTPUT_ARCH(arm)<BR>ENTRY(_start)<BR>SECTIONS<BR>{<BR> .
= 0x80000000;</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> . =
ALIGN(4);<BR> .text
:<BR> {<BR> cpu/lpc2200/start.o (.text)<BR>
*(.text)<BR> }</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> . = ALIGN(4);<BR> .rodata : {
*(.rodata) }</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> . = ALIGN(4);<BR> .data : { *(.data)
}</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> . = ALIGN(4);<BR> .got : { *(.got)
}</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> . = .;<BR> __u_boot_cmd_start =
.;<BR> .u_boot_cmd : { *(.u_boot_cmd) }<BR> __u_boot_cmd_end =
.;</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV><FONT color=#00ff00 size=2> armboot_end_data = .;</FONT></DIV>
<DIV><FONT color=#00ff00></FONT> </DIV>
<DIV></FONT><FONT color=#00ff00 size=2> . = ALIGN(4);<BR> __bss_start
= .;<BR> .bss : { *(.bss) }<BR> _end =
.;<BR>}<BR></FONT></DIV></FONT></DIV>
<DIV><FONT color=#00ff00 size=2></FONT> </DIV>
<DIV align=left><FONT color=#00ff00 size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#00ff00 size=2>shizhi21cn</FONT></DIV>
<DIV><FONT color=#00ff00 size=2>2006-06-18</FONT></DIV></FONT></BODY></HTML>