[U-Boot] WARNING: Caches not enabled on openrd based board

Hi U-Booters,
I get the following warning when I boot our openrd based board:
U-Boot 2012.07 (Aug 17 2012 - 10:45:29) OpenRD-Base
SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB
I am running the latest code from git with a small number of changes to make it work with our hardware. (In particular we have had to rewrite board/Marvell/openrd/kwbimage.cfg.)
My question is: does the warning about caches affect only U-Boot (in which case I don't mind) or will it also affect Linux?
TIA,
Alex

On Fri, 17 Aug 2012 12:16:56 +0100 Alex Zeffertt azeffertt@cambridgesys.com wrote:
Hi U-Booters,
I get the following warning when I boot our openrd based board:
U-Boot 2012.07 (Aug 17 2012 - 10:45:29) OpenRD-Base
SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB
I am running the latest code from git with a small number of changes to make it work with our hardware. (In particular we have had to rewrite board/Marvell/openrd/kwbimage.cfg.)
My question is: does the warning about caches affect only U-Boot (in which case I don't mind) or will it also affect Linux?
As fair as I know, it will only affect u-boot. If I remember correctly, caches are disabled (and fulshed) just before passing execution to linux.
Those caches are disabled, since some time ago it turns out, that many drivers had problems with unaligned buffers allocation.
TIA,
Alex _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On Aug 17, 2012 4:26 PM, "Lukasz Majewski" l.majewski@samsung.com wrote:
On Fri, 17 Aug 2012 12:16:56 +0100 Alex Zeffertt azeffertt@cambridgesys.com wrote:
Hi U-Booters,
I get the following warning when I boot our openrd based board:
U-Boot 2012.07 (Aug 17 2012 - 10:45:29) OpenRD-Base
SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB
I am running the latest code from git with a small number of changes to make it work with our hardware. (In particular we have had to rewrite board/Marvell/openrd/kwbimage.cfg.)
My question is: does the warning about caches affect only U-Boot (in which case I don't mind) or will it also affect Linux?
As fair as I know, it will only affect u-boot. If I remember correctly, caches are disabled (and fulshed) just before passing execution to linux.
Those caches are disabled, since some time ago it turns out, that many drivers had problems with unaligned buffers allocation.
Ah yes. I remember hitting that problem myself with the openrd board gig eth driver. And that does appear to have been resolved as you say.
Thanks for the explanation.
Alex
TIA,
Alex _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
-- Best regards,
Lukasz Majewski
Samsung Poland R&D Center | Linux Platform Group

Am 17.08.2012 13:16, schrieb Alex Zeffertt:
I get the following warning when I boot our openrd based board:
U-Boot 2012.07 (Aug 17 2012 - 10:45:29) OpenRD-Base
SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB
The warning tells you that the plaform has no implementation of function enable_caches.
At the moment the l2cache and icache is enabled in function arch_misc_init.

-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot- bounces@lists.denx.de] On Behalf Of Alex Zeffertt Sent: 17 August 2012 16:47 To: u-boot@lists.denx.de Subject: [U-Boot] WARNING: Caches not enabled on openrd based board
Hi U-Booters,
I get the following warning when I boot our openrd based board:
U-Boot 2012.07 (Aug 17 2012 - 10:45:29) OpenRD-Base
SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB
I am running the latest code from git with a small number of changes to make it work with our hardware. (In particular we have had to rewrite board/Marvell/openrd/kwbimage.cfg.)
My question is: does the warning about caches affect only U-Boot (in which case I don't mind) or will it also affect Linux?
At least for Kirkwood, cache is forced disabled to keep peripheral drives small and simple. I don't think it affects Linux.
Regards... Prafulla . . .
participants (4)
-
Alex Zeffertt
-
Lukasz Majewski
-
Prafulla Wadaskar
-
Stefan Herbrechtsmeier