<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sandbox/include, branch v2013.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/include?h=v2013.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/include?h=v2013.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2013-03-15T20:13:58Z</updated>
<entry>
<title>Introduce generic link section.h symbol files</title>
<updated>2013-03-15T20:13:58Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-05T14:39:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1865286466a5d0c7f2e3c37632da56556c838e9e'/>
<id>urn:sha1:1865286466a5d0c7f2e3c37632da56556c838e9e</id>
<content type='text'>
We create a separate header file for link symbols defined by the link
scripts. It is helpful to have these all in one place and try to
make them common across architectures. Since Linux already has a similar
file, we bring this in even though many of the symbols there are not
relevant to us.

Each architecture has its own asm/sections.h where symbols specifc to
that architecture can be added. For now everything except AVR32 just
includes the generic header.

One change is needed in arch/avr32/lib/board.c to make this conversion
work.

Reviewed-by: Tom Rini &lt;trini@ti.com&gt; (version 5)
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add un/map_sysmen() to deal with sandbox's ram_buf</title>
<updated>2013-03-01T03:09:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-24T17:33:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4213fc2913722045eb2c327a64b99e3e3178aa5c'/>
<id>urn:sha1:4213fc2913722045eb2c327a64b99e3e3178aa5c</id>
<content type='text'>
Sandbox doesn't actually provide U-Boot access to the machine's physical
memory. Instead it provides a RAM buffer of configurable size, and all
memory accesses are within that buffer. Sandbox memory starts at 0 and
is CONFIG_DRAM_SIZE bytes in size. Allowing access outside this buffer
might produce unpredictable results in the event of an error, and would
expose the host machine's memory architecture to the sandbox U-Boot.

Most U-Boot functions assume that they can just access memory at given
address. For sandbox this is not true.

Add a map_sysmem() call which converts a U-Boot address to a system
address. In most cases this is a NOP, but for sandbox it returns a
pointer to that memory inside the RAM buffer.

To get a U-Boot feature to work correctly within sandbox, you should call
map_sysmem() to get a pointer to the address, and then use that address for
any U-Boot memory accesses.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Use generic global_data</title>
<updated>2013-02-04T14:05:46Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:49:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=07d59bb243c0c556b6e83bed1f6b95e6d102ceac'/>
<id>urn:sha1:07d59bb243c0c556b6e83bed1f6b95e6d102ceac</id>
<content type='text'>
Move sandbox over to use generic global_data.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Move ram_buf to arch_global_data</title>
<updated>2013-02-04T14:05:45Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:49:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8ee666a76ffe2b63174af477c93ebf389a49d76b'/>
<id>urn:sha1:8ee666a76ffe2b63174af477c93ebf389a49d76b</id>
<content type='text'>
Move this field into arch_global_data and tidy up.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Add architecture-specific global data</title>
<updated>2013-02-01T20:07:49Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5cb48582ac05931c66b00b46c60d3ee8c6fc7950'/>
<id>urn:sha1:5cb48582ac05931c66b00b46c60d3ee8c6fc7950</id>
<content type='text'>
We plan to move architecture-specific data into a separate structure so
that we can make the rest of it common.

As a first step, create struct arch_global_data to hold these fields.
Initially it is empty.

This patch applies to all archs at once. I can split it if this is really
a pain.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Change global data baudrate to int</title>
<updated>2012-10-19T22:25:46Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-10-12T14:21:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eeaec258b751075d48e081d645516dab3240ab96'/>
<id>urn:sha1:eeaec258b751075d48e081d645516dab3240ab96</id>
<content type='text'>
This doesn't need to be a long, so change it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Add asm/errno.h</title>
<updated>2012-09-29T17:00:29Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-09-28T08:23:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4668a086bb0a769b741e3a4ffab85f1c41c7cdb8'/>
<id>urn:sha1:4668a086bb0a769b741e3a4ffab85f1c41c7cdb8</id>
<content type='text'>
This file is required for all archs. Fixes a sandbox build break on ext4.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>global_data: unify global flag defines</title>
<updated>2012-08-09T19:46:32Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-03-18T14:31:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=47fde91f0cae0cc4ed6a10a52b4a4ff0277dbc45'/>
<id>urn:sha1:47fde91f0cae0cc4ed6a10a52b4a4ff0277dbc45</id>
<content type='text'>
All the global flag defines are the same across all arches.  So unify them
in one place, and add a simple way for arches to extend for their needs.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>net: punt bd-&gt;bi_ip_addr</title>
<updated>2012-05-15T22:32:05Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-04-04T18:53:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50a47d0523e8efebe912bef539a77ffd42116451'/>
<id>urn:sha1:50a47d0523e8efebe912bef539a77ffd42116451</id>
<content type='text'>
This field gets read in one place (by "bdinfo"), and we can replace
that with getenv("ipaddr").  After all, the bi_ip_addr field is kept
up-to-date implicitly with the value of the ipaddr env var.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>sandbox: add getopt support</title>
<updated>2012-03-12T15:06:01Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-02-15T23:51:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=70db4212fcdb080444a23dccaf673b68a3ffc1fa'/>
<id>urn:sha1:70db4212fcdb080444a23dccaf673b68a3ffc1fa</id>
<content type='text'>
This adds simple command-line parsing to sandbox. The idea is that it
sets up the state with options provided, and this state can then be
queried later, as needed.

New flags are declared with the SB_CMDLINE_OPT_SHORT helper macro,
pointers are automatically gathered up in a special section, and
then the core code takes care of gathering them up and processing
at runtime.  This way there is no central place where we have to
store a list of flags with ifdefs.

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