--- Quote Start ---
originally posted by nwpu_zhf2004@May 31 2006, 03:40 PM
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
if you use deii with 8m sdram, change the link address of the uncompress loader,
processor type and features-->(0x00500000) link address offset for booting.
the zimage load address is ( your sdram base address + link address offset ) . the zimage boot loader does not relocate itself. --- Quote End ---
====================================
Thanks,I am sure the FLASH and the SDRAM is no problem ,because i tested the hardware and can run UCOS/2 application and other programs.
the flash(8MB) base address is 0x000000,the sdram(8MB) base address is 0x800000,so i set the zImage load address :0x500000+0x800000=0x0d00000,
and then make ,still has the same problem.
why set the link address offset 0x500000?
thanks
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15713)</div>
[/b]
--- Quote End ---
Did you "make linux image" ?
You should set Link address offset for booting to 0x500000, not 0xd00000 .
Kernel config will add up with sdram start.
During nios2-download , what is the load address show up?
try,
nios2-linux-uclibc-objdump -h zImage
it should display, .text start from VMA/LMA 0xd00000 .