summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-13Fix a test to check duplicated phandles am: 718007765a am: bc2c5f2384android13-tests-devKyeongkab.Nam
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/2385752 Change-Id: Id9e3e33501130aba193bcbd7135e7d8b35b158ee Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13Fix a test to check duplicated phandles am: 718007765aandroid12L-tests-devKyeongkab.Nam
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/2385752 Change-Id: I909be551c58c7891716a4f53fcb8c2eceef6fd52 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12Fix a test to check duplicated phandlesandroid12-tests-devKyeongkab.Nam
All the dtbo will be merged into one fdt to verify if dtb in a test device is the same as expected. However, there are cases the number of phandle will be duplicated Fix a test to get correct phandle_offset. Bug: 259891464 Test: run vts -m VtsFirmwareDtboVerification Change-Id: Ia90a4537a4be0dfbb0316d2b47fb12d619fa7c34 (cherry picked from commit 7bcbff31c5af60933701281d5e682e62732143d8)
2022-04-19Convert mkdtboimg.py to python 3 am: f20ea93eca am: 9cc2027ccc am: ca262c4ba6t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android-vts-13.0_r2android-cts-13.0_r2android13-frc-odp-releaseandroid13-devCole Faust
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/2061124 Change-Id: I4e9a155dc46f747ae54d7785e85e8ac83b443d2c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19Convert mkdtboimg.py to python 3 am: f20ea93eca am: 9cc2027cccCole Faust
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/2061124 Change-Id: I7dba59d97696de7d3be892f1ecd8f0835d716211 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19Convert mkdtboimg.py to python 3 am: f20ea93ecaCole Faust
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/2061124 Change-Id: I2cddc2a5b442d3bd82db9bfaaffe5b8aa8959ced Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12Convert mkdtboimg.py to python 3Cole Faust
I was not able to test mkdtboimg_acpi_testdata.sh, because aosp/1391197 appears to have broken mkdtboimg.py when --version 2 is passed (or anything other than 0/1). Bug: 203436762 Test: ./mkdtboimg_testdata.sh Change-Id: I818f9124a3680c7a64935fd406756880e1ddc6c2
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: ad69aee67b -s ours am: 7723962b7f -s ours am skip reason: Merged-In I3b1030635342d607621626a010d57a188c092ed2 with SHA-1 46beef5c6f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/libufdt/+/16844194 Change-Id: I09a3449dfb02e653c590da6163e603b0b8ae9eae
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: ad69aee67b -s ours am skip reason: Merged-In I3b1030635342d607621626a010d57a188c092ed2 with SHA-1 46beef5c6f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/libufdt/+/16844194 Change-Id: I08ef7aa91ac0e33d420cd4f2fee912b10e663f7c
2022-02-11Empty merge of sc-v2-dev-plus-aosp-without-vendor@8084891Xin Li
Bug: 214455710 Merged-In: I3b1030635342d607621626a010d57a188c092ed2 Change-Id: I6b3d7316dbfbf6c3d94b8ad070bc2c39d357948f
2022-01-25Fix building mkdtimg against musl am: 8b90814391 am: 62f9d011b2 am: ↵Colin Cross
775b233b67 am: 949da29302 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1931938 Change-Id: I84b941b1d4a88d9723f649978504b17376a5150c
2022-01-25Fix building mkdtimg against musl am: 8b90814391 am: 62f9d011b2 am: 775b233b67Colin Cross
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1931938 Change-Id: I1fe92fa6dd427c0eab5415da1f054aa3579fc9c9
2022-01-25Fix building mkdtimg against musl am: 8b90814391 am: 62f9d011b2Colin Cross
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1931938 Change-Id: Iaac626f0d55018eced5af2dced86886cf2da9989
2022-01-25Fix building mkdtimg against musl am: 8b90814391Colin Cross
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1931938 Change-Id: I8f168b63e16e6e2bd68dddc2731a16f1b0fbc9f8
2022-01-07Fix building mkdtimg against muslandroid-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Colin Cross
Fix building mkdtimg against musl libc by fixing a -Wformat error that is not caught by glibc because glibc's fprintf is not annotated with the __printf__ attribute: system/libufdt/utils/src/mkdtimg_dump.c:92:21: error: flag '+' results in undefined behavior with 's' conversion specifier [-Werror,-Wformat] fprintf(out_fp, "%+20s = %d\n", name, fdt32_to_cpu(value)); Bug: 190084016 Test: m USE_HOST_MUSL=true mkdtimg Change-Id: Ibcb5a8839cc3c220789927a7eeffce162fb21613
2022-01-07Remove hridya@ from OWNERS am: 46beef5c6f am: 7413831a75 am: 6950ce173d am: ↵Hridya Valsaraju
2fc7c937ad Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1940144 Change-Id: Ib6a7c47dee80cda274d7f8fc5e032486b4820ed9
2022-01-07Remove hridya@ from OWNERS am: 46beef5c6f am: 7413831a75 am: 6950ce173dHridya Valsaraju
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1940144 Change-Id: If951d5bc849f43bba09776794d7a8808a06deb86
2022-01-07Remove hridya@ from OWNERS am: 46beef5c6f am: 7413831a75Hridya Valsaraju
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1940144 Change-Id: I762605a825ac98b3ece5ed4d57ba826dfff08a90
2022-01-07Remove hridya@ from OWNERS am: 46beef5c6fHridya Valsaraju
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1940144 Change-Id: I3a0d484af2ef72e49a62171a496305636f42d4e1
2022-01-06Remove hridya@ from OWNERSHridya Valsaraju
Test: N/A Bug: N/A Change-Id: I3b1030635342d607621626a010d57a188c092ed2
2021-07-12Change log message to debug VTS DTBO verify issue am: ee1235446a am: ↵gumingtao
b4e4315971 am: b53ee1d949 am: 09b6997b69 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1757318 Change-Id: I8d982ef8ee12a9e5a9d591fc35c1fe6569d63714
2021-07-12Change log message to debug VTS DTBO verify issue am: ee1235446a am: ↵gumingtao
b4e4315971 am: b53ee1d949 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1757318 Change-Id: I79515f042d5301b39ed19753ae461a3edc2999e0
2021-07-12Change log message to debug VTS DTBO verify issue am: ee1235446a am: b4e4315971android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1gumingtao
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1757318 Change-Id: Iccc4cb320995aa90cd9c36571142594b230a17df
2021-07-12Change log message to debug VTS DTBO verify issue am: ee1235446agumingtao
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1757318 Change-Id: I3281a49828f6dff50c7a6112f31a56becbb89548
2021-07-07Change log message to debug VTS DTBO verify issueandroid-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4gumingtao
Patch is intended to debug the DTBO verify issue more conveniently, it is better to replace __overlay__ node with fragment@x node, like this : ufdt_verify_fragment():failed to verify overlay node _overlay_ to target interrupt-controller@0xb220000 instead by: ufdt_verify_fragment():failed to verify fragment node fragment@17 target_node interrupt-controller@0xb220000 Signed-off-by: gumingtao <gumingtao1225@gmail.com> Signed-off-by: gumingtao <gumingtao@xiaomi.com> Change-Id: I3a1616c2ab795f5c962043f44d7e3c6fe85ecb72
2021-06-02Merge sc-mainline-prodXin Li
Bug: 189946434 Change-Id: I67c8da6450802de958e0f3d031317763b4daa680
2021-05-17Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 am: c00d54c05b am: b6ce9d0d6b Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I0d61ab27975cbd24bd888e58a043d43a229ab362
2021-05-16Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 am: c00d54c05b Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I4164210d457cb514fe777d8321a316e75e98ec3d
2021-05-15Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 am: eb0040a0a0 am: 7e6f2b4a9b Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: If7ec5d9824a071a9490ddc40b1e54cbb17d62099
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 am: eb0040a0a0 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: Ie369ecdb016c6b44e19e6b2c78956ea026e89e12
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseHridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I7df054f6ba8a6a986f4ab49e7298cb7b7b754879
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: Id171d80b06961246ac705de5983652c2bcbb6727
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵android-mainline-12.0.0_r99android-mainline-12.0.0_r98android-mainline-12.0.0_r77android-mainline-12.0.0_r70android-mainline-12.0.0_r69android-mainline-12.0.0_r63android-mainline-12.0.0_r59android-mainline-12.0.0_r56android-mainline-12.0.0_r5android-mainline-12.0.0_r49android-mainline-12.0.0_r42android-mainline-12.0.0_r39android-mainline-12.0.0_r22android-mainline-12.0.0_r19android-mainline-12.0.0_r122android-mainline-12.0.0_r115android-mainline-12.0.0_r113android-mainline-12.0.0_r100aml_tz3_311312010android12-mainline-networkstack-releaseandroid12-mainline-art-releaseHridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: Ifea169c5f1fa09f03a2d5cbb31ab3638eee45bc2
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵Hridya Valsaraju
01856f80fb am: 72cd323bef am: 38fdfacee6 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: If698ca7b4f44d09b8da466a798f2df708400b036
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: ↵android-vts-12.1_r4android-vts-12.1_r3android-vts-12.1_r2android-vts-12.0_r6android-vts-12.0_r5android-vts-12.0_r4android-vts-12.0_r3android-vts-12.0_r2android-cts-12.1_r4android-cts-12.1_r3android-cts-12.1_r2android-cts-12.0_r6android-cts-12.0_r5android-cts-12.0_r4android-cts-12.0_r3android-cts-12.0_r2android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devHridya Valsaraju
01856f80fb am: 72cd323bef Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I34aef4dc3d2e4bce82974fa5ede196892be0cff3
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6 am: 01856f80fbHridya Valsaraju
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I66fc6638dfcd00b2165512af78e94bb08576de22
2021-05-05Throw an error on all overlay application errors am: f6b572a2f6Hridya Valsaraju
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1696088 Change-Id: I6f96de7a192addd3a20d8cb22b20e0bf07d04b98
2021-05-04Throw an error on all overlay application errorsandroid-s-beta-2android-s-beta-1Hridya Valsaraju
libufdt depends on the presence of the __overlay__ subnode to identify a node in an overlay DT as a fragment node. Since base DT target only needs to resolved for valid fragment nodes, return early for non-fragment nodes. This allows us to return an error code for any other error. Test: sh tests/run_tests.sh Bug: 186482257 Change-Id: I05ec377e3773dc4a6396278f246da994c9004865
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 48ab4764d4 -s ↵Xin Li
ours am: 146d68a8ec -s ours am: deefe400e0 -s ours am skip reason: Change-Id Icec700f77ae5e757d80d60c957d78b81f47f6a17 with SHA-1 56d40adfe4 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8b325f6f808048b3ad791daf494c21aa9f15178b
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 48ab4764d4 -s ↵Xin Li
ours am: 146d68a8ec -s ours am: deefe400e0 -s ours am skip reason: Change-Id Icec700f77ae5e757d80d60c957d78b81f47f6a17 with SHA-1 56d40adfe4 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ibc24a838545e21bad7042b6371516a5b16917e10
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 48ab4764d4 -s ↵Xin Li
ours am: 146d68a8ec -s ours am skip reason: Change-Id Icec700f77ae5e757d80d60c957d78b81f47f6a17 with SHA-1 56d40adfe4 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iea91f72f18889b341bada203fe4846843d303458
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 48ab4764d4 -s oursXin Li
am skip reason: Change-Id Icec700f77ae5e757d80d60c957d78b81f47f6a17 with SHA-1 56d40adfe4 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic3cc4e888c96e4d9e7f6769d05d3cc0fe06beb78
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: Icec700f77ae5e757d80d60c957d78b81f47f6a17 Change-Id: I422ffc0865f1690668123754ec3d071ed57323eb
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029d am: ↵Bob Badour
dc03a00357 am: 50ed6001b4 am: fdb3b97da7 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9e73206d9c17dda595eea29d9827e91eb3935fc7
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029d am: ↵Bob Badour
dc03a00357 am: 50ed6001b4 am: fdb3b97da7 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I570f3e6db6a7bbdca112b685e3818f29364d12a9
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029d am: ↵Bob Badour
dc03a00357 am: 50ed6001b4 Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1747e4a3d31a545fb869eaba3951e02c948c7583
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029d am: dc03a00357Bob Badour
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4081b0d630adbee212f9f66cf4d9125871e59e89
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029dBob Badour
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifbbad2f3ca3ef9ce70b1d04f93b45d504f838187
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to system/libufdtandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: tests/libufdt_verify/Android.bp tests/src/Android.bp utils/src/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: Android.bp sysdeps/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I84d850aa50a3f06c6748f718fe4927f3d67ac6db
2020-11-24Mark ab/6881855 as merged am: b3c8ef67f9 am: 56d40adfe4Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/libufdt/+/13113104 Change-Id: I574a0a4338f67e5c0e900ca0863df9f7bc677ce6