Dear Julien, Thanks a lot for your instruction! I could compile it.
@ Amit, Could you please let me know when you will release v7 sources publicly? Regards, Khoa ________________________________________ From: Julien SIMONE [jsim...@pactenovation.fr] Sent: Wednesday, October 05, 2011 3:49 PM To: #PHAM DANG KHOA#; Amit Mahajan Cc: codezero-devel@lists.l4dev.org Subject: RE: [codezero-devel] Linux kernel build issue Hi Khoa, I think you didn't change the processor in the menu config. You have to select the Board and then the processor because, by default, it's a CortexA9 selected (if I remember well). I had the same problem but I figured out that the processor was wrong in the configuration file. Regards, Julien -----Message d'origine----- De : codezero-devel-boun...@lists.l4dev.org [mailto:codezero-devel-boun...@lists.l4dev.org] De la part de #PHAM DANG KHOA# Envoyé : mercredi 5 octobre 2011 08:02 À : Amit Mahajan Cc : codezero-devel@lists.l4dev.org Objet : Re: [codezero-devel] Linux kernel build issue Dear Amit, Thanks a lot for your information! I am trying to build by Codezero source code. However, I also met a problem related to arm v7 architecture: In file included from /home/khoa/workspace/codezero/include/l4/glue/arm/memlayout.h:9:0, from /home/khoa/workspace/codezero/include/l4/glue/arm/message.h:82, from libl4/include/l4lib/arch/arm/utcb.h:15, from libl4/include/l4lib/arch/arm/syscalls.h:11, from libl4/include/l4lib/kip.h:13, from libl4/src/init.c:6: /home/khoa/workspace/codezero/include/l4/glue/arm/memory.h:11:27: fatal error: l4/arch/arm/v7/mm.h: No such file or directory compilation terminated. scons: *** [/home/khoa/workspace/codezero/build/conts/userlibs/libl4/src/init.o] Error 1 scons: building terminated because of errors. Building userspace libraries failed... I also read the instruction from Bahadir Balban, and configured to PB926 but the above issue also happened. Please help me! Regards, Khoa ________________________________________ From: Amit Mahajan [amit.maha...@b-labs.com] Sent: Tuesday, October 04, 2011 9:50 PM To: #PHAM DANG KHOA# Cc: codezero-devel@lists.l4dev.org Subject: Re: [codezero-devel] Linux kernel build issue On Tue, 2011-10-04 at 09:14 +0000, #PHAM DANG KHOA# wrote: > Hi all, > > I tried to build virtualized Linux on top of Codezero, but I had some > problems related to atags.elf and loadable segment: > > Kernel: arch/arm/boot/Image is ready > BFD: ../../../build/cont0/linux/kernel-2.6.34/vmlinux: warning: Empty > loadable segment detected, is this intentional ? > > Done... > > scons: *** No SConstruct file found. > File "/usr/lib/scons/SCons/Script/Main.py", line 834, in _main > /home/khoa/workspace/codezero/codezero-toolkit/codezero-toolkit-v0.4/build/cont0/container.S: > Assembler messages: > /home/khoa/workspace/codezero/codezero-toolkit/codezero-toolkit-v0.4/build/cont0/container.S:8: > Error: file not found: > /home/khoa/workspace/codezero/codezero-toolkit/codezero-toolkit-v0.4/build/cont0/linux/atags/atags.elf > > Please help me to overcome them! Hi Pham, You seem to be using toolkit for compiling virtual linux. This is not supported. Toolkit is for baremetal application execution only. -- Regards, Amit Mahajan _______________________________________________ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org _______________________________________________ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org