[U-BOOT-TEST-HOOKS][PATCH v2 1/1] qemu-riscv: enable virtio-rng-device

Bin Meng bmeng.cn at gmail.com
Mon Jul 31 11:11:10 CEST 2023


On Mon, Jul 31, 2023 at 5:04 PM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Linux' KASLR uses the EFI_RNG_PROTOCOL as entropy source. We should
> enable CONFIG_DM_RNG in U-Boot. For the EFI unit test for the protocol to
> succeed a virtio RNG device has to be provided when invoking QEMU.
>
> Reported-by: Leo Liang <ycliang at andestech.com>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v2:
>         use virtio-rng-device instead of virtio-rng-pci
>         (virtio-rng-device does not require calling 'virtio scan')
>
> See related patch
> [PATCH 1/1] riscv: qemu: imply CONFIG_DM_RNG
> https://lists.denx.de/pipermail/u-boot/2023-July/525293.html
> ---
>  bin/travis-ci/conf.qemu-riscv32_na     | 2 +-
>  bin/travis-ci/conf.qemu-riscv32_spl_na | 2 +-
>  bin/travis-ci/conf.qemu-riscv64_na     | 2 +-
>  bin/travis-ci/conf.qemu-riscv64_spl_na | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list