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&#39;t find out why. the following are the logs <br>( i try this on release1.5.2 &amp; 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 = &quot;imx31&quot;<br>    memory = arm926ejs.memory.copy ()<br>
    memory[&#39;physical&#39;] = [(0x80000000L, 0x8FFFFFFFL)]<br>    #memory[&#39;rom&#39;] = [(0x87800000L, 0x88000000L)]<br>    timer_driver = &quot;imx31_timer&quot;<br>    #serial_driver = &quot;l4_kdb&quot; <br>    serial_driver = &quot;imx31_serial&quot;
<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>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from arch/arm/pistachio/include/arch/config.h:377,
<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from pistachio/include/config.h:146,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from pistachio/include/l4.h:70,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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()&#39;:
<br><strong>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:99: error: expected `)&#39; before &quot;_&quot;</strong> <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cpu.h:97: warning: unused variable &#39;zero&#39;<br>
In file included from arch/arm/pistachio/include/arch/cache.h:67,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from pistachio/include/cache.h:139, <br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from arch/arm/pistachio/v5/include/arch/ver/ptab.h:91,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from arch/arm/pistachio/v5/include/arch/ver/pgent.h:93,
<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from arch/arm/pistachio/include/arch/pgent.h:70, <br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from pistachio/include/space.h:100,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from pistachio/include/tcb.h:97,<br>        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)&#39;: <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 `]&#39; 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 `(&#39; before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `)&#39; before &#39;]&#39; token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:192: error: expected `)&#39; before &#39;]&#39; 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)&#39;:
<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 `]&#39; 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 `(&#39; before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `)&#39; before &#39;]&#39; token<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:214: error: expected `)&#39; before &#39;]&#39; 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)&#39;: <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 `]&#39; 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 `(&#39; before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `)&#39; before &#39;]&#39; token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:236: error: expected `)&#39; before &#39;]&#39; 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)&#39;:
<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 `]&#39; 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 `(&#39; before numeric constant
<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `)&#39; before &#39;]&#39; token<br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:258: error: expected `)&#39; before &#39;]&#39; 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)&#39;: <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 `]&#39; 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 `(&#39; before numeric constant <br>arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `)&#39; before &#39;]&#39; token<br>
arch/arm/pistachio/cpu/arm926ejs/include/cpu/cache.h:278: error: expected `)&#39; before &#39;]&#39; 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 &lt;<a href="mailto:carl@ok-labs.com">carl@ok-labs.com</a>&gt;:</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>&gt; Hi,<br>&gt;<br>&gt; does current release okl4 support ARM926ej-s core already?<br>&gt;<br>&gt; i plan to run okl4 on Ti Davinci chip which has one ARM926ej-s core<br>&gt; and one DSP inside.
<br>&gt;<br>&gt; if okl4 has support this core, which machine configuration in<br>&gt; machine.py i can refer to?<br>&gt; if not, will it need big effort to achieve this goal?<br>&gt; are there anyone has done this ?<br>&gt;
<br>&gt; thanks for any suggestions.<br>&gt;<br>&gt;<br>&gt; best regard,<br>&gt;<br>&gt; kashin lin<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Developer mailing list<br>&gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer">https://lists.okl4.org/mailman/listinfo/developer</a><br>
&gt;<br><br></blockquote></div><br>