[Developer] About support of the arm926ej-s

Tomohiro Kitamura kitamura at knowledgebeans.co.jp
Thu Apr 26 21:14:29 EST 2007


Hello Kenge-users

I am going to work Iguana and Wombat of okl4_release_1.4.1.1 in 
arm926ej-s device.
I downloaded package from "http://portal.ok-labs.com/".
So,I tried executing command to make image.
Then I used follow command.
 ./tools/build.py machine=arm926ejs project=iguana Wombat=true

But, arm926ejs was not accepted even if arm926ejs machine exist in 
machines.py.
So, I thought the reason build.py don't work is easy, I corrected it 
myself.
Then I was able to start building image.
But, The following errors occurred while I build image.

Still, would not arm926ejs be supported by okl4_release_1.4.1.1 ?
If it's not so, could you give me advice to correct these errors.


Tomohiro

///// build.py error 
//////////////////////////////////////////////////////////
-->I could correct it myself, but I don't have confidence that my fix is 
right.

kitamura at kitamura:~/ERTOS/okl4_release_1.4.1.1$ ./tools/build.py 
machine=arm926ejs project=iguana wombat=True
scons: Reading SConscript files ...
/home/kitamura/ERTOS/okl4_release_1.4.1.1/pistachio/SConscript:38 Error: 
class arm926ejs has no attribute 'platform'


//// build error messages 
/////////////////////////////////////////////////////
[INST] build/pistachio/include/compat/toolchain/ads/c.h
[INST] build/pistachio/include/compat/toolchain/flint/c.h
[INST] build/pistachio/include/compat/toolchain/gnu/c.h
[INST] build/pistachio/include/compat/toolchain/rvct/c.h
[INST] build/pistachio/include/compat/toolchain/rvct_gnu/c.h
[INST] build/pistachio/include/atomic_ops/arch/atomic_ops.h
[INST] build/pistachio/include/atomic_ops/unsafe_generic.h
[CXX ] build/pistachio/object/pistachio/src/space.o
In file included from pistachio/include/config.h:118,
                from pistachio/include/l4.h:42,
                from pistachio/src/space.cc:61:
pistachio/arch/arm/include/arch/config.h:354:24: plat/timer.h: No such 
file or directory
In file included from pistachio/arch/arm/include/arch/pgent.h:40,
                from pistachio/include/space.h:72,
                from pistachio/src/space.cc:65:
pistachio/arch/arm/include/arch/hwspace.h:39:26: plat/offsets.h: No such 
file or directory
In file included from pistachio/arch/arm/include/arch/cache.h:39,
                from pistachio/include/cache.h:111,
                from pistachio/arch/arm/v5/include/arch/ver/ptab.h:63,
                from pistachio/arch/arm/v5/include/arch/ver/pgent.h:65,
                from pistachio/arch/arm/include/arch/pgent.h:42,
                from pistachio/include/space.h:72,
                from pistachio/src/space.cc:65:
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:43:45: 
plat/cache.h: No such file or directory
In file included from pistachio/arch/arm/include/arch/cache.h:39,
                from pistachio/include/cache.h:111,
                from pistachio/arch/arm/v5/include/arch/ver/ptab.h:63,
                from pistachio/arch/arm/v5/include/arch/ver/pgent.h:65,
                from pistachio/arch/arm/include/arch/pgent.h:42,
                from pistachio/include/space.h:72,
                from pistachio/src/space.cc:65:
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:54: error: 
`CACHE_LINE_SIZE' was not declared in this scope
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_flush_ent(void*, word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:163: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:163: error: (Each 
undeclared identifier is reported only once for each function it appears 
in.)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_clean_invalidate_dlines(void*, 
word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:185: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_clean_dlines(void*, word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:207: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_invalidate_dlines(void*, word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:229: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_invalidate_ilines(void*, word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:249: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h: In static member 
function `static void arm_cache::cache_flush_range_attr(void*, word_t, 
word_t)':
pistachio/arch/arm/cpu/arm926ejs/include/cpu/cache.h:257: error: 
`CACHE_LINE_SIZE' undeclared (first use this function)
In file included from pistachio/include/schedule.h:65,
                from pistachio/src/space.cc:68:
                pistachio/arch/arm/include/arch/schedule.h: In function 
`u64_t get_timer_tick_length()':
                pistachio/arch/arm/include/arch/schedule.h:48: error: 
`TIMER_TICK_LENGTH' undeclared (first use this function)
                scons: *** 
[build/pistachio/object/pistachio/src/space.o] Error 1
                scons: building terminated because of errors.



More information about the Developer mailing list