From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Wed, 25 Apr 2012 16:55:51 -0700 Subject: [U-Boot] Using sata on mx6qsabrelite In-Reply-To: <4F987690.1030103@boundarydevices.com> References: <4F984C28.9040707@boundarydevices.com> <4F987690.1030103@boundarydevices.com> Message-ID: <4F988F07.1090800@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/25/2012 03:11 PM, Eric Nelson wrote: > On 04/25/2012 12:10 PM, Eric Nelson wrote: >> On 04/25/2012 11:40 AM, Fabio Estevam wrote: >>> Hi, >>> >>> On Stefano?s tree I see this sata patch for mx5/mx6: >>> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=6931bd30d03de827c52bf2c8ddc6ed0c8f21dc9d >>> >>> >>> >>> Has anyone tried sata support on mx6qsabrelite yet? >>> >>> Any patches missing that were not applied? >>> >>> I don't have a way to test it at the moment, but I have a colleague >>> that wants to use sata on mx6qsabrelite. >>> >> >> Hi Fabio, >> >> I've tried it and it just worked for me, but it's been a month or so. >> > > It looks like I'm a bit forgetful. > > It didn't __just work__. It required a couple of patches that > seem to be lingering: > http://patchwork.ozlabs.org/patch/148600/ > http://patchwork.ozlabs.org/patch/148599/ > >> I'll dig out my SATA drive and test again this afternoon. >> > I'll rebase and test. > Hi Fabio, I just re-based and re-sent two of the three patches needed to get SATA up and running against mainline/master. MX6QSABRELITE U-Boot > sata init AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part SATA Device Info: S/N: 26EK5486T Product model number: TOSHIBA MK4032GSX Firmware version: AS212D Capacity: 75200265 sectors MX6QSABRELITE U-Boot > ext2ls sata 0:1 / 4096 . 4096 .. 16384 lost+found 4096 bin 4096 mnt 4096 lib 4096 var 4096 root The third commit is Stefano's SATA driver for i.MX5/6: http://git.denx.de/u-boot-imx.git/?p=u-boot/u-boot-imx.git;a=commit;h=6931bd30d03de827c52bf2c8ddc6ed0c8f21dc9d The two new patches are here: http://lists.denx.de/pipermail/u-boot/2012-April/123168.html and here: http://lists.denx.de/pipermail/u-boot/2012-April/123169.html Regards, Eric