Hi Carl,<br><br>after i modify the machine setting, i got some error when compiled it. (seems to be syntax errors) <br>but i can't find out why. the following are the logs <br>( i try this on release1.5.2 & arm-linux-gcc version
3.4.4 ):<br><br>my machine.py (is it right?)<br>----------------------------------------<br>class davinci(arm926ejs):<br> virtual = False<br> platform = "imx31"<br> memory = arm926ejs.memory.copy ()<br>
memory['physical'] = [(0x80000000L, 0x8FFFFFFFL)]<br> #memory['rom'] = [(0x87800000L, 0x88000000L)]<br> timer_driver = "imx31_timer"<br> #serial_driver = "l4_kdb" <br> serial_driver = "imx31_serial"
<br> drivers = [timer_driver, serial_driver]<br><br>compile error message<br>----------------------------------<br>./tools/build.py machine=davinci project=iguana example=naming simulate <br>scons: Reading SConscript files ...
<br>scons: done reading SConscript files.<br>scons: Building targets ...<br>[CXX ] build/pistachio/l4kernel/object/src/platform.o<br>In file included from platform/imx31/pistachio/include/plat/timer.h:93, <br> from arch/arm/pistachio/include/arch/config.h:377,
<br> from pistachio/include/config.h:146,<br> from pistachio/include/l4.h:70,<br> from pistachio/src/platform.cc:59: <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h: In static member function `static void arm_cpu::sleep()':
<br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:99: error: expected `)' before "_"</strong> <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:97: warning: unused variable 'zero'<br>
In file included from arch/arm/pistachio/include/arch/cache.h:67,<br> from pistachio/include/cache.h:139, <br> from arch/arm/pistachio/v5/include/arch/ver/ptab.h:91,<br> from arch/arm/pistachio/v5/include/arch/ver/pgent.h:93,
<br> from arch/arm/pistachio/include/arch/pgent.h:70, <br> from pistachio/include/space.h:100,<br> from pistachio/include/tcb.h:97,<br> from pistachio/src/platform.cc:62:
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member function `static void arm_cache::cache_flush_ent(void*, word_t)': <br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected identifier before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `]' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected string-literal before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `(' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `)' before ']' token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `)' before ']' token</strong> <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member function `static void arm_cache::cache_clean_invalidate_dlines(void*, word_t)':
<br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected identifier before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `]' before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected string-literal before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `(' before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `)' before ']' token<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `)' before ']' token</strong>
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member function `static void arm_cache::cache_clean_dlines(void*, word_t)': <br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected identifier before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `]' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected string-literal before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `(' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `)' before ']' token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `)' before ']' token</strong><br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member function `static void arm_cache::cache_invalidate_dlines(void*, word_t)':
<br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected identifier before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `]' before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected string-literal before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `(' before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `)' before ']' token<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `)' before ']' token</strong>
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h: In static member function `static void arm_cache::cache_invalidate_ilines(void*, word_t)': <br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected identifier before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `]' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected string-literal before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `(' before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `)' before ']' token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `)' before ']' token</strong> <br>scons: *** [build/pistachio/l4kernel/object/src/platform.o] Error 1<br>scons: building terminated because of errors.
<br><br>thanks for help<br><br><br>best,<br><br>kashin lin<br><br><br><div><span class="gmail_quote">2007/11/26, Carl van Schaik <<a href="mailto:carl@ok-labs.com">carl@ok-labs.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
OKL4 runs on arm926ejs, however none of the targets supported in the<br>public release have this cpu. You might want to copy one of the the<br>xscale of arm1136 platforms and change the cpu type to arm926ejs.<br><br>regards,
<br>Carl<br><br>kashin Lin wrote:<br>> Hi,<br>><br>> does current release okl4 support ARM926ej-s core already?<br>><br>> i plan to run okl4 on Ti Davinci chip which has one ARM926ej-s core<br>> and one DSP inside.
<br>><br>> if okl4 has support this core, which machine configuration in<br>> machine.py i can refer to?<br>> if not, will it need big effort to achieve this goal?<br>> are there anyone has done this ?<br>>
<br>> thanks for any suggestions.<br>><br>><br>> best regard,<br>><br>> kashin lin<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> Developer mailing list<br>> <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>> <a href="https://lists.okl4.org/mailman/listinfo/developer">https://lists.okl4.org/mailman/listinfo/developer</a><br>
><br><br></blockquote></div><br>