OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

9 messages Options
Embed this post
Permalink
Nicholas FitzRoy-Dale

OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink
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

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Guanghui, Cheng

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink
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

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Nicholas FitzRoy-Dale

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink

On 15/03/2009, at 1:45 PM, Guanghui, Cheng wrote:

> 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'

Thanks very much for pointing this out. I'll update the tarball  
shortly. I must have broken the emulator port while working on the  
Dream port.

> 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?

Your compiler should be fine. I had to compile my own toolchain  
because I use a Mac, and doing anything with GNU libc on a Mac is very  
painful. :-)

> 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".

You're right about the chip type. The goldfish machine description  
(platform/goldfish/tools/machines.py) uses the arm926ejs chip, so as  
long as your port does the same you should be fine. I just used pxa  
because when I was doing the port (which was a while ago) the pxa  
platform was a little more up-to-date and easier to read. None of the  
actual code from the PXA port gets used anywhere else, so machines.py  
should be the only important file.

Good luck!

Nicholas


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Guanghui, Cheng

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink
Hello:
        A small error in the qemu/skins/skin_argb.h of the android-emulator-ok.tar.gz
        92 #define   ARGB_SUM(x1,x2,x3)    x1 = _mm_add_si64(x2, x3)
        Should be:
        92 #define   ARGB_SUM(x1,x2,x3)    x1 = _mm_add_pi32(x2, x3)
        Otherwise, there are lots of assignment error in my ubuntu machine.

        Another question is about the image file, it seems that there are many kinds
of this file:
        image.elf, image.boot, image.sim, image.
        I really don't know what is the difference in these files.
        Thanks.
                                                                                                Cheng

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Nicholas FitzRoy-Dale

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink

On 16/03/2009, at 4:17 AM, Guanghui, Cheng wrote:
> Another question is about the image file, it seems that there are  
> many kinds
> of this file:
> image.elf, image.boot, image.sim, image.
> I really don't know what is the difference in these files.

I'm the wrong person to answer this, but this email explains things  
pretty well:

http://lists.okl4.org/pipermail/developer/2007-October/000367.html

Nicholas


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Alexander Valitov

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink
In reply to this post by Nicholas FitzRoy-Dale
Hi,

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.  
Could you please tell me:

1. Is it possible to run OKLinux on top of OKL4 HTC Dream port? Did you test it?
2. Can I get android software platform up and running on top of OKL4 port?

Regards,
  Alexander Valitov
Nicholas FitzRoy-Dale

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink

On 07/05/2009, at 10:49 PM, Alexander Valitov wrote:

>> The ERTOS group is pleased to announce the release OKL4 ports to two
>> Android-related platforms: the HTC Dream, and the Android emulator.
>
> Could you please tell me:
>
> 1. Is it possible to run OKLinux on top of OKL4 HTC Dream port? Did  
> you test
> it?
> 2. Can I get android software platform up and running on top of OKL4  
> port?

Hi Alexander,

We are interested in getting Android up and running on OKL4 (on top of  
Linux, or not) but this port doesn't yet support it.

Nicholas


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Alexander Valitov

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink
Hi Nicholas,

Nicholas FitzRoy-Dale wrote:
On 07/05/2009, at 10:49 PM, Alexander Valitov wrote:
>> The ERTOS group is pleased to announce the release OKL4 ports to two
>> Android-related platforms: the HTC Dream, and the Android emulator.
>
> Could you please tell me:
>
> 1. Is it possible to run OKLinux on top of OKL4 HTC Dream port? Did  
> you test
> it?
> 2. Can I get android software platform up and running on top of OKL4  
> port?

Hi Alexander,

We are interested in getting Android up and running on OKL4 (on top of  
Linux, or not) but this port doesn't yet support it.

Nicholas
Thanks for answer.
I've got two more questions:
1. From your answer It's not really clean for me does your port allows to run OKLinux.
2. Regarding "android on top of ADP1 port": Is your team currently working in this direction? Do you have schedule and any approximate date?

Regards, Alexander Valitov
Nicholas FitzRoy-Dale

Re: OKL4 3.0 for HTC Dream ("Google G1") and the Android emulator

Reply Threaded More More options
Print post
Permalink

Hi again Alexander,

On 08/05/2009, at 6:12 PM, Alexander Valitov wrote:

> Thanks for answer.
> I've got two more questions:
> 1. From your answer It's not really clean for me does your port  
> allows to
> run OKLinux.

It should do, but nobody has tried it, and it will probably require  
some fiddling. Let me know if you make any progress in this direction.

> 2. Regarding "android on top of ADP1 port": Is your team currently  
> working
> in this direction? Do you have schedule and any approximate date?

A student here is working on porting some of the Android  
infrastructure, but we don't have anything public yet -- we hope to be  
able to announce something soon, but unfortunately I can't give any  
guarantees regarding timing.

Nicholas


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer