Saturday, October 23, 2010

 

FW: DM6467 EVM SW3 settings for PCI boot

http://linux.omap.com/pipermail/davinci-linux-open-source/2009-August/015128.html

Jaya,

The docs are amazingly confusing on the way these switches map to the
polarity of signals. They use all the terms on/off, up/down, "0/1" instead
of making things easy and clear... I spent a day messing around with this
before finally getting it to work.

If you look at the EVM technical ref page 3-29, you'll see the table of
settings for SW3.  You'll notice the polarity of the "switch" bits and the
"pins" are reversed; this means that TO MAKE A BIT A LOGICAL 1, THE SWITCH
NEEDS TO BE IN THE DOWN POSITION. The "down" position means the little white
switch is on the side where the little numbers (1-8) are labeled on the
switch casing, the LEFT if you have the board oriented so that you can read
the "SW3" label underneath the switch (long way up with the RJ45 on the
right side).

So, for example, to do PCI with no auto init, switches 1-4 (using the little
numbers on the side of the switch casing to index switches) corresponding to
the BM bits should look like this (where XXXXX is the white switch, and
_____ is blank space

1. XXXXX  _____  (LEFT  = DOWN = PIN VALUE "1")
2. _____  XXXXX  (RIGHT = UP   = PIN VALUE "0")
3. XXXXX  _____  (LEFT  = DOWN = PIN VALUE "1")
4. XXXXX  _____  (LEFT  = DOWN = PIN VALUE "1")

By the way, we have the other switches as follows:

5. LEFT
6. LEFT
7. LEFT
8. RIGHT

With the switches set this way, and external 5V power disconnected, and
board in PCI slot, I was able to bring up my Fedora box and then do "lspci"
and see the TI board enumerated as a PCI device.

I am still working on getting the actual booting working, but am almost
there...

Steve

Comments:

Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Comments [Atom]