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

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@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/

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to