Re: SATA FSL and upstreaming

2013-06-07 Thread Timur Tabi
Benjamin Herrenschmidt wrote: PHY reset timed out PHY reset timed out PHY reset timed out PHY reset timed out This usually means that your RCW does not match your dip switch settings. -- Timur Tabi ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozl

RE: SATA FSL and upstreaming

2013-06-06 Thread Zang Roy-R61911
777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: SATA FSL and upstreaming > > On Fri, 2013-06-07 at 04:45 +, Zang Roy-R61911 wrote: > > > > > Forget it, reset all the jumpers to the default setup (found the doc > > > !) and they come up now in slot 4 and 7. It al

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 04:45 +, Zang Roy-R61911 wrote: > > > Forget it, reset all the jumpers to the default setup (found the doc !) > > and they come up now in slot 4 and 7. It also looks like uBoot now has an > > e1000 driver so I don't have to use fman (for which I believe there is > > still

RE: SATA FSL and upstreaming

2013-06-06 Thread Zang Roy-R61911
y-R61911; tiejun.chen; > Fleming Andy-AFLEMING; Bhushan Bharat-R65777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: SATA FSL and upstreaming > > On Fri, 2013-06-07 at 13:52 +1000, Benjamin Herrenschmidt wrote: > > > So I got the rev2 chip today, put it in, and PCI-E is st

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 13:52 +1000, Benjamin Herrenschmidt wrote: > So I got the rev2 chip today, put it in, and PCI-E is still not getting > a link. Since the LEDs of the e1000 aren't coming up at all, I *suspect* > the slots are getting no power. > > Is there a power control somewhere ? Maybe so

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 09:56 -0500, Timur Tabi wrote: > On Thu, May 16, 2013 at 1:52 AM, Benjamin Herrenschmidt > wrote: > >> 3) run " pix altbak" command > >> > >> 4) check you are on bank4 > > > > It stays on bank 0 > > pix altbank So I got the rev2 chip today, put it in, and PCI-E is still not

Re: SATA FSL and upstreaming

2013-05-16 Thread Timur Tabi
On Thu, May 16, 2013 at 1:52 AM, Benjamin Herrenschmidt wrote: >> 3) run " pix altbak" command >> >> 4) check you are on bank4 > > It stays on bank 0 pix altbank ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listin

Re: SATA FSL and upstreaming

2013-05-16 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 07:13 +, Bhushan Bharat-R65777 wrote: > Ben, Which SDK you are using? QorIQ-SDK-V1.3.2-PPC64E5500-20130325-yocto.iso Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/l

RE: SATA FSL and upstreaming

2013-05-16 Thread Bhushan Bharat-R65777
, 2013 12:36 PM > To: Zang Roy-R61911 > Cc: Bhushan Bharat-R65777; tiejun.chen; Liu Qiang-B32616; Fleming > Andy-AFLEMING; > linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 07:01 +, Zang Roy-R61911 wrote

RE: SATA FSL and upstreaming

2013-05-16 Thread Xie Shaohui-B21989
Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 07:01 +, Zang Roy-R61911 wrote: > > > I just tried your RCW. one e1000 card works in slot7. > > we may need to check others ... > > Tried 4 and 7 ... > > Note that this *used* t

RE: SATA FSL and upstreaming

2013-05-16 Thread Zang Roy-R61911
shan Bharat-R65777 > Subject: Re: SATA FSL and upstreaming > > On 05/16/2013 02:20 PM, Zang Roy-R61911 wrote: > > > > > >> -Original Message- > >> From: tiejun.chen [mailto:tiejun.c...@windriver.com] > >> Sent: Thursday, May 16, 2013 2:18 PM &

RE: SATA FSL and upstreaming

2013-05-16 Thread Zang Roy-R61911
un.chen; Fleming Andy- > AFLEMING; Bhushan Bharat-R65777; linuxppc-dev@lists.ozlabs.org > Subject: Re: SATA FSL and upstreaming > > Ok, so I found this one on the SDK ISO: rcw_15g_2000mhz.bin > > I flashed that, did pix altbank, I'm now booted from Bank 4 ... and PCIe > is

RE: SATA FSL and upstreaming

2013-05-16 Thread Bhushan Bharat-R65777
NG; > linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 07:01 +, Zang Roy-R61911 wrote: > > > I just tried your RCW. one e1000 card works in slot7. > > we may need to check others ... > > Tried 4

Re: SATA FSL and upstreaming

2013-05-16 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 07:01 +, Zang Roy-R61911 wrote: > I just tried your RCW. one e1000 card works in slot7. > we may need to check others ... Tried 4 and 7 ... Note that this *used* to work. Last year I had this machine up with 2 cards doing things. Not sure what changed, it's possible tha

RE: SATA FSL and upstreaming

