All of lore.kernel.org
 help / color / mirror / Atom feed
From: "tiejun.chen" <tiejun.chen@windriver.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Xie Shaohui-B21989 <B21989@freescale.com>,
	Liu Qiang-B32616 <B32616@freescale.com>,
	Zang Roy-R61911 <r61911@freescale.com>,
	Fleming Andy-AFLEMING <afleming@freescale.com>,
	Bhushan Bharat-R65777 <R65777@freescale.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: SATA FSL and upstreaming
Date: Thu, 16 May 2013 14:17:36 +0800	[thread overview]
Message-ID: <51947A00.9010504@windriver.com> (raw)
In-Reply-To: <1368684547.9603.38.camel@pasglop>

On 05/16/2013 02:09 PM, Benjamin Herrenschmidt wrote:
> On Thu, 2013-05-16 at 06:05 +0000, Zang Roy-R61911 wrote:
>> I do not suggest changing the RCW. If the RCW is broken on Ben's side,
>> it is not easy to recover for him.
>> Let's check the U-boot output first.
>
> U-Boot 2013.01-00009-g7bcd7f4 (Mar 14 2013 - 14:23:16)
>
> CPU0:  P5020E, Version: 1.0, (0x82280010)
> Core:  E5500, Version: 1.0, (0x80240010)
> Clock Configuration:
>         CPU0:2000 MHz, CPU1:2000 MHz,
>         CCB:800  MHz,
>         DDR:666.667 MHz (1333.333 MT/s data rate) (Asynchronous), LBC:100  MHz
>         FMAN1: 600 MHz
>         QMAN:  400 MHz
>         PME:   400 MHz
> L1:    D-cache 32 kB enabled
>         I-cache 32 kB enabled
> Board: P5020DS, Sys ID: 0x1c, Sys Ver: 0x12, FPGA Ver: 0x05, vBank: 0
> Reset Configuration Word (RCW):
>         00000000: 0c540000 00000000 1e120000 00000000
>         00000010: d8984a01 03002000 de800000 41000000
>         00000020: 00000000 00000000 00000000 10070000
>         00000030: 00000000 00000000 00000000 00000000

I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then please take 
a look at this:

The RCW directories names for the p5020ds board conform to the following naming
convention:

ab_bcdefghi_j:

a = 'R' if RGMII@DTSEC4 is supported / 'N' if not available/not used
b = 'R' if RGMII@DTSEC5 is supported / 'N" if not available/not used

c = What is available in Slot 1 or SATA
d = What is available in Slot 2
e = What is available in Slot 3
f = What is available in Slot 4
g = What is available in Slot 5
h = What is available in Slot 6
i = What is available in Slot 7

For the Slots (c..i):
  'N' if not available/not used
  'P' if PCIe
  'X' if XAUI
  'R' if SRIO
  'S' if SGMII
  'H' if SATA
  'A' is AURORA

j = 'hex value of serdes protocol value'

So NR_HXAPNSP_0x36 means:
  - no RGMII@DTSEC4
  - RGMII@DTSEC5
  - SATA [Slot 1 not used]
  - XAUI on Slot 2
  - AURORA on Slot 3
  - PCIE on Slot 4
  - SGMII on Slot 6
  - PCIE on Slot 7

Slot 5 is not used, and the SERDES Protocol is 0x36.

So slot 7 and slot 4 can be as PCIe slot.

Tiejun

