summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-31Make bootstub binary build with bootimg_headers.HEADandroid-wear-p-preview-2android-p-preview-3android-p-preview-2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7android-n-iot-release-ihome-igv1oreo-mr1-iot-releaseoreo-mr1-1.2-iot-releaseo-mr1-iot-preview-8nougat-iot-releasemastermainJayant Chowdhary
Bug: 74763691 Test: N/A Change-Id: Icdbf98ce86506b7d18e146b415a541c4b3b511ad (cherry picked from commit 689a2233923a705a48274172b394302469c45409)
2017-10-27Use -Werror in hardware/intel/bootstubandroid-wear-8.0.0_r1android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7Chih-Hung Hsieh
am: 7593d47179 Change-Id: I24ce1b438caaed9b8f18d0593e7902d2be7c9f33
2017-10-26Use -Werror in hardware/intel/bootstubandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Chih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I222823b9b258b0a1edc96c86eb54d941cb80487a
2016-01-09Don\'t rebuild the boot image every timeandroid-wear-o-preview-4android-wear-o-preview-3android-wear-8.1.0_r1android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-o-preview-4android-o-preview-3android-o-preview-2android-o-preview-1android-o-mr1-preview-2android-o-mr1-preview-1android-o-iot-preview-5android-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-preview-4android-cts_7.1_r1android-cts-8.1_r9android-cts-8.1_r8android-cts-8.1_r7android-cts-8.1_r6android-cts-8.1_r5android-cts-8.1_r4android-cts-8.1_r3android-cts-8.1_r25android-cts-8.1_r24android-cts-8.1_r23android-cts-8.1_r22android-cts-8.1_r21android-cts-8.1_r20android-cts-8.1_r2android-cts-8.1_r19android-cts-8.1_r18android-cts-8.1_r17android-cts-8.1_r16android-cts-8.1_r15android-cts-8.1_r14android-cts-8.1_r13android-cts-8.1_r12android-cts-8.1_r11android-cts-8.1_r10android-cts-8.1_r1android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-8.1.0_r9android-8.1.0_r81android-8.1.0_r80android-8.1.0_r8android-8.1.0_r79android-8.1.0_r78android-8.1.0_r77android-8.1.0_r76android-8.1.0_r75android-8.1.0_r74android-8.1.0_r73android-8.1.0_r72android-8.1.0_r71android-8.1.0_r70android-8.1.0_r7android-8.1.0_r69android-8.1.0_r68android-8.1.0_r67android-8.1.0_r66android-8.1.0_r65android-8.1.0_r64android-8.1.0_r63android-8.1.0_r62android-8.1.0_r61android-8.1.0_r60android-8.1.0_r6android-8.1.0_r53android-8.1.0_r52android-8.1.0_r51android-8.1.0_r50android-8.1.0_r5android-8.1.0_r48android-8.1.0_r47android-8.1.0_r46android-8.1.0_r45android-8.1.0_r43android-8.1.0_r42android-8.1.0_r41android-8.1.0_r40android-8.1.0_r4android-8.1.0_r39android-8.1.0_r38android-8.1.0_r37android-8.1.0_r36android-8.1.0_r35android-8.1.0_r33android-8.1.0_r32android-8.1.0_r31android-8.1.0_r30android-8.1.0_r3android-8.1.0_r29android-8.1.0_r28android-8.1.0_r27android-8.1.0_r26android-8.1.0_r25android-8.1.0_r23android-8.1.0_r22android-8.1.0_r21android-8.1.0_r20android-8.1.0_r2android-8.1.0_r19android-8.1.0_r18android-8.1.0_r17android-8.1.0_r16android-8.1.0_r15android-8.1.0_r14android-8.1.0_r13android-8.1.0_r12android-8.1.0_r11android-8.1.0_r10android-8.1.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r34android-8.0.0_r33android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1security-oc-releasesecurity-oc-mr1-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-mr1-wear-releaseoreo-mr1-vts-releaseoreo-mr1-security-releaseoreo-mr1-s1-releaseoreo-mr1-releaseoreo-mr1-devoreo-mr1-cuttlefish-testingoreo-mr1-cts-releaseoreo-m8-releaseoreo-m7-releaseoreo-m6-s4-releaseoreo-m6-s3-releaseoreo-m6-s2-releaseoreo-m5-releaseoreo-m4-s9-releaseoreo-m4-s8-releaseoreo-m4-s7-releaseoreo-m4-s6-releaseoreo-m4-s5-releaseoreo-m4-s4-releaseoreo-m4-s3-releaseoreo-m4-s2-releaseoreo-m4-s12-releaseoreo-m4-s11-releaseoreo-m4-s10-releaseoreo-m4-s1-releaseoreo-m3-releaseoreo-m2-s5-releaseoreo-m2-s4-releaseoreo-m2-s3-releaseoreo-m2-s2-releaseoreo-m2-s1-releaseoreo-m2-releaseoreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-devoreo-devoreo-cts-releaseo-previewo-iot-preview-5nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releasen-iot-preview-4Dan Willemsen
am: 1d294cefde * commit '1d294cefde931ee0b0c0f012d04414b57c7b25cd': Don't rebuild the boot image every time
2016-01-08Don't rebuild the boot image every timeandroid-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Dan Willemsen
Fugu uses this for 2ndbootloader.bin, which is included in the boot and recovery images. Since the size check destination never existed, it was marked dirty and was re-run on every build. Change the size check to use an empty file so that it's only run when the built image updates. Change-Id: I0b1cef1ef0a825b1a1f89b0e90dda8706fbf7bf6
2015-10-20Fix trivial syntax error to compile with clang.Chih-Hung Hsieh
am: 89cb8c3d0e * commit '89cb8c3d0e97507cacaac429f3c3163a37561dcf': Fix trivial syntax error to compile with clang.
2015-10-19Fix trivial syntax error to compile with clang.Chih-Hung Hsieh
BUG: 24137539 Change-Id: I5156b10201126b222430d8c90d6f2191915ccac8
2015-09-16Fix trivial syntax error to compile with clang.Chih-Hung Hsieh
BUG: 24137539 Change-Id: Ie1fa58c5c7cef5683d5f19fc88292eec12d6a654
2015-04-17am 94d92d94: (-s ours) am 479e42ba: bootstub: only build for moorefield, ↵android-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releasePatrick Tjin
merrifield [DO NOT MERGE] * commit '94d92d94866d3dc1c1ba5c9dff651ceb419f65cd': bootstub: only build for moorefield, merrifield [DO NOT MERGE]
2015-04-17am 479e42ba: bootstub: only build for moorefield, merrifield [DO NOT MERGE]Patrick Tjin
* commit '479e42ba0bd6c057285d3b08065e2e01d0d2c1f9': bootstub: only build for moorefield, merrifield [DO NOT MERGE]
2015-04-16bootstub: only build for moorefield, merrifield [DO NOT MERGE]android-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-releasePatrick Tjin
Change-Id: I469f48f8b89e8b05587a6fdd944dee0327083bb7 (cherry picked from commit 2c7051d879b0a9c03d4178f642be7c3e5778b703)
2015-04-11am 423ecd8a: bootstub: only build for moorefield, merrifieldPatrick Tjin
* commit '423ecd8ac0a29f45690b3f4d777e8d32871bff74': bootstub: only build for moorefield, merrifield
2015-04-11bootstub: only build for moorefield, merrifieldPatrick Tjin
(cherry picked from commit 2c7051d879b0a9c03d4178f642be7c3e5778b703) Change-Id: I7653b491f165d26ec89081033568d834e721e9c3
2015-04-10bootstub: only build for moorefield, merrifieldPatrick Tjin
Change-Id: I469f48f8b89e8b05587a6fdd944dee0327083bb7
2015-04-09Factorize bootstub makefileSylvain Chouleur
Bug: 19708986 This patch aims to remove the huge code duplications in Android.mk and also add a new kind of bootstub target: ramdump, which is used to boot a post-crash OS with different memory constraints. Change-Id: I962b48290994b75a44eb2e47487e1c1a8293f4df Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
2014-09-25Move closed source packages to vendor makefileandroid-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-m-preview-2android-m-preview-1android-m-previewmaster-soonglollipop-wear-releaselollipop-mr1-devlollipop-devBenoit Fradin
Revert "Add Bootloader version at the end of bootstub" Bug: 17468185 Change-Id: Ie51290e97a2611760161b5531bf602889bbe535d Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
2014-09-04Fix bootloader version computingSylvain Chouleur
Use hex base to compute minor incrementation Bug: 17381829 Change-Id: I0c0d6c5c526a950e78db8d4df9ac140eb5342dc5 Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
2014-08-23Add Bootloader version at the end of bootstubSylvain Chouleur
Bug: 17034982 Change-Id: Iec8e0a08842b0fcc5dcdf461ade13cc236d1f6e9 Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
2014-08-18fix cpuid asm instruction callJeremy Compostella
This patch cfixes some compilation warning and clean the Android.mk a little bit. Bug: 16928801 Change-Id: Icc277c0871cce83e183a109cfe24daf6e5ad8fab Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
2014-08-18Revert "[REVERT ME] Disable bootstub compilation"Jeremy Compostella
Bug: 16928801 BZ: 216961 This reverts commit 23dfe463711d038d9fe42642e36a2ffb3c20de3b. Change-Id: Idfb57f902d28edd816e17a33323fea946745df0a Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
2014-08-11[REVERT ME] Disable bootstub compilationProdyut Hazarika
bootstub compilation is failing in L. As a workaround, use a prebuilt 2ndbootloader binary till the proper fix is put Bug: 16928801 Change-Id: If2950a0c1c6c5a0a26587bfa20c61518a10782eb Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com> Signed-off-by: Patrick Tjin <pattjin@google.com>
2014-07-22Only bootstub for Moorefield targetsPatrick Tjin
Change-Id: I2bb9d42a7753ba363eaf7113406a4e489beb8549
2014-07-21bootstub support for aosp and legacyFlorent Auger
The code searches for the AOSP header at a specified location. If found, it performs all the required memcpy by using the addresses and size provided in the AOSP header instead of those hardcoded into bootstub.h. Otherwise, it processes as usual for an OSII image. Change the bootstub output to $(PRODUCT_OUT)/2ndbootloader Change-Id: I25da96f99b2a01f457d3f8b8393080f9ec562c94 Signed-off-by: Florent Auger <florent.auger@intel.com> Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Signed-off-by: Jocelyn Falempe <jocelyn.falempe@intel.com> Reviewed-on: https://android.intel.com/215921 Reviewed-by: Betous, GuillaumeX <guillaumex.betous@intel.com>
2014-07-21Fix klocwork critical in bootstubMichel Jauffres
BZ: 163012 Patch handles issue from klocwork build 87 using daily 20140106_2803 Issue number 87939: pointer bp checked for NULL at line 97 may be dereferenced at line 131. Change-Id: I01d53bfe28948167f7cc68f558cfb0c5639c7100 Signed-off-by: Michel Jauffres <michelx.jauffres@intel.com>
2014-07-21Test patch for anniadele fabric errorEvgeny Kalugin
BZ: 136642 Change-Id: Ic87ef04c0c66bdc4df26e24f3086eed9ff77818e Signed-off-by: Evgeny Kalugin <evgeny.kalugin@intel.com>
2014-07-21[PORT FROM XEN_SANDBOX]Bootstub modification for Xen, ported from R42TW branchEvgeny Kalugin
BZ: 136642 Deeply modified port from Xen branch Change-Id: Icde718b22f8519ab33cc0dfb78a057bacfc9dda0 Orig-Change-Id: I0b56738d9532c268582b6a7a3d3fb1974cf28324 Signed-off-by: Evgeny Kalugin <evgeny.kalugin@intel.com>
2014-07-21Bootstub: Build $(PRODUCT_OUT)/bootstub from sourcesOlivier Fourdan
BZ: 98212 Build the bootstub from the available sources and place the result in out/target/product/*/bootstub for use by the mkbootimg. Optimize code generation for size to fit into the 4096 bytes and check for actual size to avoid silently truncating the code. Change-Id: I1b93b08a55ebcc1dc6e4ddfcbc2939c1a52b581c Signed-off-by: Olivier Fourdan <olivier.fourdan@intel.com> Reviewed-on: http://android.intel.com:8080/100248 Reviewed-by: Fert, Laurent <laurent.fert@intel.com> Reviewed-by: Tinelli, Vincent <vincent.tinelli@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
2014-07-21Makefile: remove bootstub during cleanMark F. Brown
BZ: 114933 Change-Id: Iae45d10c9705526e6cd559b678ba0686657ef0f9 Signed-off-by: Mark F. Brown <mark.f.brown@intel.com> Reviewed-on: http://android.intel.com:8080/112533 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com> Reviewed-by: Fert, Laurent <laurent.fert@intel.com> Reviewed-by: Tinelli, Vincent <vincent.tinelli@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
2014-07-21SFI: Fixed MMAP search routineMark F. Brown
BZ: 114933 Needs to search for MMAP via SYST table Added SFI table verification Optimized table search: * Search for SYST on 16-byte boundary * Table signature match via magic number rather than strcmp Change-Id: Ic1e32eb7622ac1839ceb22e1315df50709df485a Signed-off-by: Mark F. Brown <mark.f.brown@intel.com> Reviewed-by: Jim A. Pelner <jim.a.pelner@intel.com> Reviewed-on: http://android.intel.com:8080/112532 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com> Reviewed-by: Fert, Laurent <laurent.fert@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
2014-07-21SSP: Added SPI UART via SSP5Mark F. Brown
BZ: 114933 Merrifield uses SPI via SSP rather than a dedicated SPI peripheral Moved volatile definitions to types.h Based off code by Courtney A. Drant Change-Id: I3a8fbe364f2fcf860ac47f431b93868fb7b598d9 Signed-off-by: Mark F. Brown <mark.f.brown@intel.com> Signed-off-by: Courtney A. Drant <courtney.a.drant@intel.com> Reviewed-on: http://android.intel.com:8080/112531 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com> Reviewed-by: Fert, Laurent <laurent.fert@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
2014-07-21bootstub: optimizations and cleanup of bootstubEric Ernst
BZ: 98228 Optimizations of bootstub code: -clean up naming (replacing mrst references to mid where applicable) -Code size reduction -increase code efficiency -change uart functionality to more accurately support on other platforms. Instead of assuming SPI 0 for non recognized SOCs, will now skip spi/uart initializations and simply return from print routines -increase version to 1.3 Change-Id: Id355fa64d53422cb8fa28e4fd5155e0e1b9d0b55 Signed-off-by: Eric Ernst <eric.ernst@intel.com> Reviewed-on: http://android.intel.com:8080/99552 Reviewed-by: Gao, Bin <bin.gao@intel.com> Reviewed-by: Chouleur, Sylvain <sylvain.chouleur@intel.com> Reviewed-by: Noziska, Patrick J <patrick.j.noziska@intel.com> Reviewed-by: Yang, Fei <fei.yang@intel.com> Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Move repo path of bootstub project to vendor/intel/boot/Chetan Rao
BZ: 100434 Move the repo path of bootstub project from device/intel/ to vendor/intel/boot/ Change-Id: I446289211bec816496a8ec38e5d0870f7a232799 Signed-off-by: Chetan Rao <chetan.rao@intel.com> Reviewed-on: http://android.intel.com:8080/101848 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21bootstub: get system memory map by int 15h on Baytrail platformBin Gao
BZ: 96847 There is no SFI MMAP table any more for Baytrail platform. Now we can get system memory map information by int 15h which returns an e820 table with memory map entries. We have to switch to real mode to call int 15h then switch back to protected mode. This patch implements the real mode int 15 call in assembly language but exported a C style function: int get_e820_by_bios(void *e820_buf); See details in e820_bios.S. Change-Id: I33dbeaaa58da217e74e015f0d911896500043d17 Signed-off-by: Bin Gao <bin.gao@intel.com> Reviewed-on: http://android.intel.com:8080/99216 Reviewed-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com> Tested-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
2014-07-21bootstub: add VLV2 SoC detectionBin Gao
BZ: 96845 Add ValleyView2 SoC (i.e. Baytrail platorm) detection for bootstub. This is needed for further VLV2 related feature enabling, e.g. BIOS style e820 read, etc. Change-Id: Id590de166acb01a81cc11290bf1efdd27ba82a32 Signed-off-by: Bin Gao <bin.gao@intel.com> Reviewed-on: http://android.intel.com:8080/99215 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Renganathan, Prabu <prabu.renganathan@intel.com> Reviewed-by: Anagani, Chandra Sekhar <chandra.sekhar.anagani@intel.com> Reviewed-by: Ernst, Eric <eric.ernst@intel.com> Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Bootstub: Increase the command line size in bootstubJeremy Compostella
BZ: 12336 Bootstub is currently allocated only 256 bytes for kernel boot command-line options. The Android kernel boot command line options is getting larger and with the current size of 256 bytes in size, it's not enough. This patch added to increase the allocation of the kernel boot command-line options to 1024 bytes in bootstub. Also, bump up the bootstub version to v1.2 Change-Id: Id8804359899ee1facb621de2cb8fd3c6ef4e14ad Signed-off-by: Jeremy Compostella <jeremyx.compostella@intel.com> Signed-off-by: Leonard Mai <leonard.mai@intel.com> Reviewed-on: http://android.intel.com:8080/22416 Reviewed-by: Du, Alek <alek.du@intel.com> Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21bootstub: add cloverview supportLeonard Mai
Add cloverview support. Also bump up the version to 1.1. Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
2014-07-21Makefile: add -m32 by defaultAlek Du
It is not harmful to specify -m32 always. Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21Pump up version to 1.0Jacob Pan
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
2014-07-21SFI: fix table alignmentJacob Pan
SFI spec does not require any dword alignment of its tables other than SYST base table. IA FW may produce byte aligned mmap table that the current code cannot handle. Also added __packed attribute for sfi structures. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
2014-07-21Pump up version to 0.9Alek Du
A good sign for Medfield support... Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21Fixing license header ...Alek Du
Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21license: refine the license statementFeng Tang
Also clean the spi-uart.c a little Signed-off-by: Feng Tang <feng.tang@intel.com>
2014-07-21Penwell: Detect Penwell through cpuid and thus set correct SPIC for uart outputAlek Du
Any other good idea? Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21initrd: do not copy initrd image to DDR location if no initrd existsAlek Du
Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21Pump up version to 0.8Alek Du
Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21SFI: translate MMIO mem region to E820_RESERVED typeFeng Tang
old code just skipped the MMIO type entry in SFI mmap table, as a workaround to PCI MCFG conflict issue. Signed-off-by: Feng Tang <feng.tang@intel.com>
2014-07-21spi: ported spi clock auto detect from kernel mrst_spi.cJacob Pan
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
2014-07-21spi: changed clock divider to match 100MHz SPI CLKJacob Pan
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
2014-07-21add SPI controller selection flag, clean code to 0.7 versionAlek Du
Signed-off-by: Alek Du <alek.du@intel.com>
2014-07-21SFI: use sfi mmap table to build a e820 table for boot_parametersFeng Tang
Signed-off-by: Feng Tang <feng.tang@intel.com>