Skip to contentSkip to conversation

IDE in Mode 1 (Sandpoint) how ?

DISCUSSION Sarnath Kannan 3 participants 3 messages Nov 12, 2001

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 3 lines · Sarnath Kannan

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.

Quoted 1 line

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/

#2 lore raw
Quoted 5 lines · Dan Malek
Quoted 3 lines · Sarnath Kannan

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

Quoted 3 lines

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

Quoted 3 lines

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/