2013-05-16 Thread Zang Roy-R61911
Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 06:49 +, Zang Roy-R61911 wrote: > > > > > Please also provide a RCW binary to Ben, if your guys insist updating > the RCW. > > right, I just noticed it's ascii :-) That isn&

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
Ok, so I found this one on the SDK ISO: rcw_15g_2000mhz.bin I flashed that, did pix altbank, I'm now booted from Bank 4 ... and PCIe is still showing nothing. I have cards in slots 4 and 7 (assuming that's the right numbering, ie, 7 is the top one). Are we sure we don't have a problem with some D

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 02:53 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 06:49 +, Zang Roy-R61911 wrote: Please also provide a RCW binary to Ben, if your guys insist updating the RCW. right, I just noticed it's ascii :-) That isn't going to work well... Ben, I already send my wo

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:49 +, Zang Roy-R61911 wrote: > > Please also provide a RCW binary to Ben, if your guys insist updating the > RCW. right, I just noticed it's ascii :-) That isn't going to work well... Cheers, Ben. ___ Linuxppc-dev mail

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:48 +, Bhushan Bharat-R65777 wrote: > 1) Load RCW as Tiejun on some address in DDR. > > 2) Brun RCW at 0xec00: > protect off 0xec00 +$filesize; erase 0xec00 +$filesize; cp.b > 0x100 0xec00 $filesize Done. > 3) run " pix altbak" command > > 4) ch

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
ING; > > linuxppc- d...@lists.ozlabs.org; Xie Shaohui-B21989; Bhushan > > Bharat-R65777 > > Subject: Re: SATA FSL and upstreaming > > > > On 05/16/2013 02:40 PM, Benjamin Herrenschmidt wrote: > > > On Thu, 2013-05-16 at 14:35 +0800, tiejun.chen wrote: > > >&g

RE: SATA FSL and upstreaming

2013-05-15 Thread Bhushan Bharat-R65777
shan Bharat-R65777 > Subject: Re: SATA FSL and upstreaming > > On 05/16/2013 02:40 PM, Benjamin Herrenschmidt wrote: > > On Thu, 2013-05-16 at 14:35 +0800, tiejun.chen wrote: > >> On 05/16/2013 02:21 PM, Benjamin Herrenschmidt wrote: > >>> On Thu, 2013-05-16 at 14:1

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, May 16, 2013 2:33 PM > To: Benjamin Herrenschmidt; Zang Roy-R61911 > Cc: Liu Qiang-B32616; Fleming Andy-AFLEMING; linuxppc- > d...@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: RE: SATA FSL and

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 02:40 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 14:35 +0800, tiejun.chen wrote: On 05/16/2013 02:21 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 14:17 +0800, tiejun.chen wrote: I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then please tak

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 02:37 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 06:33 +, Bhushan Bharat-R65777 wrote: protect off 0xec00 +$filesize; erase 0xec00 +$filesize; cp.b 0x100 0xec00 $filesize BTW, is it normal that the network in uboot is *extremely* unreliable ? We

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 14:35 +0800, tiejun.chen wrote: > On 05/16/2013 02:21 PM, Benjamin Herrenschmidt wrote: > > On Thu, 2013-05-16 at 14:17 +0800, tiejun.chen wrote: > >> I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then > >> please take > >> a look at this: > > > > Ok, how do I

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
shan Bharat-R65777 > Subject: Re: SATA FSL and upstreaming > > On 05/16/2013 02:21 PM, Benjamin Herrenschmidt wrote: > > On Thu, 2013-05-16 at 14:17 +0800, tiejun.chen wrote: > >> I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then > >> please ta

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:33 +, Bhushan Bharat-R65777 wrote: > protect off 0xec00 +$filesize; erase 0xec00 +$filesize; cp.b > 0x100 0xec00 $filesize BTW, is it normal that the network in uboot is *extremely* unreliable ? It takes dozens of tries if not more for it to "kick in",

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 02:21 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 14:17 +0800, tiejun.chen wrote: I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then please take a look at this: Ok, how do I update my RCW to bse Bharat's ? Firstly please check which flash bank is u

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, May 16, 2013 2:33 PM > To: Benjamin Herrenschmidt; Zang Roy-R61911 > Cc: Liu Qiang-B32616; Fleming Andy-AFLEMING; linuxppc- > d...@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: RE: SATA FSL and

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:33 +, Bhushan Bharat-R65777 wrote: > From bank 0 > > > tftp 0x100 rcw_2sgmii_1500mhz.bin > protect off 0xec00 +$filesize; erase 0xec00 +$filesize; cp.b > 0x100 0xec00 $filesize Before I do something irreparable, what do you specifical

RE: SATA FSL and upstreaming

