linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IDE in Mode 1 (Sandpoint) how ?
@ 2001-11-12 12:46 Sarnath  Kannan
  2001-11-12 16:09 ` Dan Malek
  0 siblings, 1 reply; 5+ messages in thread
From: Sarnath  Kannan @ 2001-11-12 12:46 UTC (permalink / raw)
  To: linuxppc-embedded


hi all,
The Sandpoint user's manual says that WinBond's IDE controller is disabled in mode 1 (s3-down, s4-up), but MontaVista's kernel works in mode 1 with IDE support!
How is this possible ?
 Moreover, the kernel we had built ( not from mVista) runs too too slow. ( altho linux comes up ). The kernel
boots fine and fast but once INIT comes up,
systems slows down like crazy..( unagreeable
speed ). This looks very tantalizing.

Thanx for any help
Sarnath


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

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

* Re: IDE in Mode 1 (Sandpoint) how ?
  2001-11-12 12:46 IDE in Mode 1 (Sandpoint) how ? Sarnath  Kannan
@ 2001-11-12 16:09 ` Dan Malek
  2001-11-12 19:55   ` Mark A. Greer
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Malek @ 2001-11-12 16:09 UTC (permalink / raw)
  To: Sarnath Kannan; +Cc: linuxppc-embedded


Sarnath Kannan wrote:

> hi all,
> The Sandpoint user's manual says that WinBond's IDE controller is disabled in mode 1 (s3-down, s4-up), but MontaVista's kernel works in mode 1 with IDE support!
> How is this possible ?

The up/down comment is relative to the installation of the board in the chassis.
Mine are actually the other way around.  I'm not even sure if on/off nomenclature
would work.

>  Moreover, the kernel we had built ( not from mVista) runs too too slow.

Sounds like you have the switches in the wrong position and the interrupts
are not routed correctly.  The serial port will eventually time out when it
doesn't receive interrupts, giving the perception of a very slow running system.

Just keep in mind the troubles are local to your configuration, as this software
operates fine on a properly configured board.  Just move switches until it works,
then leave them alone :-).


	-- Dan


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

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

* Re: IDE in Mode 1 (Sandpoint) how ?
  2001-11-12 16:09 ` Dan Malek
@ 2001-11-12 19:55   ` Mark A. Greer
  0 siblings, 0 replies; 5+ messages in thread
From: Mark A. Greer @ 2001-11-12 19:55 UTC (permalink / raw)
  To: Dan Malek; +Cc: Sarnath Kannan, linuxppc-embedded


Dan Malek wrote:

> Sarnath Kannan wrote:
>
> > hi all,
> > The Sandpoint user's manual says that WinBond's IDE controller is disabled in mode 1 (s3-down, s4-up), but MontaVista's kernel works in mode 1 with IDE support!
> > How is this possible ?

Because the documentation is misleading...

> The up/down comment is relative to the installation of the board in the chassis.
> Mine are actually the other way around.  I'm not even sure if on/off nomenclature
> would work.

Sarnath, Dan is completely correct, it is relative so you need to first *carefully read* the comments in sandpoint_setup.c that describe the switch setting,
*understand them*, and then *follow them*.   Especially the part where it says:


     " * 'down' is in the direction from the PCI slots towards the PPMC slot;
      * 'up' is in the direction from the PPMC slot towards the PCI slots.
      * Be careful, the way the sandpoint board is installed in XT chasses will
      * make the directions reversed."

> Just keep in mind the troubles are local to your configuration, as this software
> operates fine on a properly configured board.  Just move switches until it works,
> then leave them alone :-).

ditto


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

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

* Re: IDE in Mode 1 (Sandpoint) how ?
  2001-11-13  4:07 Sarnath  Kannan
@ 2001-11-13  5:25 ` Dan Malek
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Malek @ 2001-11-13  5:25 UTC (permalink / raw)
  To: Sarnath Kannan; +Cc: linuxppc-embedded


Sarnath Kannan wrote:


> ..... But whatss troubling
> my head is, the kernel boots up fine until the NFS mount.
> Had the switch settings been wrong, the serial output
> would be slow from early bootup, right ?

Nope.  All of the kernel print out is polled I/O.

> .....  But thats
> not the case. Why should it be slow after INIT starts
> up ?

Because it uses interrupt driven serial I/O.

Believe me, all of us using Sandpoints have seen this before.
Your interrupt/arbitration routing switches on the board are wrong.


	-- Dan


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

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

* Re: IDE in Mode 1 (Sandpoint) how ?
  2001-11-13  8:17 Sarnath  Kannan
@ 2001-11-13 16:18 ` Dan Malek
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Malek @ 2001-11-13 16:18 UTC (permalink / raw)
  To: Sarnath Kannan; +Cc: linuxppc-embedded


Sarnath Kannan wrote:


>   This means that all ISA interrupts are not
>   being routed properly. One more, I haven't
>   initialized the WinBond, coz reset values seem
>   meaninful. Could that be the reason for
>   this ?

Between the boot rom and Linux, the Winbond part is initialized
properly.  If you haven't removed any code, it should be fine.


> Is there any other switch, other than the S3,S4,S5,S6
> I need to worry about.

I forgot, is this an X2 or X3 (or X3b) version of the Sandpoint?


	-- Dan


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

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

end of thread, other threads:[~2001-11-13 16:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 12:46 IDE in Mode 1 (Sandpoint) how ? Sarnath  Kannan
2001-11-12 16:09 ` Dan Malek
2001-11-12 19:55   ` Mark A. Greer
  -- strict thread matches above, loose matches on Subject: below --
2001-11-13  4:07 Sarnath  Kannan
2001-11-13  5:25 ` Dan Malek
2001-11-13  8:17 Sarnath  Kannan
2001-11-13 16:18 ` Dan Malek

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