<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/board/sandbox, 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-24T16:27:29Z</updated>
<entry>
<title>Merge tag 'pull-24apr19' of git://git.denx.de/u-boot-dm</title>
<updated>2019-04-24T16:27:29Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2019-04-24T16:27:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7d994067424776b6184872b82fcaf4c0b95528f9'/>
<id>urn:sha1:7d994067424776b6184872b82fcaf4c0b95528f9</id>
<content type='text'>
Various minor sandbox iumprovements
Fixes for tracing with sandbox
Refactoring for boot_get_fdt()
</content>
</entry>
<entry>
<title>sandbox: Move pre-console buffer out of the way of tracing</title>
<updated>2019-04-24T02:26:43Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-04-08T19:20:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a1396cdc4b557ac678b7af93938e58814612759a'/>
<id>urn:sha1:a1396cdc4b557ac678b7af93938e58814612759a</id>
<content type='text'>
These two buffers currently conflict if tracing is enabled. Move the
pre-console buffer and update the documentation.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Improve debugging in initcall_run_list()</title>
<updated>2019-04-24T02:26:43Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-04-08T19:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=001d1885f0012dbedef44bd828f91ba048029261'/>
<id>urn:sha1:001d1885f0012dbedef44bd828f91ba048029261</id>
<content type='text'>
At present if one of the initcalls fails on sandbox the address printing
is not help, e.g.:

  initcall sequence 0000557678967c80 failed at call 00005576709dfe1f (err=-96)

This is because U-Boot gets relocated high into memory and the relocation
offset (gd-&gt;reloc_off) does not work correctly for sandbox.

Add support for finding the base address of the text region (at least on
Linux) and use that to set the relocation offset. This makes the output
better:

  initcall sequence 0000560775957c80 failed at call 0000000000048134 (err=-96)

Then you use can use grep to see which init call failed, e.g.:

   $ grep 0000000000048134 u-boot.map
   stdio_add_devices

Of course another option is to run it with a debugger such as gdb:

   $ gdb u-boot
   ...
   (gdb) br initcall.h:41
   Breakpoint 1 at 0x4db9d: initcall.h:41. (2 locations)

Note that two locations are reported, since this function is used in both
board_init_f() and board_init_r().

   (gdb) r
   Starting program: /tmp/b/sandbox/u-boot
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

   U-Boot 2018.09-00264-ge0c2ba9814-dirty (Sep 22 2018 - 12:21:46 -0600)

   DRAM:  128 MiB
   MMC:

Breakpoint 1, initcall_run_list (init_sequence=0x5555559619e0 &lt;init_sequence_f&gt;)
    at /scratch/sglass/cosarm/src/third_party/u-boot/files/include/initcall.h:41
41				printf("initcall sequence %p failed at call %p (err=%d)\n",
   (gdb) print *init_fnc_ptr
   $1 = (const init_fnc_t) 0x55555559c114 &lt;stdio_add_devices&gt;
   (gdb)

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset</title>
<updated>2019-04-23T09:17:15Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2019-04-11T15:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d0a9b82b75372fce6715c773db0e3af6532cf1a4'/>
<id>urn:sha1:d0a9b82b75372fce6715c773db0e3af6532cf1a4</id>
<content type='text'>
When fixing sandbox test for regmap_read_poll_timeout(), the
sandbox_timer_add_offset was introduced but only defined in sandbox code
thus generating warnings when used out of sandbox :

include/regmap.h:289:2: note: in expansion of macro 'regmap_read_poll_timeout_test'
regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/spi/meson_spifc.c:169:8: note: in expansion of macro 'regmap_read_poll_timeout'
ret = regmap_read_poll_timeout(spifc-&gt;regmap, REG_SLAVE, data,
        ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/spi/meson_spifc.c: In function 'meson_spifc_txrx':
include/regmap.h:277:4: warning: implicit declaration of function 'sandbox_timer_add_offset' [-Wimplicit-function-declaration]

This fix adds a timer_test_add_offset() only defined in sandbox, and
renames the previous sandbox_timer_add_offset() to it.

Cc: Simon Glass &lt;sjg@chromium.org&gt;
Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Fixes: df9cf1cc08 ("test: dm: regmap: Fix the long test delay")
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add a memory map to the sandbox README</title>
<updated>2018-11-26T13:25:35Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-16T01:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9946d557be409de5d598232f6e29c17809b9ac9d'/>
<id>urn:sha1:9946d557be409de5d598232f6e29c17809b9ac9d</id>
<content type='text'>
We have a few things in the memory map now, so add documentation for this
to avoid confusion. Also note that it is possible to run all tests now.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-06T22:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a2a63a35b2ad6da434aaf8426f2902c6c3bc2352'/>
<id>urn:sha1:a2a63a35b2ad6da434aaf8426f2902c6c3bc2352</id>
<content type='text'>
This function is really just a call to uclass_get_device() and there is no
reason why the caller cannot do it. Update sandbox and snow accordingly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>sandbox: README: use setenv ethrotate no</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-10-14T20:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0c943e5da64987a622544cafab791caee6e14c9d'/>
<id>urn:sha1:0c943e5da64987a622544cafab791caee6e14c9d</id>
<content type='text'>
If we want to control which network interface is actually used, we have to
issue 'setenv ethrotate no'. If ethrotate is not set any interface may be
used.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: README: setting environment variables</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-10-14T19:40:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6c6260ecfcc44ad5d609966a756e995746578b31'/>
<id>urn:sha1:6c6260ecfcc44ad5d609966a756e995746578b31</id>
<content type='text'>
The command to set environment variables is setenv.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add an explanation of the sandbox variants</title>
<updated>2018-09-29T17:49:35Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-19T00:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=969c8f4d5a341ee5ba47dbbe8cf382a250eb8cb7'/>
<id>urn:sha1:969c8f4d5a341ee5ba47dbbe8cf382a250eb8cb7</id>
<content type='text'>
There are quite a few builds of sandbox now. Add information about these
to the README.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: led: use new function to configure default state</title>
<updated>2018-08-10T14:27:32Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2018-07-27T14:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=17585e2dc33c23b3ea37daf485ced880c8fea3f8'/>
<id>urn:sha1:17585e2dc33c23b3ea37daf485ced880c8fea3f8</id>
<content type='text'>
Initialize the led with the default state defined in device tree
in board_init and solve issue with test for led default state.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
</feed>
