<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/cpu/armv7/cpu.c, branch v2016.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/arm/cpu/armv7/cpu.c?h=v2016.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/cpu/armv7/cpu.c?h=v2016.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-09-03T03:28:25Z</updated>
<entry>
<title>arm: Turn of d-cache before i-cache</title>
<updated>2015-09-03T03:28:25Z</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2015-08-30T22:55:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=81b0618ddf449aab669b42068ad8c90f63714c14'/>
<id>urn:sha1:81b0618ddf449aab669b42068ad8c90f63714c14</id>
<content type='text'>
Booting the kernel fails on RK3288 (and probably other rockchip SoCs)
when the i-cache is disabled/flushed before d-cache.

I have not investigated whether this is due to U-Boot hanging or whether
it's very early in the linux boot, but following the approach of the
various rockchip U-Boot forks (first disable d-cache then i-cache) makes
things work.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>arm: Allow cleanup_before_linux() without disabling caches</title>
<updated>2015-06-11T01:26:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-05-13T13:02:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4d24a11ee6aeba68fe4a8c94ed37019b773af2f3'/>
<id>urn:sha1:4d24a11ee6aeba68fe4a8c94ed37019b773af2f3</id>
<content type='text'>
This function is used before jumping to U-Boot, but in that case we don't
always want to disable caches.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
</content>
</entry>
<entry>
<title>ARM: armv7 fix spelling of SCTRL</title>
<updated>2015-01-30T14:19:17Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-01-29T10:03:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0f274f5376f02ccf30327bf3e5c88d26d3ea8827'/>
<id>urn:sha1:0f274f5376f02ccf30327bf3e5c88d26d3ea8827</id>
<content type='text'>
SCTLR is the abbreviation of System Control Register, so we should
use SCTLR but not SCTRL.

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0</title>
<updated>2012-09-01T12:58:22Z</updated>
<author>
<name>Tetsuyuki Kobayashi</name>
<email>koba@kmckk.co.jp</email>
</author>
<published>2012-07-06T21:14:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f0dba85a92b55f67a3610241060caaa41b5939e'/>
<id>urn:sha1:6f0dba85a92b55f67a3610241060caaa41b5939e</id>
<content type='text'>
save_boot_params_default() in cpu.c accesses uninitialized stack area
when it compiled with -O0 (not optimized).
This patch removes save_boot_params_default() and put the equivalent in start.S

Signed-off-by: Tetsuyuki Kobayashi &lt;koba@kmckk.co.jp&gt;
Acked-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>armv7: Adding cpu specific cache managmenent</title>
<updated>2012-09-01T12:58:20Z</updated>
<author>
<name>Mathieu J. Poirier</name>
<email>mathieu.poirier@linaro.org</email>
</author>
<published>2012-07-31T08:59:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=53e6f6a6340adba6ff2a970ff27ac741901a8776'/>
<id>urn:sha1:53e6f6a6340adba6ff2a970ff27ac741901a8776</id>
<content type='text'>
Some CPU (i.e u8500) need more cache management before launching
the Linux kernel.

Signed-off-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Signed-off-by: John Rigby &lt;john.rigby@linaro.org&gt;
</content>
</entry>
<entry>
<title>Revert "arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0"</title>
<updated>2012-07-09T07:19:00Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-07-09T07:19:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=18277f7057c8e9b895aa4f8590969a57c4bce888'/>
<id>urn:sha1:18277f7057c8e9b895aa4f8590969a57c4bce888</id>
<content type='text'>
This reverts commit fa042186b932e9b9ee9a2fd8a04a3acf7c70d224.
It causes build warnings like this:
cpu.c:48:1: warning: -fstack-usage not supported for this target
[enabled by default]

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0</title>
<updated>2012-07-07T12:07:36Z</updated>
<author>
<name>Tetsuyuki Kobayashi</name>
<email>koba@kmckk.co.jp</email>
</author>
<published>2012-06-28T23:36:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fa042186b932e9b9ee9a2fd8a04a3acf7c70d224'/>
<id>urn:sha1:fa042186b932e9b9ee9a2fd8a04a3acf7c70d224</id>
<content type='text'>
save_boot_params_default() in cpu.c accesses uninitialized stack area
when it compiled with -O0 (not optimized).

Signed-off-by: Tetsuyuki Kobayashi &lt;koba@kmckk.co.jp&gt;
Acked-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>Add cache functions to SPL for armv7</title>
<updated>2012-03-27T20:05:29Z</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2012-03-15T04:01:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d460587a44de06e331041f55c30b7d1c432bff8b'/>
<id>urn:sha1:d460587a44de06e331041f55c30b7d1c432bff8b</id>
<content type='text'>
Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
CC: Tom Rini &lt;tom.rini@gmail.com&gt;
CC: Wolfgang Denk &lt;wd@denx.de&gt;
CC: Simon Schwarz &lt;simonschwarzcor@gmail.com&gt;
</content>
</entry>
<entry>
<title>armv7: disable L2 cache in cleanup_before_linux()</title>
<updated>2011-12-06T22:59:33Z</updated>
<author>
<name>Aneesh V</name>
<email>aneesh@ti.com</email>
</author>
<published>2011-11-21T23:33:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc7100f4080952798413fb63bb4134b22c57623a'/>
<id>urn:sha1:dc7100f4080952798413fb63bb4134b22c57623a</id>
<content type='text'>
We were not disabling external caches before jumping
to kernel. We were flushing all caches including
external caches and disabling caches globally in
CP15 System Control register. Apparently this is not
enough.

The bootstrap loader in Linux kernel that does decompression
enables data-caches again, flush them after use and disable
them before jumping to kernel proper. However, it's not aware
of the external caches.

Since we have left external cache enabled, external cache will
get used once caches are enabled globally, but it's not flushed
because decompressor is not aware of external caches. When it
jumps to kernel with caches disabled globally, we have stale
data in the external cache and a coherency problem.

This was breaking the boot for OMAP4 with latest mainline
kernel. The solution is to disable external caches in
cleanup_before_linux(). With this fix kernel is booting again.

Cc: Albert Aribaud &lt;albert.u.boot@aribaud.net&gt;
Signed-off-by: Aneesh V &lt;aneesh@ti.com&gt;
</content>
</entry>
</feed>
