[okl4-developer] Build arm926ejs machine error
Geoffrey Lee
glee at ok-labs.com
Fri Jul 11 15:19:02 EST 2008
On Fri, Jul 11, 2008 at 12:16:38PM +0800, Sean wrote:
> Dear
>
> I use the OKL4 2.1 version.
> And I create a new machine use arm926ejs CPU. Below is the content of
> machine.py
Hi Sean
>
> =========================================
> 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
There are some issues with the ARM926EJ-S CPU files are documented
in the mailing list archives:
https://wiki.ok-labs.com/forum?query=arm926ejs
They should give you a head start on how to fix this and
give you a jumpstart on porting your platform to OKL4.
-gl
>
> ==========================================================
> [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
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
--
More information about the Developer
mailing list