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

Zhang Ning zhangn1985 at qq.com
Tue Feb 1 01:07:04 CET 2022


Hi,
On Mon, Jan 31, 2022 at 09:53:43AM -0500, Tom Rini wrote:
> 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!
thank to remind document, but it not systemd.

just find a similor review: https://lists.denx.de/pipermail/u-boot/2021-October/464512.html
I will send next version and add document to doc/README.pxe
and also update patch title

> 
> -- 
> Tom




More information about the U-Boot mailing list