<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sandbox/cpu/start.c, branch v2018.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/cpu/start.c?h=v2018.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/cpu/start.c?h=v2018.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-07-27T12:59:04Z</updated>
<entry>
<title>sandbox: use CONFIG_VAL(SYS_MALLOC_F_LEN) to distinguish malloc pool size before relocation</title>
<updated>2017-07-27T12:59:04Z</updated>
<author>
<name>Andy Yan</name>
<email>andyshrk@gmail.com</email>
</author>
<published>2017-07-24T09:49:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1fc50d727ff2ced736e58925ae4a1a815b87f0d2'/>
<id>urn:sha1:1fc50d727ff2ced736e58925ae4a1a815b87f0d2</id>
<content type='text'>
SPL and normal u-boot stage use different malloc pool size
configuration before relocation, so use CONFIG_VAL(SYS_MALLOC_F_LEN)
to fit different boot stage.

Signed-off-by: Andy Yan &lt;andyshrk@gmail.com&gt;

Changes in v3:
- use CONFIG_VAL(), which suggested by Simon

Changes in v2: None

 arch/sandbox/cpu/start.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>board_f: sandbox: Move sandbox_early_getopt_check() into misc_init_f()</title>
<updated>2017-04-05T17:55:07Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-03-28T16:27:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=689697785e04aefd08b6efdc4e47a737819da173'/>
<id>urn:sha1:689697785e04aefd08b6efdc4e47a737819da173</id>
<content type='text'>
We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>board_f: sandbox: Move setup_ram_buf() to private code</title>
<updated>2017-04-05T17:52:35Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-03-28T16:27:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb967240bbd0b8c1816710803bca3c976d071d12'/>
<id>urn:sha1:bb967240bbd0b8c1816710803bca3c976d071d12</id>
<content type='text'>
There is no need to have this call in the generic init sequence and no
other architecture has needed it in the time it has been there. Move it
into sandbox's private code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>sandbox: Don't include the main loop in SPL</title>
<updated>2016-07-15T02:40:24Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-07-04T17:57:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d0d0746e0c7c9eeddc82106cf7d4c596eb45f6c2'/>
<id>urn:sha1:d0d0746e0c7c9eeddc82106cf7d4c596eb45f6c2</id>
<content type='text'>
SPL does not have a command interface so we should not include the main loop
code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Avoid calling commands when not available</title>
<updated>2016-03-22T16:16:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-03-14T01:07:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2b6793de2543e16ac6b8e792cef71ce7bb6ea1a7'/>
<id>urn:sha1:2b6793de2543e16ac6b8e792cef71ce7bb6ea1a7</id>
<content type='text'>
Don't try to run commands when not supported.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test: Record and silence console in tests</title>
<updated>2015-11-20T03:27:51Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-11-09T06:47:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9ce8b40206f4f96de6164c2a0c0a725c9323c4b9'/>
<id>urn:sha1:9ce8b40206f4f96de6164c2a0c0a725c9323c4b9</id>
<content type='text'>
When running sandbox tests, silence the console to avoid unwanted output.
Also, record the console in case tests want to check it.

The -v option can be used to enable stdout during tests.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add missing errno.h includes in a few files</title>
<updated>2015-05-15T00:49:34Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-05-04T17:31:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=38068820426f08224bf3a146086a7eb380bc04f0'/>
<id>urn:sha1:38068820426f08224bf3a146086a7eb380bc04f0</id>
<content type='text'>
These files use error numbering, so add the include.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Don't try distro_bootcmd by default</title>
<updated>2015-05-06T18:48:36Z</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2015-04-30T20:16:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ebaa832e9904677e2aea96d20e9c2c669e1ec7df'/>
<id>urn:sha1:ebaa832e9904677e2aea96d20e9c2c669e1ec7df</id>
<content type='text'>
For the distro_bootcmds to succeed on the sandbox a bit of setup is
required (e.g. network configured or host image bound), so running them
by default isn't that useful.

Add a -b/--boot command to the sandbox binary, which triggers the
distro_bootcmds to run after the other command-line commands.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Return '-c command' exit value as sandbox exit code</title>
<updated>2015-02-15T21:34:06Z</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2015-02-06T21:37:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=88539e4431cd6a596da316f81b644c4df606dbd9'/>
<id>urn:sha1:88539e4431cd6a596da316f81b644c4df606dbd9</id>
<content type='text'>
When a command is passed into sandbox using the '-c' argument the
command is run directly. This is most helpful when running tests (such
as test-dm.sh). Previously the exit code was an unused enum. Change it
to be the actual return code from the command so that the script calling
sandbox can know if the command succeeded (tests passed).  Also remove
the now completely unused "exit_state" in sandbox.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add a -D option to use a default device tree</title>
<updated>2015-01-30T22:52:14Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-01-20T03:21:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1f32ae95784acee8a2233043aa18bf1b3a4974d7'/>
<id>urn:sha1:1f32ae95784acee8a2233043aa18bf1b3a4974d7</id>
<content type='text'>
It is painful to specify the full path to the device tree with the -d
option. It is normally kept in the same directory as U-Boot, so provide
an option to use this by default.

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