<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/x86/lib, 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/x86/lib?h=v2013.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/x86/lib?h=v2013.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2013-03-19T15:45:37Z</updated>
<entry>
<title>x86: Move PCI init before SPI init</title>
<updated>2013-03-19T15:45:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T06:08:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=192868b0614e68d165fffe9996c6c45db1c47fcb'/>
<id>urn:sha1:192868b0614e68d165fffe9996c6c45db1c47fcb</id>
<content type='text'>
It is possible that our PCI bus will provide the SPI controller, so change
the init order to make this work.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Enable generic board support</title>
<updated>2013-03-15T20:14:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T07:40:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e424c15c1f4ef8a084120f111d95da60676ba1cc'/>
<id>urn:sha1:e424c15c1f4ef8a084120f111d95da60676ba1cc</id>
<content type='text'>
This enables generic board support so that x86 boards can define
CONFIG_SYS_GENERIC_BOARD.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Use sections header to obtain link symbols</title>
<updated>2013-03-15T20:14:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-05T14:39:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86cfb6bdecc3a312a939bbd89560f500f45193c3'/>
<id>urn:sha1:86cfb6bdecc3a312a939bbd89560f500f45193c3</id>
<content type='text'>
These are defined in asm-generic/sections.h, so remove them from
architecture-specific files.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Introduce generic pre-relocation board_f.c</title>
<updated>2013-03-15T20:13:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T06:49:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1938f4a5b62fc03c52b47697a89b2bb47b77c90c'/>
<id>urn:sha1:1938f4a5b62fc03c52b47697a89b2bb47b77c90c</id>
<content type='text'>
This file handles common pre-relocation init for boards which use
the generic framework.

It starts up the console, DRAM, performs relocation and then jumps
to post-relocation init.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>x86: Add error checking to x86 relocation code</title>
<updated>2013-03-04T23:57:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-28T19:26:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=62f7970a5a063991a00fb426704bfcf7c9dc9c11'/>
<id>urn:sha1:62f7970a5a063991a00fb426704bfcf7c9dc9c11</id>
<content type='text'>
This does not actually change normal behaviour, but adds a check that
should detect corruption of relocation data (e.g. by using BSS data
prior to relocation).

Also add additional debugging output when enabled.

During this investigation, two situations have been seen:
1. calculate_relocation_address():
	uintptr_t size = (uintptr_t)&amp;__bss_end - (uintptr_t)&amp;__text_start;

turns into
     111166f:	b8 83 c4 17 01       	mov    $0x117c483,%eax

whih is beyond the end of bss:

0117b484 g       .bss	00000000 __bss_end

Somehow the __bss_end here is 255 bytes ahead.

2. do_elf_reloc_fixups():

	uintptr_t size = (uintptr_t)&amp;__bss_end - (uintptr_t)&amp;__text_start;

Here the __text_start is 0 in the file:

 1111d9f:	bb a0 e0 13 01       	mov    $0x113e0a0,%ebx
1111da4:	81 ef 00 00 00 00    	sub    $0x0,%edi

As it happens, both of these are in pre-relocation code.

For these reasons we silent check and ignore bad relocations.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Support relocation of FDT on start-up</title>
<updated>2013-03-04T23:57:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-28T19:26:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f697d528caba0c30382b7269fd36f1111e51810d'/>
<id>urn:sha1:f697d528caba0c30382b7269fd36f1111e51810d</id>
<content type='text'>
With CONFIG_OF_CONTROL we may have an FDT in the BSS region. Relocate
it up with the rest of U-Boot to keep the rest of memory free.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Add an __end symbol to signal the end of the U-Boot binary</title>
<updated>2013-03-04T23:57:38Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-28T19:26:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8'/>
<id>urn:sha1:4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8</id>
<content type='text'>
With this symbol we can easy append something (e.g. an FDT) to the U-Boot
binary and access it from within U-Boot.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Permit bootstage and timer data to be used prior to relocation</title>
<updated>2013-03-04T23:57:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-28T19:26:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bc2df1afb92435da6fb16310dac6b722bfaade9f'/>
<id>urn:sha1:bc2df1afb92435da6fb16310dac6b722bfaade9f</id>
<content type='text'>
It is useful to be able to access the timer before U-Boot has relocated
so that we can fully support bootstage.

Add new global_data members to support this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Add function to get top of usable ram</title>
<updated>2013-03-04T23:56:46Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-28T19:26:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e98947f9baa5bdc9b819d365f9f8ef65a9b1e4d'/>
<id>urn:sha1:5e98947f9baa5bdc9b819d365f9f8ef65a9b1e4d</id>
<content type='text'>
The memory layout calculations are done in calculate_relocation_address(),
and coreboot has its own version of this function. But in fact all we
really need is to set the top of usable RAM, and then the base version
will work as is.

So instead of allowing the whole calculate_relocation_address() function
to be replaced, create board_get_usable_ram_top() which can be used by
a board to specify the top of the area where U-Boot relocations to.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>x86: Remove unused real mode code</title>
<updated>2013-02-15T04:19:03Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-02-14T17:38:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=96dfc0633aabb4f8fb720d39d9deb29dde08749b'/>
<id>urn:sha1:96dfc0633aabb4f8fb720d39d9deb29dde08749b</id>
<content type='text'>
This code is pretty old and we want to support only 32-bit systems now.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
</content>
</entry>
</feed>
