<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/binman, branch v2018.09-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/binman?h=v2018.09-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/binman?h=v2018.09-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-07-09T15:11:00Z</updated>
<entry>
<title>binman: Support updating the device tree with calc'd info</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=16b8d6b76992690c65c58dc8b0591496cc5e46ef'/>
<id>urn:sha1:16b8d6b76992690c65c58dc8b0591496cc5e46ef</id>
<content type='text'>
It is useful to write the position and size of each entry back to the
device tree so that U-Boot can access this at runtime. Add a feature to
support this, along with associated tests.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Add a SetCalculatedProperties() method</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=078ab1a2f5a9901f5f9983163d4f98b8d94bfda0'/>
<id>urn:sha1:078ab1a2f5a9901f5f9983163d4f98b8d94bfda0</id>
<content type='text'>
Once binman has packed the image, the position and size of each entry is
known. It is then possible for binman to update the device tree with these
positions. Since placeholder values have been added, this does not affect
the size of the device tree and therefore the packing does not need to be
performed again.

Add a new SetCalculatedProperties method to handle this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Add a ProcessFdt() method</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ecab89737a4eb58c043388b1ca1c0f1dfdaa3346'/>
<id>urn:sha1:ecab89737a4eb58c043388b1ca1c0f1dfdaa3346</id>
<content type='text'>
Some entry types modify the device tree, e.g. to remove microcode or add a
property. So far this just modifies their local copy and does not affect
a 'shared' device tree.

Rather than doing this modification in the ObtainContents() method, and a
new ProcessFdt() method which is specifically designed to modify this
shared device tree.

Move the existing device-tree code over to use this method, reducing
ObtainContents() to the goal of just obtaining the contents without any
processing, even for device tree.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Complete documentation of stages</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a4357c4c2b29d787d70775dd6ad64b50e23082a'/>
<id>urn:sha1:0a4357c4c2b29d787d70775dd6ad64b50e23082a</id>
<content type='text'>
At present one of the stages is badly numbered and not described. Fix
this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Move capture_sys_output() to test_util</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c3f9454103462e2cfcc5a9120b893f4ea250650a'/>
<id>urn:sha1:c3f9454103462e2cfcc5a9120b893f4ea250650a</id>
<content type='text'>
This function is useful in various tests. Move it into the common test
utility module.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Move coverage logic into a new test_util file</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ff1fd6ccde3d166213d1277fa6b6b9685d45044f'/>
<id>urn:sha1:ff1fd6ccde3d166213d1277fa6b6b9685d45044f</id>
<content type='text'>
At present only binman has the logic for determining Python test coverage
but this is useful for other tools also. Move it out into a separate file
so it can be used by other tools.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Tidy up setting of entry contents</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5c890238c480a96d4d0b06c92199e21867170c31'/>
<id>urn:sha1:5c890238c480a96d4d0b06c92199e21867170c31</id>
<content type='text'>
At present the contents of an entry are set in subclasses simply by
assigning to the data and content_size properties. Add some methods to do
this, so that we have more control. In particular, add a method to set the
contents without changing its size, so we can validate that case.

Add a test case for trying to change the size when this is not allowed.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Tidy up execution of tests</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cd01285b53f376e439e4cbdbce808ca8231ef84'/>
<id>urn:sha1:2cd01285b53f376e439e4cbdbce808ca8231ef84</id>
<content type='text'>
Move all the test execution into the same mechanism so that we can request
a particular test (from any suite) by passing it as an argument to
'binman -t'.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Correct operation of ObtainContents()</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=736bb0aec80891891f3f86004e1afa7976585918'/>
<id>urn:sha1:736bb0aec80891891f3f86004e1afa7976585918</id>
<content type='text'>
This method is supposed to return the contents of an entry. However at
present there is no check that it actually does. Also some implementations
do not return 'True' to indicate success, as required.

Add a check for things working as expected, and correct the
implementations.

This requires some additional test cases to cover things which were missed
originally. Add these at the same time.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Tidy up variables in _RunMicrocodeTest()</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-07-06T16:27:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=adc5701134f7041d7f767b672b66afb8b64ba5ce'/>
<id>urn:sha1:adc5701134f7041d7f767b672b66afb8b64ba5ce</id>
<content type='text'>
At present we call the three entries first, second and third. Rename them
to reflect their contents instead, for clarity.

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