<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/scripts, branch v1.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/scripts?h=v1.1</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/scripts?h=v1.1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2022-05-13T03:56:00Z</updated>
<entry>
<title>Makefile: Add support for generating C array at compile time</title>
<updated>2022-05-13T03:56:00Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2022-05-13T03:56:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2'/>
<id>urn:sha1:7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2</id>
<content type='text'>
Generating C array at compile time based on details provided by
objects.mk is a very useful feature which will help us compile
only a subset of drivers or modules.

We add a bash script (carray.sh) which takes array details and
object/variable list from command-line to generate a C source
containing array of object/variable pointers. We also extend
top-level makefile to use carray.sh whenever specified through
objects.mk.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Reviewed-by: Atish Patra &lt;atishp@rivosinc.com&gt;
</content>
</entry>
<entry>
<title>platform: Remove sifive/fu540 platform</title>
<updated>2021-05-06T08:54:45Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-04-29T10:16:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=26998f3d116992ae3fc6670c8f724bcc630d33fd'/>
<id>urn:sha1:26998f3d116992ae3fc6670c8f724bcc630d33fd</id>
<content type='text'>
Now that SiFive HiFive Unleashed board is using the generic platform
support in OpenSBI, let's remove the old non-generic one.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: Remove platform/thead</title>
<updated>2021-04-28T10:13:04Z</updated>
<author>
<name>Guo Ren</name>
<email>guoren@linux.alibaba.com</email>
</author>
<published>2021-04-27T06:47:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=1db843622a0c2e255961bf8bb247c433c44d2a73'/>
<id>urn:sha1:1db843622a0c2e255961bf8bb247c433c44d2a73</id>
<content type='text'>
We could use platform/generic instead, and won't use
platform/thead/c910 again.

Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&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>
<entry>
<title>platform: Remove spike directory</title>
<updated>2020-05-04T04:39:51Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-05-01T06:45:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=65c06b026db6352f1ff2bdb235f3149e5e99e2ba'/>
<id>urn:sha1:65c06b026db6352f1ff2bdb235f3149e5e99e2ba</id>
<content type='text'>
The OpenSBI generic platform works perfectly fine on the QEMU spike
machine and Spike emulator so let's remove dedicated Spike platform
from OpenSBI.

All Spike platform related documentation in OpenSBI will now suggest
using OpenSBI generic platform.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bin.meng@windriver.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: Remove qemu/virt directory</title>
<updated>2020-05-04T04:39:23Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-05-01T06:36:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=13717a8e53a382769e9678f6d9357c20446cde0c'/>
<id>urn:sha1:13717a8e53a382769e9678f6d9357c20446cde0c</id>
<content type='text'>
The OpenSBI generic platform works perfectly fine on the QEMU virt
machine so let's remove dedicated QEMU virt machine platform from
OpenSBI.

All QEMU virt machine related documentation in OpenSBI will now
suggest using OpenSBI generic platform.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bin.meng@windriver.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>scripts: Add generic platform to create-binary-archive.sh</title>
<updated>2020-05-01T05:03:11Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-04-27T13:02:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=2ba7087b09123f9f4eb6328e2d10e942e181d096'/>
<id>urn:sha1:2ba7087b09123f9f4eb6328e2d10e942e181d096</id>
<content type='text'>
This patch adds generic platform to create-binary-archive.sh
script.

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>scripts: adapt binary archive script for Nuclei UX600</title>
<updated>2020-04-30T04:09:03Z</updated>
<author>
<name>Huaqi Fang</name>
<email>578567190@qq.com</email>
</author>
<published>2020-04-29T10:05:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3a326af9be09612a699d3dee7c2b91c4986de95f'/>
<id>urn:sha1:3a326af9be09612a699d3dee7c2b91c4986de95f</id>
<content type='text'>
Signed-off-by: Huaqi Fang &lt;578567190@qq.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>scripts: Extend create-binary-archive.sh for unified binary tar ball</title>
<updated>2020-03-28T08:01:47Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-03-24T12:44:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=550ba88db1950d448f25cf71457ed89a91c401f7'/>
<id>urn:sha1:550ba88db1950d448f25cf71457ed89a91c401f7</id>
<content type='text'>
This patch extends/revamps create-binary-archive.sh to allow creating
unified binary tar ball containing both RV32 and RV64 images. Users
can also create "RV32 only" or "RV64 only" tar balls as well.

Few example commands are as follows:
./scripts/create-binary-archive.sh (Build both RV32 &amp; RV64 images)
./scripts/create-binary-archive.sh -x 32 (Build RV32 only images)
./scripts/create-binary-archive.sh -x 64 (Build RV64 only images)

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