Just to prove to myself that I could in fact build an ARM7
target, I've been trying the GDB/Armulator target with the
Skyeye simulator. My success rate hasn't been very good. I
was unable to build a 2.4 kernel using any combination of 3.4.1
or 4.2.1 toolchains and 20070808 or 20061213 distributions.
All four combinations with a 2.6 kernel built but only three of
them ran properly. Only one of the four combinations using the
current uClinux-dist release worked. Detailed results are
shown below.
Is there any documentation on which combinations of
dist/kernel/toolchain are know to work or fail? Perhaps a wiki
page somewhere that users could fill in? Since the three seem
to be pretty tightly coupled, it would be useful to keep track
wouldn't it?
________________________________________________________________________
Using gcc 4.2.1 (20070808) toolchain:
20070130 20080808
-------- --------
2.4 build fail[2] build fail[3]
2.6 OK no /proc filesystem
Using gcc 3.4.1 (20061213) toolchain:
20070130 20080808
-------- --------
2.4 build fail[1] build fail[1]
2.6 OK OK
[1] Same build failures seen with both 20070130/2.4 and
20080808/2.4 using 3.4.1 toolchain:
In file included from dma.c:23:
/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x/include/asm/mach/dma.h:53:
warning: useless keyword or type name in empty declaration
/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x/include/asm/mach/dma.h:53:
warning: empty declaration
arm-linux-gcc -D__ASSEMBLY__ -D__KERNEL__
-I/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x/include -DNO_MM
-mapcs-32 -march=armv4 -msoft-float -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1495: Warning: destination register same as write-back base
entry-armv.S:1721: Error: undefined symbol TSS_FPESAVE used as an
immediate value
entry-armv.S:1719: Error: internal_relocation (type: OFFSET_IMM) not
fixed up
entry-armv.S:1772: Error: internal_relocation (type: OFFSET_IMM) not
fixed up
entry-armv.S:1773: Error: internal_relocation (type: OFFSET_IMM) not
fixed up
entry-armv.S:2076: Error: cannot represent SWI relocation in this
object file format
make[2]: *** [entry-armv.o] Error 1
make[2]: Leaving directory
`/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] Error 2
make[1]: Leaving directory
`/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x'
make: *** [linux] Error 1
[2] Build failure 20070130/2.4 with 4.2.1 toolchain:
make ARCH=armnommu CROSS_COMPILE=arm-linux- -j1 -C linux-2.4.x || exit
1
make[1]: Entering directory
/home/grante/uclinux/uClinux-dist-20070130/linux-2.4.x'
scripts/split-include include/linux/autoconf.h include/config
arm-linux-gcc -D__KERNEL__
-I/home/grante/uclinux/uClinux-dist-20070130/linux-2.4.x/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4
-mtune=arm7tdmi -msoft-float -DKBUILD_BASENAME=main -c -o init/main.o
init/main.c
cc1: error: unrecognized command line option "-mapcs-32"
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory
/home/grante/uclinux/uClinux-dist-20070130/linux-2.4.x'
make: *** [linux] Error 1
[3] build failure 20080808/2.4 with 4.2.1 toolchain:
make ARCH=armnommu CROSS_COMPILE=arm-linux- -j1 -C linux-2.4.x || exit
1
make[1]: Entering directory
/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x'
scripts/split-include include/linux/autoconf.h include/config
arm-linux-gcc -D__KERNEL__
-I/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fno-builtin-sprintf -Wno-pointer-sign -fno-common -pipe -fno-builtin
-D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -malignment-traps
-msoft-float -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: unrecognized command line option "-mapcs-32"
cc1: error: unrecognized command line option "-malignment-traps"
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory
/home/grante/uclinux/uClinux-dist-20080808/linux-2.4.x'
make: *** [linux] Error 1
--
Grant Edwards grante Yow! What I need is a
at MATURE RELATIONSHIP with a
visi.com FLOPPY DISK ...
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev