[PATCH] riscv/start: Startup sequence update.
somesh deshmukh
someshdeshmukh07 at gmail.com
Fri Apr 30 13:30:58 UTC 2021
Hi Sebastian,
For testing, I had manually added the device tree blob address into the a1
register.
On Fri, Apr 30, 2021 at 6:52 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 29/04/2021 20:53, Sebastian Huber wrote:
>
> > On 29/04/2021 20:18, Hesham Almatary wrote:
> >
> >>>> I would place the device tree in a noinit section.
> >>>>
> >>> That is probably a better solution.
> >>>
> >>> It should also be documented in this start.S file what are the
> >>> assumptions about parameters coming from the bootloader since it is
> >>> not obvious.
> >> +1
> >
> > The recent GCC have an attribute for this:
> >
> > https://devel.rtems.org/ticket/3866
> >
> > We just need support for this in linkcmds.base and an RTEMS_NOINIT in
> > basedefs.h.
>
> The noinit attributes is a bit broken in GCC:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100357
Can we create one section in the linker script and rtems can use it for
copying the device tree blob?
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210430/1ae1a63c/attachment-0001.html>
More information about the devel
mailing list