2013-05-15 Thread Bhushan Bharat-R65777
g] > Sent: Thursday, May 16, 2013 11:54 AM > To: Zang Roy-R61911 > Cc: Bhushan Bharat-R65777; Liu Qiang-B32616; Fleming Andy-AFLEMING; linuxppc- > d...@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 06:17 +, Zang Roy-R619

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
hmidt [mailto:b...@kernel.crashing.org] > > Sent: Thursday, May 16, 2013 12:48 PM > > To: Liu Qiang-B32616; Xie Shaohui-B21989; Fleming Andy-AFLEMING > > Cc: linuxppc-dev@lists.ozlabs.org; Kumar Gala > > Subject: SATA FSL and upstreaming > > > > Hi folks !

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:20 +, Zang Roy-R61911 wrote: > Why? > Ben's on board RCW protocol is 0x36, which should work for PCIe1 (slot 7) and > PCIe3 (slot4). > Roy I've put a card in slot 7 and a card in slot 4 and I still get: PCIe1: Root Complex, no link, regs @ 0xfe20 PCIe1: Bus 00 -

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
Shaohui-B21989; Bhushan Bharat-R65777 Subject: Re: SATA FSL and upstreaming On 05/16/2013 02:09 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 06:05 +, 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.

RE: SATA FSL and upstreaming

2013-05-15 Thread Xie Shaohui-B21989
; Kumar Gala > Subject: SATA FSL and upstreaming > > Hi folks ! > > So I was trying to use my 5020ds to test some stuff today. Since I hadn't > used it in a while, I decided to "upgrade" it to the latest NOR etc... > > Interestingly I discovered that the SAT

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
crashing.org] > > Sent: Thursday, May 16, 2013 2:09 PM > > To: Zang Roy-R61911 > > Cc: Bhushan Bharat-R65777; Liu Qiang-B32616; Fleming Andy-AFLEMING; > > linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989 > > Subject: Re: SATA FSL and upstreaming > > > > On Th

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 14:17 +0800, tiejun.chen wrote: > I think you can use Bharat's RCW, which seems RR_HXAPNSP_0x36, then > please take > a look at this: Ok, how do I update my RCW to bse Bharat's ? Any DIP switch setting I need to be aware of ? Thanks ! Cheers, Ben. __

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
shan Bharat-R65777 > Subject: Re: SATA FSL and upstreaming > > On 05/16/2013 02:09 PM, Benjamin Herrenschmidt wrote: > > On Thu, 2013-05-16 at 06:05 +, Zang Roy-R61911 wrote: > >> I do not suggest changing the RCW. If the RCW is broken on Ben's > >> side, i

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 02:09 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 06:05 +, 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-9-g7bcd7f4 (Mar 14 2

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
> linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 06:05 +, 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. >

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 06:05 +, 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-9-g7bcd7f4 (Mar 14 2013 - 14:23:16) CPU0: P5020E, Version: 1.0, (0x822

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 13:55 +0800, tiejun.chen wrote: > This should depend on the RCW. > > As I recall, slot 7 or slot 4 can be configured to support PCIe for > P5020DS. And > you can know this information according to RCW's README. Somebody can hand hold me on irc ? Cheers, Ben.

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
FLEMING; linuxppc-dev@lists.ozlabs.org; Xie Shaohui- > B21989 > Subject: RE: SATA FSL and upstreaming > > > > > -Original Message- > > From: Linuxppc-dev [mailto:linuxppc-dev- > > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of > > b

RE: SATA FSL and upstreaming

2013-05-15 Thread Bhushan Bharat-R65777
ng Andy-AFLEMING; Xie Shaohui-B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 14:47 +1000, Benjamin Herrenschmidt wrote: > > Hi folks ! > > > > So I was trying to use my 5020ds to test some stuff today. Since I > > hadn't used it in a

RE: SATA FSL and upstreaming

2013-05-15 Thread Zang Roy-R61911
hmidt > Sent: Thursday, May 16, 2013 1:46 PM > To: Liu Qiang-B32616 > Cc: linuxppc-dev@lists.ozlabs.org; Fleming Andy-AFLEMING; Xie Shaohui- > B21989 > Subject: Re: SATA FSL and upstreaming > > On Thu, 2013-05-16 at 14:47 +1000, Benjamin Herrenschmidt wrote: > > Hi folks ! >

Re: SATA FSL and upstreaming

2013-05-15 Thread tiejun.chen
On 05/16/2013 01:45 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-05-16 at 14:47 +1000, Benjamin Herrenschmidt wrote: Hi folks ! So I was trying to use my 5020ds to test some stuff today. Since I hadn't used it in a while, I decided to "upgrade" it to the latest NOR etc... On another note, I

Re: SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 14:47 +1000, Benjamin Herrenschmidt wrote: > Hi folks ! > > So I was trying to use my 5020ds to test some stuff today. Since I > hadn't used it in a while, I decided to "upgrade" it to the latest NOR > etc... On another note, I can't seem to get any PCIe card recognized in a

SATA FSL and upstreaming

2013-05-15 Thread Benjamin Herrenschmidt
Hi folks ! So I was trying to use my 5020ds to test some stuff today. Since I hadn't used it in a while, I decided to "upgrade" it to the latest NOR etc... Interestingly I discovered that the SATA (which was supposedly dead on the rev1 chip) was actually working with the SDK kernel, while it's st