[okl4-developer] About okl4 support for ARM926ej-s
kashin Lin
kashin08 at gmail.com
Tue Dec 4 04:54:49 EST 2007
Hi,
or who has successfully builded image for arm926ej-s can give me a sample
machine.py setting to try.
i still can't find out why the syntax error may occur.
thanks for any help~
best,
kashin lin
2007/11/27, kashin Lin <kashin08 at gmail.com>:
>
> Hi Carl,
>
> after i modify the machine setting, i got some error when compiled it.
> (seems to be syntax errors)
> but i can't find out why. the following are the logs
> ( i try this on release1.5.2 & arm-linux-gcc version 3.4.4 ):
>
> my machine.py (is it right?)
> ----------------------------------------
> class davinci(arm926ejs):
> virtual = False
> platform = "imx31"
> memory = arm926ejs.memory.copy ()
> memory['physical'] = [(0x80000000L, 0x8FFFFFFFL)]
> #memory['rom'] = [(0x87800000L, 0x88000000L)]
> timer_driver = "imx31_timer"
> #serial_driver = "l4_kdb"
> serial_driver = "imx31_serial"
> drivers = [timer_driver, serial_driver]
>
> compile error message
> ----------------------------------
> ./tools/build.py machine=davinci project=iguana example=naming simulate
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> [CXX ] build/pistachio/l4kernel/object/src/platform.o
> In file included from platform/imx31/pistachio/include/plat/timer.h:93,
> from arch/arm/pistachio/include/arch/config.h:377,
> from pistachio/include/config.h:146,
> from pistachio/include/l4.h:70,
> from pistachio/src/platform.cc:59:
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h: In static member
> function `static void arm_cpu::sleep()':
> *arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:99: error: expected
> `)' before "_" *
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:97: warning: unused
> variable 'zero'
> In file included from arch/arm/pistachio/include/arch/cache.h:67,
> from pistachio/include/cache.h:139,
> from arch/arm/pistachio/v5/include/arch/ver/ptab.h:91,
> from arch/arm/pistachio/v5/include/arch/ver/pgent.h:93,
> from arch/arm/pistachio/include/arch/pgent.h:70,
> from pistachio/include/space.h:100,
> from pistachio/include/tcb.h:97,
> from pistachio/src/platform.cc:62:
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member
> function `static void arm_cache::cache_flush_ent(void*, word_t)':
> *arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> identifier before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> `]' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> string-literal before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> `(' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected
> `)' before ']' token*
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member
> function `static void arm_cache::cache_clean_invalidate_dlines(void*,
> word_t)':
> *arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> identifier before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> `]' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> string-literal before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> `(' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected
> `)' before ']' token*
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member
> function `static void arm_cache::cache_clean_dlines(void*, word_t)':
> *arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> identifier before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> `]' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> string-literal before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> `(' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member
> function `static void arm_cache::cache_invalidate_dlines(void*, word_t)':
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> identifier before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> `]' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> string-literal before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> `(' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected
> `)' before ']' token*
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member
> function `static void arm_cache::cache_invalidate_ilines(void*, word_t)':
> *arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> identifier before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> `]' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> string-literal before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> `(' before numeric constant
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> `)' before ']' token
> arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected
> `)' before ']' token*
> scons: *** [build/pistachio/l4kernel/object/src/platform.o] Error 1
> scons: building terminated because of errors.
>
> thanks for help
>
>
> best,
>
> kashin lin
>
> 2007/11/26, Carl van Schaik < carl at ok-labs.com>:
> >
> > OKL4 runs on arm926ejs, however none of the targets supported in the
> > public release have this cpu. You might want to copy one of the the
> > xscale of arm1136 platforms and change the cpu type to arm926ejs.
> >
> > regards,
> > Carl
> >
> > kashin Lin wrote:
> > > Hi,
> > >
> > > does current release okl4 support ARM926ej-s core already?
> > >
> > > i plan to run okl4 on Ti Davinci chip which has one ARM926ej-s core
> > > and one DSP inside.
> > >
> > > if okl4 has support this core, which machine configuration in
> > > machine.py i can refer to?
> > > if not, will it need big effort to achieve this goal?
> > > are there anyone has done this ?
> > >
> > > thanks for any suggestions.
> > >
> > >
> > > best regard,
> > >
> > > kashin lin
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Developer mailing list
> > > Developer at okl4.org
> > > https://lists.okl4.org/mailman/listinfo/developer
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20071204/84a23365/attachment.htm
More information about the Developer
mailing list