<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_system_libufdt, branch security-oc-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/'/>
<entry>
<title>merge in oc-release history after reset to oc-dev</title>
<updated>2017-04-23T07:12:00+00:00</updated>
<author>
<name>gitbuildkicker</name>
<email>android-build@google.com</email>
</author>
<published>2017-04-23T07:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=1c0a96b294248c75df16062fbcde06450d1a9117'/>
<id>1c0a96b294248c75df16062fbcde06450d1a9117</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mkdtimg: fix value with wrong data endian from dtb property</title>
<updated>2017-04-19T04:00:42+00:00</updated>
<author>
<name>SzuWei Lin</name>
<email>szuweilin@google.com</email>
</author>
<published>2017-04-18T10:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=7b226bf72a0fd3fefcf7daca4991818187e338f8'/>
<id>7b226bf72a0fd3fefcf7daca4991818187e338f8</id>
<content type='text'>
Bug: 37487472
Test: cd utils/tests;./mkdtimg_testdata.sh
Change-Id: Iebc05c310a892c023d0c71862f267b083fd3a509
(cherry picked from commit 094c7b47091908698af44073ac5aaa7e89ae6027)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 37487472
Test: cd utils/tests;./mkdtimg_testdata.sh
Change-Id: Iebc05c310a892c023d0c71862f267b083fd3a509
(cherry picked from commit 094c7b47091908698af44073ac5aaa7e89ae6027)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge in oc-release history after reset to oc-dev</title>
<updated>2017-04-16T07:11:12+00:00</updated>
<author>
<name>gitbuildkicker</name>
<email>android-build@google.com</email>
</author>
<published>2017-04-16T07:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=d5b228e373f39c04b47744b7f8bbb63bf5c97753'/>
<id>d5b228e373f39c04b47744b7f8bbb63bf5c97753</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Apache2 module license</title>
<updated>2017-04-15T02:57:31+00:00</updated>
<author>
<name>SzuWei Lin</name>
<email>szuweilin@google.com</email>
</author>
<published>2017-04-06T09:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=4f00eda9fa05364edd719b05b88e4445682eeee5'/>
<id>4f00eda9fa05364edd719b05b88e4445682eeee5</id>
<content type='text'>
Bug: 36678371
Test: mmm system/libufdt, and success build
Change-Id: I73059f5beca2242f8883fca86cb49d53d0f543b8
(cherry picked from commit 6ad4caae73191bdc2403185b6482969c17604c95)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 36678371
Test: mmm system/libufdt, and success build
Change-Id: I73059f5beca2242f8883fca86cb49d53d0f543b8
(cherry picked from commit 6ad4caae73191bdc2403185b6482969c17604c95)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid to re-generate string table from ufdt to fdt</title>
<updated>2017-04-13T09:24:15+00:00</updated>
<author>
<name>SzuWei Lin</name>
<email>szuweilin@google.com</email>
</author>
<published>2017-03-30T03:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=435687606727710e91e827daa8e9227d760b4a1c'/>
<id>435687606727710e91e827daa8e9227d760b4a1c</id>
<content type='text'>
String table contains the strings of all property name in a fdt.

The ufdt_apply_overlay() converts two dtbs from fdt to ufdt,
overlays, and converts merged ufdt to fdt. These operations
shouldn't create new peroperty names, so we can just re-use the
string tables in original dtbs, and just copy them into merged
fdt. This solution can enhance a lot of performance for device
tree overlaying.

To avoid the error that some users could use string offset in
string table, the solution also give a same string offset for
the name properties by ufdt_prop_dict;

Futher, the patch also removed unused header files after
changing algorithm.

