]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM
authorMarek Vasut <marex@denx.de>
Sat, 20 Jan 2024 00:35:58 +0000 (01:35 +0100)
committerFabio Estevam <festevam@gmail.com>
Mon, 22 Jan 2024 11:40:02 +0000 (08:40 -0300)
commita80e0e7711a2b2890a583d88dcd9af978ddada32
tree85f0737b6ee4f4195488fa2c5d85553b9978a71f
parent0912368af33fc0b6aaaff0e8fb515a73be0b7662
ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

Linux 6.6.y with KASLR enabled would print the following message on boot:
"
KASLR disabled due to lack of seed
"
Enable the 'kaslrseed' command so a random number seed can be pulled
from CAAM and inserted into the /chosen node 'kaslr-seed' property of
Linux kernel DT before boot, thus letting KASLR work properly.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
configs/imx8mp_dhcom_pdk2_defconfig
configs/imx8mp_dhcom_pdk3_defconfig