Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThanks for the tips hippo.
I disabled the address range check in SOPC, and then ran the generate script manually. It compiled fine. I then compiled a new kernel, but this is not booting. The download suceeds, but then the system hangs. I have set my DDR SDRAM start address to be 0x4000000, since when I put in the 1GB DIMM, it will need to be there. This is since according to SOPC builder, the RAM has to be at an offset that is a multiple of its size. (Is this true?) So my memory map looks like: 0x00000000-0x00002FFF: Peripherals, ie DMA controller, PIOs, timers. Includes EPCS controller, JTAG debug module. 0x40000000-0x4FFFFFFF: DDR SDRAM, 256MB. (When I put in the 1 GB DIMM, this will end at 0x7FFFFFFF.) So the kernel is being downloaded at 0x40500000, but it will not execute from there. So, is the limitation also that the executable code must be in the *first* 256MB? If so, how do I reconcile this with the fact that the memory needs to be at an offset that is a multiple of its size? I would be fine with losing some memory capacity and overlaying the DDR RAM starting from 0x00000000, but I don't think this is possible. Iztok.jeras: I don't have another memory on the board that uClinux can run from, that is why I am trying to run out of the DDR SDRAM. Regards, Josh