Bug: 35255584
Test: ./tests/run_tests.sh
Change-Id: Id422730115531bd20d21117285291bdd860915ff
(cherry picked from commit 1be68ae53e645de1b2ec26140b302fbfcbbb919f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
String table contains the strings of all property name in a fdt.

The ufdt_apply_overlay() converts two dtbs from fdt to ufdt,
overlays, and converts merged ufdt to fdt. These operations
shouldn't create new peroperty names, so we can just re-use the
string tables in original dtbs, and just copy them into merged
fdt. This solution can enhance a lot of performance for device
tree overlaying.

To avoid the error that some users could use string offset in
string table, the solution also give a same string offset for
the name properties by ufdt_prop_dict;

Futher, the patch also removed unused header files after
changing algorithm.

Bug: 35255584
Test: ./tests/run_tests.sh
Change-Id: Id422730115531bd20d21117285291bdd860915ff
(cherry picked from commit 1be68ae53e645de1b2ec26140b302fbfcbbb919f)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge in oc-release history after reset to oc-dev</title>
<updated>2017-04-11T07:09:54+00:00</updated>
<author>
<name>gitbuildkicker</name>
<email>android-build@google.com</email>
</author>
<published>2017-04-11T07:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=140c2f1a0daae7d2b01e814eaf72ad4f690f3646'/>
<id>140c2f1a0daae7d2b01e814eaf72ad4f690f3646</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory and file leak</title>
<updated>2017-04-10T07:23:52+00:00</updated>
<author>
<name>SzuWei Lin</name>
<email>szuweilin@google.com</email>
</author>
<published>2017-04-07T10:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=dd7337e39b8d2b9123acff329bd9da22efec66d0'/>
<id>dd7337e39b8d2b9123acff329bd9da22efec66d0</id>
<content type='text'>
Bug: 35652061
Test: valgrind --leak-check=yes --show-reachable=yes ufdt_apply_overlay ...
      and result no leak

Change-Id: Iec0fe77468d2fdf6c692209cd9571c02f96e2e44
(cherry picked from commit 70107c8f5c65bc9798d8f6b7f5b580997d0aca19)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 35652061
Test: valgrind --leak-check=yes --show-reachable=yes ufdt_apply_overlay ...
      and result no leak

Change-Id: Iec0fe77468d2fdf6c692209cd9571c02f96e2e44
(cherry picked from commit 70107c8f5c65bc9798d8f6b7f5b580997d0aca19)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge in oc-release history after reset to oc-dev</title>
<updated>2017-04-09T07:11:11+00:00</updated>
<author>
<name>gitbuildkicker</name>
<email>android-build@google.com</email>
</author>
<published>2017-04-09T07:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=cbe2b6a3be1d393cbcacdd02cf8e8cb040377560'/>
<id>cbe2b6a3be1d393cbcacdd02cf8e8cb040377560</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mkdtimg: reuse identical FDT blobs in dtbo image</title>
<updated>2017-04-07T06:33:25+00:00</updated>
<author>
<name>Yueyao Zhu</name>
<email>yueyao@google.com</email>
</author>
<published>2017-03-31T00:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=97a832f2a345b6bb090dd4adc9f6e8b50e11b3da'/>
<id>97a832f2a345b6bb090dd4adc9f6e8b50e11b3da</id>
<content type='text'>
When multiple dt_table_entries uses the same FDT, do
not keep multiple copies in the output dtbo partition
image. Instead, keep dt_offset in the dt_table_entries
point to the same blob.

Update mkdtimg_testdata.sh to test the above case too.

Bug: 36792954
Test: run mkdtimg_testdata.sh
Change-Id: I3413b52e1174154d9f6146efd8cead3f50c0f256
(cherry picked from commit 1661eb958a0f7b4f9ebcf0a73257019d97e52901)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When multiple dt_table_entries uses the same FDT, do
not keep multiple copies in the output dtbo partition
image. Instead, keep dt_offset in the dt_table_entries
point to the same blob.

Update mkdtimg_testdata.sh to test the above case too.

Bug: 36792954
Test: run mkdtimg_testdata.sh
Change-Id: I3413b52e1174154d9f6146efd8cead3f50c0f256
(cherry picked from commit 1661eb958a0f7b4f9ebcf0a73257019d97e52901)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the problem of not enough merged dtb size</title>
<updated>2017-04-05T06:20:17+00:00</updated>
<author>
<name>SzuWei Lin</name>
<email>szuweilin@google.com</email>
</author>
<published>2017-03-28T09:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libufdt/commit/?id=32ad7f08f23a0d9e1f5a09c186e383ebe4cce51f'/>
<id>32ad7f08f23a0d9e1f5a09c186e383ebe4cce51f</id>
<content type='text'>
The dtc has suffix compression for string, ex. "a_string", "string"
and "ing", these strings could share a same string in dtb
string table. libufdt assumes the merged dtb size shouldn't larger
than the summary size of base and overlay dtb, and doesn't
apply the same compression.

The patch add a test case for this case and fix the problem.

Bug: 35255584
Test: tests/run_tests.sh
Change-Id: I6bac1e2823ca90dbdb852452544c41ab040a5ccc
(cherry picked from commit 3407a9c362f9c3930c68ab0548184a8215a9f8bd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dtc has suffix compression for string, ex. "a_string", "string"
and "ing", these strings could share a same string in dtb
string table. libufdt assumes the merged dtb size shouldn't larger
than the summary size of base and overlay dtb, and doesn't
apply the same compression.

The patch add a test case for this case and fix the problem.

Bug: 35255584
Test: tests/run_tests.sh
Change-Id: I6bac1e2823ca90dbdb852452544c41ab040a5ccc
(cherry picked from commit 3407a9c362f9c3930c68ab0548184a8215a9f8bd)
</pre>
</div>
</content>
</entry>
</feed>
