From eLinux.org
< Dragonboard
Revision as of 15:58, 23 April 2013 by Mcgrof (talk | contribs) (Initial APQ8060A kernel upstream ramp up poo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

APQ8060A Linux upstream work

This documentation is for folks who who want to work on ramping up linux upstream development based on APQ8060A. You'll need am armel toolchain installed. Below are documentation for Linux distributions.

Getting gcc-armel on Debian

Add this to your /etc/apt/sources.list:

deb http://www.emdebian.org/debian testing main

Then do

sudo apt-get update sudo apt-get install gcc-4.4-base-armel-cross

Updating environment

Add to your .bashrc:

export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-gcc-4.4 <nowiki> It would also help if you have a simple script called '''make-arm''' in your PATH somewhere that does this: <nowiki> make ARCH=arm O=../kobj $@

Get the code

As it stands this code is available from codeaurora and the master branch has issues to clone so just clone the msm-3.4 branch:

git clone git://codeaurora.org/quic/la/kernel/msm.git msm-3.4


mkdir kobj cp arch/arm/configs/msm_defconfig kobj/.config make-arm menuconfig make-arm -j 4

Generating initial boot image

The APQ8060A will have shipped with an Android boot loader so you need to first get the kernel you built into a format it will like. This section will be expanded soon.