[okl4-developer] error when porting
Gabi Voiculescu
b304_a at yahoo.com
Thu Mar 13 12:37:19 EST 2008
Hi guys.
I get an arm-linux-ld error and I'm stuck. I need to solve this quickly because I'm behind schedule. If you need more information please tell me.
I have included the output from the Linux box console and information on how I got at this stage.
In anticipation of you answer I have to say I used the proper tools (nicta arm-linux toolchain which is properly installed on my linux box, and python 2.4.x).
I also would like to ask if there is a driver than can give me console access once I finish the port (I currently want to use l4_kdb but don't know if it needs some additional work after I properly port console.cc)
Also I would like to ask you how I can get my hands on the l4test project (licensing conditions or whatever is required). I asked directly a couple of days ago and got no answer.
I began the port for my arm11 based board. I have modified in certain degree the following files so far:
platform/arm11/tools/machines.py
platform/arm11/pistachio/include/plat/cache.h
platform/arm11/pistachio/include/plat/console.h
platform/arm11/pistachio/include/plat/intctrl.h
platform/arm11/pistachio/include/plat/io.h
platform/arm11/pistachio/include/plat/offset.h
platform/arm11/pistachio/include/plat/timer.h
platform/arm11/pistachio/kdb/console.cc
platform/arm11/pistachio/kdb/reboot.cc
platform/arm11/pistachio/src/irq.cc
platform/arm11/pistachio/src/plat.cc
platform/arm11/pistachio/src/timer.cc
arch/arm/tools/machines.py //had a bug related to the platform name being "arm1176jzf" instead of the "arm1176jz" of the folder in arch/arm/pistachio/cpu/arm1176jz/
arch/arm/pistachio/cpu/arm1176jz/include/cpu/cache.h //removed the INC_PLAT and INC_CPU macros because they did not work and used <cpu/ > and <plat/ > instead.
fixed arch/arm/pistachio/cpu/arm1176jz/include/cpu/syscon.h //disabled VFP and TRUSTZONE support etc
edited arch/arm/pistachio/v6/src/traps.spp by adding a new CONFIG_PLAT_ define macro (or else it wasn't able to resolve IRQS which I previously defined in platform/arm11/pistachio/include/intctrl.h)
Now I get the following error and don't know how to fix it:
tools/build.py machine=arm11 project=iguana example=naming
...
[AR ] build/iguana/lib/librange_fl.a
[LIB ] build/iguana/lib/librange_fl.a
[CC ] build/iguana/ig_timer/object/src/main.o
[CC ] build/iguana/include/interfaces/timer_serverloop.o
[LINK] build/iguana/bin/ig_timer
arm-linux-ld: cannot find -limx31_timer
scons: *** [build/iguana/bin/ig_timer] Error 1
scons: building terminated because of errors.
This error changes to reflect the text in the timer_driver section of my class. Do you know how to fix it?
Incidentally I have this type of error when I try to build drivers_example with project=iguana.
class arm11(arm1176jzs):
virtual = False
platform = "arm11"
platform_dir = "arm11"
skyeye = "arm11.skyeye"
memory = arm1176jzs.memory.copy()
memory['physical'] = [(0x00008000L, 0x08000000L)]
timer_driver = "imx31_timer"
serial_driver = "l4_kdb"
run_methods = {"skyeye" : skyeye_sim}
default_method = "skyeye"
Thanks, and hope to hear from you soon,
Gabi Voiculescu
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080312/21a41149/attachment.htm
More information about the Developer
mailing list