[U-Boot] [PATCH] arm: socfpga: Fix QSPI doesn't work on socdk board

圣江 吴 shengjiangwu at icloud.com
Wed Dec 23 03:26:07 CET 2015




> From: Marek Vasut
> Date: 2015-12-23 10:07
> To: ShengjiangWu
> CC: u-boot; clsee; dinguyen; dinh.linux; pavel; sr
> Subject: Re: [PATCH] arm: socfpga: Fix QSPI doesn't work on socdk board
> On Wednesday, December 23, 2015 at 03:02:10 AM, ShengjiangWu wrote:
> > > -----Original Message-----
> > > From: Marek Vasut [mailto:marex at denx.de]
> > > Sent: Wednesday, December 23, 2015 9:25 AM
> > > To: 圣江 吴
> > > Cc: u-boot at lists.denx.de; clsee at altera.com;
> > > dinguyen at opensource.altera.com; dinh.linux at gmail.com; pavel at denx.de;
> > > sr at denx.de Subject: Re: [PATCH] arm: socfpga: Fix QSPI doesn't work on
> > > socdk board
> > >
> > > On Wednesday, December 23, 2015 at 02:22:49 AM, 圣江 吴 wrote:
> > > > On Dec 22, 2015, at 12:33 PM, Marek Vasut <marex at denx.de> wrote:
> > > >
> > > > On Tuesday, December 22, 2015 at 09:19:16 PM, Marek Vasut wrote:
> > > >
> > > > On Tuesday, December 22, 2015 at 10:18:09 AM, shengjiangwu wrote:
> > > > > Updated pinmux group MIXED1IO[15-20] for QSPI.
> > > > > Updated QSPI clock.
> > > > >
> > > > > Signed-off-by: shengjiangwu <shengjiangwu at icloud.com>
> > > > > Cc: Chin Liang See <clsee at altera.com>
> > > > > Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> > > > > Cc: Dinh Nguyen <dinh.linux at gmail.com>
> > > > > Cc: Pavel Machek <pavel at denx.de>
> > > > > Cc: Marek Vasut <marex at denx.de>
> > > > > Cc: Stefan Roese <sr at denx.de>
> > > >
> > > > Applied, thanks.
> > > >
> > > > I will push your patches to [1] in a few hours, can you try and see if
> > > > the CV SOCDK works fine for you? Thanks
> > > >
> > > > [1] http://git.denx.de/?p=u-boot/u-boot-
> > > > socfpga.git;a=shortlog;h=refs/heads/master
> > > >
> > > > Pushed. Please let me know how SoCDK works for you now and if there
> > > > are still some problems.
> > > >
> > > >
> > > > Best regards,
> > > > Marek Vasut
> > > >
> > > >
> > > > Hi Marek,
> > > >
> > > > Thank you for your help, I tested the master branch, emac1 and QSPI
> > > > works. Below is log.
> > >
> > > Good! so we're happy ? Can you give USB a spin too? I think it might have
> > > some issues and I don't have the necessary cable here.
> > >
> > > [...]
> > >
> > > Best regards,
> > > Marek Vasut
> >
> > Hi Marek,
> >
> > Yes, emac1 and qspi are working now. I'm afraid USB is not working,
> >
> > => usb reset
> > resetting USB...
> > USB0: Core Release: 2.93a
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > dwc_otg_core_host_init: Timeout!
> > scanning bus 0 for devices... 1 USB Device(s) found
> > => usb tree
> > USB device tree:
> > 1 Hub (480 Mb/s, 0mA)
> > U-Boot Root Hub
> 
> Hm, darn. Can you or Chin check it ? It's either pinmux or wrong USB node
> in DT in arch/arm/dts/socfpga_cyclone5_socdk.dts .

Hi Marek,

Pin mux settings has error, set EMACIO[1-8] [10-13] from 3 to 2, then usb works,

=> usb start
starting USB...
USB0: Core Release: 2.93a
scanning bus 0 for devices... 2 USB Device(s) found
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Mass Storage (480 Mb/s, 98mA)
Generic USB Storage 000000000272

=>

Best Regards,
ShengjiangWu


More information about the U-Boot mailing list