Can't kexec/kdump on mpc85xx
msm at freescale.com
Tue Sep 28 11:47:33 EDT 2010
On Sep 27, 2010, at 10:40 PM, Makito SHIOKAWA wrote:
>> First off, what SHA of the kernel are you using? It looks like 2.6.35 should have the patches you need, but I want to double check. Also, how did you compile kexec-tools? Cross compile? What compiler are you using?
> As kernel, I used vanilla 2.6.35. (http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.gz. Git commit should be 9fe6206f400646a2322096b56c59891d530e8d51)
Ok, that should have all you need.... there are a few more patches but those are mostly for SMP systems. I will try to locate a 8548 board sometime if we can't get this working.
> As cross compiler, I used "Sourcery G++ Lite 4.4-254 for Power GNU/Linux". (http://www.codesourcery.com/sgpp/lite/power/portal/package6842/public/powerpc-linux-gnu/freescale-4.4-254-powerpc-linux-gnu-i686-pc-linux-gnu.tar.bz2).
> I cross compiled kernel, kexec-tools on x86 host with it.
Can you try this patch below when building kexec-tools? I ran in to an issue with my cross compiler...
diff --git a/purgatory/Makefile b/purgatory/Makefile
index ea0c19a..a558ed9 100644
@@ -47,7 +47,7 @@ purgatory/sha256.o: $(srcdir)/util_lib/sha256.c
$(PURGATORY): CFLAGS+=$(PURGATORY_EXTRA_CFLAGS) \
- -Os -fno-builtin -ffreestanding
+ -O0 -fno-builtin -ffreestanding
$(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
More information about the kexec