RISC-V BSP memory map

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 28 08:59:12 UTC 2018


On 28/05/18 10:48, Hesham Almatary wrote:
>> The FE310-G000 has the ROM at 0x2000_0000 and RAM (DTIM) at 0x8000_0000.
>>
>> The FU540-C000 (and Qemu "virt") has the ROM at 0x2000_0000 and RAM (DDR) at
>> 0x8000_0000.
>>
>> So, why is the memory at 0x1000_0000 and not 0x8000_0000?
>>
> That's basically a hack. The reason is when I tried to change RAM to
> 0x80000000 (above 2GiB), I get relocations errors even when I pass
> -mcmodel=medany (riscv-pk and seL4 but they don't use stdlib or
> startfiles from gcc). Maybe you can help with that error and suggest a
> solution as I don't know?
> The errors happen during linking stage of libc and crt* stuff. Please
> see error log below:

Ok, good. I work currently on this issue.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list