Hi,
On Tue Nov 06, 2007 at 17:04:05 +0100, Dennis Gessner wrote:
after some days trying to compile l4linux for arm, I reach the following problem while compiling l4linux : (I use the toolchain from http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2.)
... arch/l4/kernel/main.c:80:5: warning: #warning WARNING: L4FB enabled and also CONFIG_SERIO_I8042 or CONFIG_SERIO_LIBPS2 or CONFIG_VGA_CONSOLE arch/l4/kernel/main.c:81:5: #error WARNING: This is usually not wanted. make[1]: *** [arch/l4/kernel/main.o] Error 1 make: *** [arch/l4/kernel] Error 2
If I disable "VGA_CONSOLE", "L4FB" and "PARPORT"
in l4linux-kernel-config, I get the following error-message:
drivers/built-in.o(.text+0x48cdc): In function `scsi_dma_map': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281: undefined reference to `consistent_sync' drivers/built-in.o(.text+0x594b8): In function `ata_data_xfer': /root/tudos/l4linux-2.6/drivers/ata/libata-core.c:4490: undefined reference to `__raw_writesw' drivers/built-in.o(.text+0x594c8):/root/tudos/l4linux-2.6/drivers/ata/libata-core.c:4492: undefined reference to `__raw_readsw' drivers/built-in.o(.text+0x5a6f0): In function `ata_qc_issue': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281: undefined reference to `consistent_sync' drivers/built-in.o(.text+0x5a800):/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168: undefined reference to `consistent_sync' drivers/built-in.o(.text+0x6a3c4): In function `usb_buffer_map_sg': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281: undefined reference to `consistent_sync' drivers/built-in.o(.text+0x6e084): In function `usb_hcd_submit_urb': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168: undefined reference to `consistent_sync' drivers/built-in.o(.text+0x6e0bc):/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168: undefined reference to `consistent_sync' sound/built-in.o(.text+0x1ca8): In function `copy_to_user_fromio': /root/tudos/l4linux-2.6/sound/core/memory.c:47: undefined reference to `_memcpy_fromio' sound/built-in.o(.text+0x1d44): In function `copy_from_user_toio': /root/tudos/l4linux-2.6/sound/core/memory.c:82: undefined reference to `_memcpy_toio'
Disabling SCSI, IDE/ATA, USB and SOUND should make this go away.
There's a configuration template in arch/l4/configs/arm_defconfig which you can use as a basis.
Adam