<div dir="ltr"><div dir="ltr"><div>Hi Sebastian, <br></div><div><br></div><div>For testing, I had manually added the device tree blob address into the a1 register. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 30, 2021 at 6:52 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 29/04/2021 20:53, Sebastian Huber wrote:<br>
<br>
> On 29/04/2021 20:18, Hesham Almatary wrote:<br>
><br>
>>>> I would place the device tree in a noinit section.<br>
>>>><br>
>>> That is probably a better solution.<br>
>>><br>
>>> It should also be documented in this start.S file what are the<br>
>>> assumptions about parameters coming from the bootloader since it is<br>
>>> not obvious.<br>
>> +1<br>
><br>
> The recent GCC have an attribute for this:<br>
><br>
> <a href="https://devel.rtems.org/ticket/3866" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/3866</a><br>
><br>
> We just need support for this in linkcmds.base and an RTEMS_NOINIT in <br>
> basedefs.h.<br>
<br>
The noinit attributes is a bit broken in GCC:<br>
<br>
<a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100357" rel="noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100357</a></blockquote><div><span style="color:rgb(116,27,71)">Can we create one section in the linker script and rtems can use it for copying the device tree blob? </span><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
<br>
</blockquote></div></div>