[Developer] About support of the arm926ej-s
Tomohiro Kitamura
kitamura at knowledgebeans.co.jp
Fri Apr 27 20:12:39 EST 2007
Hi Carl
Thank you for your reply.
I understood my mistake and tried to execute correct machine option.
./tools/build.py machine=vast926e_x1 project=iguana wombat=true
But, build didn't work well.
At first I can't find serial_driver "l4_kdb".
I corrected this. from "l4_kdb" to "drv_l4_kdb".
I think that it is not important problem.
Still, I could't make image for compile error.
According to my investigation gcc can't find "vast" platform in
"./pistachio/platform/" .
Does that mean I make "vast" platform myself to refer "pxa"?
//// compile error message
////////////////////////////////////////////////////////////////////////////////////////////////
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:
Tomohiro
Carl van Schaik wrote:
> Hi Tomohiro,
>
> Ok, I think you misunderstand the machines.py file. It is a
> hierarchical machine configuration file. Only leaf nodes are valid
> machine targets. This is indicated by a class setting "virtual = true".
>
> eg:
>
> class Machine:
> virtual = True # this is a virtual level (ie not a target)
> ...
>
> class arm(Machine): # arm inherits Machine
> some arm generic config
> ...
>
> class arm926(arm): # arm926 inherits arm
> some arm926 specifc config
> ...
>
> class myboard(arm926): #versatile inherits arm926
> virtual = False # ie a real target
> versatile config
>
>
> so you can do ./tools/build.py machine=myboard ....
> but you can't do ./tools/build.py machine=arm
>
> regards,
> Carl
>
> Tomohiro Kitamura wrote:
>> 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.
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>
>>
>
>
More information about the Developer
mailing list