<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/board/emulation, branch v2023.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/board/emulation?h=v2023.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/board/emulation?h=v2023.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-08-10T02:57:36Z</updated>
<entry>
<title>riscv: qemu: imply CONFIG_DM_RNG</title>
<updated>2023-08-10T02:57:36Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2023-07-28T13:54:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1b7de4f9efd7df1c82948c2b7b7a8cc4ed1577e3'/>
<id>urn:sha1:1b7de4f9efd7df1c82948c2b7b7a8cc4ed1577e3</id>
<content type='text'>
The EFI_RNG_PROTOCOL is needed for Linux' KASLR.

QEMU can provide a virtio-rng device to emulate a hardware random number
generator which is supported by our virtio_rng driver.

Enabling CONFIG_DM_RNG will enable CONFIG_VIRTIO_RNG and
CONFIG_EFI_RNG_PROTOCOL by default too.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>x86: qemu-x86: Convert to text environment</title>
<updated>2023-08-09T15:31:12Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-07-31T03:02:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9234b77b9d42ebd77585091a072b4ab958ba83ed'/>
<id>urn:sha1:9234b77b9d42ebd77585091a072b4ab958ba83ed</id>
<content type='text'>
Use the common include.

Drop everything from the config.h file.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt; # Intel Edison
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Enable usb keyboard as an input device</title>
<updated>2023-08-02T08:32:44Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2023-07-23T04:40:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02be57caf730e2213bc844bf1dbe58bedd2c3734'/>
<id>urn:sha1:02be57caf730e2213bc844bf1dbe58bedd2c3734</id>
<content type='text'>
This brings PCI xHCI support to QEMU RISC-V and uses a usb keyboard
as one of the input devices.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Remove out-of-date "riscv, kernel-start" handling</title>
<updated>2023-08-02T08:32:41Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2023-07-23T04:40:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=124308e67b6e1b6597ef34899211abac9bf7fd60'/>
<id>urn:sha1:124308e67b6e1b6597ef34899211abac9bf7fd60</id>
<content type='text'>
Commit 66ffe57 ("riscv: qemu: detect and boot the kernel passed by QEMU")
added some logic to handle "riscv,kernel-start" in DT and stored the
address to an environment variable kernel_start.

However this "riscv,kernel-start" has never been an upstream DT binding.
The upstream QEMU never generates such a DT either. Presumably U-Boot
development was based on a downstream QEMU fork.

Now we drop all codes in commit 66ffe57, except that BOARD_LATE_INIT
is kept for later use.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Enable PRE_CONSOLE_BUFFER</title>
<updated>2023-08-02T08:32:36Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2023-07-23T04:40:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=608b80b5b855d0c55a5fa7de11c1338bf2541855'/>
<id>urn:sha1:608b80b5b855d0c55a5fa7de11c1338bf2541855</id>
<content type='text'>
By default the video console only outputs messages after it's ready.
Messages before that won't show on the video console, but U-Boot has
an option to buffer the console messages before it's ready.

Enable this support, and carefully select an address for the buffer.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>riscv: qemu: Enable Bochs video support</title>
<updated>2023-08-02T08:31:52Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2023-07-23T04:40:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=716161663ec4904f0487308dd428ceb8b42bcf5d'/>
<id>urn:sha1:716161663ec4904f0487308dd428ceb8b42bcf5d</id>
<content type='text'>
Enable video console using the emulated Bochs VGA card.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>MAINTAINERS: Add a number of "common" directories</title>
<updated>2023-07-25T16:44:47Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-07-18T23:33:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f23f1b53077b0642209769ef5fd77d5ffb93f2bd'/>
<id>urn:sha1:f23f1b53077b0642209769ef5fd77d5ffb93f2bd</id>
<content type='text'>
A number of platforms have "common" directories that are in turn not
listed by the board MAINTAINERS file.  Add these directories in many
cases.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>efi_loader: add the number of image entries in efi_capsule_update_info</title>
<updated>2023-06-08T07:20:36Z</updated>
<author>
<name>Masahisa Kojima</name>
<email>masahisa.kojima@linaro.org</email>
</author>
<published>2023-06-07T05:41:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cccea18813c44c15b2709edcfba1048e42d28404'/>
<id>urn:sha1:cccea18813c44c15b2709edcfba1048e42d28404</id>
<content type='text'>
The number of image array entries global variable is required
to support EFI capsule update. This information is exposed as a
num_image_type_guids variable, but this information
should be included in the efi_capsule_update_info structure.

This commit adds the num_images member in the
efi_capsule_update_info structure. All board files supporting
EFI capsule update are updated.

Signed-off-by: Masahisa Kojima &lt;masahisa.kojima@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>qemu: dfu: Correct memset call in set_dfu_alt_info</title>
<updated>2023-04-25T19:31:28Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-04-06T13:58:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e97c89cc15b90c72dcf6a7a943fb52743a1f70fa'/>
<id>urn:sha1:e97c89cc15b90c72dcf6a7a943fb52743a1f70fa</id>
<content type='text'>
When building with clang, we see:
board/emulation/common/qemu_dfu.c:51:24: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]

As we're calling memset with the length set to the size of the pointer
and not the size of the buffer. Correct this with a call of the size of
the buffer itself.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Sughosh Ganu &lt;sughosh.ganu@linaro.org&gt;
</content>
</entry>
<entry>
<title>Correct SPL uses of EFI_HAVE_CAPSULE_SUPPORT</title>
<updated>2023-02-09T21:32:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-05T22:39:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71aa806d5d67f4aaf3effdaca92500f4a4ab4187'/>
<id>urn:sha1:71aa806d5d67f4aaf3effdaca92500f4a4ab4187</id>
<content type='text'>
This converts 13 usages of this option to the non-SPL form, since there is
no SPL_EFI_HAVE_CAPSULE_SUPPORT defined in Kconfig

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
