1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 12:30:14 +00:00

arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64

A virtio-rng is available from FVP_BaseR_AEMv8R version 11.17, so add
to the device tree and enable the correpsonding FVP configuration flag.

This improves the boot time and removes the following warning in the
boot log:

    random: udevd: uninitialized urandom read (16 bytes read)

Issue-Id: SCM-4304
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ic935d0b935e21965a489a55db09c4a5f9ac51366
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Peter Hoyes
2022-04-06 18:09:15 +01:00
committed by Jon Mason
parent faec9a7ad3
commit 4c2f4ab95e
3 changed files with 9 additions and 1 deletions
@@ -61,5 +61,6 @@ FVP_CONFIG[gic_distributor.has-two-security-states] ?= "0"
FVP_CONFIG[pctl.startup] ?= "0.0.0.*" FVP_CONFIG[pctl.startup] ?= "0.0.0.*"
FVP_CONFIG[bp.virtio_net.enabled] ?= "1" FVP_CONFIG[bp.virtio_net.enabled] ?= "1"
FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
FVP_CONFIG[bp.virtio_rng.enabled] ?= "1"
FVP_CONFIG[bp.vis.rate_limit-enable] ?= "0" FVP_CONFIG[bp.vis.rate_limit-enable] ?= "0"
FVP_CONFIG[bp.refcounter.use_real_time] ?= "1" FVP_CONFIG[bp.refcounter.use_real_time] ?= "1"
@@ -226,6 +226,7 @@ Devices supported in the kernel
- virtio 9p - virtio 9p
- virtio disk - virtio disk
- virtio network - virtio network
- virtio rng
- watchdog - watchdog
- rtc - rtc
@@ -243,7 +244,7 @@ Known Issues and Limitations
Change Log Change Log
---------- ----------
- Added virtio\_rng to improve random number generation.
- Added U-Boot v2022.01 for UEFI support. - Added U-Boot v2022.01 for UEFI support.
- Updated Linux kernel version from 5.14 to 5.15 for both standard and - Updated Linux kernel version from 5.14 to 5.15 for both standard and
Real-Time (PREEMPT\_RT) builds. Real-Time (PREEMPT\_RT) builds.
@@ -175,6 +175,12 @@
interrupts = <0x0 44 0x4>; interrupts = <0x0 44 0x4>;
}; };
virtio-rng@9c200000 {
compatible = "virtio,mmio";
reg = <0 0x9c200000 0 0x200>;
interrupts = <0x0 46 0x4>;
};
timer { timer {
compatible = "arm,armv8-timer"; compatible = "arm,armv8-timer";
interrupts = <0x1 13 0xff08>, interrupts = <0x1 13 0xff08>,