<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/tools/dtoc/test_fdt.py, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-10-08T13:34:34Z</updated>
<entry>
<title>binman: Run tests concurrently</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=11ae93eef40c09280f36104b6a8cf5d807f0bb0d'/>
<id>urn:sha1:11ae93eef40c09280f36104b6a8cf5d807f0bb0d</id>
<content type='text'>
At present the tests run one after the other using a single CPU. This is
not very efficient. Bring in the concurrencytest module and run the tests
concurrently, using one process for each CPU by default. A -P option
allows this to be overridden, which is necessary for code-coverage to
function correctly.

This requires fixing a few tests which are currently not fully
independent.

At some point we might consider doing this across all pytests in U-Boot.
There is a pytest version that supports specifying the number of processes
to use, but it did not work for me.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Fix up removal of temporary directories</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e0e6275f4c6cbcf2b975dbd9771b14f21eb51a36'/>
<id>urn:sha1:e0e6275f4c6cbcf2b975dbd9771b14f21eb51a36</id>
<content type='text'>
At present 'make check' leaves some temporary directories around. Part of
this is because we call tools.PrepareOutputDir() twice in some cases,
without calling tools.FinaliseOutputDir() in between.

Fix this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Add a way to create an Fdt object from a data block</title>
<updated>2018-09-28T17:09:01Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=746aee3f2f8c0c7534ad7ac7d438ccec35c6c99c'/>
<id>urn:sha1:746aee3f2f8c0c7534ad7ac7d438ccec35c6c99c</id>
<content type='text'>
Support creating an Fdt object without having to write the data to a file
first.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Add methods for adding and updating properties</title>
<updated>2018-09-28T17:09:01Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6434961b2b2099b458e7dc9dcced5d450b45cbb4'/>
<id>urn:sha1:6434961b2b2099b458e7dc9dcced5d450b45cbb4</id>
<content type='text'>
Add a few more functions which allow creating and modifying property
values. If only we could do this so easily in the real world.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Support adding new nodes</title>
<updated>2018-09-28T17:09:01Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e21c27af47183619c7ec7097abb1dec34410e775'/>
<id>urn:sha1:e21c27af47183619c7ec7097abb1dec34410e775</id>
<content type='text'>
Add a way to add new nodes and sync them back to the blob.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Allow syncing of the device tree back to a file</title>
<updated>2018-09-28T17:09:01Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=fa80c25c09a6c59be4df9c42b4a02538d8a07382'/>
<id>urn:sha1:fa80c25c09a6c59be4df9c42b4a02538d8a07382</id>
<content type='text'>
At present we require the caller to manually update the device tree using
individual calls to libfdt functions. This is not ideal. It would be
better if we could make changes using the Python structure and then call a
Sync() function to write them back.

Add this feature to the Fdt class. Update binman and the tests to match.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>libfdt: Update to latest pylibfdt implementation</title>
<updated>2018-08-08T11:49:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-26T20:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=50c59522c2f26d98b5fc042a59e86dccb9f68b51'/>
<id>urn:sha1:50c59522c2f26d98b5fc042a59e86dccb9f68b51</id>
<content type='text'>
The enhanced pylibfdt support in U-Boot needed for binman was a
placeholder while upstreaming of this work continued. This is now
complete, so bring in the changes and update the tools as needed.

There are quite a few changes since we decided to split the
implementation into three fdt classes instead of two.

The Fdt.del_node() method was unfortunately missed in this process and
will be dealt with later. It exists in U-Boot but not upstream.

Further syncing of libfdt probably needs to wait until we assess the
code-size impact of all the new checking code on SPL and possibly provide
a way to disable it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Add a function to obtain a list of phandles</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=94a7c603b45b9abdd9e6960ed2b096dd4553c91c'/>
<id>urn:sha1:94a7c603b45b9abdd9e6960ed2b096dd4553c91c</id>
<content type='text'>
Add a function which can decode a property containing a list of phandles.
This is useful for finding nodes linked to a property. Also provide a way
to look up a single phandle and get the Fdt object from a Node.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Export the _FindNode() function</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1d85888cdc1d831ff7a70b95922ee85195e7e09f'/>
<id>urn:sha1:1d85888cdc1d831ff7a70b95922ee85195e7e09f</id>
<content type='text'>
This is useful for clients that want to find a node. Export it so it can
be used by others.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Add an entry filled with a repeating byte</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=3af8e49ceff044021725fc547b19ebac22d0b0f7'/>
<id>urn:sha1:3af8e49ceff044021725fc547b19ebac22d0b0f7</id>
<content type='text'>
It is sometimes useful to have an area of the image which is all zeroes,
or all 0xff. This can often be achieved by padding the size of an an
existing entry and setting the pad byte for an entry or image.

But it is useful to have an explicit means of adding blocks of repeating
data to the image. Add a 'fill' entry type to handle this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
