Ive got a bit further now. I have actually built most of a kernel, but
some issues remain.

binutils (--target=armv2-unknown-linux-gnu
--prefix=/home/ian/cross/tools)

seems to work.

gcc (same options as above, and also tried various others as well,
including -march=apcs-26)

seems to result in a working compiler, but it makes libgcc with APCS-32,
which causes problems when linking the kernel.

The linux kernel (2.4.0-test12-pre12 with the appropriate patch (rmk1))

several issues when compiling. floppy support seems broken, one of the
problems seems to be a renaming of the symbols which didnt filter back
to the Archimedes FDD code, IRQ_FLOPPYDISK (i think) should be renamed
to FLOPPY_IRQ. is this right?

also, (IIRC) IO_VIDC_BASE seems to be (IIRC) VIDC_BASE now.

and one much nastier looking one:

linux/arch/arm/lib/io_readsl.S

this seems to use strh, even on older ARM cpus that dont support it.

I could probably fix this, but I dont know what the code is /meant/ to
do. (is there a kernel 'map' anywhere?)

once these issues are taken care of (intermediate broken evil hack
(swapped strh for strb)) the kernel compile runs through to completion,
but then fails to link (a lot of cruft from ld because it cant like the
APCS-32 stuff to the APCS-26 kernel).

if anyone can help I would appreciate it.

incidentally, binutils2.10.1 gcc2.95.2(needed minor tweak to makefile
(gcc/Makefile needed -I/usr/include adding in one spot)

nearly there. I'd be especially grateful to anyone who can help with a)
the compiler APCS mismatch and the io_readsl.S code...

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to