4f00eda9fa05364edd719b05b88e4445682eeee5 |
|
06-Apr-2017 |
SzuWei Lin <szuweilin@google.com> |
Add Apache2 module license Bug: 36678371 Test: mmm system/libufdt, and success build Change-Id: I73059f5beca2242f8883fca86cb49d53d0f543b8 (cherry picked from commit 6ad4caae73191bdc2403185b6482969c17604c95)
/system/libufdt/tests/gen_test.sh
|
f7403df4976562ecf2c1266e5f05f800037c8772 |
|
18-Feb-2017 |
SzuWei Lin <szuweilin@google.com> |
Change libufdt test cases to compare with libfdt The dtc adds a new function fdt_overlay_apply() to support DTO. The original libufdt test cases used /include/ trick to compare the test case result. Change to compare with the result of fdt_overlay_apply(). Bug: 35495792 Test: run test scripts (see libufdt/tests/README) Change-Id: Ied68c09c479ab09025574eb97c5ef3adf58253c4
/system/libufdt/tests/gen_test.sh
|
b63f3b74cc6f87a1106e2afd49e82cac3538ef53 |
|
10-Jan-2017 |
SzuWei Lin <szuweilin@google.com> |
Add shell scripts to verify DTO Add two shell scripts to verify DTO (device tree overlay). verify_dto_inc.sh uses syntax /include/ to simulate DTO. verify_dto_ovl.sh uses dtc to compile dts to dtb, and uses ufdt_overlay_test_app which implemented with libufdt to apply DTO. Also modified test code and test cases to use these shell scripts. Bug: 33954716 Test: run test scripts (see libufdt/tests/README) Change-Id: Iaa16d6d2b9a6cb767ed0cf25180b0e6ee290415d
/system/libufdt/tests/gen_test.sh
|
062a739b73d017b804b4b7c8f2d395531de1bfb7 |
|
27-Dec-2016 |
SzuWei Lin <szuweilin@google.com> |
Disable warning messages of testing With new version dtc, running test cases in libufdt will get some warning messages when compiling overlay DT, such as: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property Avoid to noise the result of testing, add parameter -qq to disable these warning messages in unit testing. Bug: 33908117 Test: run test scripts (see libufdt/tests/README) Change-Id: I874562cc00e1cb49c3417ea83f09925c77939207
/system/libufdt/tests/gen_test.sh
|
f6c209b3f409f879305ac9837524b9d34c850de6 |
|
27-Nov-2016 |
Li Chen <akaineko@google.com> |
libufdt: device tree overlay via unflattening FDT The original version of libdtoverlay is slow in searching for particular nodes and adding subnodes/properties due to the operations on flattened device tree (FDT). `libufdt` builds a real tree structure (named ufdt -- unflattned device tree) from FDT. In the real tree, we can perform certain operations (e.g., merge 2 subtrees, search for a node by path) in almost optimal time complexity with acceptable additional memory usage. With libufdt, we improve the merging of two dtb files from O(N^2) to O(N), where N is the number of nodes in the tree. Bug: 30800619 Test: run test scripts (see libufdt/tests/README) Test: manually ported libufdt into a bootloader, checked it can merge a base dtb and a dtbo to generate a final dtb to boot the device Change-Id: I1ff886bb8a62bad1451edcd7c4fe5cb48b7a034a
/system/libufdt/tests/gen_test.sh
|
eeaff8f66f44518a0e776957c6e0921f7799ace2 |
|
14-Dec-2016 |
Jeff Hao <jeffhao@google.com> |
Revert "libufdt: device tree overlay via unflattening FDT" This reverts commit 3084ce7cbdff84093286459758f99c15082e6556. Change-Id: I36f8252ea77c75301711009180c1908bb18e231c
/system/libufdt/tests/gen_test.sh
|
3084ce7cbdff84093286459758f99c15082e6556 |
|
27-Nov-2016 |
LiChen <akaineko@google.com> |
libufdt: device tree overlay via unflattening FDT The original version of libdtoverlay is slow in searching for particular nodes and adding subnodes/properties due to the operations on flattened device tree (FDT). `libufdt` builds a real tree structure (named ufdt -- unflattned device tree) from FDT. In the real tree, we can perform certain operations (e.g., merge 2 subtrees, search for a node by path) in almost optimal time complexity with acceptable additional memory usage. With libufdt, we improve the merging of two dtb files from O(N^2) to O(N), where N is the number of nodes in the tree. Bug: 30800619 Test: run test scripts (see libufdt/tests/README) Test: manually ported libufdt into a bootloader, checked it can merge a base dtb and a dtbo to generate a final dtb to boot the device Change-Id: I6a282cc99129d5280ecbf40852723f83735fa523
/system/libufdt/tests/gen_test.sh
|