![]() ![]() |
Jan 12 2008, 10:08 AM
Post
#61
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
It would be really great if someone can give some input/suggsetions regarding this. Can the pre-built Android binaries run on ARMv6 compatible machines? How do we move forward and get the framework properly working on our custom hardware? Warm Regards, Anil i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices... EDITED: just found that while googling: http://benno.id.au/blog/2007/11/21/android-neo1973 |
|
|
|
Jan 12 2008, 12:47 PM
Post
#62
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices... EDITED: just found that while googling: http://benno.id.au/blog/2007/11/21/android-neo1973 hmm, very interesting. I concur with the conclusion - google are unlikely to release sufficient source to android's OS to allow it to be recompiled for any processor. Possibly slightly interesting point of history. When Arm first release their processors with the thumb instruction set, my employer won a contract to do some testing on it to take a bunch of example programs and verify they worked and compare execution speeds and code sizes etc. |
|
|
|
Jan 12 2008, 04:39 PM
Post
#63
|
|
|
Group: Members Posts: 45 Joined: 30-December 07 From: Japan Member No.: 21,136 |
hmm, very interesting. I concur with the conclusion - google are unlikely to release sufficient source to android's OS to allow it to be recompiled for any processor. I'm looking forward to hte source codes of /init and qwerty.kcm.bin. The /init source will explain where setprop/getprop saves runtime parameter. The qwerty.kcm may be only a filter module but without source code we don't know how to customise for Zaurus. By the way, regarding Anil's ARM6 porting, I guess EABI support is required. |
|
|
|
Jan 13 2008, 03:17 AM
Post
#64
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
I'm trying to get this thing to work on my C1000, but this is giving me some headaches. I did some traces to find out what is happening, and I get following socket error during the start of runtime:
CODE socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused) close(3) = 0 On the working SL-C3100 version this looks like: CODE socket(PF_FILE, SOCK_STREAM, 0) = 4 connect(4, {sa_family=AF_FILE, path=@property_service}, 19) = 0 recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\200\", 4}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {5}}, msg_flags=0}, 0) = 4 mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 5, 0) = 0x40000000 close(5) = 0 close(4) = 0 Any ideas what the reason could be? |
|
|
|
Jan 13 2008, 04:00 AM
Post
#65
|
|
|
Group: Members Posts: 3 Joined: 13-January 08 Member No.: 21,197 |
Hi
I'm hoping to get this working on a C1000 but unfortunately my knowledge of Linux is limited. It would be great if you could share in steps how to do it once you manage to get it working. |
|
|
|
Jan 13 2008, 12:28 PM
Post
#66
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
I'm trying to get this thing to work on my C1000, but this is giving me some headaches. I did some traces to find out what is happening, and I get following socket error during the start of runtime: CODE socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused) close(3) = 0 On the working SL-C3100 version this looks like: CODE socket(PF_FILE, SOCK_STREAM, 0) = 4 connect(4, {sa_family=AF_FILE, path=@property_service}, 19) = 0 recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\200\", 4}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {5}}, msg_flags=0}, 0) = 4 mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 5, 0) = 0x40000000 close(5) = 0 close(4) = 0 Any ideas what the reason could be? I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched. QUOTE * if you have jffs2 for / patch /init * modify with hexedit : "/system_property" -> "/tmp/sy_property" * NOTE: jffs2 does not support memory mapped file I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated. |
|
|
|
Jan 13 2008, 01:39 PM
Post
#67
|
|
|
Group: Members Posts: 6 Joined: 27-December 04 Member No.: 6,029 |
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched. QUOTE * if you have jffs2 for / patch /init * modify with hexedit : "/system_property" -> "/tmp/sy_property" * NOTE: jffs2 does not support memory mapped file I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated. Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part. |
|
|
|
Jan 13 2008, 05:09 PM
Post
#68
|
|
|
Group: Members Posts: 104 Joined: 27-May 04 From: State College, Pa. Member No.: 3,471 |
Alright, maybe I'm an idiot, but can someone give me a step-by-step of what I need to type to get the android stuff extracted the right way?
So far, I have a clean install of Angstrom on my C-860 and the android-root.tar.gz on my CF card. What do I do from here? |
|
|
|
Jan 13 2008, 07:20 PM
Post
#69
|
|
|
Group: Members Posts: 45 Joined: 30-December 07 From: Japan Member No.: 21,136 |
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched. QUOTE * if you have jffs2 for / patch /init * modify with hexedit : "/system_property" -> "/tmp/sy_property" * NOTE: jffs2 does not support memory mapped file I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated. Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part. We want the source code of init! I was lucky to have C-3000, which is equipped with versatile ATA HDD. For the NAND model, yaffs2 might need to be ported. Cortez, what happens if you go back to run Xzygote, dbus-daemon, runtime instead of init? |
|
|
|
Jan 13 2008, 09:07 PM
Post
#70
|
|
|
Group: Members Posts: 2 Joined: 12-January 08 Member No.: 21,191 |
It would be really great if someone can give some input/suggsetions regarding this. Can the pre-built Android binaries run on ARMv6 compatible machines? How do we move forward and get the framework properly working on our custom hardware? Warm Regards, Anil i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices... EDITED: just found that while googling: http://benno.id.au/blog/2007/11/21/android-neo1973 Thanks a lot for this input Does that mean the ARMv6 machines are not backward compatible with ARMv5 instructions? |
|
|
|
Jan 13 2008, 10:57 PM
Post
#71
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched. QUOTE * if you have jffs2 for / patch /init * modify with hexedit : "/system_property" -> "/tmp/sy_property" * NOTE: jffs2 does not support memory mapped file I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated. Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part. We want the source code of init! I was lucky to have C-3000, which is equipped with versatile ATA HDD. For the NAND model, yaffs2 might need to be ported. Cortez, what happens if you go back to run Xzygote, dbus-daemon, runtime instead of init? Running init segfaults after reading the /etc/init.d file. Running zygote, dbus-daemon and runtime instead generates the timeouts. After a long time it displays ++post-zygote, but the timeouts prevent it from continuing I guess. |
|
|
|
Jan 14 2008, 12:18 AM
Post
#72
|
|
|
Group: Members Posts: 126 Joined: 4-May 05 From: Lynnwood, WA, US Member No.: 7,070 |
When I had it working on my C1000 zaurus I was running it off of an ext3 formatted USB stick.
|
|
|
|
Jan 14 2008, 05:19 AM
Post
#73
|
|
|
Group: Members Posts: 45 Joined: 30-December 07 From: Japan Member No.: 21,136 |
Help Wanted!
I tried an applet called MusicDroid which can be downloaded from here. http://www.helloandroid.com/node/166 It is an MP3 player which can play MP3 files on SD card. http://www.helloandroid.com/node/134 It's an interresting applet to have, isn't it? But it didn't work on my Android Zaurus. If you have your Androided Zaurus ready, please let me know how it works on your Z. Quick instruction for test. 1) Download MusicDroid.zip 2) Unzip it and copy bin/MusicDroid.apk to you android-root/data/app. 3) Load your favorite MP3 files on to an SD card. 4) Boot Android up and click MusicDroid in app folder. 5) See what happens. o Are MP3 files enumelated correctly? o Can you hear MP3 file played back? My case, MP3 files are not listed. Neither I can listen to any sound. I posted an article to my blog on this issue. Two more issues: sdcard and sound http://androidzaurus.seesaa.net/article/78452267.html Thanks, |
|
|
|
Jan 14 2008, 07:56 AM
Post
#74
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
|
|
|
|
Jan 14 2008, 11:32 AM
Post
#75
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Pfew, just to let you all know. I finally did it, Android is working on my SL-C1000. I'll post more info on my blog shortly, including downloads and installation instructions. After this I think it will be a piece of cake to set things up on the C7x0 and C860 series. More on that later.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 01:38 PM |