- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i used sdr sdram in my project .
sdram_base : 0x02000000
sdram_end : 0x02ffffff when i downloaded my project to the board,had some errors: ... Downloaded 3810KB in 66.3s (57.4KB/s) Verifying C3000000 (0%) Verify failed between address 0xc3000000 and 0xC300FFFF ... i found that make menuconfig setting: NiosII Configuration (0x1C80000) Offset address for uImage.flash (0x01000000) Link address offset for booting and in the default_mmu.h file( sopc-create-header-files --single default_mmu.h) #define KERNEL_REGION_BASE 0xc0000000# define IO_REGION_BASE 0xe0000000# define KERNEL_MMU_REGION_BASE 0x80000000# define USER_REGION_BASE 0x0# define PROCESS_ID_NUM_BITS 10# define TLB_NUM_WAYS 16# define TLB_NUM_WAYS_LOG2 4# define TLB_PTR_SZ 8# define TLB_NUM_ENTRIES 256# define FAST_TLB_MISS_EXCEPTION_ADDR 0xc0002000# define EXCEPTION_ADDR 0xc2000020# define RESET_ADDR 0xc0001000# define BREAK_ADDR 0xc1001020 why it started at c3000000 ?
the started address setting is too large?
how should i modify ?
thanks you help
arens
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your "Link address offset for booting" is too high. 0x02000000 + 0x01000000 = 0x03000000.
That address is where the zImage gets loaded, then it gets decompressed to offset 0. So size of your RAM - a bit more than the size of your image should be good. i.e. 0x01000000 - 0x400000 (4MiB) = 0xC00000 should work as long as your image doesn't grow over 4MiB.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks ykozlov (http://www.alteraforum.com/forum/member.php?u=26158)
you mean that i should modify : (0x01000000) Link address offset for booting to (0xC00000) Link address offset for booting I will try it .

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