Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThank you for your answer austin944.
I followed your advice and I made a great step forward, although I'm still not able to boot the application. I changed the linker file and mapped all the oc_ram sections to sdram, i.e. at positive address. Now all sections in 0xffff0000 have zero size like in your example and infact I can now generate an image file with a reasonable size! I'm now stuck on another weird point. I created the following img file with mkimage an put it on sdcard. It gets loaded into sdram but, if I inspect memory after the fatload command, I see the data (which is correct) is misplaced. To me it seems an endianess problem, since I see the low and high words swapped. For example, at address 0x100000 I'm supposed to have 0xE59F F018, but I find 0xF018 E59F