[Skiboot] [PATCH] core: Correctly load initramfs in stb container
Stewart Smith
stewart at linux.ibm.com
Thu Apr 12 15:59:48 AEST 2018
Samuel Mendoza-Jonas <sam at mendozajonas.com> writes:
> Skiboot does not calculate the actual size and start location of the
> initramfs if it is wrapped by an STB container (for example if loading
> an initramfs from the ROOTFS partition).
>
> Check if the initramfs is in an STB container and determine the size and
> location correctly in the same manner as the kernel. Since
> load_initramfs() is called after load_kernel() move the call to
> trustedboot_exit_boot_services() into load_and_boot_kernel() so it is
> called after both of these.
>
> Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
Merged to master as of e7a2da8d5e654467df63c03e2be91b435796df25
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list