Tool/software: Linux
Hi Expert:
How to run kexec with Processor SDK 3.02.00.03 on J6 EVM RevG?
I have the following steps but it cannot work.
-1-
using Yocto to build kexec-tools and generate the binary kexec in "/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/kexec-tools/2.0.12+2.0.13pre-r1/build/build/sbin"
-2-
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
rebuild zImage
-3-
update zImage and copy kexec binary to folder /mnt in SD card
-4-
cat /proc/cmdline
console=ttyO0,115200n8 elevator=noop root=PARTUUID=64dcd133-02 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=3 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1
root@dra7xx-evm:/mnt# ./kexec -d --type zImage -p /boot/zImage --command-line="console=ttyO0,115200n8 elevator=noop root=PARTUUID=64dcd133-02 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=3 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1"
Memory for crashkernel is not reserved
Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
Then try to loading kdump kernel
root@dra7xx-evm:/mnt#
how can I set the reserve memory for "crashkernel"?
Regards
Joe