summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-05Add METADATA to edk2: BSD+MIT+zlib+PSFL+LLVM+Apache2=NOTICE am: 30bf053feaHEADandroid-r-beta-3android-r-beta-2mastermainBob Badour
Change-Id: I127f641aeda7f559f6f5ba40f526b399f1c245e3
2020-05-01Add METADATA to edk2: BSD+MIT+zlib+PSFL+LLVM+Apache2=NOTICEBob Badour
Bug: 68860345 Bug: 69058154 Bug: 151953481 Test: no code changes Change-Id: I71963776d04f965d909d6d3f4e641ed5c01725fc
2019-02-24[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterr_aml_301500702android-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-r-preview-4android-r-preview-3android-r-preview-2android-r-preview-1android-platform-11.0.0_r9android-platform-11.0.0_r8android-platform-11.0.0_r7android-platform-11.0.0_r6android-platform-11.0.0_r5android-platform-11.0.0_r4android-platform-11.0.0_r3android-platform-11.0.0_r2android-platform-11.0.0_r13android-platform-11.0.0_r12android-platform-11.0.0_r11android-platform-11.0.0_r10android-platform-11.0.0_r1android-mainline-12.0.0_r55android-mainline-12.0.0_r112android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r6android-11.0.0_r5android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r4android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r3android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r25android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r2android-11.0.0_r19android-11.0.0_r18android-11.0.0_r17android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android-11.0.0_r1android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001ndk-sysroot-r21android12-mainline-tzdata2-releaseandroid11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-platform-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseandroid10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseaml_tz2_305400100Xin Li
am: cd2fa6ffde -s ours am skip reason: subject contains skip directive Change-Id: Id6420196308929e3dd4dfb4f97c29da4f3803fca
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterandroid-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Xin Li
Bug: 120848293 Change-Id: Ia1dbced093e5d04ab4bbb9a26f9144eeba47ac18
2018-12-20Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEAD am: ↵John Stultz
5d32321b0b am: d611cb9b25 am: dc8f79e73d Change-Id: I45efdd6ab987c2d7823a0ee6cb934521edbf6be3
2018-12-20Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEAD am: 5d32321b0bJohn Stultz
am: d611cb9b25 Change-Id: Ib9527e947d8d199958f128f71c4f77bcc3f0d86c
2018-12-20Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEADJohn Stultz
am: 5d32321b0b Change-Id: I8e24147b4a7ec42c7fb58d36bd9e2c2d80fe9271
2018-12-20Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEADandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseJohn Stultz
Merge in Offset multiplication overflow fix. Change-Id: If4922eaa4af1cbfa1b4454c5aaea910324d3b85b Signed-off-by: John Stultz <john.stultz@linaro.org>
2018-12-20Merge pull request #79 from johnstultz-work/fastboot-overflow-fix-hikeyupstream-hikey-aospHaojian Zhuang
EmbeddedPkg/AndroidFastboot: Fix overflow in Offset calculations
2018-12-19EmbeddedPkg/AndroidFastboot: Fix overflow in Offset calculationsJohn Stultz
After noticing filesystem corruption on disk images after they had been flashed to a board, regardless of kernel, I dug in and found the fastboot sparse file handling was seeing overflows of the Offset value. Initially this was confusing as the Offset value is a UINTN, so should be 64bits. However, when flashing large images, fastboot will break the sparse image up into separate segments. After the first segment is sent, it prefixes the second segment with a DONTCARE chunk (which skips writing to the disk and moves Offset forward). Unfortunately, the ChunkSize is defined as a 32bit count of BlockSize (usually 4k) blocks. So when the Offset in a previous segment grows beyond 32bits, the following segment is prefixed with a DONTCARE chunk where the ChunkSize*BlockSize should be equal to the preivous Offset value. Unfortunately, the calculations were done such that it multiplied two UINT32 values without casting to a UINTN first, resulting in the multiplicaiton overflowing and losing the high bits. This resulted in data being incorrectly written over the lower 32bit range of the partition. Thus, this patch fixes the issue by casting the ChunkSize to a UINTN before doing the multiplication and avoiding the overflow Signed-off-by: John Stultz <john.stultz@linaro.org>
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 829ea1ae4e -s ours am: 77e59dd49e -s ours am: 44fb460993 -s ours Change-Id: I7de1d7e0f900171257ae618ac572cb572130e74f
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 829ea1ae4e -s ours am: 77e59dd49e -s ours Change-Id: I37eecb71e1069f1a9c17bd4a35616e54db3b7c29
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGEBill Yi
am: 829ea1ae4e -s ours Change-Id: I869fd77d4f8b4ecd7c76c2bf6b5256ddd60a3e0c
2018-10-24Merge pie-platform-release to aosp-master - DO NOT MERGEandroid-wear-8.0.0_r2android-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-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.7Bill Yi
Change-Id: I20efb0b291e228205e2098d996af0b0a539eacaa
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: ea964f5123 -s ours am: b05894434e -s ours Change-Id: I4281b7fe104fe4f1c0f73b65593608c43e0e1580
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: ea964f5123 -s ours Change-Id: Iae46ba235a37c670e37492a2447bbb40d2655b92
2018-10-24Merge pi-platform-release to stage-aosp-master - DO NOT MERGEBill Yi
Change-Id: Ia1c086bd96bc217574681bed78e9f9a43bac0676
2018-08-22Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEAD am: ↵John Stultz
a1e5dccd6a am: c593450051 am: 179d668bb2 Change-Id: If391b00e3e33e32c2de880f27bda245fc7a2a069
2018-08-22Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEAD am: a1e5dccd6aJohn Stultz
am: c593450051 Change-Id: Ia2043ac83e22ba6cc2317a94c7c222e01d35472a
2018-08-22Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEADJohn Stultz
am: a1e5dccd6a Change-Id: If56e54850f1dff9679e7ac0942dad88c7f43d70e
2018-08-21Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into HEADandroid-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseJohn Stultz
Merge in changes from upstream edk2 project Specifically: o EmbeddedPkg/AbootimgLib: fix unused Status variable o EmbeddedPkg/AbootimgLib: make initrd kernel parameter flexible o BaseTools/tools_def: add "-fno-unwind-tables" to GCC_AARCH64_CC_FLAGS o MdeModulePkg/UfsPassThruDxe: use loop to polling UTRLRSR o MdeModulePkg/UfsPassThruDxe: avoid ufs hang by adding delay o Revert "EmbeddedPkg/AndroidFastboot: add delay before reboot" Signed-off-by: John Stultz <john.stultz@linaro.org>
2018-08-14Merge pull request #76 from hzhuang1/status_2Haojian Zhuang
EmbeddedPkg/AbootimgLib: fix unused Status variable
2018-08-14EmbeddedPkg/AbootimgLib: fix unused Status variableHaojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-08-14Merge pull request #75 from hzhuang1/initrd_2Haojian Zhuang
Initrd 2
2018-08-14EmbeddedPkg/AbootimgLib: make initrd kernel parameter flexibleHaojian Zhuang
Create "initrd=" kenrel parameter only when ramdisk exists in boot image. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-08-14BaseTools/tools_def: add "-fno-unwind-tables" to GCC_AARCH64_CC_FLAGSLaszlo Ersek
The ElfConvert routines in GenFw don't handle the ".eh_frame" ELF section emitted by gcc. For this reason, Leif disabled the generation of that section for AARCH64 with "-fno-asynchronous-unwind-tables" in commit 28e80befa4fe [1], and Ard did the same for IA32 and X64 in commit 26ecc55c027d [2]. (The CLANG38 toolchain received the same flag at its inception, in commit 6f756db5ea05 [3].) However, ".eh_frame" is back now; in upstream gcc commit 9cbee213b579 [4] (part of tag "gcc-8_1_0-release"), both "-fasynchronous-unwind-tables" and "-funwind-tables" were made the default for AARCH64. (The patch author described the effects on the gcc mailing list [5].) We have to counter the latter flag with "-fno-unwind-tables", otherwise GenFw chokes on ".eh_frame" again (triggered for example on Fedora 28). "-f[no-]unwind-tables" goes back to at least gcc-4.4 [6], so it's safe to add to GCC_AARCH64_CC_FLAGS. [1] https://github.com/tianocore/edk2/commit/28e80befa4fe [2] https://github.com/tianocore/edk2/commit/26ecc55c027d [3] https://github.com/tianocore/edk2/commit/6f756db5ea05 [4] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9cbee213b579 [5] http://mid.mail-archive.com/7b28c03a-c032-6cec-c127-1c12cbe98eeb@foss.arm.com [6] https://gcc.gnu.org/onlinedocs/gcc-4.4.7/gcc/Code-Gen-Options.html Cc: "Danilo C. L. de Paula" <ddepaula@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Cole Robinson <crobinso@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Liming Gao <liming.gao@intel.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Reported-by: "Danilo C. L. de Paula" <ddepaula@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-04-18Merge pull request #72 from hzhuang1/replace_delay_2Haojian Zhuang
MdeModulePkg/UfsPassThruDxe: use loop to polling UTRLRSR
2018-04-18MdeModulePkg/UfsPassThruDxe: use loop to polling UTRLRSRHaojian Zhuang
In Hi3660 SoC, need to poll UTRLRSR by loop. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-04-16Merge pull request #69 from hzhuang1/fix_ufs_hang_2Haojian Zhuang
MdeModulePkg/UfsPassThruDxe: avoid ufs hang by adding delay
2018-04-16MdeModulePkg/UfsPassThruDxe: avoid ufs hang by adding delayHaojian Zhuang
When UEFI is built in release mode, it's always hang on HiKey960 platform without this patch. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-03-30Merge pull request #67 from hzhuang1/reboot_2Haojian Zhuang
Revert "EmbeddedPkg/AndroidFastboot: add delay before reboot"
2018-03-30Revert "EmbeddedPkg/AndroidFastboot: add delay before reboot"Haojian Zhuang
This reverts commit af60f944df3f405235f1bcdc8a6682628429c753. Since the similar function is merged into ARM Trusted Firmware, we don't need to implement it in edk2 common code any more. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-03-28Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into edk am: ↵Dmitry Shmidt
27fa02b096 am: a8fa7d906e am: 08244e3314 Change-Id: Icb98a90530a21e638de410c996bf01c7ffadb80d
2018-03-28Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into edk am: 27fa02b096android-o-mr1-iot-release-1.0.3Dmitry Shmidt
am: a8fa7d906e Change-Id: Ib05ce71eb9287993320285c1cac90315dd627ec5
2018-03-28Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into edkDmitry Shmidt
am: 27fa02b096 Change-Id: Ie8e9c5b371d7bb1bc28f1a23502fc5bf27a85442
2018-03-27Merge remote-tracking branch 'aosp/upstream-hikey-aosp' into edkandroid-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8o-mr1-iot-preview-8Dmitry Shmidt
Change-Id: I74012820a8b8efad7b5e1f43291489a430ed487d
2018-03-26Merge pull request #65 from hzhuang1/reboot_delay_2Haojian Zhuang
EmbeddedPkg/AndroidFastboot: add delay before reboot
2018-03-26EmbeddedPkg/AndroidFastboot: add delay before rebootHaojian Zhuang
Add delay since some data may not be synced into storage device. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-03-06Merge pull request #63 from hzhuang1/clang_2Haojian Zhuang
Clang 2
2018-03-06EmbeddedPkg/Abootimg.h: fix definition error on functionHaojian Zhuang
Fix definition error on function. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-03-06BaseTools/tools_def: add CLANG38 LTO versions for AARCH64 and ARMArd Biesheuvel
Extend the CLANG38 toolchain definition so it can be used for ARM and AARCH64 as well. Note that this requires llvm-ar and the LLVMgold.so linker plugin. In preparation of doing the same for GCC5, this toolchain version also departs from the custom of using -O0 for DEBUG builds, which makes them needlessly slow. Instead, let's add a NOOPT flavor as well, and enable optimization for DEBUG like the other architectures do. (Note that this will require some trivial changes to the platform description files) Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-03-06BaseTools/Gcc ARM AARCH64: add support for building device tree binariesArd Biesheuvel
While modern AARCH64 server systems use ACPI for describing the platform topology to the OS, ARM systems and AARCH64 outside of the server space mostly use device tree binaries, which are compiled from device tree source files using the device tree compiler. Currently, such source files and binaries may be kept in the EDK2 platform trees, but are not integrated with the build, which means they need to be kept in sync and recompiled manually, which is cumbersome. So let's wire up BaseTools support for them: add tool definitions for the DTC compiler and preprocessor flags that allow these source files to use FixedPcd expressions and other macros defined by AutoGen.h This way, a device tree binary can be built from source and emitted into a FFS file automatically using something like: DeviceTree.inf: [Defines] INF_VERSION = 0x00010019 BASE_NAME = SomePlatformDeviceTree FILE_GUID = 25462CDA-221F-47DF-AC1D-259CFAA4E326 # gDtPlatformDefaultDtbFileGuid MODULE_TYPE = USER_DEFINED VERSION_STRING = 1.0 [Sources] SomePlatform.dts [Packages] MdePkg/MdePkg.dec SomePlatform.fdf: INF RuleOverride = DTB xxx/yyy/DeviceTree.inf [Rule.Common.USER_DEFINED.DTB] FILE FREEFORM = $(NAMED_GUID) { RAW BIN |.dtb } where it can be picked at runtime by the DTB loader that may refer to it using gDtPlatformDefaultDtbFileGuid. Note that this is very similar to how ACPI tables may be emitted into a FFS file with a known GUID and picked up by AcpiTableDxe at runtime. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-03-06BaseTools/Conf: Support LLVM39 and LLVM40 in CLANG38 toolchainShi, Steven
https://bugzilla.tianocore.org/show_bug.cgi?id=676 Add LLVM39 and LLVM40 support in CLANG38 toolchain Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Steven Shi <steven.shi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-03-06BaseTools: Add option in CLANG38 to disable warning unknown-warning-optionLiming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=466 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-03-06BaseTools/tools_def: Use armv7-a for CLANG35 ARM compilations.Marvin Haeuser
Define "-march=armv7-a" - which is used by the GCC toolchains - for ARM CLAMNG35 builds to fix compilation of the MemoryFence ASM. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-03-06BaseTools: Add NOOPT target in CLANG38 tool chainLiming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=310 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-02-11Merge pull request #60 from hzhuang1/fix_fb_2Haojian Zhuang
Fix fb 2
2018-02-11EmbeddedPkg/AndroidFastbootApp: increase fill bufHaojian Zhuang
Increase the fill buffer that could increase the performance. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-02-11EmbeddedPkg/AndroidFastbootApp: fix overflow on fill bufHaojian Zhuang
Fix overflow on fill buffer. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2018-02-05Merge pull request #58 from hzhuang1/riku_dtb_2Haojian Zhuang
Riku dtb 2