<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/binman/test, branch v2021.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/binman/test?h=v2021.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/binman/test?h=v2021.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-10-29T20:42:59Z</updated>
<entry>
<title>binman: Support compression of sections</title>
<updated>2020-10-29T20:42:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-10-26T23:40:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8f5ef89f00133df6381e60f0415269ded39647c1'/>
<id>urn:sha1:8f5ef89f00133df6381e60f0415269ded39647c1</id>
<content type='text'>
With the previous changes, it is now possible to compress entire
sections. Add some tests to check that compression works correctly,
including updating the metadata.

Also update the documentation.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Make section padding consistent with other entries</title>
<updated>2020-10-29T20:42:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-10-26T23:40:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d398bb1c71580da2182f0b820d91950bf4b3d24'/>
<id>urn:sha1:7d398bb1c71580da2182f0b820d91950bf4b3d24</id>
<content type='text'>
At present padding of sections is inconsistent with other entry types, in
that different pad bytes are used.

When a normal entry is padded by its parent, the parent's pad byte is
used. But for sections, the section's pad byte is used.

Adjust logic to always do this the same way.

Note there is still a special case in entry_Section.GetPaddedData() where
an image is padded with the pad byte of the top-level section. This is
necessary since otherwise there would be no way to set the pad byte of
the image, without adding a top-level section to every image.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Update testPackExtra with more checks</title>
<updated>2020-10-29T20:42:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-10-26T23:40:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ef439ed191a0655a86f5b4035cec9cc57e97d8b1'/>
<id>urn:sha1:ef439ed191a0655a86f5b4035cec9cc57e97d8b1</id>
<content type='text'>
Check the contents of each section to make sure it is actually in the
right place.

Also fix a whitespace error in the .dts file.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Use 'files-compress' to set compression for files</title>
<updated>2020-10-29T20:42:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-10-26T23:40:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9248c8d9c9674d705216e51161c1f0f473fc7fa3'/>
<id>urn:sha1:9248c8d9c9674d705216e51161c1f0f473fc7fa3</id>
<content type='text'>
At present we use 'compress' as the property to set the compression of
a 'files' entry. But this conflicts with the same property for entries,
of which Entry_section is a subclass.

Strictly speaking, since Entry_files is in fact a subclass of
Entry_section, the files can be compressed individually but also the
section (that contains all the files) can itself be compressed. With this
change, it is possible to express that.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Add tests for skip-at-start sections</title>
<updated>2020-10-29T20:42:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-10-26T23:40:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f2c0dd85ad6cbf8b53ad5fc423a0177a0eb7fe6f'/>
<id>urn:sha1:f2c0dd85ad6cbf8b53ad5fc423a0177a0eb7fe6f</id>
<content type='text'>
At present this feature is tested view the end-at-4gb feature. Add some
tests of its own, including the operation of padding.

The third test here shows binman's current, inconsistent approach to
padding in the top-level section. Future patches in this series will
address this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Add support for SCP firmware</title>
<updated>2020-10-22T06:13:43Z</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2020-10-22T02:12:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=18bd45592cbd87a766450d08169ec574853b50fa'/>
<id>urn:sha1:18bd45592cbd87a766450d08169ec574853b50fa</id>
<content type='text'>
Add an entry type for a firmware blob for a System Control Processor,
given by an entry arg. This firmware is a raw binary blob.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>binman: Support adding a U-Boot environment</title>
<updated>2020-09-25T03:27:28Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-09-06T16:35:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb91d5675edf9a45141b69740f10979e221dd72e'/>
<id>urn:sha1:fb91d5675edf9a45141b69740f10979e221dd72e</id>
<content type='text'>
In some cases it is useful to include a U-Boot environment region in an
image. This allows the board to start up with an environment ready to go.

Add a new entry type for this. The input is a text file containing the
environment entries, one per line, in the format:

   var=value

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>binman: Show an error when a file is missing</title>
<updated>2020-09-25T03:27:28Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-09-06T16:35:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=204aa78e04a290c6836bdb29ba466b9cdfcec3ea'/>
<id>urn:sha1:204aa78e04a290c6836bdb29ba466b9cdfcec3ea</id>
<content type='text'>
The recent support for missing external binaries does not show an error
message when a file is genuinely missing (i.e. it is missing but not
marked as 'external'). This means that when -m is passed to binman, it
will never report a missing file.

Fix this and add a test.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>binman: Support help messages for missing blobs</title>
<updated>2020-09-22T18:54:13Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-09-06T16:39:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b238143db92e6f3b1749ffdb346e90aa1a95454a'/>
<id>urn:sha1:b238143db92e6f3b1749ffdb346e90aa1a95454a</id>
<content type='text'>
When an external blob is missing it can be quite confusing for the user.
Add a way to provide a help message that is shown.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
</content>
</entry>
<entry>
<title>binman: Allow selecting default FIT configuration</title>
<updated>2020-09-22T18:54:13Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-09-06T16:39:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c0f1ebe9c1b9745e1cbdc742a11093da2c99a174'/>
<id>urn:sha1:c0f1ebe9c1b9745e1cbdc742a11093da2c99a174</id>
<content type='text'>
Add a new entry argument to the fit entry which allows selection of the
default configuration to use. This is the 'default' property in the
'configurations' node.

Update the Makefile to pass in the value of DEVICE_TREE or
CONFIG_DEFAULT_DEVICE_TREE to provide this information.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Suggested-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
</feed>
