Difference between revisions of "APQ8064 MDP"

From eLinux.org
Jump to: navigation, search
m
Line 8: Line 8:
  
 
If you want to build just the kernel:
 
If you want to build just the kernel:
 +
 +
make out/target/product/msm8960/boot.img
 +
 +
or without the Android build system:
  
 
  make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- msm8960_defconfig
 
  make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- msm8960_defconfig

Revision as of 18:34, 1 November 2012

Booting

  • Recovery: VolumeUp + Power
  • Fastboot: VolumeDown + Power

Building

Code and instructions for building Android are here.

If you want to build just the kernel:

make out/target/product/msm8960/boot.img

or without the Android build system:

make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- msm8960_defconfig
make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- -j5
out/host/linux-x86/bin/acp -fp out/target/product/msm8960/obj/KERNEL_OBJ/arch/arm/boot/zImage out/target/product/msm8960/kernel
out/host/linux-x86/bin/mkbootimg  --kernel out/target/product/msm8960/kernel --ramdisk out/target/product/msm8960/ramdisk.img --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3" --base 0x80200000 --pagesize 2048 --ramdisk_offset   0x109c000 -z --output out/target/product/msm8960/boot.img.nonsecure
openssl dgst -sha256  -binary out/target/product/msm8960/boot.img.nonsecure > out/target/product/msm8960/boot.img.sha256
openssl rsautl -sign -in out/target/product/msm8960/boot.img.sha256 -inkey device/qcom/common/qcom.key -out out/target/product/msm8960/boot.img.sig
dd if=/dev/zero of=out/target/product/msm8960/boot.img.sig.padded bs=2048 count=1
dd if=out/target/product/msm8960/boot.img.sig of=out/target/product/msm8960/boot.img.sig.padded conv=notrunc
cat out/target/product/msm8960/boot.img.nonsecure out/target/product/msm8960/boot.img.sig.padded > out/target/product/msm8960/boot.img

Links