Fwd: zImage support for ppc
Pratyush Anand
panand at redhat.com
Thu Sep 7 20:28:22 PDT 2017
On Thursday 07 September 2017 01:49 PM, Sunil Kumar wrote:
> $ kexec -e
>
> As the zImage is also and elf file format, but the control is not
> getting transferred to the zImage.
> I can see kexec is able to load all the segments properly, but looks
> like its not able to figure out the entry point to start execution
> with zImage.
> -------------------------------------------------------------------------------------------------------------------------------------------------------
> kexec_load: entry = 0x329678 flags = 0x0
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> On the same board (i.e. Freescale p2020ds), uImage and vmlinux works fine.
Looking into upstream code: ppc has only support of elf and uImage,and so they
work.
>
> Just curious to know , why the zImage support is still not provided in
> the kexec for ppc ??
Probably because no one needed it till now.
> Is there any restriction from kexec design point of view ?
I do not think. You can write a patch. I see, ppc64 has zImage support, so you
can take that as example and can write code for ppc as well.
--
Regards
Pratyush
More information about the kexec
mailing list