> SERDES Reference Clocks: Bank1=100Mhz Bank2=125Mhz Bank3=125Mhz
> I2C:   ready
> SPI:   ready
> DRAM:  Initializing....using SPD
> Detected UDIMM i-DIMM
> Detected UDIMM i-DIMM
> 2 GiB left unmapped
> 4 GiB (DDR3, 64-bit, CL=9, ECC on)
>         DDR Controller Interleaving Mode: cache line
>         DDR Chip-Select Interleaving Mode: CS0+CS1
> Testing 0x00000000 - 0x7fffffff
> Testing 0x80000000 - 0xffffffff
> Remap DDR 2 GiB left unmapped
>
> POST memory PASSED
> Flash: 128 MiB
> L2:    512 KB enabled
> Corenet Platform Cache: 2048 KB enabled
> SRIO1: disabled
> SRIO2: disabled
> NAND:  1024 MiB
> MMC:  FSL_SDHC: 0
> EEPROM: NXID v1
> PCIe1: Root Complex, no link, regs @ 0xfe200000
> PCIe1: Bus 00 - 00
> PCIe2: disabled
> PCIe3: Root Complex, no link, regs @ 0xfe202000
> PCIe3: Bus 01 - 01
> PCIe4: disabled
> In:    serial
> Out:   serial
> Err:   serial
> Net:   Initializing Fman
> Fman1: Uploading microcode version 106.1.7
> PHY reset timed out
> PHY reset timed out
> PHY reset timed out
> PHY reset timed out
> FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@TGEC1
> Hit any key to stop autoboot:  0
> =>
>
> Cheers,
> Ben.
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
>

  reply	other threads:[~2013-05-16  6:17 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16  4:47 SATA FSL and upstreaming Benjamin Herrenschmidt
2013-05-16  5:45 ` Benjamin Herrenschmidt
2013-05-16  5:55   ` tiejun.chen
2013-05-16  6:06     ` Benjamin Herrenschmidt
2013-05-16  5:59   ` Zang Roy-R61911
2013-05-16  6:01   ` Bhushan Bharat-R65777
2013-05-16  6:05     ` Zang Roy-R61911
2013-05-16  6:09       ` Benjamin Herrenschmidt
2013-05-16  6:17         ` tiejun.chen [this message]
2013-05-16  6:20           ` Zang Roy-R61911
2013-05-16  6:25             ` tiejun.chen
2013-05-16  7:20               ` Zang Roy-R61911
2013-05-16  6:26             ` Benjamin Herrenschmidt
2013-05-16  6:21           ` Benjamin Herrenschmidt
2013-05-16  6:35             ` tiejun.chen
2013-05-16  6:37               ` Zang Roy-R61911
2013-05-16  6:40               ` Benjamin Herrenschmidt
2013-05-16  6:43                 ` tiejun.chen
2013-05-16  6:48                   ` Bhushan Bharat-R65777
2013-05-16  6:49                     ` Zang Roy-R61911
2013-05-16  6:53                       ` Benjamin Herrenschmidt
2013-05-16  6:56                         ` tiejun.chen
2013-05-16  7:01                         ` Zang Roy-R61911
2013-05-16  7:05                           ` Benjamin Herrenschmidt
2013-05-16  7:13                             ` Bhushan Bharat-R65777
2013-05-16  7:26                               ` Benjamin Herrenschmidt
2013-05-16  7:20                             ` Xie Shaohui-B21989
2013-05-16  7:25                             ` Bhushan Bharat-R65777
2013-05-16  6:59                       ` Benjamin Herrenschmidt
2013-05-16  7:17                         ` Zang Roy-R61911
2013-05-16  6:52                     ` Benjamin Herrenschmidt
2013-05-16 14:56                       ` Timur Tabi
2013-06-07  3:52                         ` Benjamin Herrenschmidt
2013-06-07  4:39                           ` Benjamin Herrenschmidt
2013-06-07  4:45                             ` Zang Roy-R61911
2013-06-07  4:47                               ` Benjamin Herrenschmidt
2013-06-07  4:50                                 ` Zang Roy-R61911
2013-06-07  7:41                                   ` fsqrt Benjamin Herrenschmidt
2013-06-07  7:45                                     ` fsqrt Zang Roy-R61911
2013-06-07  8:53                                       ` fsqrt Benjamin Herrenschmidt
2013-06-07  8:59                                         ` fsqrt Benjamin Herrenschmidt
2013-06-07 10:48                                           ` fsqrt David Laight
2013-06-07 12:14                                             ` fsqrt Benjamin Herrenschmidt
2013-06-07 19:19                                               ` fsqrt Kumar Gala
2013-06-07 23:23                                                 ` fsqrt Benjamin Herrenschmidt
2013-06-07 23:25                                                   ` fsqrt Benjamin Herrenschmidt
2013-06-07 23:30                                                     ` fsqrt Benjamin Herrenschmidt
2013-06-08  0:20                                                       ` fsqrt Dan Malek
2013-06-08  0:34                                                         ` fsqrt Benjamin Herrenschmidt
2013-06-08  1:13                                                           ` fsqrt Dan Malek
2013-06-08  4:31                                                             ` fsqrt Benjamin Herrenschmidt
2013-06-09  6:32                                                             ` fsqrt Benjamin Herrenschmidt
2013-06-07  7:46                                     ` fsqrt tiejun.chen
2013-06-07  8:53                                       ` fsqrt Benjamin Herrenschmidt
2013-06-07  9:02                                         ` fsqrt tiejun.chen
2013-06-07 12:07                                           ` fsqrt Benjamin Herrenschmidt
2013-06-07  7:05                               ` FSL 64-bit DMA window question Benjamin Herrenschmidt
2013-06-07  7:58                                 ` Zang Roy-R61911
2013-06-07  8:55                                   ` Benjamin Herrenschmidt
2013-06-07  9:44                                     ` Zang Roy-R61911
2013-06-07 12:09                                       ` Benjamin Herrenschmidt
     [not found]                                         ` <1370642488.6813.15@snotra>
2013-06-07 22:02                                           ` Scott Wood
2013-06-07 22:09                                             ` Benjamin Herrenschmidt
2013-06-07 22:34                                               ` Scott Wood
2013-06-07 22:39                                                 ` Benjamin Herrenschmidt
2013-06-07 23:29                                                   ` Scott Wood
2013-06-07 23:33                                                     ` Benjamin Herrenschmidt
2013-06-07 12:09                             ` SATA FSL and upstreaming Timur Tabi
2013-05-16  6:17         ` Zang Roy-R61911
2013-05-16  6:23           ` Benjamin Herrenschmidt
2013-05-16  6:33             ` Bhushan Bharat-R65777
2013-05-16  6:34               ` Benjamin Herrenschmidt
2013-05-16  6:35               ` Zang Roy-R61911
2013-05-16  6:37               ` Benjamin Herrenschmidt
2013-05-16  6:41                 ` tiejun.chen
2013-05-16  6:48               ` Zang Roy-R61911
2013-05-16  6:24 ` Xie Shaohui-B21989
2013-05-16  6:31   ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51947A00.9010504@windriver.com \
    --to=tiejun.chen@windriver.com \
    --cc=B21989@freescale.com \
    --cc=B32616@freescale.com \
    --cc=R65777@freescale.com \
    --cc=afleming@freescale.com \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=r61911@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.