From: Stephan Gerhold Date: Thu, 17 Apr 2025 13:49:13 +0000 (+0200) Subject: board: dragonboard410c: Enable support for KASLR in Linux X-Git-Tag: v2025.07-rc4~12^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792ccccb46e58fbeb3666efbe241bcfaa450568f;p=pandora-u-boot.git board: dragonboard410c: Enable support for KASLR in Linux When booting Linux, there is currently the following warning in the console when using the default dragonboard410c_defconfig: [ 0.000000] KASLR disabled due to lack of seed Fix this by enabling DM_RNG and RNG_MSM in the defconfig to generate the KASLR seed: [ 0.000000] KASLR enabled Signed-off-by: Stephan Gerhold Reviewed-by: Reviewed-by: Sumit Garg Link: https://lore.kernel.org/r/20250417-db410c-fixes2-v1-3-76ad994da152@linaro.org Signed-off-by: Casey Connolly --- diff --git a/configs/dragonboard410c_defconfig b/configs/dragonboard410c_defconfig index 6feba70b943..d267b6ed34d 100644 --- a/configs/dragonboard410c_defconfig +++ b/configs/dragonboard410c_defconfig @@ -55,6 +55,8 @@ CONFIG_PINCONF=y CONFIG_PINCTRL_QCOM_APQ8016=y CONFIG_DM_PMIC=y CONFIG_PMIC_QCOM=y +CONFIG_DM_RNG=y +CONFIG_RNG_MSM=y CONFIG_MSM_SERIAL=y CONFIG_SPMI_MSM=y CONFIG_USB=y