Hi,
I have some difficulties, compiling l4linux for arm. (I use the toolchain from http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2.)
Using the version from SVN (# svn co -N http://svn.tudos.org/repos/tudos/trunk tudos), I don't have any problems compiling fiasco or the l4env, but if I try to compile l4linux (... "repomgr co fiasco dice l4linux-2.6-env" ... and after disabling the VGA-Console) - I get the following error-message:
--- l4linux-2.6 # make L4ARCH=arm CROSS_COMPILE=arm-linux- CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh <stdin>:91:1: warning: "__IGNORE_sync_file_range" redefined In file included from <stdin>:2: include/asm-l4/arm-arch/asm/unistd.h:444:1: warning: this is the location of the previous definition <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented <stdin>:1321:2: warning: #warning syscall pselect6 not implemented <stdin>:1325:2: warning: #warning syscall ppoll not implemented <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented CHK include/linux/compile.h GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/l4/kernel/arch-arm/built-in.o(.init.text+0x824): In function `start_thread': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/current.h:9: undefined reference to `l4env_load_initrd' make: *** [.tmp_vmlinux1] Error 1 ---
How can I solve this error-message?
By the way, using a l4linux Version from 2007-06-30 works very well, but there I have the problem, that the openmoko-kernel-patchset is made for linux 2.6.22.x and my 2007-06-30-Version is 2.6.21.x. Any help would be very welcome!
Thanks, Dennis
Hi,
On Wed Sep 19, 2007 at 13:07:07 +0200, Dennis Gessner wrote:
arch/l4/kernel/arch-arm/built-in.o(.init.text+0x824): In function `start_thread': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/current.h:9: undefined reference to `l4env_load_initrd' make: *** [.tmp_vmlinux1] Error 1
How can I solve this error-message?
By enabling "Initial RAM filesystem and RAM disk" in the "General" menu. The real fix will hit the repo soon.
By the way, using a l4linux Version from 2007-06-30 works very well, but there I have the problem, that the openmoko-kernel-patchset is made for linux 2.6.22.x and my 2007-06-30-Version is 2.6.21.x.
Thanks for reporting.
Adam
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I'm new to the mailing list but how is the first comment I saw about ARM processors I decided to post.
My question isn't about a compiling error, but what target boards that you are using for your tests? Do you using for example Qemu to perform some of your tests?
Thanks, Tiago Maluta
Dennis Gessner wrote:
Hi,
I have some difficulties, compiling l4linux for arm. (I use the toolchain from http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2.)
Using the version from SVN (# svn co -N http://svn.tudos.org/repos/tudos/trunk tudos), I don't have any problems compiling fiasco or the l4env, but if I try to compile l4linux (... "repomgr co fiasco dice l4linux-2.6-env" ... and after disabling the VGA-Console) - I get the following error-message:
l4linux-2.6 # make L4ARCH=arm CROSS_COMPILE=arm-linux- CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh <stdin>:91:1: warning: "__IGNORE_sync_file_range" redefined In file included from <stdin>:2: include/asm-l4/arm-arch/asm/unistd.h:444:1: warning: this is the location of the previous definition <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented <stdin>:1321:2: warning: #warning syscall pselect6 not implemented <stdin>:1325:2: warning: #warning syscall ppoll not implemented <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented CHK include/linux/compile.h GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/l4/kernel/arch-arm/built-in.o(.init.text+0x824): In function `start_thread': /root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/current.h:9: undefined reference to `l4env_load_initrd' make: *** [.tmp_vmlinux1] Error 1
How can I solve this error-message?
By the way, using a l4linux Version from 2007-06-30 works very well, but there I have the problem, that the openmoko-kernel-patchset is made for linux 2.6.22.x and my 2007-06-30-Version is 2.6.21.x. Any help would be very welcome!
Thanks, Dennis
On Wed Sep 19, 2007 at 23:58:58 -0300, Tiago Maluta wrote:
My question isn't about a compiling error, but what target boards that you are using for your tests? Do you using for example Qemu to perform some of your tests?
Yes, Qemu is supposed to work well.
Adam
Hello,
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' make: *** [.tmp_vmlinux1] Error 1
--------
I checked out fiasco, l4env and l4linux from svn today (revision 236 and 69 I think). ... svn co -N http://svn.tudos.org/repos/tudos/trunk tudos ./repomgr co fiasco dice l4linux-2.6-env svn co http://svn.tudos.org/repos/l4linux/trunk l4linux-2.6 ...
I really don't know how to resolve this. Help would be very welcome.
Thanks, Dennis
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
l4-hackers@os.inf.tu-dresden.de