All of lore.kernel.org
 help / color / mirror / Atom feed
* ADS8260 Hang
@ 2003-03-16 10:28 ` Sriram Narasimhan
  0 siblings, 0 replies; 5+ messages in thread
From: Sriram Narasimhan @ 2003-03-16 10:28 UTC (permalink / raw)
  To: linux-newbie, linux-kernel

Hello,

[ If this is the wrong mailing list please point me to the right one. 
Thank you]

I having been trying to bring up the ADS8260 board and incidentally ran 
into some problems.

I initially tried using Linux 2.4.1 kernel and it worked fine and the 
board was up.
I upgraded to 2.4.17 and I found out that the system started hanging 
during boot up.

I compiled 2.4.17 for ppc boot. (I already have ppc boot on my ADS board 
and I test my development by tftp boot'ing the kernel image.

I tried tracking down where the hang could be and ended up at the RFI 
instruction where its waiting to complete the MMU initialization. The 
system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I tried comparing the file head.S between 2.4.1 and 2.4.17. I found out 
some patches done inside the 2.4.1 had been made generic. There were 
patches for the BAT initialization and RAM mapping on the MPC8260.

Is there an update on the files?
Should the patches be done for 2.4.17 as well ?

Any suggestions or pointers could be very helpful.

[Running on x86 with Red Hat 8.0 and cross compiling for PPC.]

Thank you.
Regards,
Sriram Narasimhan

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* ADS8260 Hang
@ 2003-03-16 10:28 ` Sriram Narasimhan
  0 siblings, 0 replies; 5+ messages in thread
From: Sriram Narasimhan @ 2003-03-16 10:28 UTC (permalink / raw)
  To: linux-newbie, linux-kernel

Hello,

[ If this is the wrong mailing list please point me to the right one. 
Thank you]

I having been trying to bring up the ADS8260 board and incidentally ran 
into some problems.

I initially tried using Linux 2.4.1 kernel and it worked fine and the 
board was up.
I upgraded to 2.4.17 and I found out that the system started hanging 
during boot up.

I compiled 2.4.17 for ppc boot. (I already have ppc boot on my ADS board 
and I test my development by tftp boot'ing the kernel image.

I tried tracking down where the hang could be and ended up at the RFI 
instruction where its waiting to complete the MMU initialization. The 
system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I tried comparing the file head.S between 2.4.1 and 2.4.17. I found out 
some patches done inside the 2.4.1 had been made generic. There were 
patches for the BAT initialization and RAM mapping on the MPC8260.

Is there an update on the files?
Should the patches be done for 2.4.17 as well ?

Any suggestions or pointers could be very helpful.

[Running on x86 with Red Hat 8.0 and cross compiling for PPC.]

Thank you.
Regards,
Sriram Narasimhan


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

* ADS8260 Hang
@ 2004-04-22  6:27 challaharikumar
  2004-04-22 13:54 ` Dan Malek
  2004-04-22 19:42 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: challaharikumar @ 2004-04-22  6:27 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: dan


Hi All,

I having been trying to bring up the ADS8260 board and incidentally ran
into some problems.

I initially tried using Linux 2.4.1 kernel and it worked fine and the
board was up.
I upgraded to 2.4.17 and I found out that the system started hanging
during boot up.

I compiled 2.4.17 for ppc boot. (I already have ppc boot on my ADS board
and I test my development by tftp boot'ing the kernel image.

I tried tracking down where the hang could be and ended up at the RFI
instruction where its waiting to complete the MMU initialization. The
system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I tried comparing the file head.S between 2.4.1 and 2.4.17. I found out
some patches done inside the 2.4.1 had been made generic. There were
patches for the BAT initialization and RAM mapping on the MPC8260.

Is there an update on the files?
Should the patches be done for 2.4.17 as well ?

Any suggestions or pointers could be very helpful.

[Running on x86 with Red Hat 8.0 and cross compiling for PPC.]

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

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

* Re: ADS8260 Hang
  2004-04-22  6:27 ADS8260 Hang challaharikumar
@ 2004-04-22 13:54 ` Dan Malek
  2004-04-22 19:42 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Malek @ 2004-04-22 13:54 UTC (permalink / raw)
  To: challaharikumar; +Cc: linuxppc-dev


challaharikumar wrote:

> I tried tracking down where the hang could be and ended up
> at the RFI instruction where its waiting to complete the MMU
> initialization. The system executes SYNC instruction and then hangs.
> (arch/ppc/kernel/head.S)

Your tools are fooling you, this isn't the problem.  The mapping of
memory for 82xx works just fine.  There may be something specific to
your board that is incorrect, but this mmu initialization at this
point is not the problem.

Why are you using such an old kernel?  Please update to something
more recent.

	-- Dan

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

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

* Re: ADS8260 Hang
  2004-04-22  6:27 ADS8260 Hang challaharikumar
  2004-04-22 13:54 ` Dan Malek
@ 2004-04-22 19:42 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2004-04-22 19:42 UTC (permalink / raw)
  To: challaharikumar; +Cc: linuxppc-dev, dan


In message <001101c42832$ec117760$3401080a@telxsi.com> you wrote:
>
> I initially tried using Linux 2.4.1 kernel and it worked fine and the
> board was up.
> I upgraded to 2.4.17 and I found out that the system started hanging
> during boot up.

I guess you didn't read the FAQ; see
http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel

I think you must unset the "clocks_in_mhz" environment variable.

> I tried tracking down where the hang could be and ended up at the RFI
> instruction where its waiting to complete the MMU initialization. The
> system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I think you are hunting a ghost; and again you didn't read the FAQ; see
http://www.denx.de/twiki/bin/view/DULG/HowToSingleStepThroughRFIInstruction

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"When the only  tool  you  have  is  a  hammer,  you  tend  to  treat
everything as if it were a nail."                    - Abraham Maslow

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

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

end of thread, other threads:[~2004-04-22 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22  6:27 ADS8260 Hang challaharikumar
2004-04-22 13:54 ` Dan Malek
2004-04-22 19:42 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-03-16 10:28 Sriram Narasimhan
2003-03-16 10:28 ` Sriram Narasimhan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.