android kernel下載及編譯 (goldfish)
来源:互联网 发布:如何考核软件开发 编辑:程序博客网 时间:2024/06/05 23:48
http://android.git.kernel.org/ (Android Linux kernel源码)
1470 2011-01-15 16:18:32: git clone git://android.git.kernel.org/projects/kernel/common.git/ summary
1471 2011-01-15 21:19:39: history
root@zhupan-desktop:~/download# cd kernel
root@zhupan-desktop:~/download/kernel# git branch
* android-2.6.36
root@zhupan-desktop:~/download/kernel# git branch -a
* android-2.6.36
remotes/origin/HEAD -> origin/android-2.6.36
remotes/origin/android-2.6.35
remotes/origin/android-2.6.36
remotes/origin/android-2.6.37
remotes/origin/archive/android-2.6.25
remotes/origin/archive/android-2.6.27
remotes/origin/archive/android-2.6.29
remotes/origin/archive/android-2.6.32
remotes/origin/archive/android-gldfish-2.6.29
remotes/origin/archive/android-goldfish-2.6.27
root@zhupan-desktop:~/download/kernel# git checkout -b android-gldfish-2.6.29 origin/archive/android-gldfish-2.6.29 //选取最新的android-gldfish-2.6.29,其中gldfish是 android的模拟器模拟的CPU。
Checking out files: 100% (27546/27546), done.
Branch android-gldfish-2.6.29 set up to track remote branch archive/android-gldfish-2.6.29 from origin.
Switched to a new branch 'android-gldfish-2.6.29'
root@zhupan-desktop:~/download/kernel# git branch
android-2.6.36
* android-gldfish-2.6.29
下面是進入剛才下載的kernel代碼裡進行編譯:
root@zhupan-desktop:~/download/kernel# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- goldfish_defconfig
root@zhupan-desktop:~/download/kernel# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
……
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
emulator -avd AVD1.1 -kernel zImage
- android kernel下載及編譯 (goldfish)
- android kernel goldfish 3.4.0 编译
- 编译并测试 android goldfish kernel x86
- Android内核开发 Goldfish Linux Kernel编译及安卓虚拟机测试
- Mac下编译Android以及goldfish内核
- Android之Goldfish
- Android之Goldfish
- Android Goldfish详解之一
- android之Goldfish介绍
- Android之Goldfish
- android goldfish 内核编译
- 编译Android goldfish内核源码
- Android Goldfish详解之二
- 编译Android模拟器内核goldfish
- Android之Qemu和Goldfish
- 如何在32位ubuntu11.10 下编译android 4.0.1源码和goldfish内核
- 如何在32位ubuntu11.10 下编译android 4.0.1源码和goldfish内核
- 如何在32位ubuntu11.10 下编译android 4.0.1源码和goldfish内核
- objdump 符号表输出格式
- break与continue的区别
- linux中文件保存导常
- 淘宝网7年变化图--建议非美工UED人员也看看
- 职业规划
- android kernel下載及編譯 (goldfish)
- unbutun的专栏此人博客需要关注
- Intent调用大全
- 单例模式的设计(C++)
- INV:物料现有量,可保留量,可处理提取方法
- 让UltraEdit为你打造一个HLSL编译器(亮显功能和编译纠错功能)!
- Android 2.3兼容性问题
- compass 例子(代码完整篇)
- 让应用兼容Android 3.0系统