[PATCH] [v3] add kaslr-seed generation to extlinux.conf

Tom Rini trini at konsulko.com
Mon Jan 31 15:53:43 CET 2022


On Mon, Jan 31, 2022 at 10:41:05PM +0800, Zhang Ning wrote:

> 1, add kaslrseed key word to extlinux.conf
> 2, check kaslrseed in extlinux boot label
> 3, generate ramdon number from hw rng
> 4, add kaslr-seed to fdt chosen
> 
> with this patch exlinux.conf boot item looks like
> 
> label l0
>         menu testing
>         linux /boot/vmlinuz-5.15.16-arm
>         initrd /boot/initramfs-5.15.16-arm.img
>         fdtdir /boot/dtbs/5.15.16-arm/
>         kaslrseed
>         append root=UUID=92ae1e50-eeeb-4c5b-8939-7e1cd6cfb059 ro
> 
> Signed-off-by: Zhang Ning <zhangn1985 at qq.com>

So extlinux.conf support is
https://systemd.io/BOOT_LOADER_SPECIFICATION/ so please work with
upstream there as well to get kaslrseed added and documented.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220131/69184180/attachment.sig>


More information about the U-Boot mailing list