linux-2.4.18 & copy-back cache mode

4 messages, 2 authors, 2002-03-06 · open the first message on its own page

linux-2.4.18 & copy-back cache mode

From: Laurent Pinchart <hidden>
Date: 2002-03-06 09:14:41

Hi everybody

I tried to boot a FADS860T board with the 2.4.18 linux kernel, and
experienced problems with cache set in Copy-Back mode.

The kernel configuration help states that you can say 'Y' to Copy-Back
mode if 'you don't know what that is about', so that's what I did.

I then got a 'kernel access of bad area' just after the 'CPM UART driver
version 0.03' message.

I traced the problem to rs_8xx_init, and found out that a write to .data
was causing the crash.

After some more investigation I found that disabling Copy-Back mode
(thus enabling Write-Through mode) fixed the problem.

The problem seems to have been solved in the linuxppc repository, so the
purpose if this message is not to ask for help but rather to give help
to people who will experience the same problem (no doubt there will be
some, as the Copy-Back mode is advised by the kernel configurator).

Laurent Pinchart

PS: I posted a few patches based on the latest linuxppc tree (to fix
some compilation warnings and a problem with xmon) about one week ago. I
got no feedback. Have they got through to the list ?


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: linux-2.4.18 & copy-back cache mode

From: Dan Malek <hidden>
Date: 2002-03-06 14:52:02

Laurent Pinchart wrote:

After some more investigation I found that disabling Copy-Back mode
(thus enabling Write-Through mode) fixed the problem.
What version of silicon?  Sounds like the "CPU6 errata" that affects
anything less than a Rev. C part.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: linux-2.4.18 & copy-back cache mode

From: Laurent Pinchart <hidden>
Date: 2002-03-06 15:37:06

quoted
After some more investigation I found that disabling Copy-Back mode
(thus enabling Write-Through mode) fixed the problem.
What version of silicon?  Sounds like the "CPU6 errata" that affects
anything less than a Rev. C part.
It's a Rev. D.3

Laurent Pinchart


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: linux-2.4.18 & copy-back cache mode

From: Dan Malek <hidden>
Date: 2002-03-06 16:28:39

Laurent Pinchart wrote:

It's a Rev. D.3
Hmmmm....I regularly use one of those for testing (maybe it's an 855T),
and it seems OK for me.  The first one I had didn't work well, but
it was tracked down to a UPM/SDRAM timing problem.  People keep talking
about running > 50 MHz bus on these newer parts, is there something
different about the memory controller that allows this and may cause
compatibility problems?  I have (fortunately :-) not looked at this
level of detail in the newer parts.

When you disable copyback you also disable burst mode write from
the CPU core.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help