Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "APQ8064 MDP"

From eLinux.org
Jump to: navigation, search
m
m
Line 14: Line 14:
  
 
  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
  make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- -j5
+
  make -C kernel O=../out/target/product/msm8960/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi-
 
  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/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
 
  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

Revision as of 01:34, 2 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-
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