Editing
Build android snapdragon
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== InForce == pulling all src and apply patches ./fetchsrc_and_build.sh Build... sudo apt-get install openjdk-8-jdk cd /home/mhamilton/projects/snapdragon/InForce/Inforce-IFC6601-AndroidBSP-880457-Rel-v2.1/source/LA.UM.5.5.r1-04300-8x96.0_Rel_V2.1 source build/envsetup.sh lunch msm8996-userdebug make -j 6 == New process from Kynetics == may need to do this: git config --global http.sslVerify false curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo repo init -u https://bitbucket.org/heuresisandroidos/platform-manifest.git -b heuresis/LA.UM.6.5.r1-06000-8x96.0 -m Heuresis-LA.UM.6.5.r1-06000-8x96.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=aosp-new/stable repo sync -c --no-clone-bundle tar -xzvf proprietary.tar.gz -C vendor/qcom/ source build/envsetup.sh lunch hbi160-userdebug export LC_ALL=C make -j8 make -j8 otapackage make -j8 updatepackage The last is the flash update package. Now updating to a new branch (kernel) repo init -b viken/LA.UM.6.5.r1-06000-8x96.0 -m Viken-LA.UM.6.5.r1-06000-8x96.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=aosp-new/stable repo sync kernel/msm-3.18/ Had to run one more command repo sync device/viken == I2C bus config info == The dtsi file is located: kernel/msm-3.18/arch/arm/boot/dts/qcom/apq8096-hbi160.dtsi I2c-10 is set to 100k baud rate. This should be the location of the summing box fpga at address 0x55. Just added the following parameters to the dtsi file making the duty cycle actually 50% not 30% @100kHz based on the default settings. /* modified from standard values fs-clk-div = 124 high-time-clk-div = 62 The following values where determined empirically to achieve a 50% duty cycle on the clk. */ qcom,fs-clk-div = <90>; qcom,high-time-clk-div = <93>; /* 0x0 β Legacy mode 0x01 β One cycle wide low pulse is rejected 0x2 β Two cycles wide low pulse is rejected 0x3 β Three cycles wide low pulse is rejected */ qcom,noise-rjct-scl = <0>; qcom,noise-rjct-sda = <0>;
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information