- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 where the zImage file download to,and how does the uclinux work and how does the memory space use? in my target board: 0x000000|------------------| ------------| ----------------- | ------------|8MB FLASH ---- | 0x7FFFFF |-------------------| 0x800000|-------------------| -----------|8MB SDRAM ----| 0xd00000|-------------------| <-----kernal config 0x500000+0x800000,why ?? ------------|--------------------| 0x0FFFFFF|-------------------| 0x1000000|-- NIOS II ------| 0x10007FF |------------------| ---- IN THE SYSTEM THE RESET ADDRESS 0X000000,EXECPTION ADDRESS 0X800020 COULD YOU TELL ME HOW DOES THE UCLINUX WORK WHEN THE SYSTEM POWER ON?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You 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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page