summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-09Merge changes from topic "dt_compression"android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseHridya Valsaraju
am: 500cadc85a Change-Id: I9e44dbb66c6de9f2be917859e258b668c6f1e04a
2018-07-09Add capability to compress dt overlaysHridya Valsaraju
am: 88c1fd649d Change-Id: Ice49bd3b85547c284caaba16e0a2b030038e0fdf
2018-07-09Add check to test for corrupted or empty overlaysHridya Valsaraju
am: c38931bd4b Change-Id: I51eb86eec6e411e3f35f416fe21d35b34f411008
2018-07-09Merge changes from topic "dt_compression"android-p-preview-5android-o-mr1-iot-release-1.0.2Treehugger Robot
* changes: Support DT compression using zlib/gzip Add capability to compress dt overlays
2018-07-06Support DT compression using zlib/gzipHridya Valsaraju
When using a DTBO header of version 1, the four least significant bits of the flags field in dt_table_entry will indicate the compression format of the DT entry. Currently zlib and gzip compressions are supported. Bug: 109892148 Test: make Change-Id: Ie880c4508b5dd71ccf7725b06489b8701431bcb2
2018-07-04Add capability to compress dt overlaysHridya Valsaraju
For DTBOs using a header of version 1, mkdtboimg.py supports zlib/gzip compression as per the compression format information present in the 4 least significant bits of the flag field in dt_table_entry. A new argument "decompress" has been added to the "dump" command to decompress any compressed entries before dumping. Bug: 109892148 Test: sh mkdtboimg_testdata.sh Test: make vts -j32 && vts-tradefed run vts -m VtsFirmwareDtboVerification Change-Id: Id9524f986506ee8eb91d0ed15d4b91a2d2ed85af
2018-07-02Add check to test for corrupted or empty overlaysHridya Valsaraju
Bug: 109892148 Test: make vts -j32 && vts-tradefed run vts -m VtsFirmwareDtboVerification Change-Id: Ib1a2af64da66364e701349d8be0eb66117f98a59
2018-06-01Removing bootdevice from /dev/block/bootdevice/by-name/* am: 5a262a75deBowgo Tsai
am: 274c1830d2 Change-Id: I1db91ffedee0780662e552b3d5a28601bd339743
2018-06-01Removing bootdevice from /dev/block/bootdevice/by-name/*Bowgo Tsai
am: 5a262a75de Change-Id: I7116cf1d86222c8ea8db5508dc91103ae73add8d
2018-05-31Removing bootdevice from /dev/block/bootdevice/by-name/*android-p-preview-4android-o-mr1-iot-release-1.0.1Bowgo Tsai
We should switch to use /dev/block/by-name/<partition> because there is no requirement to have a single 'bootdevice' for Android. The symlink is created in the following change: https://android-review.googlesource.com/c/platform/system/core/+/674989 Bug: 80466341 Test: m -j mkdtimg ufdt_verify_overlay_host && ./verifyDTBO.sh Change-Id: Ic4464307d54f0119d0c04c2d555f8cc36b6d13e5
2018-04-17[automerger skipped] Replace reserved field with version in DTBO headerHridya Valsaraju
am: d84a3e4947 -s ours Change-Id: Ie7ea8517ef4ee3c1db9eda5160aa60818997a78a
2018-04-11Replace reserved field with version in DTBO headerandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devHridya Valsaraju
The version filed(currently 0) will be incremented when the dt_table_header struct is updated. Bug: 77706975 Test: ./mkdtboimg_testdata.sh Test: ./mkdtimg_testdata.sh Change-Id: I5c08720132d024437cce40c68cc2c6e937a064fd Merged-In: I5c08720132d024437cce40c68cc2c6e937a064fd (cherry picked from commit 2626d8b9e4d8e8c6cc67ceb1dc4e05a47779785c)
2018-04-11Replace reserved field with version in DTBO header am: 2626d8b9e4Hridya Valsaraju
am: 230b2071d5 Change-Id: I9ebed2d3f09d9a33dd5d81a49e1a56d90c03d4ad
2018-04-11Replace reserved field with version in DTBO headerHridya Valsaraju
am: 2626d8b9e4 Change-Id: I6801ef6f8fec7888eea424d3229fb00e9cffc4cf
2018-04-11Replace reserved field with version in DTBO headerandroid-wear-p-preview-2android-p-preview-3android-p-preview-2android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8o-mr1-iot-preview-8Hridya Valsaraju
The version filed(currently 0) will be incremented when the dt_table_header struct is updated. Bug: 77706975 Test: ./mkdtboimg_testdata.sh Test: ./mkdtimg_testdata.sh Change-Id: I5c08720132d024437cce40c68cc2c6e937a064fd
2018-03-01Modify overlay node combination algorithm am: faecc11b17 am: 1332f075b0Hridya Valsaraju
am: 8acbfba48a Change-Id: I39e34531807c668836318ca7d08cb5a155dff1eb
2018-03-01Modify overlay node combination algorithm am: faecc11b17Hridya Valsaraju
am: 1332f075b0 Change-Id: I3c82af4dc1704043a4c67db3f2d5f9b432ae4122
2018-03-01Modify overlay node combination algorithmHridya Valsaraju
am: faecc11b17 Change-Id: Id704bb26ca6ac1a5f4c38f91bc5265af824c6182
2018-02-27Modify overlay node combination algorithmandroid-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7Hridya Valsaraju
When fragment 'a' was referring to node 1 in the base device tree, and fragment 'b' was referring to a child of node 1, the earlier overlay node combination algorithm was not combining fragment 1 and fragment 2. This can cause the verification algorithm to cause a false failure. The test apply_verify_multiple_overlay.sh has been modified to test this case. Bug: 67779848 Test: sh apply_verify_multiple_overlay.sh Change-Id: I7a8ff2e0fb75c0346f8d208ebddad62d0b2a5671
2018-02-20Move VTS test to verify DTBO to test/vts/host/verifyDTBO am: aaa41aaa9a am: ↵Hridya Valsaraju
6f9f1a4e9b am: 49fda13627 Change-Id: I388447ecfbb36d21d88e36ba15d632fd5d9b0576
2018-02-20Move VTS test to verify DTBO to test/vts/host/verifyDTBO am: aaa41aaa9aHridya Valsaraju
am: 6f9f1a4e9b Change-Id: I79e40afb8b73ca234aa6b46c0176453111ec3060
2018-02-20Move VTS test to verify DTBO to test/vts/host/verifyDTBOHridya Valsaraju
am: aaa41aaa9a Change-Id: I79f25b88914f9ce19aa96cc58c02e2948d041048
2018-02-15Move VTS test to verify DTBO to test/vts/host/verifyDTBOHridya Valsaraju
Also moving verifyDTBO.sh to libufdt/test since it is a standalone test that can be run independent of VTS. Bug: 67779848 Bug: 72697311 Test: vts-tradefed run vts -m verifyDTBO Change-Id: I4c420404a482f7260796c93e054516bb6ec3b84f
2018-02-14Remove unnecessary require for libufdt_verify. am: 45e84ede35 am: 9f72e617faSteven Moreland
am: a98abbc7d6 Change-Id: I802a9c1f7f539a94a8440788bd22b5c460c5b977
2018-02-14Remove unnecessary require for libufdt_verify. am: 45e84ede35Steven Moreland
am: 9f72e617fa Change-Id: I4125de41f252d02bb39f1faa11332833afbdfd17
2018-02-14Remove unnecessary require for libufdt_verify.Steven Moreland
am: 45e84ede35 Change-Id: Ic7d2871791d0a883fa4abd2ab3a646edddaad00b
2018-02-12Remove unnecessary require for libufdt_verify.Steven Moreland
libufdt_verify is listes as a required module for ufdt_verify_overlay_host, but since it's a static library, nothing can actually be required. When requiring required modules to be defined, this throws an error. Bug: 7456955 Test: Requiring required modules no longer complains about this. Change-Id: Ia4385961d2c505c0f5c92cb43bd18b71804877de
2018-02-07Add a test to verify application of multiple overlays am: d698d0eb90 am: ↵Hridya Valsaraju
ebc156d5ee am: 23dbdea31a Change-Id: Id1776b0616a5f0ea9e815d2de9189587e92f7e11
2018-02-07Add capability to verify application of multiple overlays am: 4c7735ac01 am: ↵Hridya Valsaraju
93c9f57a7e am: 4a0a77246c Change-Id: I7a6a5b6d47a11810a58b07505f604fbd852e2479
2018-02-07Add a test to verify application of multiple overlays am: d698d0eb90Hridya Valsaraju
am: ebc156d5ee Change-Id: I240d9617438a7e7bae8b0a57a05e9b96885cfa10
2018-02-07Add capability to verify application of multiple overlays am: 4c7735ac01Hridya Valsaraju
am: 93c9f57a7e Change-Id: I540fc70b9a11afcc1534448076a92499ae63fd09
2018-02-07Add a test to verify application of multiple overlaysHridya Valsaraju
am: d698d0eb90 Change-Id: I16f0c3f18eef7c19d3ec3782c1509b891370be41
2018-02-07Add capability to verify application of multiple overlaysHridya Valsaraju
am: 4c7735ac01 Change-Id: I48f9fb79abb70b8156c0f6c0b032423e701e09b5
2018-02-07Add a test to verify application of multiple overlaysHridya Valsaraju
Bug: 67779848 Test: sh apply_verify_multiple_overlay.sh Change-Id: I1eef35a9e4469eaffe240e71fa849183f9c1c90d
2018-02-07Add capability to verify application of multiple overlaysHridya Valsaraju
Bug: 67779848 Test: sh apply_verify_multiple_overlay.sh Change-Id: I022a9b222161c279cfb7ba8546d465b478786d9c
2018-02-07Add mkdtboimg am: 9bde0c43d9 am: 6fb1bf0116Sandeep Patil
am: 8491f70861 Change-Id: Ia9391219618bc8fe32c00bdfe371f1b6f834e303
2018-02-06Add mkdtboimg am: 9bde0c43d9Sandeep Patil
am: 6fb1bf0116 Change-Id: I06dbac53c9a988ae490200f4c496acb483268b6f
2018-02-06Add mkdtboimgSandeep Patil
am: 9bde0c43d9 Change-Id: I4eb3d9c8781691e4bf4246602a8671e9b10f60a0
2018-02-05Add mkdtboimgSandeep Patil
Identical to the 'mkdtimg' written in C. The tool retains exactly the same command line options but compacts the total code down to a single compact python module. 'pymkdtimg' supports all commands supported by 'mkdtimg' except the arguments cannot be device tree properties. That support depends on 'pylibfdt' being available. The CL also adds test script that compares mkdtimg output with pymkdtimg output using all supported commands. TODO: - Add support for DT property arguments (depends on pylibfdt) - Rename tools to be called '[py]mkdtboimg', since they are actually creating the dtbo images - Test on a device Test: cd utils/tests; ./mkdtboimg_testdata.sh Change-Id: Id3919e634b08e2c642ca21769937e1277e3d2bc8 Signed-off-by: Sandeep Patil <sspatil@google.com>
2018-02-03Refactor code to find overlay target am: c0957f2fa7 am: 2bc3e216c0Hridya Valsaraju
am: 4bfa6ad985 Change-Id: Ifd6804d616890984a9c5111c31e82162e84276af
2018-02-03Refactor code to find overlay target am: c0957f2fa7Hridya Valsaraju
am: 2bc3e216c0 Change-Id: If485f06b1ddf23cef2688618dc7a5e63fdb37d41
2018-02-03Refactor code to find overlay targetHridya Valsaraju
am: c0957f2fa7 Change-Id: Iddb06e770f08e7138192bc898c973b39e833f6f6
2018-02-02Fix bug in ufdt_get_node_by_phandle am: 9ec4bdabb7 am: 51c5d7da40Hridya Valsaraju
am: 6788c8cc94 Change-Id: I3a513e2178500945f6af55d62beb4bc7a485c89f
2018-02-02Fix bug in ufdt_get_node_by_phandle am: 9ec4bdabb7Hridya Valsaraju
am: 51c5d7da40 Change-Id: I458e6fd86e3e9d7c908afab3cb1fa2eaf1b237c7
2018-02-02Fix bug in ufdt_get_node_by_phandleHridya Valsaraju
am: 9ec4bdabb7 Change-Id: I9b8328b6b4a152b3defef7552676927901fcfd44
2018-02-02Refactor code to find overlay targetHridya Valsaraju
Test: mm Bug: 67779848 Change-Id: Iec654609d12e1925076ff65aafb94bf6bdf4775d
2018-01-31Fix bug in ufdt_get_node_by_phandleHridya Valsaraju
Bug:67779848 Test: mm If the phandle being searched for exceeded the highest phandle in phandle_table.data, the bug was causing the return of the node corresponding to the highest phandle in phandle_table.data. Change-Id: I731c820b0c4bfe75a14cc1d22a34262b9905f365
2018-01-30Add a VTS test to verify DTBO am: 204e2ddbc8 am: 2ef721ddbdHridya Valsaraju
am: f2ac1957c8 Change-Id: Ic8bcd25fe80159e9818ad25e5e7b20677d9ddf52
2018-01-30Create libufdt_verify am: 5168cab4cb am: 0d5e3e814eHridya Valsaraju
am: 7704caad55 Change-Id: I79ec6b4720c023d5b1f4a2cec2a9f75f36944083
2018-01-30Add a VTS test to verify DTBO am: 204e2ddbc8Hridya Valsaraju
am: 2ef721ddbd Change-Id: I21dd7d4e69301dc2ada855643e533007887967a7