Hi , Thanks for replying Pratyush. I have also seen the zImage support is present for the ppc64, earlier my plan was to take this source as reference and port it for ppc. But in zImage_ppc64_usage() its clearly written that "zImage support is still broken", which stop me. Is the zImage for ppc64 working properly ? Should I trust this ? Asking this because I don't have hardware to test for ppc64. If anyone else used the ppc64 zImage as secondary kernel. please provide your inputs here. Regards Sunil Kumar Thanks & Regards, Sunil Kumar Technical Lead Montavista Software Bengaluru, India - 560008 www.mvista.com | +91-80-67228800 [+8865] On Fri, Sep 8, 2017 at 8:58 AM, Pratyush Anand <panand at redhat.com> wrote: > > > 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