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.

+

This documentation is for folks who who want to work on ramping up linux upstream development based on APQ8060A. APQ8060A is based on a family of chipsets based on 8960: 8960, 8060a, 8064, 8930.

We are going to be relying on two trees, one from CAF and another one that is used for upstream development and is synched regularly to Linus. The goal is to get rid of the delta. There is an issue with the CAF git tree master branch so use the msm-3.4 branch.

+

We are going to be relying on two trees, one from CAF and another one that is used for upstream development and is synched regularly to Linus. The goal is to get rid of the delta. There is an issue with the CAF git tree master branch so use the jb_2.5 branch.

For msm-3.4 you'll want to get the ramdisk that came with you original boot.img, the interweb has a script [https://bitbucket.org/celtus/huaweis7/src/d4b55983392aa7a1bb6451154354ceca7cbacffa/port-tools/unpack-H.pl unpack-H.pl] that you can use to extract it:

+

For jb_2.5 you'll want to get the ramdisk that came with you original boot.img, the interweb has a script [https://bitbucket.org/celtus/huaweis7/src/d4b55983392aa7a1bb6451154354ceca7cbacffa/port-tools/unpack-H.pl unpack-H.pl] that you can use to extract it:

<pre>

<pre>

Line 138:

Line 140:

<big><big>Enabling APQ8060A</big></big>

<big><big>Enabling APQ8060A</big></big>

−

Unfortunately the msm-3.4 branch lacks some code to get the APQ8060A booted... The patches are available from Intrinsic though, and at least the first one is required to sort of boot the device... The next task is to figure out what else is needed.

+

The jb_2.5 branch lacks some code to get the APQ8060A booted. The patches are available from Intrinsic though, and at least the first one is required to sort of boot the device. The next task is to figure out what else is needed.

−

With the first patch from Intrinsic applied on the msm-3.4 branch you will need to enable:

+

With the first patch from Intrinsic applied on the jb_2.5 branch you will need to enable:

* CONFIG_MACH_APQ8060A_DRAGON

* CONFIG_MACH_APQ8060A_DRAGON

Line 152:

Line 154:

<big><big>Latest boot log</big></big>

<big><big>Latest boot log</big></big>

−

This is the latest boot log.. with just one pending patch applied (out of I don't know how many left) to the msm-3.4 branch to be able to start hacking.

+

This is the latest boot log.. with just one pending patch applied (out of I don't know how many left) to the jb_2.5 branch to be able to start hacking.

Latest log without battery plugged:

Latest log without battery plugged:

Line 166:

Line 168:

https://gist.github.com/mcgrof/5470735

https://gist.github.com/mcgrof/5470735

−

This is based on porting Intrinsic's changes onto the msm-3.4 kernel... waiting to see if we can post this.

+

This is based on porting Intrinsic's changes onto the jb_2.5 kernel... waiting to see if we can post this.

<big><big>Generating initial boot image</big></big>

<big><big>Generating initial boot image</big></big>

Line 172:

Line 174:

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. Right now this is a placeholder for some more details to be added later.

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. Right now this is a placeholder for some more details to be added later.

It would also help if you have a simple script called make-arm in your PATH somewhere that does this:

make ARCH=arm O=kobj $@

Get the code

We are going to be relying on two trees, one from CAF and another one that is used for upstream development and is synched regularly to Linus. The goal is to get rid of the delta. There is an issue with the CAF git tree master branch so use the jb_2.5 branch.

The jb_2.5 branch lacks some code to get the APQ8060A booted. The patches are available from Intrinsic though, and at least the first one is required to sort of boot the device. The next task is to figure out what else is needed.

With the first patch from Intrinsic applied on the jb_2.5 branch you will need to enable:

This is based on porting Intrinsic's changes onto the jb_2.5 kernel... waiting to see if we can post this.

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. Right now this is a placeholder for some more details to be added later.