linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux-2.4.18 & copy-back cache mode
@ 2002-03-06  9:14 Laurent Pinchart
  2002-03-06 14:52 ` Dan Malek
  0 siblings, 1 reply; 15+ messages in thread
From: Laurent Pinchart @ 2002-03-06  9:14 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: linux-2.4.18 & copy-back cache mode
@ 2002-03-07 22:18 Navin Boppuri
  2002-03-08 14:41 ` Wojciech Kromer
  2002-03-09  1:19 ` Conn Clark
  0 siblings, 2 replies; 15+ messages in thread
From: Navin Boppuri @ 2002-03-07 22:18 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: laurent.pinchart


I am sorry. I meant 64Mhz , not 66Mhz.

Navin.

-----Original Message-----
From: Navin Boppuri
Sent: Thursday, March 07, 2002 2:33 PM
To: linuxppc-embedded@lists.linuxppc.org
Cc: laurent.pinchart@capflow.com
Subject: RE: linux-2.4.18 & copy-back cache mode



I am running my MPC855T at 66Mhz 1:1 CPU/bus clock mode without any problems. I used an app. note from Motorola to do this and according to the app.note, we just need to satisfy some timing constraints on the processor (latency of data reaching the MPC pins from SDRAM). The app. note suggests using specific Micron SDRAM which satisfy all these requirements.

Navin.

-----Original Message-----
From: Dan Malek [mailto:dan@embeddededge.com]
Sent: Wednesday, March 06, 2002 1:50 PM
To: Wolfgang Denk
Cc: laurent.pinchart@capflow.com; linuxppc-embedded@lists.linuxppc.org
Subject: Re: linux-2.4.18 & copy-back cache mode



Wolfgang Denk wrote:

> There are no differences AFAIK. It's just a faster CPU that allows 66
> or even 76 MHz with 1:1 CPU/bus clock mode.

Interesting.  Faster than 50 MHz cores used to require the 2:1 bus
clock division.  I don't remember timing parameters that would
exceed 50 MHz.  Yes, the part will let you do that, but I thought that
was outside of the part specification.  I guess I'll have to take a look.


	-- Dan


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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: linux-2.4.18 & copy-back cache mode
@ 2002-03-12 15:58 Navin Boppuri
  0 siblings, 0 replies; 15+ messages in thread
From: Navin Boppuri @ 2002-03-12 15:58 UTC (permalink / raw)
  To: Wojciech Kromer; +Cc: linuxppc-embedded


You will have to whip up a set of UPM words specific for you SDRAM. Wolfgang told me this a million times before I finally got my SDRAM working. Look at your SDRAM datasheet and you should be able to figure out the timing.

Also, there is utility from Motorola `MCUinit 3.1` that has a GUI interface to whip out all the timing for you memory controller. Search for it in google and you should be able to download it.

Navin.


In message <3C8DA95C.7060402@dgt-lab.com.pl> Wojciech Kromer wrote:
>
> >Browse the PPCBoot sources;  I  added  a  configuration  for  TQM8xxL
> >modules   at   66   MHz  (cpu-bus  1:1)  recently;  also,  the  LWMON
> >configuration runs at 66 MHz 1:1.
> >
> OK, thank You. But this UPM table dosen't seem to work with my DIMM.

Probably not. The whole initialization depends  on  the  actual  chip
types; it's Micron SDRAM in our case.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
An armed society is a polite society.


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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-03-12 15:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-06  9:14 linux-2.4.18 & copy-back cache mode Laurent Pinchart
2002-03-06 14:52 ` Dan Malek
2002-03-06 15:37   ` Laurent Pinchart
2002-03-06 16:28     ` Dan Malek
2002-03-06 17:09       ` Wolfgang Denk
2002-03-06 19:50         ` Dan Malek
2002-03-07  2:42           ` serial console on 405GP Kim, Kwansuk
2002-03-11  0:36             ` Sangmoon Kim
  -- strict thread matches above, loose matches on Subject: below --
2002-03-07 22:18 linux-2.4.18 & copy-back cache mode Navin Boppuri
2002-03-08 14:41 ` Wojciech Kromer
2002-03-08 15:22   ` Wolfgang Denk
2002-03-12  7:08     ` Wojciech Kromer
2002-03-12  9:38       ` Wolfgang Denk
2002-03-09  1:19 ` Conn Clark
2002-03-12 15:58 Navin Boppuri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).