<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/tools/buildman, 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>2019-05-21T23:33:23Z</updated>
<entry>
<title>buildman: Deal more nicely with invalid build-status file</title>
<updated>2019-05-21T23:33:23Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-04-27T01:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=347ea0b63eb5143bf0e48aba65a41f50999367f0'/>
<id>urn:sha1:347ea0b63eb5143bf0e48aba65a41f50999367f0</id>
<content type='text'>
The 'done' files created by buildman may end up being empty if buildman
runs out of disk space while writing them. At present buildman dies with
an exception when using -s to check the build status. Fix this.

Seriesl-cc: trini

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: fix typo</title>
<updated>2019-02-09T19:50:22Z</updated>
<author>
<name>Chris Packham</name>
</author>
<published>2019-01-18T07:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=58804b8cf291c56eee9fbfbfdb7c10e8a238444b'/>
<id>urn:sha1:58804b8cf291c56eee9fbfbfdb7c10e8a238444b</id>
<content type='text'>
Fix a typo in the error message from CheckOutputDir().

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Write the environment out to an 'env' file</title>
<updated>2019-02-09T19:50:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-01-07T23:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e5fc79ea718795a1dd97ca27e26913e4cc0150c4'/>
<id>urn:sha1:e5fc79ea718795a1dd97ca27e26913e4cc0150c4</id>
<content type='text'>
Sometimes it is useful to see the environment that was used to build
U-Boot. Write this out to a file in the build directory.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Fix tabs in GetWrapper()</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-01-07T23:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ccd2979a8d59636ca0cf288db03e1298dc120123'/>
<id>urn:sha1:ccd2979a8d59636ca0cf288db03e1298dc120123</id>
<content type='text'>
This function has tabs instead of spaces. Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Add support for building with clang</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-01-07T23:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=00beb2485f71ab23114b37ef47d136e269ef69f7'/>
<id>urn:sha1:00beb2485f71ab23114b37ef47d136e269ef69f7</id>
<content type='text'>
Add a -O option which allows building with clang.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Deal nicely with invalid build-status file</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-10T16:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e74429bb17533c454b804e523ff5724344711ad2'/>
<id>urn:sha1:e74429bb17533c454b804e523ff5724344711ad2</id>
<content type='text'>
The 'done' files created by buildman may end up being empty if buildman
runs out of disk space while writing them. This error is then persistent,
since even if disk space is reclaimed and the build retries, the empty
file causes an exception in the builder thread.

Deal with this silently by doing a rebuild.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Drop comment about Ctrl-C problem</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-05T12:35:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=90a29fcc1f36fb5c05a1eaedb16793c320e00d39'/>
<id>urn:sha1:90a29fcc1f36fb5c05a1eaedb16793c320e00d39</id>
<content type='text'>
This bug is now fixed, so drop this comment.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman/toolchain.py: handle inconsistent tarball names</title>
<updated>2018-12-05T13:06:30Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2018-11-21T08:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=b11f12642f4da249d5f07bb45ba5ba9b01235818'/>
<id>urn:sha1:b11f12642f4da249d5f07bb45ba5ba9b01235818</id>
<content type='text'>
Unfortunately, for some releases the kernel.org toolchain tarball names adhere
to the following pattern:

	&lt;hostarch&gt;-gcc-&lt;ver&gt;-nolib-&lt;targetarch&gt;-&lt;type&gt;.tar.xz

e.g.:
	x86_64-gcc-8.1.0-nolibc-aarch64-linux.tar.xz

while others use the following pattern:

	&lt;hostarch&gt;-gcc-&lt;ver&gt;-nolib_&lt;targetarch&gt;-&lt;type&gt;.tar.xz

e.g.:

	x86_64-gcc-7.3.0-nolibc_aarch64-linux.tar.xz

Notice that the first pattern has dashes throughout, while the second has
dashes throughout except just before the target architecture which has an
underscore.

The "dash throughout" versions from kernel.org are:

	8.1.0, 6.4.0, 5.5.0, 4.9.4, 4.8.5, 4.6.1

while the "dash and underscore" versions from kernel.org are:

	7.3.0, 4.9.0, 4.8.0, 4.7.3, 4.6.3, 4.6.2, 4.5.1, 4.2.4

This tweak allows the code to handle both versions. Note that this tweak also
causes the architecture parsing to get confused and find the following two
bogus architectures, "2.0" and "64", which are explicitly checked for, and
removed.

Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Change single quotes to double quotes:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman/toolchain.py: fix toolchain directory</title>
<updated>2018-12-05T13:01:35Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2018-11-21T08:31:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d82f539ab900c52a669a4f8407a39b8fb125f0ab'/>
<id>urn:sha1:d82f539ab900c52a669a4f8407a39b8fb125f0ab</id>
<content type='text'>
The hexagon toolchain (4.6.1) from kernel.org, for example, was packaged in
a way that is different from most toolchains. The first entry when unpacking
most toolchain tarballs is:

	gcc-&lt;version&gt;-nolib/&lt;targetarch&gt;-&lt;system&gt;

e.g.:

	gcc-8.1.0-nolibc/aarch64-linux/

The first entry of the hexagon toolchain, however, is:

	gcc-4.6.1-nolibc/

This causes the buildman logic in toolchain.py::ScanPath() to not be able to
find the "*gcc" executable since it looks in gcc-4.6.1-nolib/{.|bin|usr/bin}
instead of gcc-4.6.1/hexagon-linux/{.|bin|usr/bin}. Therefore when buildman
tries to download a set of toolchains that includes hexagon, the script fails.

This update takes the second line of the tarball unpacking (which works for
all the toolchains I've tested from kernel.org) and parses it to take the
first two elements, separated by '/'. It makes this logic a bit more robust.

Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Show boards with warning with w+</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-06T23:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6af7101b75d0e30cf7ed7d1f57fdb68ed5f8ffa0'/>
<id>urn:sha1:6af7101b75d0e30cf7ed7d1f57fdb68ed5f8ffa0</id>
<content type='text'>
At present we should boards with warnings in the same way as those with
errors. This is not ideal. Add a new 'warn' state and show these listed
in yellow to match the actual warning lines printing with -e.

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