linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Pantelis Antoniou <panto@intracom.gr>
To: karim@opersys.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: 2.6.x with TQM860L
Date: Mon, 11 Apr 2005 09:08:22 +0300	[thread overview]
Message-ID: <425A1456.7020104@intracom.gr> (raw)
In-Reply-To: <4259FA09.8040508@opersys.com>

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

Karim Yaghmour wrote:
> I've been trying to get a 2.6.x kernel working with a TQM860L board
> with little success. I can get 2.6.11.6 to boot and _sometimes_ get
> to a shell, but most of the times it dies while starting init. From
> reading the archives, this looks very much like an SDRAM config issue
> (i.e. dies mostly when bursting.) Has anyone on this list got a
> 2.6.x kernel working with the TQM860L?
> 
> Thanks,
> 
> Karim

Karim hi

You need the following small patch.

For all the gory details follow the thread
   "8xx v2.6 TLB problems and suggested workaround"

Latest 2.6.12-rc2 works for me.

I don't know if there are any specific problems with TQM860L.

Please be aware that the serial driver has changed
     arch/ppc/8xx_io/uart.c -> drivers/serial/cpm_uart

Also if you use the FEC do give a whirl at drivers/net/fec_8xx.

Regards

Pantelis


[-- Attachment #2: 8xx-tlbie.patch --]
[-- Type: text/x-patch, Size: 583 bytes --]

--- linux-2.5/arch/ppc/mm/init.c	2005-04-01 13:33:07.000000000 +0300
+++ linux-2.5-intracom/arch/ppc/mm/init.c	2005-04-05 10:28:04.000000000 +0300
@@ -620,9 +620,10 @@
 		struct page *page = pfn_to_page(pfn);
 		if (!PageReserved(page)
 		    && !test_bit(PG_arch_1, &page->flags)) {
-			if (vma->vm_mm == current->active_mm)
-				__flush_dcache_icache((void *) address);
-			else
+			if (vma->vm_mm == current->active_mm) {
+				_tlbie(address);
+				__flush_dcache_icache((void *)address);
+			} else
 				flush_dcache_icache_page(page);
 			set_bit(PG_arch_1, &page->flags);
 		}

  reply	other threads:[~2005-04-11  6:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11  4:16 2.6.x with TQM860L Karim Yaghmour
2005-04-11  6:08 ` Pantelis Antoniou [this message]
2005-04-21 17:13   ` Karim Yaghmour
2005-04-11  7:24 ` Wolfgang Denk
2005-04-21 17:17   ` Karim Yaghmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=425A1456.7020104@intracom.gr \
    --to=panto@intracom.gr \
    --cc=karim@opersys.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).