You try to apply the patches in the wrong directory. Look into the patch and find out where you can run the patch. Yi On Tue, 2009-05-26 at 00:49 -0700, GrainWang wrote: > HI YiSun: > Thanks for your great help. > When appling the patches, have the following issue. See the > message below: > > |>From f4a2e330101cce7ee2e13a6b0a82c24f93923130 Mon Sep 17 00:00:00 > 2001 > |From: Yi Sun <beyo...@gmail.com> > |Date: Fri, 1 May 2009 17:46:54 -0700 > |Subject: [PATCH] 1. added mouse cursor > | > |--- > | core/java/android/view/RawInputEvent.java | 3 +- > | include/ui/EventHub.h | 3 +- > | libs/ui/EventHub.cpp | 4 + > | .../java/com/android/server/KeyInputQueue.java | 45 +++++--- > | .../com/android/server/WindowManagerService.java | 120 +++++++++++ > +++++++-- > | 5 files changed, 150 insertions(+), 25 deletions(-) > | > |diff --git a/core/java/android/view/RawInputEvent.java b/core/java/ > android/view/RawInputEvent.java > |index 30da83e..4d9a11a 100644 > |--- a/core/java/android/view/RawInputEvent.java > |+++ b/core/java/android/view/RawInputEvent.java > -------------------------- > File to patch: core/java/android/view/RawInputEvent.java > core/java/android/view/RawInputEvent.java: No such file or directory > Skip this patch? [y] n > : No such file or directory > Skip this patch? [y] n > File to patch: core/java/android/view/RawInputEvent.java > core/java/android/view/RawInputEvent.java: No such file or directory > Skip this patch? [y] > > > Why I'm wrong, I created a script file "bash_patch"with the content, > for patch in `pwd`/*patch ; do > project=`awk '/^project /{print $2}' $patch` > (cd $project && patch -p1 < $patch) > done > > and cd /home/cupcake/framework/base > mkdir patches > cp -rf somepath/*.patch patches > cp -rf somepath/bash_path patches > ./bash_patch > > > On 5月26日, 下午2时35分, Yi Sun <beyo...@gmail.com> wrote: > > On Mon, 2009-05-25 at 23:22 -0700, GrainWang wrote: > > > HI YiSun: > > > Thanks for your efficent help. I have breifly tried the > > > website,and corresponding method for about 2days. Now have the > > > following issues: > > > 1. As I know,"cupcake" is a float branch,and "eee701" project is > > > not included in"cupcake", and it seemed that "eee701" project is > > > rarely updated,and "cupcake" are always changing,so could they match > > > now? > > > > The eee701 project only has some makefile changes to make Android to > > build for x86 target. There are not much of eeepc specific things. So, > > as long as you make your make file correct, you should be able to use > > most of the code from standard Android release> 2. Can I use "eee701" > > project to use with"master branch"? > > > > Yes, there is one as matter fact.> 3. I started downloading cupcake on > > 2009,05,21,finished on > > > 2009,05,25,and when checking out the eee701 project,the repo sync > > > found cupcake changed,and downloaded the changed part, when building > > > using "TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true > > > make -j4 installer_img", found that "Please rename "vendor/asus/ > > > eee_701/Android.mk" to "vendor/asus/eee_701/AndroidBoard.mk", and did > > > as guided, found that 'com.google.android.maps error"(I don't rember > > > this error information clearly),modified the "generic_with_google.mk" > > > and it passed,but the compilation process always show something like > > > 'arm",and when finished,I can't find the correpoding image file. > > > > Check out/target/product directory to see if you have an eee701 > > directory there. I'm updating my tree and will try it out as well.> 4. > > I'm sorry that I can't understand the apply patches part, I > > > checked this part,mostly bug related, so I did not aplly the patches, > > > will this cause that the packages built can't be loading and demo the > > > basic funcions? > > > > Yes, you have to apply all these patches. Otherwise, I don't think you > > can even build your tree. > > > > > > > > > Thanks again! > > > > > On 5月26日, 上午11时55分, Yi Sun <beyo...@gmail.com> wrote: > > > > On Tue, 2009-05-26 at 11:12 +0800, zqqa zqqa wrote: > > > > > 2. Is the “asus eee701” project in "cupcake" only fit for asus’s > > > > > net books? Or it’s fit for any x86 based net books? > > > > > > > no,it can use in any x86 platform.please visit > > > > >http://code.google.com/p/live-android. > > > > > it bases on asus eee701” project in "cupcake". > > > > > > > 2009/5/22 GrainWang <wlc...@yahoo.com.cn> > > > > > > > Dear friends: > > > > > I'm a fresh guy on Android system. And have the > > > > > following > > > > > questions: > > > > > 1. Is there any stable release that fit x86 net book? I > > > > > heard > > > > > the name “cupcake”, but it semed to be a float branch? > > > > > > no, there is no stable release even we are trying to create one. But at > > > > the moment, I'm still looking for a server with enough space to host the > > > > source tree.> 2. Is the “asus eee701” project in > > > > "cupcake" only fit > > > > > for asus’s > > > > > net books? Or it’s fit for any x86 based net books? > > > > > > You should be able to boot up eee701 on most of the x86 machines, but, > > > > you will need to take care of the devices on your platform to make sure > > > > they works fine.> 3. The latest stable version that fit > > > > for x86 is? > > > > > > See code.google.com/p/patch-hosting-for-android-x86-support to > > > > understand how to build a x86 enabled android.> 4. The > > > > OpenCore's version in "cupcake" now is very old, > > > > > in > > > > > "android-sdk-1.5r1" which is also a stable release, the > > > > > OpenCore's > > > > > version is much newer(V2.02), so I doubt that if there is > > > > > possibilty > > > > > that I put the eee701 project into "android-sdk-1.5r1" and > > > > > without > > > > > mofication it'll work on x86 net books, or should I port > > > > > V2.02's > > > > > version into "cupcake" branch,I completely have no idea which > > > > > way is > > > > > better, as I have little knowledge in eee701 project, and does > > > > > not > > > > > know what this project acturally do and how to do. > > > > > > YOu should be able to build opencore for x86. See > > > > code.google.com/p/patch-hosting-for-android-x86-support to understand > > > > how to build a x86 enabled android. > > > > > > > 5. Is any version that fit for x86 and contain > > > > > OpenCore’s newer > > > > > versions (V2.01 or V2.02)? > > > > > 6. Is there any doc exist for port "android-sdk-1.5r1" > > > > > into x86? > > > > > > You don't need to worry about SDK for the moment. What you need to do is > > > > to > > > > 1. check out cupcake, > > > > 2. check out eee701 project > > > > 3. apply all the patches listed in > > > > code.google.com/p/patch-hosting-for-android-x86-support > > > > 4. rebuild android > > > > > > If you have problem to build your tree for x86 with the patches you get > > > > from code.google.com/p/patch-hosting-for-android-x86-support, you can > > > > send e-mail to this list for answers. > > > > > > > Thanks in advance!- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > - 显示引用的文字 - > >
--~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---