Hi FabioEstevam,
I have the same issue here with imx6ull board. I tried the two patches from this topic :
- ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility · Freescale/linux-fslc@fee3fd4 ...
- kernel/git/next/linux-next.git - The linux-next integration testing tree
But same result .. SMP is disable
I am using the freescale releasel : rel_imx_4.1.15_2.1.0_ga
My kernel parameter to configure kdump:
# cat /proc/cmdline
console=ttymxc0,115200 cma=96M root=/dev/mmcblk1p8 rootwait rw crashkernel=50M@0x81000000
iomem seems to be good :
# cat /proc/iomem
(...)
80000000-8fffffff : System RAM
80008000-808c62ab : Kernel code
80920000-809cc7bf : Kernel data
81000000-841fffff : Crash kernel
script to test kexec :
# cat kx.sh
#!/bin/sh
DUMPK_CMDLINE="console=ttymxc0,115200 cma=96M root=/dev/mmcblk1p8 rootwait rw maxcpus=1 reset_devices earlyprinkt init=/sbin/init"
kexec --type zImage \
-l /data/zImage \
--dtb=/data/imx6ul-nano.dtb \
--append="${DUMPK_CMDLINE}"
[ $? -ne 0 ] && {
echo "kexec failed." ; exit 1
}
echo "$0: kexec: success, dump kernel loaded."
exit 0
I run the script with success :
# sh kx.sh
kx.sh: kexec: success, dump kernel loaded.
Finally I tried to execute it :
# kexec -d -e
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
kexec: Starting new kernel
Bye!
Nothing after that. No more output. My board is freeze.