linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 2.6.x with TQM860L
@ 2005-04-11  4:16 Karim Yaghmour
  2005-04-11  6:08 ` Pantelis Antoniou
  2005-04-11  7:24 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Karim Yaghmour @ 2005-04-11  4:16 UTC (permalink / raw)
  To: linuxppc-embedded


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
-- 
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@opersys.com || 1-866-677-4546

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

* Re: 2.6.x with TQM860L
  2005-04-11  4:16 2.6.x with TQM860L Karim Yaghmour
@ 2005-04-11  6:08 ` Pantelis Antoniou
  2005-04-21 17:13   ` Karim Yaghmour
  2005-04-11  7:24 ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Pantelis Antoniou @ 2005-04-11  6:08 UTC (permalink / raw)
  To: karim; +Cc: linuxppc-embedded

[-- 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);
 		}

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

* Re: 2.6.x with TQM860L
  2005-04-11  4:16 2.6.x with TQM860L Karim Yaghmour
  2005-04-11  6:08 ` Pantelis Antoniou
@ 2005-04-11  7:24 ` Wolfgang Denk
  2005-04-21 17:17   ` Karim Yaghmour
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-04-11  7:24 UTC (permalink / raw)
  To: karim; +Cc: linuxppc-embedded

In message <4259FA09.8040508@opersys.com> you 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?

No, in this case it is not a SDRAM issue. I  understand  that  you're
using U-Boot on the board, and this is one of our reference platforms
and among the best tested systems with U-Boot.

Did you apply Marcelo's patch?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Nobody goes to that restaurant anymore. It's too crowded.

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

* Re: 2.6.x with TQM860L
  2005-04-11  6:08 ` Pantelis Antoniou
@ 2005-04-21 17:13   ` Karim Yaghmour
  0 siblings, 0 replies; 5+ messages in thread
From: Karim Yaghmour @ 2005-04-21 17:13 UTC (permalink / raw)
  To: Pantelis Antoniou; +Cc: linuxppc-embedded


Pantelis Antoniou wrote:
> You need the following small patch.
> 
> For all the gory details follow the thread
>    "8xx v2.6 TLB problems and suggested workaround"

Thanks. I haven't tried the actual patch you sent, but Marcelo's patch
does work with the TQM860L.

Karim
-- 
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@opersys.com || 1-866-677-4546

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

* Re: 2.6.x with TQM860L
  2005-04-11  7:24 ` Wolfgang Denk
@ 2005-04-21 17:17   ` Karim Yaghmour
  0 siblings, 0 replies; 5+ messages in thread
From: Karim Yaghmour @ 2005-04-21 17:17 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded


Wolfgang Denk wrote:
> No, in this case it is not a SDRAM issue. I  understand  that  you're
> using U-Boot on the board, and this is one of our reference platforms
> and among the best tested systems with U-Boot.
> 
> Did you apply Marcelo's patch?

... Karim returns to mailing list with brown bag on his head ...

hmm... I keep telling newbies to read the archives ... lucky for me
I actually got intelligent replies.

I figured the TQM board ought to not have that type of problem, but
I just couldn't nail down the real problem. So yes, after having
tried Marcelo's patch, things work fine. However, noe that 2.6.11.6
doesn't work out of the box for the board (i.e. doing "make
TQM860L_defconfig" doesn't yield a functional config.) I had to
manually hack a config together for it to actually work.

Thanks,

Karim
-- 
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@opersys.com || 1-866-677-4546

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

end of thread, other threads:[~2005-04-21 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11  4:16 2.6.x with TQM860L Karim Yaghmour
2005-04-11  6:08 ` Pantelis Antoniou
2005-04-21 17:13   ` Karim Yaghmour
2005-04-11  7:24 ` Wolfgang Denk
2005-04-21 17:17   ` Karim Yaghmour

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).