On Tue, 2014-11-18 at 11:48 +0530, Anurup M wrote: > I get a relocation error when I try to load using latest kexec-tools from https://git.linaro.org/people/geoff.levand/kexec-tools.git. > > ############## error log ############### > machine_apply_elf_rel: CALL26 94000000->97ffff62 > sym: sha256_update info: 12 other: 00 shndx: 1 value: 5f58 size: 16c > sym: sha256_update value: 81af7f58 addr: 81af81e4 > machine_apply_elf_rel: CALL26 94000000->97ffff5d > sym: .data info: 03 other: 00 shndx: 4 value: 0 size: 0 > sym: .data value: 81af8630 addr: 81af8550 > machine_apply_elf_rel: ABS64 0->81af8630 > Symbol: sha256_regions is in a bss section cannot set > ############## > > What should be the problem? It seems either your purgatory code was not built correctly, or the kexec-tools relocator didn't do the correct thing. Please post the output from your gcc with the --version option and the command line used to compile purgatory/purgatory.c. > I use foundation model and the kernel image from > https://git.linaro.org/people/geoff.levand/linux-kexec.git branch: origin/kexec-v6 > and rootfs from Linaro (http://releases.linaro.org/14.09/openembedded/aarch64) > > The above error is not seen when I use kexec-tools branch: origin/kdump. > > Also wish to know how to verify the kdump feature. As I mentioned before, these patches only add kexec re-boot support. kdump has not been ported to arm64 yet. -Geoff