<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/scripts/d2c.sh, branch v1.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/scripts/d2c.sh?h=v1.8</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/scripts/d2c.sh?h=v1.8'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2022-12-10T16:30:27Z</updated>
<entry>
<title>scripts: use env to invoke bash</title>
<updated>2022-12-10T16:30:27Z</updated>
<author>
<name>Himanshu Chauhan</name>
<email>hchauhan@ventanamicro.com</email>
</author>
<published>2022-12-09T06:13:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=506928a1be9952abc52f05c0c661338aa1d66f6d'/>
<id>urn:sha1:506928a1be9952abc52f05c0c661338aa1d66f6d</id>
<content type='text'>
Not all systems have bash at a fixed location like /bin/bash.
FreeBSD, for example, would typically have it at /usr/local/bin/bash.
When building OpenSBI on freebsd system, the build breaks.

Its advisable to use: #!/usr/bin/env bash

Signed-off-by: Himanshu Chauhan &lt;hchauhan@ventanamicro.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>Makefile: Allow padding zeros when converting DTB to C source</title>
<updated>2020-10-18T05:03:57Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-10-14T16:35:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=e9a4bfb7b51e1d43f2c5d6d387354ba4b14411f2'/>
<id>urn:sha1:e9a4bfb7b51e1d43f2c5d6d387354ba4b14411f2</id>
<content type='text'>
We extend d2c.sh to allow padding zeros in output C source when
converting DTB to C source. Using this feature, platforms can
create extra room for in-place FDT fixups on built-in DTBs.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>Makefile: Add mechanism for platforms to have multiple builtin DTBs</title>
<updated>2020-06-05T03:32:59Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-05-25T09:12:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=4e3876d5be1118aae5318c91e431e8cfedf580b1'/>
<id>urn:sha1:4e3876d5be1118aae5318c91e431e8cfedf580b1</id>
<content type='text'>
Currently, we can only include one DTB as builtin for a platform
using FDT_PAYLOAD_DTB make variable in platform config.mk.

This patch adds new mechanism using which we can convert any DTS
file to C source and futher compile-n-link it with libplatsbi.a.

The generated C source will have the DTB contents as an array
"const char &lt;varprefix&gt;_start[]" where &lt;varprefix&gt; is specified
in platform objects.mk makefile.

Example1
--------
If we have built-in k210.dts and desired &lt;varprefix&gt; is
"dt_k210" then specify following in platform objects.mk:
platform-objs-y += k210.o
platform-varprefix-k210.o = dt_k210

Example2
--------
If we have built-in abc/k210.dts and desired &lt;varprefix&gt; is
"dt_abc_k210" then specify following in platform objects.mk:
platform-objs-y += abc/k210.o
platform-varprefix-abc-k210.o = dt_abc_k210

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
</feed>
