<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/tools/dtoc, 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-04-26T22:58:20Z</updated>
<entry>
<title>dtb_platdata.py: prevent define generation of alias</title>
<updated>2019-04-26T22:58:20Z</updated>
<author>
<name>Heiko Schocher</name>
</author>
<published>2019-04-16T11:31:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e9cde87ec1eaba3b5233093aec8f4f6c256b3a54'/>
<id>urn:sha1:e9cde87ec1eaba3b5233093aec8f4f6c256b3a54</id>
<content type='text'>
generate define for an alias only if the struct is not
created already.

This prevents compilerwarning:
  PLAT    spl/dts/dt-platdata.o
spl/dts/dt-platdata.c:11:46: error: missing braces around initializer [-Werror=missing-braces]
 static const struct dtd_simple_bus dtv_ahb = {
                                              ^
spl/dts/dt-platdata.c:20:46: error: missing braces around initializer [-Werror=missing-braces]
 static const struct dtd_simple_bus dtv_apb = {
                                              ^
cc1: all warnings being treated as errors

on the at91 based taurus board. Reason is in at91sam9260.dtsi
is defined:

ahb {
        compatible = "simple-bus";
        ranges;

and later:

pinctrl: pinctrl@fffff400 {
        compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
        ranges = &lt;0xfffff400 0xfffff400 0x600&gt;;

without this patch dtoc generates:

struct dtd_atmel_at91rm9200_pinctrl {
	fdt32_t		atmel_mux_mask[6];
	fdt32_t		ranges[3];
	fdt32_t		reg[6];
};

struct dtd_simple_bus {
        bool            ranges;
};

"#define dtd_simple_bus dtd_atmel_at91rm9200_pinctrl"

and the line with "define dtd_simple_bus..." introduces
the warning. This define is not needed.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>tests: dtoc: adapt tests to changed dtoc output</title>
<updated>2019-01-26T13:13:56Z</updated>
<author>
<name>Simon Goldschmidt</name>
</author>
<published>2019-01-21T09:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e4478d9ac8cf83ee22765e3aca61c13ebfd3987b'/>
<id>urn:sha1:e4478d9ac8cf83ee22765e3aca61c13ebfd3987b</id>
<content type='text'>
The dtoc tests need to be adapted to dtoc being changed to output platdata
structs as const, which has been introduced in commit 7d05d3a8e35f ("dtoc:
make generated platdata structs const").

Fixes: 7d05d3a8e35f ("dtoc: make generated platdata structs const")
Signed-off-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: make generated platdata structs const</title>
<updated>2019-01-15T20:28:45Z</updated>
<author>
<name>Simon Goldschmidt</name>
</author>
<published>2019-01-07T19:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7d05d3a8e35f888ec3f90f66fe53a7c381c06d10'/>
<id>urn:sha1:7d05d3a8e35f888ec3f90f66fe53a7c381c06d10</id>
<content type='text'>
The platdata initialization structs are currently generated into .rwdata.
Make sure the are put into .rodata by generating them as const.

Signed-off-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Fix the value of SetInt()</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-01T18:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=41b781ddf1869f5349e05ace888979f3673fe8c6'/>
<id>urn:sha1:41b781ddf1869f5349e05ace888979f3673fe8c6</id>
<content type='text'>
This does not set the correct value at present. Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<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>buildman: dtoc: Suppress unwanted output from test</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4b4bc06ef4e37f79604ff8fa2142057e2cb05437'/>
<id>urn:sha1:4b4bc06ef4e37f79604ff8fa2142057e2cb05437</id>
<content type='text'>
There are a few test cases which print output. Suppress this so that tests
can run silently in the normal case.

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>binman: Add a default path to libfdt.py</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ed59e005e6ed388609749d52e98804b76db095d1'/>
<id>urn:sha1:ed59e005e6ed388609749d52e98804b76db095d1</id>
<content type='text'>
This module is often available in the sandbox_spl build created by
'make check'. Use this as a default path so that just typing 'binman -t'
(without setting PYTHONPATH) will generally run the tests.

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>
</feed>
