arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64
PATCH 1/1 arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64
From: Peter Hoyes <[email protected]>
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
--- meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf | 1 + meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 3 ++- .../linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-)
meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf +1 -0
@@ -61,5 +61,6 @@ FVP_CONFIG[gic_distributor.has-two-security-states] ?= "0" FVP_CONFIG[pctl.startup] ?= "0.0.0.*" FVP_CONFIG[bp.virtio_net.enabled] ?= "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.refcounter.use_real_time] ?= "1"
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +2 -1
@@ -226,6 +226,7 @@ Devices supported in the kernel - virtio 9p - virtio disk - virtio network +- virtio rng - watchdog - rtc
@@ -243,7 +244,7 @@ Known Issues and Limitations Change Log ---------- - +- Added virtio\_rng to improve random number generation. - Added U-Boot v2022.01 for UEFI support. - Updated Linux kernel version from 5.14 to 5.15 for both standard and Real-Time (PREEMPT\_RT) builds.
meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts +6 -0
@@ -175,6 +175,12 @@ interrupts = <0x0 44 0x4>; }; + virtio-rng@9c200000 { + compatible = "virtio,mmio"; + reg = <0 0x9c200000 0 0x200>; + interrupts = <0x0 46 0x4>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = <0x1 13 0xff08>,
Signature · 1 line
2.25.1
Jon Mason
AppliedQuoted 7 lines · Peter Hoyes
A virtio-rng is available from
FVP_BaseR_AEMv8Rversion 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)
Applied, thanks!
[1/1] arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64
commit: 4c2f4ab95e3aee2c12d9dcb6fc4171acb42cd1d3
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 7 lines · Peter Hoyes
A virtio-rng is available from
FVP_BaseR_AEMv8Rversion 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)
Applied, thanks!
[1/1] arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64
commit: 4c2f4ab95e3aee2c12d9dcb6fc4171acb42cd1d3
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 7 lines · Peter Hoyes
A virtio-rng is available from
FVP_BaseR_AEMv8Rversion 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)
Applied, thanks!
[1/1] arm-bsp/linux-yocto: Enable virtio-rng for fvp-baser-aemv8r64
commit: 4c2f4ab95e3aee2c12d9dcb6fc4171acb42cd1d3
Best regards,
Signature · 1 line
Jon Mason <[email protected]>