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

Justin DeFields justindefields at gmail.com
Wed Aug 5 10:22:42 PDT 2015


Sorry, the command I'm using for the FIT section is:

CMDLINE=$(zcat /proc/cmdline)
kexec -l /boot/kernel_fdt.itb --append="$CMDLINE"
kexec -e

Justin D.


On Wed, Aug 5, 2015 at 1:18 PM, Justin DeFields
<justindefields at gmail.com> wrote:
> 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



-- 
Justin DeFields
Embedded Software Engineer
(215)514-3035



More information about the kexec mailing list