* [U-Boot] WARNING: Caches not enabled on openrd based board
@ 2012-08-17 11:16 Alex Zeffertt
2012-08-17 15:24 ` Lukasz Majewski
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alex Zeffertt @ 2012-08-17 11:16 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] WARNING: Caches not enabled on openrd based board
2012-08-17 11:16 [U-Boot] WARNING: Caches not enabled on openrd based board Alex Zeffertt
@ 2012-08-17 15:24 ` Lukasz Majewski
2012-08-17 17:04 ` Alex Zeffertt
2012-08-18 10:03 ` Stefan Herbrechtsmeier
2012-08-21 7:27 ` Prafulla Wadaskar
2 siblings, 1 reply; 5+ messages in thread
From: Lukasz Majewski @ 2012-08-17 15:24 UTC (permalink / raw)
To: u-boot
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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
Best regards,
Lukasz Majewski
Samsung Poland R&D Center | Linux Platform Group
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] WARNING: Caches not enabled on openrd based board
2012-08-17 15:24 ` Lukasz Majewski
@ 2012-08-17 17:04 ` Alex Zeffertt
0 siblings, 0 replies; 5+ messages in thread
From: Alex Zeffertt @ 2012-08-17 17:04 UTC (permalink / raw)
To: 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 at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
>
>
>
> --
> Best regards,
>
> Lukasz Majewski
>
> Samsung Poland R&D Center | Linux Platform Group
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] WARNING: Caches not enabled on openrd based board
2012-08-17 11:16 [U-Boot] WARNING: Caches not enabled on openrd based board Alex Zeffertt
2012-08-17 15:24 ` Lukasz Majewski
@ 2012-08-18 10:03 ` Stefan Herbrechtsmeier
2012-08-21 7:27 ` Prafulla Wadaskar
2 siblings, 0 replies; 5+ messages in thread
From: Stefan Herbrechtsmeier @ 2012-08-18 10:03 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] WARNING: Caches not enabled on openrd based board
2012-08-17 11:16 [U-Boot] WARNING: Caches not enabled on openrd based board Alex Zeffertt
2012-08-17 15:24 ` Lukasz Majewski
2012-08-18 10:03 ` Stefan Herbrechtsmeier
@ 2012-08-21 7:27 ` Prafulla Wadaskar
2 siblings, 0 replies; 5+ messages in thread
From: Prafulla Wadaskar @ 2012-08-21 7:27 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
> bounces at lists.denx.de] On Behalf Of Alex Zeffertt
> Sent: 17 August 2012 16:47
> To: u-boot at 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 . . .
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-21 7:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 11:16 [U-Boot] WARNING: Caches not enabled on openrd based board Alex Zeffertt
2012-08-17 15:24 ` Lukasz Majewski
2012-08-17 17:04 ` Alex Zeffertt
2012-08-18 10:03 ` Stefan Herbrechtsmeier
2012-08-21 7:27 ` Prafulla Wadaskar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox