[okl4-developer] New to OKL4
Yeonju
xelis at hufs.ac.kr
Thu Dec 4 18:21:02 EST 2008
Hi :)
I download latest release (3.0), and check it. l4test is not distributed
with latest release.
I also found similar case post "l4test not found" in this forum.
> ./tools/build.py machine=ia32_pc99 project=iguana
> ...
> sh: arm-linux-g++: not found
> scons: *** [build/pistachio/l4kernel/object/src/asid.o] Error 127
> scons: building terminated because of errors.
I think you don't install arm-linux-g++.
For building, you need arm-linux-g++ tool chain.
You can download tool chain: http://wiki.ok-labs.com/Release/3.0
Regards,
Gavin Chow wrote:
>
> Hi Yeonju,
>
> Thanks for the quick reply!
>
> You're right, I don't have Python 2.4 and that's causing the error. I've
> installed Python 2.4 and symlinked /usr/bin/python from Python 2.5 to
> Python
> 2.4.
>
> After that, I tried the build script and encountered the following:
>
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0$ ./tools/build.py
> machine=ia32_pc99 project=l4test
> scons: Reading SConscript files ...
> /home/gavin/Desktop/OKL4/okl4_3.0/tools/scons.py:330 l4test is not a
> valid
> project
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0$ ls
> arch cells ctest cust drivers examples iguana kbench ktest libs
> nanokernel nanotest pistachio platform projects sdk soc-sdk tools
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0$ cd projects
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0/projects$ ls
> ctest examples iguana kbench ktest linux ntest sdk soc-sdk
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0/projects$ ./tools/build.py
> machine=ia32_pc99 project=iguana
> bash: ./tools/build.py: No such file or directory
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0/projects$ cd ..
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0$ ./tools/build.py
> machine=ia32_pc99 project=iguana
> scons: Reading SConscript files ...
> /home/gavin/Desktop/OKL4/okl4_3.0/tools/kenge.py:141 'ia32_pc99' is not a
> valid machine. Must be one of: ['gta01', 'gta01_xip', 'gumstix',
> 'ipaq_h3800', 'kzm_arm11', 'pleb', 'versatile', 'versatile_uboot']
> gavin at okl4machine:~/Desktop/OKL4/okl4_3.0$ ./tools/build.py
> machine=gumstix
> project=iguana
> scons: Reading SConscript files ...
> test_device
> skip
> pxa250_timer
> uart_8250
> pxa250_dma
> pxa250_rtc
> pxa250_gpio
> pxa250_cs
> kirq_device
> skip
> Unable to find package: drivers/pxa250_dma
> Unable to find package: libs/vdma
> Unable to find package: drivers/pxa250_gpio
> Unable to find package: libs/vgpio
> Unable to find package: drivers/pxa250_cs
> Unable to find package: libs/vcs
> SERIAL_DRIVER is uart_8250
> Unable to find package: iguana/vdma
> Unable to find package: iguana/vgpio
> Unable to find package: iguana/vcs
> scons: done reading SConscript files.
> scons: Building targets ...
> [INST] build/pistachio/include/kernel/macros.h
> Copy("build/pistachio/object/pistachio/include/arch/pgent.h",
> "arch/arm/pistachio/include/pgent.h")
> Copy("build/pistachio/object/pistachio/include/arch/space.h",
> "arch/arm/pistachio/include/space.h")
> Copy("build/pistachio/object/pistachio/include/arch/ktcb.h",
> "arch/arm/pistachio/include/ktcb.h")
> Copy("build/pistachio/object/pistachio/include/arch/tcb.h",
> "arch/arm/pistachio/include/tcb.h")
> [INST] build/pistachio/include/atomic_ops/atomic_ops.h
> Copy("build/pistachio/object/pistachio/include/arch/config.h",
> "arch/arm/pistachio/include/config.h")
> [INST] build/pistachio/include/kernel/config.h
> [INST] build/pistachio/include/kernel/types.h
> Copy("build/pistachio/object/pistachio/include/arch/globals.h",
> "arch/arm/pistachio/include/globals.h")
> [INST] build/pistachio/include/l4/config.h
> Copy("build/pistachio/object/pistachio/include/arch/debug.h",
> "arch/arm/pistachio/include/debug.h")
> [INST] build/pistachio/include/kernel/debug.h
> [INST] build/pistachio/include/l4/map_types.h
> Copy("build/pistachio/object/pistachio/include/arch/phys_segment.h",
> "arch/arm/pistachio/include/phys_segment.h")
> Copy("build/pistachio/object/pistachio/include/arch/profile.h",
> "arch/arm/pistachio/include/profile.h")
> Copy("build/pistachio/object/pistachio/include/arch/resources.h",
> "arch/arm/pistachio/include/resources.h")
> [INST] build/pistachio/include/kernel/bitmap.h
> [INST] build/pistachio/include/kernel/generic/lib.h
> [INST] build/pistachio/include/l4/arch/vregs.h
> Copy("build/pistachio/object/pistachio/include/arch/cache.h",
> "arch/arm/pistachio/include/cache.h")
> [INST] build/pistachio/include/kernel/cache.h
> [INST] build/pistachio/include/compat/c.h
> [INST] build/pistachio/include/l4/macros.h
> Copy("build/pistachio/object/pistachio/include/arch/hwspace.h",
> "arch/arm/pistachio/include/hwspace.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/pgent.h",
> "arch/arm/pistachio/v5/include/pgent.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/space.h",
> "arch/arm/pistachio/v5/include/space.h")
> Copy("build/pistachio/object/pistachio/include/arch/exception.h",
> "arch/arm/pistachio/include/exception.h")
> Copy("build/pistachio/object/pistachio/include/arch/thread.h",
> "arch/arm/pistachio/include/thread.h")
> Copy("build/pistachio/object/pistachio/include/arch/asm_prototypes.h",
> "arch/arm/pistachio/include/asm_prototypes.h")
> Copy("build/pistachio/object/pistachio/include/arch/resource_functions.h",
> "arch/arm/pistachio/include/resource_functions.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/tcb.h",
> "arch/arm/pistachio/v5/include/tcb.h")
> Copy("build/pistachio/object/pistachio/include/cpu/cache.h",
> "arch/arm/pistachio/cpu/xscale/include/cache.h")
> Copy("build/pistachio/object/pistachio/include/cpu/syscon.h",
> "arch/arm/pistachio/cpu/xscale/include/syscon.h")
> [INST] build/pistachio/include/kernel/arch/asm.h
> [INST] build/pistachio/include/kernel/arch/continuation.h
> [INST] build/pistachio/include/atomic_ops/arch/atomic_ops.h
> [INST] build/pistachio/include/l4/types.h
> Copy("build/pistachio/object/pistachio/include/arch/page.h",
> "arch/arm/pistachio/include/page.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/config.h",
> "arch/arm/pistachio/v5/include/config.h")
> [INST] build/pistachio/include/kernel/arch/config.h
> [INST] build/pistachio/include/l4/arch/config.h
> [INST] build/pistachio/include/kernel/arch/types.h
> Copy("build/pistachio/object/pistachio/include/kdb/macro_set.h",
> "pistachio/kdb/include/macro_set.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/phys_segment.h",
> "arch/arm/pistachio/v5/include/phys_segment.h")
> Copy("build/pistachio/object/pistachio/include/arch/syscalls.h",
> "arch/arm/pistachio/include/syscalls.h")
> [INST] build/pistachio/include/kernel/errors.h
> [INST] build/pistachio/include/soc/soc.h
> [INST] build/pistachio/include/kernel/arch/special.h
> [INST] build/pistachio/include/l4/cust/utcb.h
> [INST] build/pistachio/include/l4/cust/vregs.h
> [INST] build/pistachio/include/soc/arch/soc.h
> [INST] build/pistachio/include/compat/toolchain/ads_c.h
> [INST] build/pistachio/include/compat/toolchain/flint_c.h
> [INST] build/pistachio/include/compat/toolchain/gnu_c.h
> [INST] build/pistachio/include/compat/toolchain/rvct_c.h
> [INST] build/pistachio/include/compat/toolchain/rvct_gnu_c.h
> Copy("build/pistachio/object/pistachio/include/arch/fass.h",
> "arch/arm/pistachio/include/fass.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/ptab.h",
> "arch/arm/pistachio/v5/include/ptab.h")
> [INST] build/pistachio/include/l4/arch/ver/space_resources.h
> Copy("build/pistachio/object/pistachio/include/arch/fass_inline.h",
> "arch/arm/pistachio/include/fass_inline.h")
> [INST] build/pistachio/include/kernel/arch/asm_gnu.h
> [INST] build/pistachio/include/kernel/arch/asm_rvct.h
> [INST] build/pistachio/include/atomic_ops/unsafe_generic.h
> [INST] build/pistachio/include/l4/arch/specials.h
> [INST] build/pistachio/include/l4/arch/types.h
> [INST] build/pistachio/include/l4/arch/ver/page.h
> Copy("build/pistachio/object/pistachio/include/cpu/phys_segment.h",
> "arch/arm/pistachio/cpu/xscale/include/phys_segment.h")
> Copy("build/pistachio/object/pistachio/include/arch/ver/utcb.h",
> "arch/arm/pistachio/v5/include/utcb.h")
> [INST] build/pistachio/include/l4/arch/syscalls_asm.h
> [INST] build/pistachio/include/kernel/kdb/console.h
> [INST] build/pistachio/include/soc/soc_types.h
> [INST] build/pistachio/include/l4/arch/cache_attribs.h
> [INST] build/pistachio/include/l4/arch/ver/cache_attribs.h
> [INST] build/pistachio/include/l4/cpu/cache_attribs.h
> [CXX ] build/pistachio/l4kernel/object/src/asid.o
> sh: arm-linux-g++: not found
> scons: *** [build/pistachio/l4kernel/object/src/asid.o] Error 127
> scons: building terminated because of errors.
> Is installing OKL4 as straightforward as just running the build script?
>
> Please advise.
>
> Thanks in advance!
>
> Cheers!
> Gavin
>
> On Thu, Dec 4, 2008 at 1:56 PM, Yeonju <xelis at hufs.ac.kr> wrote:
>
>>
>> Hi~
>>
>> I think...this message(blew) means python2.4 is not installed.
>>
>> $./tools/build.py machine=ia32_pc99 project=l4test
>> /usr/bin/env: python2.4: No such file or directory
>>
>> Please check it using "python -V" command in your Ubuntu terminal.
>> If python is not installed, you must install python 2.4, not 2.5 or 2.6.
>> (In okl4 2.1, it needs python 2.4. But I'm not sure okl4 3 also needs
>> same
>> python version.)
>>
>> Regards,
>>
>>
>>
>> Gavin Chow wrote:
>> >
>> > Hi All,
>> >
>> > Good day!
>> >
>> > I became a fan of OKL4 after reading about its microkernel approach and
>> > how
>> > it is built with security in mind.
>> >
>> > I've downloaded the latest release from
>> > http://wiki.ok-labs.com/Release/3.0 and
>> > want to try it out in my environment.
>> >
>> > Correct me if I'm wrong, but from what I understand, OKL4 is like a
>> > virtual
>> > machine host, and OK Linux is the virtual machine guest. If that is the
>> > case, do I setup OKL4 directly on a PC? Or should I install Linux on
>> the
>> > PC
>> > first, and then install OKL4 followed by OK Linux on top? I've tried
>> the
>> > second approach using Ubuntu 8.04 but I could not install OKL4 after
>> > following these steps:
>> >
>> > 1. Install Ubuntu 8.04 and updated with latest patches
>> > 2. Downloaded
>> > http://wiki.ok-labs.com/downloads/release-3.0/okl4_3.0.tar.gz and
>> > followed instructions from
>> http://wiki.ok-labs.com/BuildingAndSimulating
>> > by
>> > running:
>> >
>> > $./tools/build.py machine=ia32_pc99 project=l4test
>> > /usr/bin/env: python2.4: No such file or directory
>> >
>> > And this is where I got stuck. I feel that I may have missed out on a
>> > whole
>> > lot of stuff before I can actually run build.py. I'm new to embedded
>> > development and I would like to learn more in this area.
>> >
>> > I'd greatly appreciate anyone's feedback.
>> >
>> > Thanks in advance!
>> >
>> > Cheers!
>> > Gavin
>> >
>> > _______________________________________________
>> > Developer mailing list
>> > Developer at okl4.org
>> > https://lists.okl4.org/mailman/listinfo/developer
>> >
>> >
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/New-to-OKL4-tp1612308p1612358.html
>> Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
>
--
View this message in context: http://n2.nabble.com/New-to-OKL4-tp1612308p1612561.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
More information about the Developer
mailing list