From 391411e2d2cdcd8da019e63869365e94f2f113fd Mon Sep 17 00:00:00 2001 From: Lourens Naude Date: Sat, 17 Oct 2026 13:04:00 +0100 Subject: [PATCH] feat(boards/px4_fmu-v6xrt): back /dev/random with the CAAM RNG arc4random_buf(), and so px4_get_secure_random(), reads /dev/random first. Without a hardware RNG the label had no /dev/random and its /dev/urandom was a software generator. Enable the CAAM driver so both devices, and every key and nonce drawn through them, come from the hardware generator. Assisted-by: Claude:claude-opus-5-5 --- boards/px4/fmu-v6xrt/nuttx-config/nsh/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/px4/fmu-v6xrt/nuttx-config/nsh/defconfig b/boards/px4/fmu-v6xrt/nuttx-config/nsh/defconfig index e5973f6d7a0..c68a7ee7dfe 100644 --- a/boards/px4/fmu-v6xrt/nuttx-config/nsh/defconfig +++ b/boards/px4/fmu-v6xrt/nuttx-config/nsh/defconfig @@ -138,6 +138,7 @@ CONFIG_IMXRT_LPUART_INVERT=y CONFIG_IMXRT_LPUART_SINGLEWIRE=y CONFIG_IMXRT_PHY_POLLING=y CONFIG_IMXRT_PHY_PROVIDES_TXC=y +CONFIG_IMXRT_RNG=y CONFIG_IMXRT_SNVS_LPSRTC=y CONFIG_IMXRT_USBDEV=y CONFIG_IMXRT_USDHC1=y