Any idea where to get started with this? Obviously it's ok if most (all) of
the telephony features don't work...
--
Zach Hobbs
HelloAndroid.com
Android OS news, tutorials, downloads
--------------------------------------------------
From: "Zach Hobbs" <ho...@helloandroid.com>
Sent: Tuesday, October 21, 2008 2:10 PM
To: <android...@googlegroups.com>
Subject: [android-porting] Re: Android x86?
Be aware that the SIMULATOR target (where the system sorta builds a
single big linux app) is deprecated and has a lot of problems.
That said, it should be possible to get things running on x86. We've
had somebody in-house tinkering with an x86 native port but he's on
vacation this week, so I'm not sure what the state of that is.
Brian
I had completely bypassed the build environment (I usually do so on my first
pass through so I can better isolate build environment challenges from code
challenges and also get a feel for how the codebase is organized). If it, in
fact, isn't already setup for this then other people may find that useful to
dig into things faster, so here is that script. I believe the only thing
between this and linking is having the native libcore parts compiled in
(which had enough random dependencies that I figured I'd bail before I ran
into 32-bit compatibility hell ;P, example: libcrypto).
-J
#!/bin/bash
set -e
libdex=(dalvik/libdex/*.c)
liblog=(system/core/liblog/logd_write.c)
libcutils=(system/core/libcutils/{ashmem-host,atomic,dlmalloc_stubs,mspace}.c)
bionic=(bionic/libc/bionic/dlmalloc.c)
vm=(dalvik/vm/{.,alloc,analysis,arch/generic,interp,jdwp,mterp,oo,reflect,test}/*.c)
vm[${#vm[@]}]=dalvik/vm/mterp/out/InterpC-desktop.c
libnativehelper=(dalvik/libnativehelper/*.c)
libcore=($(find dalvik/libcore -name '*.c'))
include=(-Idalvik -Iframeworks/base/include -Isystem/core/include -Iexternal/safe-iop/include
-Idalvik/libnativehelper/include/nativehelper -Idalvik/vm -Iexternal/icu4c/common
-Iexternal/icu4c/i18n)
define[${#define[@]}]=-include
gcc='gcc -m32'
define[${#define[@]}]=system/core/include/arch/linux-x86/AndroidConfig.h
define[${#define[@]}]=dalvik/vm/mterp/out/InterpAsm-desktop.S
${gcc} -o dalvikvm dalvik/dalvikvm/*.c "${libcutils[@]}"
"${libnativehelper[@]}" "${bionic[@]}" "${libdex[@]}" "${vm[@]}"
"${liblog[@]}" "${include[@]}" "${define[@]}" -lm -pthread -ldl -lz -lffi
${gcc} -o dexdump dalvik/dexdump/*.c "${liblog[@]}" "${libdex[@]}"
"${include[@]}" "${define[@]}" -lz
-J
--------------------------------------------------
From: "Brian Swetland" <swet...@google.com>
Sent: Tuesday, October 21, 2008 5:22 PM
To: <android...@googlegroups.com>
Subject: [android-porting] Re: Android x86?
>
Cheers,
Filipe
Cheers,
Filipe
Could you help us understand what is required to get, for instance, the
home app running on
The engineer responsible for this project has been out of the office for
a couple weeks and is travelling this week. He's working with our team
to get his patches into the open source tree, but I think we're still a
couple weeks away from completion there. We know people are excited
about building android for x86 targets and will try to get this code
cleaned up and submitted soon.
Brian
Why is flash storage necessary? We were able to run Android over NFS,
and others have used ext2 or ext3. So there should be no direct
requirement for using a flash device specific filesystem like yaffs.
As far as I know the only specific requirement is that read-write mmap
has to be possible.
Are there other dependencies on flash storage?
Best Regards,
Gergely
On Tue, Nov 11, 2008 at 10:28 AM, David Turner <di...@android.com> wrote:
> Just to make it clear, the x86 Android port, at that point, requires running
> an Android kernel on a x86 device with flash storage.
> This is very different from running Dalvik under Windows or a pre-existing
> Linux installation (though with time these things
> will be possible to)
>
> On Sun, Nov 9, 2008 at 10:01 AM, DYChen <dong-yu...@intel.com> wrote:
[...]
Check this:
http://source.android.com/roadmap/cupcake
after boot from my USB stick, I saw
init: Unable to open persisent property directory /data/property
errno: 2
and
I/installer( 1865): Waiting for device: /dev/block/sdb2
than some USB information, and shell prompt
my internal SSD was not touched at all, that is, it didn't start to
install
Can you add rootdelay option to kernel cmdline? like, rootdelay=8?
First of all let me thank Dima, Chris (and everyone else involved) for
their x86 porting work. This is a much anticipated step, one which will
help make Android very useful outside the mobile phone world.
So... I have tried the installer on a small desktop PC - a Asus Nova Lite:
http://www.asus.com/news_show.aspx?id=11565
and the installer seems as it has run its course well (although it took
a lot of time - namely resizing the 250 GB partition), and the nova lite
pc now boots from the hard drive.
However, Android is not able to boot completely. After a few seconds,
the screen goes completely black and never proceeds. By pressing alt+f1
I am able to access the system console (however the system keeps trying
to initialize the graphic interface, and I have to press alt+f1 every
few seconds to access the console).
I apologize for not presenting the dmesg and logcat complete output but
I could not figure a quick way to get it out of the box (no network
interfaces are recognized and I was unable to mount the usbstick on the
console). The errors shown are:
dmesg:
the surfaceflinger activity has exited due to a segfault - and I can see
from the log that it keeps retrying forever.
Logcat :
/dev/pmem could not be found, as well as lighgl.so.
validate_display_surface has failed with error 300 (BAD_DISPLAY_SURFACE)
call to OpenGL API has been done with no current context.
Do you have any clue of what might be causing the surfaceflinger to fail
(is it the lack of drivers?)? Also what do you recommend to troubleshoot
these situations (how to get the complete logs out of the test box, and
what other troubleshooting tools are available in the android console).
Cheers,
Filipe
So... I have tried the installer on a small desktop PC - a Asus Nova Lite:
http://www.asus.com/news_show.aspx?id=11565
and the installer seems as it has run its course well (although it took
a lot of time - namely resizing the 250 GB partition), and the nova lite
pc now boots from the hard drive.
However, Android is not able to boot completely. After a few seconds,
the screen goes completely black and never proceeds. By pressing alt+f1
I am able to access the system console (however the system keeps trying
to initialize the graphic interface, and I have to press alt+f1 every
few seconds to access the console).
dmesg:
the surfaceflinger activity has exited due to a segfault - and I can see
from the log that it keeps retrying forever.
Logcat :
/dev/pmem could not be found, as well as lighgl.so.
validate_display_surface has failed with error 300 (BAD_DISPLAY_SURFACE)
call to OpenGL API has been done with no current context.
Do you have any clue of what might be causing the surfaceflinger to fail
(is it the lack of drivers?)? Also what do you recommend to troubleshoot
these situations (how to get the complete logs out of the test box, and
what other troubleshooting tools are available in the android console).
Cheers,
Filipe
Although the nova lite has a i945 intel board chipset, it uses an 620gle
ati graphics card... that's probably a, or the, problem.
Does the kernel
of the installer include any ati drivers?
Sorry for such a stupid question, but is the kernel provided in anyway
patched for the use with android or is it basically a standard x86
kernel? What do I have to do to build a kernel for an older target
The music player seems to play music and dmesg indicates that the
INTEL HDA Audio
chip is correctly loaded. Could it be that everything is fine and just
the volume is turned off?
If this is the case how can I turn it on? :)
Another problem ist the RT2860 driver which I've successfully build
against the 2.6.25 kernel tree
but no device is available... - any hints?
Thanks,
Daniel
Www.android-x86.org
from development/simulator/app/DeviceManager.cpp:12:
/usr/include/wx-2.6/wx/string.h:771: error: âwxChar& wxString::operator
[](unsigned int)â cannot be overloaded
/usr/include/wx-2.6/wx/string.h:768: error: with âwxChar&
wxString::operator[](size_t)â
In file included from /usr/include/wx-2.6/wx/stream.h:26,
from /usr/include/wx-2.6/wx/image.h:24,
from /usr/include/wx-2.6/wx/gtk/cursor.h:23,
from /usr/include/wx-2.6/wx/cursor.h:24,
from /usr/include/wx-2.6/wx/event.h:32,
from /usr/include/wx-2.6/wx/wx.h:23,
from development/simulator/app/DeviceManager.cpp:12:
/usr/include/wx-2.6/wx/filefn.h:322: error: zero width for bit-field
âwxAssert_323::BadFileSizeTypeâ
In file included from /usr/include/wx-2.6/wx/utils.h:38,
from /usr/include/wx-2.6/wx/cursor.h:37,
from /usr/include/wx-2.6/wx/event.h:32,
from /usr/include/wx-2.6/wx/wx.h:23,
from development/simulator/app/DeviceManager.cpp:12:
/usr/include/wx-2.6/wx/longlong.h: In constructor
âwxLongLongNative::wxLongLongNative(long int, long unsigned int)â:
/usr/include/wx-2.6/wx/longlong.h:115: warning: left shift count >=
width of type
/usr/include/wx-2.6/wx/longlong.h: In member function âlong int
wxLongLongNative::GetHi() constâ:
pe
/usr/include/wx-2.6/wx/longlong.h: In constructor
âwxULongLongNative::wxULongLongNative(long unsigned int, long unsigned
int)â:
/usr/include/wx-2.6/wx/longlong.h:333: warning: left shift count >=
width of type
/usr/include/wx-2.6/wx/longlong.h: In member function âlong unsigned
int wxULongLongNative::GetHi() constâ:
/usr/include/wx-2.6/wx/longlong.h:351: warning: right shift count >=
width of type
In file included from development/simulator/app/LogWindow.h:13,
from development/simulator/app/MainFrame.h:11,
from development/simulator/app/MyApp.h:12,
from development/simulator/app/DeviceManager.cpp:17:
development/simulator/app/LogPrefsDialog.h: At global scope:
development/simulator/app/LogPrefsDialog.h:28: warning: âtypedefâ was
On May 26, 1:37 am, David Turner <di...@android.com> wrote:
> On Mon, May 24, 2010 at 10:05 PM, Yi Sun <beyo...@gmail.com> wrote:
> > Www.android-x86.org
>
> > NOTE: android-x86 is hardly anything officially supported.
>