Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

uClinux on multi-processor.

hi.. Everyone,

I have a problem that have been bugging me a couple days.

here is the SOPC environment running on Terasic DE3 board.

3 cpu: p-cpu, t-cpu, r-cpu

memory: 1G Mb ddr2, 0x0-0x10000000

64 onchip-ram (0x11000000-0x11010000) and no flash.

reset vector offset (onchip ram): 0x0

exception vector offset (ddr2): 0x10020

reset vector offset (onchip ram): 0x8000

exception vector offset (ddr2): 0x8000000

reset vector offset (onchip ram): 0xC000

exception vector offset (ddr2): 0xC000000

The first thing i tried is to boot up uClinux on p-cpu. I've followed the instruction provided in nios2 wiki. Everytime it just failed during boot up right after uncompression (I guesses it's caused by almemphy memory calibration but don't have time to dig into it..)

So what i want to try now is booting up uClinux, for example, on t-cpu. However i don't see there is any option in uClinux configration (during menuconfig) that can let me choose the starting address when uncompressing the zImage. It will always uncompress to SDRAM_START_ADDRESS according to the bootcode..

Does anybody know any trick to conquer this problem..

Any suggestion is greatly appreciated.

Thanks.
No RepliesBe the first to reply