[okl4-developer] Build arm926ejs machine error

Sean sean0920 at gmail.com
Fri Jul 11 14:16:38 EST 2008


Dear

I use the OKL4 2.1 version.
And I create a new machine use arm926ejs CPU. Below is the content of
machine.py

=========================================
class dmxx(arm926ejs):
    platform = "davinci"
    platform_dir = "davinci"
    memory = arm926ejs.memory.copy()

class new(dm6446):
    virtual = False
    subplatform = "new("
    memory = new(.memory.copy()
    memory['physical'] = [Region(0x80000000L, 0x8FFFFFFFL)]
    cpp_defines = new(.cpp_defines + [("SERIAL_FFUART", 1)]
=========================================

I got the error during building progress, the message is below

==========================================================
[CXX ] build/pistachio/l4kernel/object/src/asid.o
In file included from build/pistachio/include/kernel/arch/cache.h:67,
                 from build/pistachio/include/kernel/cache.h:139,
                 from build/pistachio/include/kernel/arch/ver/ptab.h:91,
                 from build/pistachio/include/kernel/arch/ver/pgent.h:93,
                 from build/pistachio/include/kernel/arch/pgent.h:70,
                 from build/pistachio/include/kernel/space.h:98,
                 from pistachio/src/asid.cc:62:
build/pistachio/include/kernel/cpu/cache.h: In static member function
`static void arm_cache::cache_flush_i()':
build/pistachio/include/kernel/cpu/cache.h:149: error: expected `)' before
"_"
build/pistachio/include/kernel/cpu/cache.h:147: warning: unused variable
'zero'
build/pistachio/include/kernel/cpu/cache.h: In static member function
`static void arm_cache::cache_flush_ent(void*, word_t)':
build/pistachio/include/kernel/cpu/cache.h:187: error: expected `)' before
"_"
build/pistachio/include/kernel/cpu/cache.h:184: warning: unused variable
'size'
build/pistachio/include/kernel/cpu/cache.h: In static member function
`static void arm_cache::cache_clean_invalidate_dlines(void*, word_t)':
build/pistachio/include/kernel/cpu/cache.h:211: error: expected `)' before
"_"
build/pistachio/include/kernel/cpu/cache.h: In static member function
`static void arm_cache::cache_clean_dlines(void*, word_t)':
build/pistachio/include/kernel/cpu/cache.h:233: error: expected `)' before
"_"
build/pistachio/include/kernel/cpu/cache.h: In static member function
`static void arm_cache::cache_invalidate_dlines(void*, word_t)':
...
==========================================================

It seems to be the question about the cache source code of ARM926ejs.

But in OKL4 1.5.2 I can compile the ARM926ejs cpu machine successful , and
the cache.h code of ARM926ejs in OKL4 1.5.2 is the same as OKL4 2.1.

Can anyone give me some suggestion?

Thanks a lot!!

Best Regards,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080711/1766aa94/attachment.htm 


More information about the Developer mailing list