标签:android 系统编译 boot.img 编译 内核 kernel zimage
1. Download Kernel source3. Verify Kernel
cp $(KERNEL)arch/arm/boot/zImag-dtb (ANDROID_ROOT)out/target/product/hammerhead/kernel
out/host/linux-x86/bin/mkbootimg --kernel out/target/product/hammerhead/kernel --ramdisk out/target/product/hammerhead/ramdisk.img --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1"
--base 0x00000000 --pagesize 2048 --ramdisk_offset 0x02900000 --tags_offset 0x02700000 --output out/target/product/hammerhead/boot.img
adb shell su 0 reboot bootloader
fastboot flash boot out/target/product/hammerhead/boot.img
fastboot reboot
如何下载Android kernel内核源代码,编译烧写验证
标签:android 系统编译 boot.img 编译 内核 kernel zimage
原文地址:http://blog.csdn.net/winceos/article/details/24700659