Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAbout the uclinux starter and memory allocation
dear all, when i do uclinux according to hippo, now i can run uclinux in my target board(nios2,FLASH8MB(0X000000-0X7FFFFF),SDRAM(8MB)0X800000-0XFFFFFF),but i still don't understand w...
Altera_Forum
Honored Contributor
20 years agoYou didn't program the flash at 0x000000 yet. You can program the flash, so that will start after power-on without data blaster download/cable.
http://nioswiki.jot.com/wikihome/operating...flashprogrammer (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/flashprogrammer) NOTE, you should not use jtag uart in this case, or it will hang until you run nios2-terminal. you should use serial uart instead. The nios2-download will load the zImage to (0x800000 + 0x500000), and start exec at this address, ie 0xd00000. The zImage will uncompress the linux kernel (gziped in zImage) to 0x800000. And start exec at 0x800000.