[Skiboot] [PATCH v3] init: Test device tree for kernel location
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Mar 31 14:15:20 AEDT 2016
Michael Neuling <mikey at neuling.org> writes:
> Test device tree for kernel location in /chosen/kernel-base-address.
> Use this if found and then detect if it's an elf or a raw binary.
>
> This can reduce the boot time since the kernel no longer needs to
> relocate itself when loaded directly at 0.
>
> An example of how to do this using mambo is given with the follow
> skiboot.tcl patch and these commands:
>
> % objcopy -O binary vmlinux vmlinux.raw
> % SKIBOOT_ZIMAGE=vmlinux.raw
>
> diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
> index d3b4120..b68cf27 100644
> --- a/external/mambo/skiboot.tcl
> +++ b/external/mambo/skiboot.tcl
I've left this tcl change just in the changelog rather than merging it
in due to needing a mambo patch to make it work with existing things.
merged as of 228e332
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list