<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/riscv/config.mk, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-01-15T01:36:31Z</updated>
<entry>
<title>riscv: qemu: define standalone load address</title>
<updated>2019-01-15T01:36:31Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2019-01-04T00:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=91882c472d8c0aef4db699d3f2de55bf43d4ae4b'/>
<id>urn:sha1:91882c472d8c0aef4db699d3f2de55bf43d4ae4b</id>
<content type='text'>
We need to define the standalone load address to use standalone
application on qemu-riscv. Define it and set it equal to
CONFIG_SYS_LOAD_ADDR.

To not overwrite it, change the assigned of CONFIG_STANDALONE_LOAD_ADDR
in arch/riscv/config.mk to a conditional one.

Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&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>riscv: remove RISC-V standalone linker script</title>
<updated>2019-01-15T01:36:31Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2019-01-04T00:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=3c37278ff18577b711b14a1c2fcec37daa959f0a'/>
<id>urn:sha1:3c37278ff18577b711b14a1c2fcec37daa959f0a</id>
<content type='text'>
Standalone applications do not require a separate linker script and can
use the default linker script of the compiler instead. Remove the RISC-V
standalone linker script.

Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&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>riscv: enable -fdata-sections</title>
<updated>2018-11-26T05:57:29Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2018-11-22T10:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=776e6335bf425f6b3cad01a25935dd2b7d4f40b7'/>
<id>urn:sha1:776e6335bf425f6b3cad01a25935dd2b7d4f40b7</id>
<content type='text'>
Enable the -fdata-sections compiler option for RISC-V. Buildman reports
the binary size decrease from this as 8365.3 bytes.

Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
</content>
</entry>
<entry>
<title>riscv: set -march and -mabi based on the Kconfig configuration</title>
<updated>2018-11-26T05:57:29Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2018-11-22T10:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0c074845e57e581dab9b024f4a517d4df8d73e9f'/>
<id>urn:sha1:0c074845e57e581dab9b024f4a517d4df8d73e9f</id>
<content type='text'>
Use the new Kconfig entries to construct the ISA string for the -march
compiler flag. The -mabi compiler flag is selected based on the base
integer instruction set.

With this change, the C (compressed instructions) ISA extension is now
enabled for all boards with CONFIG_RISCV_ISA_C set. Buildman reports a
decrease in binary size of 71590 bytes.

Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>Kbuild: add LDFLAGS_STANDALONE</title>
<updated>2018-11-18T15:02:23Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-09-23T17:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1d3b97c94eb562fa1071abd50b3a4cb4cca7f203'/>
<id>urn:sha1:1d3b97c94eb562fa1071abd50b3a4cb4cca7f203</id>
<content type='text'>
Introduce a new Makefile variable for passing LDFLAGS to standalone
programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is
misued on some archs to pass a specific linker script.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
</content>
</entry>
<entry>
<title>riscv: allow native compilation</title>
<updated>2018-10-03T09:49:44Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-08-06T17:15:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5845f6612372a63877b2175e058a841e1237ffd6'/>
<id>urn:sha1:5845f6612372a63877b2175e058a841e1237ffd6</id>
<content type='text'>
If environment variable CROSS_COMPILE is not set, this indicates native
compilation. In this case we should not set an arbitrary value which is
not applicable for 64bit anyway.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>riscv: Explicitly pass -march and -mabi to the compiler</title>
<updated>2018-10-03T09:47:43Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-09-26T13:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ce7a8e0740f1f9ec915109392184d335ba231448'/>
<id>urn:sha1:ce7a8e0740f1f9ec915109392184d335ba231448</id>
<content type='text'>
At present the compiler flag against which architecture and abi
variant the riscv image is built for is not explicitly indicated
which means the default compiler configuration is used. But this
does not work if we want to build a different target (eg: 32-bit
riscv images using a toolchain configured for 64-bit riscv).

Fix this by explicitly passing -march and -mabi to the compiler.
Since generically we don't use floating point in U-Boot, specify
the RV[32|64]IMA ISA and software floating ABI.

This also fix some alignment coding style issues.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
</content>
</entry>
<entry>
<title>config.mk: Remove duplicated -fno-strict-aliasing</title>
<updated>2018-09-26T01:50:34Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-09-17T05:35:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2'/>
<id>urn:sha1:d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2</id>
<content type='text'>
Now that we already disable the "strict-aliasing" globally, remove
the duplicates in the nds32/riscv/x86 arch-specific Makefiles.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>riscv: Add EFI application infrastructure</title>
<updated>2018-05-29T06:43:12Z</updated>
<author>
<name>Alexander Graf</name>
</author>
<published>2018-04-23T05:59:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=493d1e88b676675e0c2a8614abcba0dcbb9befa4'/>
<id>urn:sha1:493d1e88b676675e0c2a8614abcba0dcbb9befa4</id>
<content type='text'>
The hello world binary and a few selftests require to build EFI target
binaries, not just the EFI host environment.

This patch adds all required files to generate an EFI binary for
RISC-V.

Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>riscv: Enable function sections</title>
<updated>2018-05-29T06:43:12Z</updated>
<author>
<name>Alexander Graf</name>
</author>
<published>2018-04-23T05:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6cc1a2af46c448e7d822fa4976a8d6e10fc5273b'/>
<id>urn:sha1:6cc1a2af46c448e7d822fa4976a8d6e10fc5273b</id>
<content type='text'>
The linker can remove sections that are never addressed, so it makes a lot
of sense to declare every function as an individual section.

This reduces the output U-Boot code size by ~30kb for me.

Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
</feed>
