Skip to contentSkip to conversation

configs: mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng

PATCH In review Benjamin Schneider 2 participants 3 messages Apr 17, 2025 – May 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng

This device has a hardware random number generator. Linux can use this feature to randomize the location of the kernel in memory for better security. However, that functionality is only available if the bootloader firmware provides it. Enable support for it in the default configuration for this device.

---

 configs/mvebu_espressobin_ultra-88f3720_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/mvebu_espressobin_ultra-88f3720_defconfig +2 -0
index 1cbeee8fcb7..fb8efbdf0b9 100644
@@ -97,3 +97,5 @@ CONFIG_USB_EHCI_HCD=y
 # CONFIG_WATCHDOG_AUTOSTART is not set
 CONFIG_WDT=y
 CONFIG_WDT_ARMADA_37XX=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_TURRIS_RWTM=y
Signature · 4 lines
2.49.0

base-commit: 278be62c052f3a5749c3c7a57bcd307b82dcdc2d
branch: master
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Benjamin Schneider

This device has a hardware random number generator. Linux can use this feature to randomize the location of the kernel in memory for better security. However, that functionality is only available if the bootloader firmware provides it. Enable support for it in the default configuration for this device.

Thanks,
Stefan

Quoted 10 lines

---

  configs/mvebu_espressobin_ultra-88f3720_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/mvebu_espressobin_ultra-88f3720_defconfig +0 -0
index 1cbeee8fcb7..fb8efbdf0b9 100644

configs/mvebu_espressobin_ultra-88f3720_defconfig CONFIG_USB_EHCI_HCD=y · line 101

Quoted 5 lines
configs/mvebu_espressobin_ultra-88f3720_defconfig +2 -0
@@ -97,3 +97,5 @@ CONFIG_USB_EHCI_HCD=y
  # CONFIG_WATCHDOG_AUTOSTART is not set
  CONFIG_WDT=y
  CONFIG_WDT_ARMADA_37XX=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_TURRIS_RWTM=y

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
In reply to Benjamin Schneider
Quoted 7 lines · Benjamin Schneider

This device has a hardware random number generator. Linux can use this feature to randomize the location of the kernel in memory for better security. However, that functionality is only available if the bootloader firmware provides it. Enable support for it in the default configuration for this device.

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 10 lines

---

  configs/mvebu_espressobin_ultra-88f3720_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/mvebu_espressobin_ultra-88f3720_defconfig +0 -0
index 1cbeee8fcb7..fb8efbdf0b9 100644

configs/mvebu_espressobin_ultra-88f3720_defconfig CONFIG_USB_EHCI_HCD=y · line 101

Quoted 5 lines
configs/mvebu_espressobin_ultra-88f3720_defconfig +2 -0
@@ -97,3 +97,5 @@ CONFIG_USB_EHCI_HCD=y
  # CONFIG_WATCHDOG_AUTOSTART is not set
  CONFIG_WDT=y
  CONFIG_WDT_ARMADA_37XX=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_TURRIS_RWTM=y

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]