Wind River Support Network

HomeDefectsLIN7-6879
Fixed

LIN7-6879 : CLONE - kdump script appended parameters for different board incorrect.

Created: Oct 14, 2016    Updated: Sep 8, 2018
Resolved Date: Oct 17, 2016
Previous ID: LIN6-11822
Found In Version: 7.0.0.20
Fix Version: 7.0.0.21
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

In BSP README 12-README-fsl-t1xxx:
============================================
Note: please use vmlinux as a secondary kernel. It can be found in the
   build/linux-windriver/linux-<bsp name>-<kernel type>-build/
directory.

kdump script:
=================================================
KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}"
KDUMP_CMDLINE="`cat /proc/cmdline`"
KDUMP_CMDLINE_APPEND="kdump_needed maxcpus=1 irqpoll reset_devices"
KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`"

#get right kernel image
march="`uname -m`"
case ${march} in
     x86*|i?86)
         ;;
         *)
         KDUMP_KIMAGE="/boot/uImage-${KDUMP_KVER}"
         ;;
esac  

Steps to Reproduce

/lpg-build/cdc/fast_prod/wrlinux80RCPL/RCPL0002_LX03/wrlinux-8/wrlinux/configure
--enable-board=fsl-t1xxx --enable-kernel=preempt-rt
--enable-rootfs=glibc-std --enable-reconfig=yes --enable-jobs=8
--enable-parallel-pkgbuilds=8
--with-template=feature/kexec,feature/kdump;make fs 

Other Downloads


Live chat
Online