While getting Android kernel patches is somehow straight forward, extracting user space file system with Android applications in it is a little bit tricky. On Android project page the source code of the kernel is available. From full kernel tree with Android modifications included you can extract patches. With this, you have to extract the Android specific patches yourself from the complete kernel tree, use already extracted patches or get kernel patches by git.
Note : There seems to be some effort to make Android kernel patches available in a easier usable format. At some locations there are ready made patches available. The advantage of this is that you don't have to extract the patches yourself.
Note : Some guys on OMAP mailing list have Android patches extracted currently from m5-rc14 and are willing to share them. Unfortunately they don't have any permanent web storage yet. If you have and like to help community with providing some web space, contact OMAP list. There are Android kernel patches available using Android's git repository. But have a look to Brian's notes regarding this. Getting user space file system binaries running in emulator extracted is slightly tricky.
We have to extract the binaries as currently access to source code have only Google itself and eventually WindRiver. Again, there are two ways to get user space binaries: Extracting them your self or taking already extracted ones.
Recently there is an unyaffs available [1]. Note : Anybody likes to hack this unyaffs tool? Then the system. Note : A user reports that he doesn't use the extracted data directory at all.
At some locations there are ready made binaries available. The advantage of this is that you don't have to extract the binaries yourself. The disadvantage is that you can't always be sure that the images contain everything you need and that the images match your kernel patch see above version. Note : Some guys on OMAP mailing list have Android binaries extracted currently from m5-rc14 and are willing to share them.
This section describes how to configure the software kernel, file system to run Android on real hardware target. Before you do this Android specific steps, you should make sure that everything works without any Android specifics. Do this with booting into your normal EABI file system you always use.
We later switch to Android file system then. Make sure your kernel boots normally on your board. Then enable some Android specific configuration needs kernel patch extracted above and make sure that your kernel still boots with your standard file system. Note : Some of these settings are valid only for m5-rc14 and newer? Android drivers. We now switch to Android file system extracted above.
Options are e. In a first step it is sufficient if you are able to manually mount it from your temporary standard root file system.
In a second step it is an option to use it directly as root fs. The Android file system we establish here on one of the the storage from above is built from four parts:.
To create Android file system, take empty storage you selected and start with ram disk:. Android ram disk image can be found as ramdisk. Besides the standard ones you will need incomplete? A : The major number 10 major number for "misc" devices above are for new drivers of m5-rc They are somehow board dependent and may change.
With kernel patch on real HW you may get:. So you need:. Q : I did all steps like above, strace output doesn't show any obvious errors, but if I start Android calling runtime I simply get a blank screen. I use m5-rc A : With m5-rc14 the frame buffer handling changed. Observe the output of strace. If you get:. Note : For above output, strace has to be invoked with -f -ff -tt -s options, else you wouldn't see this.
Q : Okay, I get this page flipping not supported message above and have a blank screen. I don't use recent m5-rc14 Android. A : Make sure that you use kernel patch and file system from most recent Android release currently m5-rc Don't mix kernel patch and file system from different versions. Q : I did anything like described above. Systems starts properly, I get Android home screen. But then, system goes to suspend mode and never wakes up.
Even if I only use fake Android power management. Adding keypad support e. When Android goes into power saving mode, it prints the following messages. And then, if the UP or DOWN key is pressed on the HW keypad, the system comes back to normal mode and resumes activity with the below given console messages. With current m5-rc14 Android release this isn't supported yet. Android at least the version for Goldfish is compiled with the assumption that the TLS register is emulated and thus expects the kernel to trap it.
You can force it on for e. OMAP3 by doing the following. However, once source is available, you really don't want to do this as it does cause a performance hit. Note : A user report wasn't quite successful regarding this. The surfaceflinger believes it will be limited by the vsync rate and the startup animation depends on that.
A : No, it doesn't seem so. See Benno's blog , section Manual startup. The system basically starts, but it is really sssllllooooowwww, slightly unusable. More or less only a proof of concept.
Can I do anything to use Android even on systems with limited main memory? Q : Some buttons work, some buttons don't work How to see what key codes certain buttons are bound? And how to edit the mapping in Android? There's a brute force approach to sorting out input events: run getevent on the emulator and on the target hardware and compare the results. Q : Which file system should I use to store Android user files? Is JFFS2 okay? What can I do? Android does not support JFFS.
But, maybe there is a hack to try? A : You could try what Brian reports:. Q : I'd like to run Android on Nokia N8x0 link 1 , link 2. Some people have been seeing things. If you ssh into your Neo and you are running one of my builds, then you will also find a file called.
You will need to restart the Openmoko -Today application which, for most people, will mean a reboot of ther Neo. Home About… TweetyCat Shop. Qtiopia — New media engine 15 years ago, at the end of November 1 Comment. A face in the machine?
0コメント