kexec of FIT image hangs, however kexec of zImage and DTB succeeds

Justin DeFields justindefields at gmail.com
Wed Aug 5 10:18:45 PDT 2015


All,

I'm having an issue on my ARM based platform (Xilinx Zynq, dual
cortex-A9 ARM cores, 512MB RAM) where linux is hanging after 'kexec
-e' is performed when I provide a FIT (flattened image tree) image:

CMDLINE=$(zcat /proc/cmdline)
kexec -l /boot/zImage  --append="$CMDLINE" --dtb=/boot/system.dtb
kexec -e
---console output---
kexec: Starting new kernel
Disabling non-boot CPUs ...
CPU1: shutdown
Bye!
-- unit hangs indefinitely


But 'kexec -e' succeeds when the files are passed in seperately:

CMDLINE=$(zcat /proc/cmdline)
kexec -l /boot/zImage  --append="$CMDLINE" --dtb=/boot/system.dtb
kexec -e
---console output---
kexec: Starting new kernel
Disabling non-boot CPUs ...
CPU1: shutdown
Bye!
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
-- unit gets all the way to root login

I am thinking that perhaps there is an issue pulling zImage out of the
FIT image somewhere in the kexec code.  Is anyone familiar with this,
or has seen a similar issue?

Thanks,

Justin DeFields
Embedded Software Engineer



More information about the kexec mailing list