mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
Added the script file kdump,it provides the follow support: 1. Load a kdump kernel image into memory; 2. Copy away vmcore when system panic. (From OE-Core rev: c2492edcb9366ed1741fc6be7d41bc17844041fd) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
563 B
Plaintext
19 lines
563 B
Plaintext
#the kdump kernel version string.
|
|
#KDUMP_KVER="`uname -r`"
|
|
|
|
#this will be passed to the kdump kernel as kdump kernel command line, it
|
|
#usually comes from /proc/cmdline
|
|
#KDUMP_CMDLINE="`cat /proc/cmdline`"
|
|
|
|
# append arguments to the kdump commandline
|
|
#KDUMP_CMDLINE_APPEND="kdump_needed maxcpus=1 irqpoll reset_devices"
|
|
|
|
#the kernel image for kdump
|
|
#KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}"
|
|
|
|
#Where to save the vmcore
|
|
#KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`"
|
|
|
|
#the arguments to makedumpfile
|
|
MAKEDUMPFILE_ARGS="--dump-dmesg -x /boot/vmlinux-`uname -r`"
|