> -----Original Message----- > From: tiejun.chen [mailto:tiejun.c...@windriver.com] > Sent: Thursday, May 16, 2013 12:13 PM > To: Benjamin Herrenschmidt > Cc: Zang Roy-R61911; Liu Qiang-B32616; Fleming Andy-AFLEMING; 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: > >> 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 used since we have to know > >> where should be updated RCW. > >> > >> What is SW7[1:4]? > >> > >> Or we have another simple way in u-boot prompt: > >> > >> => md.b ffdf002c > >> ffdf002c: 4f 00 fe 00 39 00 00 00 00 00 00 00 00 00 00 00 > >> O...9........... > >> ... > > > > ffdf002c: 0f 00 fe 00 00 00 00 00 00 00 00 00 00 00 00 00 > > ................ > > > >> This means we're on bank4. > > > > I assume that means bank0 ? > > Yes, RCW should be burned to 0xec000000. > > In u-boot prompt: > > => loady > ## Ready for binary (ymodem) download to 0x01000000 at 115200 bps... > C > > Then send that RCW with ymodem in your terminal client.
1) Load RCW as Tiejun on some address in DDR. 2) Brun RCW at 0xec000000: protect off 0xec000000 +$filesize; erase 0xec000000 +$filesize; cp.b 0x1000000 0xec000000 $filesize 3) run " pix altbak" command 4) check you are on bank4 5) If you are luckier then networking will work for you. Thanks -Bharat > > Tiejun _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev