<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/Makefile, branch v0.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/Makefile?h=v0.6</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/Makefile?h=v0.6'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2020-02-06T10:12:47Z</updated>
<entry>
<title>makefile: add support for building on macOS</title>
<updated>2020-02-06T10:12:47Z</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2020-02-06T04:27:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5ff1ab0ed8908825966f566b996a0735d937a0ec'/>
<id>urn:sha1:5ff1ab0ed8908825966f566b996a0735d937a0ec</id>
<content type='text'>
On macOS the readlink command does not include a -f flag. Instead default
to using GNU readlink (which is often installed as greadlink).

Signed-off-by: Alex Richardson &lt;Alexander.Richardson@cl.cam.ac.uk&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>build: Use -ffreestanding</title>
<updated>2020-01-08T03:40:24Z</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-07T02:41:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=049ad0b3877352527ab470eba33bc767e9b54961'/>
<id>urn:sha1:049ad0b3877352527ab470eba33bc767e9b54961</id>
<content type='text'>
this is a stand-alone/baremetal application, therefore demanding
-ffreestanding would help it compile with hosted toolchains e.g. ( linux
toolchains ), it also ensures that it won't be using platform
optimizations like inlining mem* str* functions which gcc might decide
especially with wrapper string functions in opensbi code

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Makefile: Minor fix in OPENSBI_VERSION_GIT</title>
<updated>2019-10-02T11:33:54Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-09-26T04:03:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=2c7bab76a2eb2366026e0482b18679fe94c1dac6'/>
<id>urn:sha1:2c7bab76a2eb2366026e0482b18679fe94c1dac6</id>
<content type='text'>
Currently, if someone has forked OpenSBI repo quite sometime back
and this fork is not having updated tags from upstream riscv/opensbi
repo then "git describe" command can fail. To tackle this, we redirect
error output of "git describe" to /dev/null.

Signed-off-by: Anup Patel &lt;anup.pate@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>Include `git describe` in OpenSBI</title>
<updated>2019-08-19T05:28:21Z</updated>
<author>
<name>Palmer Dabbelt</name>
<email>palmer@sifive.com</email>
</author>
<published>2019-08-17T14:11:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=a2a7763ac7651e64c3928ba0a13be9317bd48c4d'/>
<id>urn:sha1:a2a7763ac7651e64c3928ba0a13be9317bd48c4d</id>
<content type='text'>
OpenSBI includes a version, but that is only updated when tagged.  For
users that are using the git releases we instead end up with an
ambiguous version number, which makes it hard to figure out what
everyone is using.  This patch checks for a git directory and prints out
the result of `git describe`, which is a mix of pretty and unambiguous.

Signed-off-by: Palmer Dabbelt &lt;palmer@sifive.com&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: Add version info to struct sbi_platform</title>
<updated>2019-06-29T13:56:26Z</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2019-06-29T08:18:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=08b196956d684678e930850bc1b54d602dfff555'/>
<id>urn:sha1:08b196956d684678e930850bc1b54d602dfff555</id>
<content type='text'>
Add version control of sbi_platform structure
- Add opensbi_version, this gives information of opensbi revision on
which the sbi_platform table was created.
- Add platform_version field in sbi_platform structure for platform
level version control.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: Move platform common to lib/utils.</title>
<updated>2019-06-19T04:18:56Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=793e5e1184f04012804914bd922e68536f3b68dd'/>
<id>urn:sha1:793e5e1184f04012804914bd922e68536f3b68dd</id>
<content type='text'>
Currently, platform/common contains platform/non-platform specific
common minimal drivers and libraries. This is helpful is all platforms
are built within opensbi framework.

Move them to lib/utils so that any external platform code also can
reuse the minimalistic drivers or other common libraries.

This patch doesn't introduce any functional changes.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Move sbi core library to lib/sbi</title>
<updated>2019-06-19T04:18:51Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=749b0b093242a4c27f7c4f66121afd7852b2de48'/>
<id>urn:sha1:749b0b093242a4c27f7c4f66121afd7852b2de48</id>
<content type='text'>
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Makefile: explicitly disable PIE</title>
<updated>2019-04-30T03:51:47Z</updated>
<author>
<name>Karsten Merker</name>
<email>merker@debian.org</email>
</author>
<published>2019-04-26T10:04:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=f9643f3472199f01e8eecdd6d50a379989646f03'/>
<id>urn:sha1:f9643f3472199f01e8eecdd6d50a379989646f03</id>
<content type='text'>
The various available RISC-V toolchains differ in their default
configuration regarding PIE, e.g. the buildroot RISC-V toolchain
has PIE disabled by default while the Debian toolchain has it
enabled by default.

OpenSBI currently doesn't support being built with PIE enabled,
therefore disable it explicitly by passing "-fno-pie -no-pie" in
CFLAGS.

Signed-off-by: Karsten Merker &lt;merker@debian.org&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>TOP: Allow building platform out-of-tree</title>
<updated>2019-04-09T03:44:09Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-04-04T06:19:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=54f31e82093969eaca9f7ebab06c92fa044dd076'/>
<id>urn:sha1:54f31e82093969eaca9f7ebab06c92fa044dd076</id>
<content type='text'>
This patch extends our current build-system for building platform
sources which are not part of OpenSBI sources.

For example:

Let's say we have out-of-tree ABC platform sources. We place these
sources under &lt;XYZ&gt;/ABC directory along with its config.mk and
objects.mk.

To build out-of-tree ABC platform from OpenSBI directory:
$ make PLATFORM_DIR=&lt;XYZ&gt;/ABC
OR
$ make PLATFORM_DIR=&lt;XYZ&gt; PLATFORM=ABC

To build out-of-tree ABC platform from &lt;XYZ&gt;/ABC directory:
$ make PLATFORM_DIR=&lt;XYZ&gt;/ABC -C &lt;path_to_opensbi&gt;
OR
$ make PLATFORM_DIR=&lt;XYZ&gt; PLATFORM=ABC -C &lt;path_to_opensbi&gt;

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>Fix missing quotes in Makefile</title>
<updated>2019-02-28T03:32:54Z</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@suse.de</email>
</author>
<published>2019-02-27T11:57:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=87fbcf93765b939221596ef4075ad48796f17925'/>
<id>urn:sha1:87fbcf93765b939221596ef4075ad48796f17925</id>
<content type='text'>
</content>
</entry>
</feed>
