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

2012-08-21 Thread Prafulla Wadaskar


 -Original Message-
 From: u-boot-boun...@lists.denx.de [mailto:u-boot-
 boun...@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 . . .
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2012-08-18 Thread Stefan Herbrechtsmeier

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.

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2012-08-17 Thread Lukasz Majewski
On Fri, 17 Aug 2012 12:16:56 +0100
Alex Zeffertt azeffe...@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



-- 
Best regards,

Lukasz Majewski

Samsung Poland RD Center | Linux Platform Group
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2012-08-17 Thread Alex Zeffertt
On Aug 17, 2012 4:26 PM, Lukasz Majewski l.majew...@samsung.com wrote:

 On Fri, 17 Aug 2012 12:16:56 +0100
 Alex Zeffertt azeffe...@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 RD Center | Linux Platform Group
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot