<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/board/emulation, 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-06-05T05:19:15Z</updated>
<entry>
<title>riscv: qemu: Enable e1000 and nvme support</title>
<updated>2019-06-05T05:19:15Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2019-05-15T15:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e64db0d92e320beec3214b78a4fb5cb81b8652dc'/>
<id>urn:sha1:e64db0d92e320beec3214b78a4fb5cb81b8652dc</id>
<content type='text'>
Since we have added the PCI support to the 'virt' target, enable
e1000 and NVME as alternate network and storage devices for these
virtio based devices.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Tested-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Enable PCI host ECAM generic driver</title>
<updated>2019-06-05T05:19:15Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2019-05-15T15:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=cd6b6199eab1229547ac896f916b7735f77fa554'/>
<id>urn:sha1:cd6b6199eab1229547ac896f916b7735f77fa554</id>
<content type='text'>
QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host.
Enable the driver for it.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Tested-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Use correct SYS_TEXT_BASE for S-mode on 32bit system</title>
<updated>2019-05-09T08:46:24Z</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2019-04-11T06:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=8aa278df0a338dfc05c731589051ab80373925c5'/>
<id>urn:sha1:8aa278df0a338dfc05c731589051ab80373925c5</id>
<content type='text'>
For 32bit system, the OpenSBI (or BBL) will jump to 0x80400000 address
in S-mode whereas for 64bit system it will jump to 0x80200000 address
in S-mode.

Currently, the S-mode U-Boot sets SYS_TEXT_BASE to 0x80200000 for both
32bit and 64bit system. This breaks S-mode U-Boot for 32bit system.

This patch sets different SYS_TEXT_BASE for 32bit and 64bit system so
that S-mode U-Boot works fine for both.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Tested-by: Karsten Merker &lt;merker@debian.org&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: enable SMP</title>
<updated>2019-04-08T01:44:26Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2019-03-17T18:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d0a8fd3e4d2a5ab19b8f2d27d40dacb4942ba5a4'/>
<id>urn:sha1:d0a8fd3e4d2a5ab19b8f2d27d40dacb4942ba5a4</id>
<content type='text'>
Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-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>riscv: Rename cpu/qemu to cpu/generic</title>
<updated>2019-02-27T01:12:33Z</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2019-02-25T08:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=fdff1f96a6505bccb258f5b52e6c94c7e0b29512'/>
<id>urn:sha1:fdff1f96a6505bccb258f5b52e6c94c7e0b29512</id>
<content type='text'>
The QEMU CPU support under arch/riscv is pretty much generic
and works fine for SiFive Unleashed as well. In fact, there
will be quite a few RISC-V SOCs for which QEMU CPU support
will work fine.

This patch renames cpu/qemu to cpu/generic to indicate the
above fact. If there are SOC specific errata workarounds
required in cpu/generic then those can be done at runtime
in cpu/generic based on CPU vendor specific DT compatible
string.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Alexander Graf &lt;agraf@suse.de&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Imply SIFIVE_SERIAL for emulation</title>
<updated>2018-12-18T01:56:54Z</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2018-12-15T06:05:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9acaf60bfdc9c96647772afd42c8150524520fcb'/>
<id>urn:sha1:9acaf60bfdc9c96647772afd42c8150524520fcb</id>
<content type='text'>
This patch enables SiFive UART driver for QEMU RISC-V emulation
by implying SIFIVE_SERIAL on BOARD_SPECIFIC_OPTIONS.

Signed-off-by: Anup Patel &lt;anup@brainfault.org&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: qemu: Add platform-specific Kconfig options</title>
<updated>2018-12-18T01:56:27Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-12-12T14:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=84304d4866c8d69cd1ddb4b5c6cbcc17d6708da0'/>
<id>urn:sha1:84304d4866c8d69cd1ddb4b5c6cbcc17d6708da0</id>
<content type='text'>
Add the QEMU RISC-V platform-specific Kconfig options, to include
CPU and timer drivers.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>riscv: Add S-mode defconfigs for QEMU virt machine</title>
<updated>2018-12-05T06:14:04Z</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2018-12-03T05:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4c6011364735cc1e554a65fd259edc524dbdac9c'/>
<id>urn:sha1:4c6011364735cc1e554a65fd259edc524dbdac9c</id>
<content type='text'>
This patch adds S-mode defconfigs for QEMU virt machine so
that we can run u-boot in S-mode on QEMU using M-mode runtime
firmware (BBL or equivalent).

Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Use different SYS_TEXT_BASE for S-mode</title>
<updated>2018-12-05T06:13:59Z</updated>
<author>
<name>Anup Patel</name>
</author>
<published>2018-12-03T05:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c'/>
<id>urn:sha1:ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c</id>
<content type='text'>
When u-boot runs in S-mode, the M-mode runtime firmware
(BBL or equivalent) uses memory range in 0x80000000 to
0x80200000. Due to this, we cannot use 0x80000000 as
SYS_TEXT_BASE when running in S-mode. Instead for S-mode,
we use 0x80200000 as SYS_TEXT_BASE.

Even Linux RISC-V kernel ignores/reserves memory range
0x80000000 to 0x80200000 because it runs in S-mode.

Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL</title>
<updated>2018-11-26T05:57:33Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2018-11-22T10:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=897206c5cc5c6ac0dc2ab851044e42baada3785b'/>
<id>urn:sha1:897206c5cc5c6ac0dc2ab851044e42baada3785b</id>
<content type='text'>
QEMU specifies the location of Linux (supplied with the -kernel
argument) in the device tree using the riscv,kernel-start and
riscv,kernel-end properties. We currently rely on the SBI implementation
of BBL to run Linux and therefore embed Linux as payload in BBL. This
causes an issue, because BBL detects the kernel properties in the device
tree and ignores the Linux payload as a result.
Work around this issue by clearing the kernel properties in the device
tree before booting Linux.

Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
</feed>
