I want to use the kexec/kdump feature of linux kernel, after add these two features, I got compiling error. I found the error will gone if I specify PHYSICAL_START as non-zero. The default value is 0x0.
This is the steps:
$WIND_LINUX_CONFIGURE \
--enable-board=fsl-t1xxx-32b \
--enable-build=production \
--enable-jobs=4 \
--enable-kernel=standard \
--enable-parallel-pkgbuilds=4 \
--enable-rootfs=glibc_std+debug \
--enable-reconfig=yes \
--with-rcpl-version=0003 \
--with-template=feature/kexec,feature/kdump
make -C build linux-windriver.build
error messages:
kernel-source/arch/powerpc/include/asm/io.h: In function 'virt_to_phys':
/case_00054558_2/bitbake_build/tmp/work-shared/fsl-t1xxx-32b/kernel-source/arch/powerpc/include/asm/page.h:111:26: error: 'virt_phys_offset' undeclared (first use in this function)
#define VIRT_PHYS_OFFSET virt_phys_offset
^
...