[okl4-developer] OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Guanghui, Cheng cheng.guanghui.ml at gmail.com
Sun Mar 15 13:45:56 EST 2009


On Saturday 14 March 2009 04:32:37 pm Nicholas FitzRoy-Dale wrote:
> Hello OKL4 developers,
>
> The ERTOS group is pleased to announce the release OKL4 ports to two
> Android-related platforms: the HTC Dream, and the Android emulator.
> Instructions and download links are here:
>
> https://www.ertos.nicta.com.au/software/okl4htcdream/
>
> Feedback on these ports is appreciated.
>
> Nicholas FitzRoy-Dale
	Thanks for your post first.
	It seems there is an error in this tarball when i compile okl4 for androidsim 
as following:
platform/goldfish/pistachio/src/interrupt.c:197: error: conflicting types 
for 'soc_ack_interrupt'
build/pistachio/include/soc/soc.h:354: error: previous declaration 
of 'soc_ack_interrupt' was here
scons: *** 
[build/pistachio/object/libs_platform/platform/goldfish/pistachio/src/interrupt.o] 
Error 1
scons: building terminated because of errors
	In my machine i have fixed this error.
	
	The second problem is about cross-compiler. Before i always use the 
cross-compiler arm-none-linux-gnueabi-gcc and arm-linux-gcc suggested in the 
document in the official website. But in this tarball it seems to use 
arm-elf-eabi-gcc. Something is changed?

	The third question is about the template when porting. I read your code and 
find the template you used is the platform "pxa". But actually the templte i 
used is the platform "versatile". I thought versatile and goldfish have the 
same CPU type "arm926ejs".  I think that is the mistake when i ported. Can 
you explain why you choose the platform "pxa" not "versatile". 
	Thanks a lot.
												Cheng Guanghui



More information about the Developer mailing list