That's stranger. When I did it, I use the Montavista PE2.1 and 1st build
it in
cross environment without debug symbol. After that boot the linux on
target
board(MV PE2.1 too) and rebuild the image with debug symbol. I never met
this problem but guess it is insmod problem.
Keith:
Do you have any idea on this problem?
eddie
-----Original Message-----
From: Balakrishnan, Vinod K
Sent: Wednesday, November 12, 2003 9:26 AM
To: Dong, Eddie
Subject: RE: kdb compilation problem on Xscale linux kernel
hi Eddie,
I tried to invoke a native XScale insmod on .tmp_vmlinux1 generated
below.
Now I am getting the following error message:
ELF file .tmp_vmlinux1 not a relocatable object.
Did you face this problem in your native build?
Appreciate you help,
thanks,
-Vinod
-----Original Message-----
From: Dong, Eddie
Sent: Sunday, November 02, 2003 10:53 PM
To: Balakrishnan, Vinod K
Subject: RE: kdb compilation problem on Xscale linux kernel
I didn't meet the problem, are u using native build machine or cross
compiler? Several problems exist in cross compiler environment due to
endian issue, but ok in native environment. The patch 4.3 can work in
2.4.18 well, but be aware of those patch hunks. eddie
-----Original Message-----
From: Balakrishnan, Vinod K
Sent: Friday, October 31, 2003 6:13 AM
To: Dong, Eddie
Subject: kdb compilation problem on Xscale linux kernel
hi Eddie,
I noticed your name on the kdb mailing list and the fact that you are an
Intel employee :). So I decided to mail you directly. I am working on
trying to get kdb running on linux version 2.4.18.
The kdb I am using is version 4.3 for linux kernel 2.4.20.
I am running into a problem while comiling the kernel (make zImage).
I get the following error:
kallsyms pass 1
xscale_be-ld -EB -p -X -T arch/arm/vmlinux.lds
arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o
init/version.o --start-group arch/arm/kernel/kernel.o arch/arm/mm/mm.o
arch/arm/mach-ixp2000/ixp2000.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o kdb/kdb.o drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o drivers/media/media.o
drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/i2c/i2c.o
net/network.o
/opt/hardhat/previewkit/lsp/intel-ixdp2400-previewkit-arm_xscale_be/linu
x-2.4.18_mvl30/arch/arm/kdb/kdba.o arch/arm/lib/lib.a
/opt/hardhat/previewkit/lsp/intel-ixdp2400-previewkit-arm_xscale_be/linu
x-2.4.18_mvl30/lib/lib.a --end-group -o .tmp_vmlinux1
.tmp_vmlinux1: ELF file .tmp_vmlinux1 not for this architecture
So is this a known problem? Do you have a patch for XScale that might
work on kernel 2.4.18?
thanks,
-Vinod