Hi all, This problem I have solved by referring this discussion. http://groups.google.com/group/android-kernel/browse_thread/thread/9b0975d78a28112/797162bf5cd9d459?lnk=gst&q=bad+value#797162bf5cd9d459
Briefly, I do 4 commands as following... git branch goldfish origin/android-goldfish-2.6.27 git checkout goldfish make goldfish_defconfig ARCH=arm CROSS_COMPILE=arm-none-eabi- make zImage ARCH=arm CROSS_COMPILE=arm-none-eabi- Finally, Kernel build finished ! One more thing I want to know is about GoldFish brench. I don't know exactly what the purpose the brench is. As searching this, I found following discussion. http://groups.google.com/group/android-kernel/browse_thread/thread/3384a35ee954794a/aa7d59d1c25332b1?lnk=gst&q=goldfish# "The Android emulator runs a virtual CPU that Google calls Goldfish. Goldfish executes ARM926T instructions and has hooks for input and output -- such as reading key presses from or displaying video output in the emulator. These interfaces are implemented in files specific to the Goldfish emulator and will not be compiled into a kernel that runs on real devices." I want to port Android on real device not emulator. For now, I know my kernel src is OK. But ... Do I need to switch to other brench? or it is just a fine brench to go on porting. Is anyone can help me out? On 12月10日, 下午5時12分, Unique <[email protected]> wrote: > hi all, > I'm a beginner ofAndroid-porting. > > I have downloadedAndroidkernelsrc 2.6.25 and Sourcery G++ Lite > Edition for ARM. I also copy file "config" fromAndroidemulator > toAndroidkernelfolder and modify MakeFile. The portion which I > modified is as following. > > ************************ Makefile ******************************* > ... > CROSS_COMPILE = arm-none-linux-gnueabi- > ... > #LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\ > # $(call ld-option, -Wl$(comma)--build-id,)) > ... > ************************ Makefile ******************************* > > Howerver, I goterrormsg as following, as I tried to do "make". > > ************************ err message ******************************* > # make > CHK include/linux/version.h > CHK include/linux/utsrelease.h > CC kernel/bounds.skernel/bounds.c:1:error: bad value (i686) for > -march= switch > make[1]: *** [kernel/bounds.s]Error1 > make: *** [prepare0]Error2 > # > ************************ err message ******************************* > > Please help me fix thiserror, Thanks! -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
