Android for MSM Project

来源:互联网 发布:如何减腹部的赘肉 知乎 编辑:程序博客网 时间:2024/06/10 14:44

Qcom Code :

https://wiki.codeaurora.org/xwiki/bin/QAEP/

https://wiki.codeaurora.org/xwiki/bin/QAEP/release

https://source.codeaurora.org/quic/la/

https://source.codeaurora.org/quic/la/kernel/msm-3.18/

https://source.codeaurora.org/quic/la/kernel/msm-4.9/

Android Code :

https://android-review.googlesource.com/

https://android.googlesource.com/


Android for MSM Project

Last modified by Android QAEP Service on 2014/02/04 08:09

The Android for MSM project allows users to build an Android based platform containing additional enhancements for Qualcomm chipsets.

The platform is based upon Android Open Source Project process and tools. Documentation, original sources and an overview of Android can be found there.

Gitweb interface is available to browse the Code Aurora source tree. The Android Open Source Project interface can be used as reference.

Releases

Code Aurora Forum Android releases are based upon the source released from the Android Open Source Project (AOSP). AOSP releases are periodically merged into the Code Aurora Forum development branch and public releases made at stable points in the cycle.

The Android Open Source Project (AOSP) makes releases from a named pastry branch (''cupcake'', ''donut'', etc). The AOSP changes are merged and a general AOSP release is made in same pastry branch. For example, the AOSP makes a release in the ''donut'' branch. After merging in AOSP changes Code Aurora Forum makes a general release from its ''donut'' branch. The Linux kernel is included as an Android project but follows a different branch naming scheme based upon released Linux kernel versions (e.g.,  android-msm-2.6.29). The same process of merging the AOSP changes and releasing is followed by the kernel. The Repo manifest specifies which kernel branch or commit is used with a given release.

Code Aurora Forum creates stabilization branches based upon the general release branch. A stabilization branch is created in order to stabilize and fix chipset specific problems with the general release branch. In keeping with AOSPs pastry theme stabilization branches are named after different kinds of pastries. Multiple stabilization branches may exist for each AOSP pastry release branch. ''carrot.cupcake'' and ''coconut.cupcake'' are examples of stabilization branches based upon the AOSP ''cupcake'' release branch.

Both Git tags and Repo manifests are created in the general release branch (''cupcake'', ''donut'', etc) and in stabilization branches (''carrot.cupcake'', ''coconut.cupcake'', etc) when a tested and stable version of Android is released by the Code Aurora Forum. Generally speaking the tag and manifest are named after the corresponding modem Build ID or release. The tags and manifests ensure that the Android source tree can be obtained from the Code Aurora Forum and used with a specific Qualcomm modem build or release.

For reference and comparison purposes an unmodified copy of all AOSP branches is available from both the Code Aurora Gitweb interface and from Git/Repo in Code Aurora downloads. These unmodified AOSP source branches are identified by the ''aosp/'' prefix. The original unmodified AOSP donut branch is called ''aosp/donut'' and the corresponding AOSP kernel branch ''aosp/android-msm-2.6.29''. Each project within Android contains ''aosp'' branches. See the bionic and Linux kernel msm projects as examples.

Branch Releases

Releases are available for download using Repo and Git. A specific release is downloaded by choosing both a branch and manifest from the Releases table.

$ repo init -u git://codeaurora.org/platform/manifest.git -b [branch] -m [manifest] --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
$ repo sync
ReleasesBranch Targetsrelease  msm7627a, msm7630, msm8660, msm8660_csfb, msm8960, apq8064, mpq8064, msm8930, msm8625, msm8974, apq8084jb  msm7627a, msm7630, msm8660, msm8660_csfb, msm8960, apq8064, mpq8064, msm8930, msm8625jb_rel  apq8064

Downloading and Building from Source

Follow the Repo instructions to download and install Repo.

Download the Android source tree by specifying the branch and manifest for a specific Code Aurora release. In this example the download the carrot.cupcake branch using manifest ''M7201JSDCBALYA6380.xml''

$ repo init -u git://codeaurora.org/platform/manifest.git -b carrot.cupcake -m M7201JSDCBALYA6380.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
$ repo sync

Build the source tree

$ source build/envsetup.sh
$ choosecombo 1 1 msm7201a_surf eng
$ make -j4

Running choosecombo with no arguments will prompt for Android build options and target.






0 0