RISC-V/HiFive memory limitations

Gedare Bloom gedare at rtems.org
Fri Jun 23 14:29:26 UTC 2017


On Thu, Jun 22, 2017 at 8:32 PM, Denis Obrezkov <denisobrezkov at gmail.com> wrote:
>> Ok, then I will try to adapt the default linkcmd file today.
>>
>> --
>> Regards, Denis Obrezkov
>
>
> Hello all,
> It seems that data section wasn't copied from ROM, so I've added the
> initialization code
> and now I have a proper value. Thus, I can proceed further to new errors.
>
> I haven't started to develop new linkcmd file, general for the architecture
> + specific
> for the BSP. Should I? Hesham?
>
You may want to just get it working first, and then refactor the linkcmds.

> Also, I have a question:
> there is a section called 'rwbarrier' and it is placed in data. Should it be
> also initialized?
> (copied from rom)
Everything up to the bss probably should be copied from ROM.

> And is it possible to decrease a required memory amount by restricting a
> user to C language usage?
> (no C++ sections in linkcmd)
>
I don't think so. They shouldn't really be having an impact anyway
except for C++ applications.

>
> --
> Regards, Denis Obrezkov
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list