socfpga: cyclone5: ums not working without usb start

2021-03-24 Thread Wolfgang Grandegger
Hello, I realized, that "ums 0 mmc 0" is not working without executing "usb start" in advance. That's because "ums" does not enable the clock and deassert the USB reset. Is that by purpose? At least "usb start" was not necessary with v2016.11. Wolfgang

SocFPGA: Arria10: Boot from FPGA

2020-12-06 Thread Wolfgang Grandegger
Hello, I want to boot U-Boot on the Arria10 from the FPGA using recent code. In the past I used the U-Boot created by the "bsp-editor" as described at [1], but starting with Quartus 21.3, the so called "old flow" is no longer available. I was able to build mainline U-Boot for our Arria10 board an

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-20 Thread Wolfgang Grandegger
Hello, Am 19.08.20 um 21:54 schrieb Ralph Siemsen: > On Wed, Aug 19, 2020 at 09:28:39PM +0200, Marek Vasut wrote: >> >> Is the F2SDRAM port enabled in your case ? > > Is there a way I can check this via software? Unfortunately I do not > have access to Quartus/Qsys files, nor the person who did t

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-10 Thread Wolfgang Grandegger
Hello Ley Foon, Am 10.08.20 um 10:30 schrieb Tan, Ley Foon: > > >> -Original Message- >> From: Marek Vasut >> Sent: Friday, August 7, 2020 7:53 PM >> To: Wolfgang Grandegger ; U-Boot Mailing List >> >> Cc: Simon Goldschmidt ; Nguyen, Dinh

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-07 Thread Wolfgang Grandegger
Hello, reading you question again... Am 07.08.20 um 17:49 schrieb Wolfgang Grandegger: > > > Am 07.08.20 um 17:05 schrieb Dinh Nguyen: >> CC Hean Loong: >> >> >> On 8/6/20 7:36 AM, Wolfgang Grandegger wrote: >>> Am 06.08.20 um 13:04 schrieb Mare

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-07 Thread Wolfgang Grandegger
Am 07.08.20 um 17:05 schrieb Dinh Nguyen: > CC Hean Loong: > > > On 8/6/20 7:36 AM, Wolfgang Grandegger wrote: >> Am 06.08.20 um 13:04 schrieb Marek Vasut: >>> On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: >>>> This reverts commit c5f4b805755912a3d2fe20

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-07 Thread Wolfgang Grandegger
Am 07.08.20 um 13:12 schrieb Marek Vasut: > On 8/7/20 12:58 PM, Wolfgang Grandegger wrote: >> Am 06.08.20 um 14:50 schrieb Marek Vasut: >>> On 8/6/20 2:36 PM, Wolfgang Grandegger wrote: >>>> Am 06.08.20 um 13:04 schrieb Marek Vasut: >>>>>

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-07 Thread Wolfgang Grandegger
Am 06.08.20 um 14:50 schrieb Marek Vasut: > On 8/6/20 2:36 PM, Wolfgang Grandegger wrote: >> Am 06.08.20 um 13:04 schrieb Marek Vasut: >>> On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: >>>> This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. >>>

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Wolfgang Grandegger
Am 06.08.20 um 13:04 schrieb Marek Vasut: > On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: >> This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. >> >> Conflicts: >> arch/arm/mach-socfpga/misc_gen5.c >> >> Without socfpga_sdram_apply_st

Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Wolfgang Grandegger
/fbdev/altvipfb2.c), but only after a power cycle (cold boot). The issue does not show up after a soft reset (warm boot) and with v2018.11. Signed-off-by: Wolfgang Grandegger CC: Marek Vasut CC: Simon Goldschmidt --- arch/arm/mach-socfpga/misc_gen5.c | 31 +++ 1 file

Re: [U-Boot] U-Boot for the Socfpga Arria10 board

2020-01-13 Thread Wolfgang Grandegger
Hello, Am 18.11.19 um 22:15 schrieb Simon Goldschmidt: > Am 18.11.2019 um 19:08 schrieb Wolfgang Grandegger: >> Hello, >> >> I'm trying to understand what is necessary to get mainline U-Boot >> booting from the eMMC of an Arria10 board, which is significant

Re: [U-Boot] [PATCH v5 17/26] configs: socfpga: mcvevk: Remove useless UBI infos

2019-11-25 Thread Wolfgang Grandegger
ga_cyclone5_mcvevk" > > This board has SPI flash and so the MTDIDS/PARTS make sense there. I'm > adding in the board maintainer for further comment about how UBI might > be used, thanks! There is *no* SPI-FLash connected to the HPS on that module/board. Therefore th

[U-Boot] U-Boot for the Socfpga Arria10 board

2019-11-18 Thread Wolfgang Grandegger
Hello, I'm trying to understand what is necessary to get mainline U-Boot booting from the eMMC of an Arria10 board, which is significantly different to the Cyclone 5. I'm playing with U-Boot v2019.10! I find some related documentation at [1]. Section "Arria 10 SoC - Boot from SD Card " seems to a

[U-Boot] [PATCH v2] arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board

2019-05-12 Thread Wolfgang Grandegger
ke care of them. The device-tree files are from mainline Linux commit e93c9c99a629 ("Linux v5.1)". Signed-off-by: Wolfgang Grandegger CC: Marek Vasut CC: Simon Goldschmidt --- Changes in v2: - remove "aries" in .travis.yml - add "socfpga_legacy_reset_compat=1" and

Re: [U-Boot] [PATCH] arm: socfpga: fix 3 boards missing env var "socfpga_legacy_reset_compat"

2019-05-09 Thread Wolfgang Grandegger
> Fixes: commit 4b2e32efa4e7 ("arm: socfpga: gen5: deassert peripheral reset by > default") > Signed-off-by: Simon Goldschmidt > Reported-by: Wolfgang Grandegger > --- > > include/configs/socfpga_dbm_soc1.h| 3 ++- > include/configs/socfpga_stratix10_socdk

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-08 Thread Wolfgang Grandegger
Am 08.05.19 um 16:14 schrieb Marek Vasut: > On 5/8/19 4:10 PM, Wolfgang Grandegger wrote: >> >> Am 07.05.19 um 19:02 schrieb Marek Vasut: >>> On 5/7/19 6:25 PM, Wolfgang Grandegger wrote: >>>> Am 06.05.19 um 19:55 schrieb Marek Vasut: >>>>> On 5

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-08 Thread Wolfgang Grandegger
Am 07.05.19 um 19:02 schrieb Marek Vasut: > On 5/7/19 6:25 PM, Wolfgang Grandegger wrote: >> Am 06.05.19 um 19:55 schrieb Marek Vasut: >>> On 5/6/19 5:45 PM, Wolfgang Grandegger wrote: >>>> Re-add support for Aries Embedded MCV SoM, which is CycloneV based >>&g

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-08 Thread Wolfgang Grandegger
Am 08.05.19 um 13:34 schrieb Wolfgang Grandegger: > > > Am 08.05.19 um 13:07 schrieb Simon Goldschmidt: >> >> >> Wolfgang Grandegger mailto:w...@aries-embedded.de>> >> schrieb am Mi., 8. Mai 2019, 12:23: >> >> Hello, >&

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-08 Thread Wolfgang Grandegger
Am 08.05.19 um 13:07 schrieb Simon Goldschmidt: > > > Wolfgang Grandegger mailto:w...@aries-embedded.de>> > schrieb am Mi., 8. Mai 2019, 12:23: > > Hello, > > Am 07.05.19 um 21:25 schrieb Simon Goldschmidt: > > > > > &

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-08 Thread Wolfgang Grandegger
Hello, Am 07.05.19 um 21:25 schrieb Simon Goldschmidt: > > > On 07.05.19 21:14, Wolfgang Grandegger wrote: >> >> Am 07.05.19 um 13:37 schrieb Simon Goldschmidt: >>> On Tue, May 7, 2019 at 9:41 AM Wolfgang Grandegger >>> wrote: >>>> >>&g

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-07 Thread Wolfgang Grandegger
Am 07.05.19 um 13:37 schrieb Simon Goldschmidt: > On Tue, May 7, 2019 at 9:41 AM Wolfgang Grandegger > wrote: >> >> >> >> Am 06.05.19 um 22:16 schrieb Simon Goldschmidt: >>> Am 06.05.2019 um 17:45 schrieb Wolfgang Grandegger: >>>> Re-add su

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-07 Thread Wolfgang Grandegger
Am 06.05.19 um 19:55 schrieb Marek Vasut: > On 5/6/19 5:45 PM, Wolfgang Grandegger wrote: >> Re-add support for Aries Embedded MCV SoM, which is CycloneV based >> and the associated MCVEVK baseboard. The board can boot from eMMC. >> Ethernet and USB is supported. > >

Re: [U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-07 Thread Wolfgang Grandegger
Am 06.05.19 um 22:16 schrieb Simon Goldschmidt: > Am 06.05.2019 um 17:45 schrieb Wolfgang Grandegger: >> Re-add support for Aries Embedded MCV SoM, which is CycloneV based >> and the associated MCVEVK baseboard. The board can boot from eMMC. >> Ethernet and USB is suppo

[U-Boot] [PATCH] arm: socfpga: Re-add support for Aries MCV SoM and MCVEVK board

2019-05-06 Thread Wolfgang Grandegger
m. Signed-off-by: Wolfgang Grandegger CC: Marek Vasut CC: Simon Goldschmidt --- .travis.yml | 2 +- arch/arm/dts/Makefile| 1 + arch/arm/dts/socfpga_cyclone5_mcv.dtsi | 22 + arch/arm/dts/socfpga_cyclone5_mcvevk-u

Re: [U-Boot] CAN framework in U-Boot

2013-05-02 Thread Wolfgang Grandegger
Hi Bhupesh, On 05/02/2013 10:51 AM, Bhupesh SHARMA wrote: > Hi Wolfgang, > > Thanks for your timely inputs. > > On Thu, May 2, 2013 at 12:31 PM, Wolfgang Grandegger > wrote: > >> Hi Bhupesh, >> >> On 05/01/2013 06:17 AM, Bhupesh SHARMA wrote: >>>

Re: [U-Boot] CAN framework in U-Boot

2013-05-02 Thread Wolfgang Grandegger
Hi Bhupesh, On 05/01/2013 06:17 AM, Bhupesh SHARMA wrote: > Hi Wolfgang G. and list, > > I was looking to do some basic tests on a C_CAN module inside our SOC at > u-boot > level, till the Linux OS is up and working to test basic CAN features. > > I couldn't figure out if CAN framework is suppor

[U-Boot] [PATCH] mpc52xx/motionpro: fix monitor size and update default environment

2012-09-29 Thread Wolfgang Grandegger
Since a while, the size of the u-boot.bin image is larger than 256kB. This requires moving the environment sectors by one. As we are at it, we also update a few other custom settings. Signed-off-by: Wolfgang Grandegger --- include/configs/motionpro.h | 44

Re: [U-Boot] i.MX6Q SabreLite: Ethernet does not work at Gigabit speed

2012-07-02 Thread Wolfgang Grandegger
Hi Troy, On 06/28/2012 07:48 PM, Troy Kisky wrote: > On 6/28/2012 8:33 AM, Eric Nelson wrote: >> On 06/28/2012 06:50 AM, Wolfgang Grandegger wrote: >>> Hi, >>> >>> I just realized that I cannot download files on a Gitabit Ethernet >>> network. I'm

[U-Boot] i.MX6Q SabreLite: Ethernet does not work at Gigabit speed

2012-06-28 Thread Wolfgang Grandegger
Hi, I just realized that I cannot download files on a Gitabit Ethernet network. I'm getting timeouts: MX6QSABRELITE U-Boot > boot Using FEC device TFTP from server 172.16.0.1; our IP address is 172.16.0.100 Filename 'wolf/uImage-mx6q-mainline'. Load address: 0x1080 Loading: error

Re: [U-Boot] USB on mx53loco

2012-05-02 Thread Wolfgang Grandegger
On 05/02/2012 08:48 PM, Fabio Estevam wrote: > Hi Wolfgang, > > Have you tested USB host functionality on a mx53loco with a Freescale > MC34708 PMIC ? I have a i.MX53 quick start board, which is named in U-Boot and Linux mx53[_]loco. And yes, USB is working. > I can succesfully detect a USB pen

Re: [U-Boot] [PATCH] USB: ehci-mx6: Fix broken IO access

2012-05-02 Thread Wolfgang Grandegger
Hi Fabio, On 05/02/2012 05:24 PM, Fabio Estevam wrote: > On Wed, May 2, 2012 at 11:36 AM, Wolfgang Grandegger wrote: >> To get USB working again on the i.MX6, this patch fixes a bug introduced >> with commit 522b2a0 "Add proper IO accessors for mx6 usb registers.". &

[U-Boot] [PATCH] USB: ehci-mx6: Fix broken IO access

2012-05-02 Thread Wolfgang Grandegger
To get USB working again on the i.MX6, this patch fixes a bug introduced with commit 522b2a0 "Add proper IO accessors for mx6 usb registers.". At that occasion, I also added the missing __iomem directive. Cc: Marek Vasut CC: Fabio Estevam Signed-off-by: Wolfgang Grandegger --- d

Re: [U-Boot] [PATCH v3] mx6: Read silicon revision from register

2012-03-14 Thread Wolfgang Grandegger
Hi Fabio, On 03/14/2012 11:24 AM, Fabio Estevam wrote: > On Wed, Mar 14, 2012 at 3:09 AM, Liu Hui-R64343 wrote: > >> I'm afraid whether this is correct to add it here since some registers of >> anatop was included into the ccm_reg. >> >> ANATOP is a collection of analog and anadig. So, ANATOP r

Re: [U-Boot] [PATCH] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-03 Thread Wolfgang Grandegger
On 03/03/2012 05:09 PM, Eric Nelson wrote: > On 03/03/2012 02:00 AM, Stefano Babic wrote: >> On 03/03/2012 01:46, Eric Nelson wrote: >>> This patch requires Stefano's driver for MX5/MX6. >>> http://lists.denx.de/pipermail/u-boot/2012-February/118530.html >> >> This is helpful, but should be not

Re: [U-Boot] [PATCH] USB: relax usbcore reset timings

2012-02-27 Thread Wolfgang Grandegger
On 02/27/2012 12:10 AM, Marek Vasut wrote: >> From: Wolfgang Grandegger >> >> Following the corresponding Linux code, this patch relaxes reset timings >> waiting at least 100ms after power to the ports. There are some reports >> that it helps make enumeration

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Wolfgang Grandegger
On 02/14/2012 02:07 PM, Marek Vasut wrote: >> Hi Marek, >> >> On 02/14/2012 01:37 PM, Marek Vasut wrote: >>>> Hi, Wolfgang, >>>> >>>>> -Original Message- >>>>> From: u-boot-boun...@lists.denx.de >>>>> [m

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Wolfgang Grandegger
Hi Marek, On 02/14/2012 01:37 PM, Marek Vasut wrote: >> Hi, Wolfgang, >> >>> -Original Message- >>> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >>> On Behalf Of Wolfgang Grandegger >>> Sent: Monday, February 13,

[U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-13 Thread Wolfgang Grandegger
Hello, for the USB support on MX6Q, I'm trying to consolidate and extend the register definitions for the ANADIG registers. Unfortunately, three different names are used for the same registers: ANADIG, analog and ANATOP. Any idea what the names do stand for and what would be the most appropriate o

Re: [U-Boot] [PATCH v2 1/2] usb/ehci: Add USB support for the MX6Q

2012-02-12 Thread Wolfgang Grandegger
or USB but also for FEC and likely other interfaces as well. > btw Fabio, do we support mx6q USB host in mainline Linux ? > >> >> Cc: Remy Bohmer >> Signed-off-by: Wolfgang Grandegger >> --- >> arch/arm/cpu/armv7/mx6/clock.c | 13 ++ >>

[U-Boot] [PATCH v2 1/2] usb/ehci: Add USB support for the MX6Q

2012-02-09 Thread Wolfgang Grandegger
Currently, only USB Host 1 is supported. Cc: Remy Bohmer Signed-off-by: Wolfgang Grandegger --- arch/arm/cpu/armv7/mx6/clock.c | 13 ++ arch/arm/include/asm/arch-mx6/clock.h|1 + arch/arm/include/asm/arch-mx6/imx-regs.h |3 + drivers/usb/host/Makefile

[U-Boot] [PATCH v2 2/2] mx6qsabrelite: add and enable USB Host 1 support

2012-02-09 Thread Wolfgang Grandegger
Cc: Stefano Babic Cc: Jason Liu Signed-off-by: Wolfgang Grandegger --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 18 ++ include/configs/mx6qsabrelite.h | 13 + 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH v2 0/2] usb/mx6q: USB EHCI support for MX6Q boards

2012-02-09 Thread Wolfgang Grandegger
v1 was bad, sorry. v2 fixes various issues reported by Dirk and Fabio. The patches are based on head of Stefano's "u-boot-imx" tree. Wolfgang Wolfgang Grandegger (2): usb/ehci: Add USB support for the MX6Q mx6qsabrelite: add and enable USB Host 1 support arch/arm/cpu/ar

Re: [U-Boot] [PATCH 2/2] mx6qsabrelite: add and enable USB Host 1 support

2012-02-09 Thread Wolfgang Grandegger
Hi Dirk, On 02/09/2012 08:18 AM, Dirk Behme wrote: > Hi Wolfgang, > > On 08.02.2012 16:23, Wolfgang Grandegger wrote: >> Cc: Stefano Babic >> Cc: Jason Liu >> Signed-off-by: Wolfgang Grandegger >> --- >> board/freescale/mx6qsabrelite/mx6qsabrelite.c

[U-Boot] [PATCH 1/2] usb/ehci: Add USB support for the MX6Q

2012-02-08 Thread Wolfgang Grandegger
Currently, only USB Host 1 is supported. Cc: Remy Bohmer Signed-off-by: Wolfgang Grandegger --- arch/arm/cpu/armv7/mx6/clock.c | 13 ++ arch/arm/include/asm/arch-mx6/imx-regs.h |3 + drivers/usb/host/Makefile|1 + drivers/usb/host/ehci-mx6.c

[U-Boot] [PATCH 0/2] usb/mx6q: USB EHCI support for MX6Q boards

2012-02-08 Thread Wolfgang Grandegger
Wolfgang Grandegger (2): usb/ehci: Add USB support for the MX6Q mx6qsabrelite: add and enable USB Host 1 support arch/arm/cpu/armv7/mx6/clock.c| 13 ++ arch/arm/include/asm/arch-mx6/imx-regs.h |3 + board/freescale/mx6qsabrelite/mx6qsabrelite.c | 12 ++ drivers

[U-Boot] [PATCH 2/2] mx6qsabrelite: add and enable USB Host 1 support

2012-02-08 Thread Wolfgang Grandegger
Cc: Stefano Babic Cc: Jason Liu Signed-off-by: Wolfgang Grandegger --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 12 include/configs/mx6qsabrelite.h | 15 +++ 2 files changed, 27 insertions(+), 0 deletions(-) diff --git a/board/freescale

Re: [U-Boot] mx6qsabrelite U-Boot from SPI-NOR

2012-01-20 Thread Wolfgang Grandegger
Hi Eric, On 01/20/2012 01:56 AM, Eric Nelson wrote: > Hi Wolfgang, > > On 01/19/2012 03:26 AM, Dirk Behme wrote: >> Dear Wolfgang, >> >> On 19.01.2012 10:58, Wolfgang Grandegger wrote: >>> >>> Where can I find the "SPI_to_SD_loader.bin" im

Re: [U-Boot] [PATCH v3] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2012-01-19 Thread Wolfgang Grandegger
On 12/26/2011 08:34 AM, Dirk Behme wrote: > From: Jason Liu > > Add the initial support for Freescale i.MX6Q Sabre Lite board > > Signed-off-by: Dirk Behme > CC: Jason Liu > CC: Eric Nelson > --- ... > Index: freescale-u-boot-imx.git/doc/README.mx6qsabrelite > ==

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Wolfgang Grandegger
On 01/09/2012 10:08 PM, Vincent Palatin wrote: > On Mon, Jan 9, 2012 at 12:57, Marek Vasut wrote: >>> Fix the crash when running several times usb_init() with a USB ethernet >>> device plugged. >>> >>> Signed-off-by: Vincent Palatin >>> Tested-b

[U-Boot] net: re-enumerating usb-ethernet devices hangs the system

2012-01-09 Thread Wolfgang Grandegger
ng them" in the chromium.org git repos. Could that be pushed mainline. Feel free to add my "Tested-by: Wolfgang Grandegger ". Thanks, Wolfgang. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] USB: relax usbcore reset timings

2011-12-21 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make enumeration work better on some high speed devices. Furthermore, the wait is only done once after power

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-20 Thread Wolfgang Grandegger
On 12/19/2011 05:59 PM, Remy Bohmer wrote: > Hi Wolfgang, > > 2011/12/19 Wolfgang Grandegger : >> On 12/19/2011 01:51 PM, Vincent Palatin wrote: >>> On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger >>> wrote: >>>> I just realized that this

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Wolfgang Grandegger
On 12/19/2011 01:51 PM, Vincent Palatin wrote: > On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger > wrote: >> I just realized that this patch breaks "usb start" on my mx53loco board: >> >> MX53LOCO U-Boot > usb start >> (Re)start USB... >> U

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Wolfgang Grandegger
On 12/10/2011 05:29 PM, Remy Bohmer wrote: > Hi, > > 2011/12/5 Vincent Palatin : >> According to EHCI specification v1.0, the controller should stabilize >> the power on a port at most 20 ms after the port power bit transition. >> So, we put this setting in the virtual descriptor corresponding fie

Re: [U-Boot] [PATCH 0/9] MX5x USB support

2011-12-08 Thread Wolfgang Grandegger
Hi Marek, On 12/07/2011 07:33 PM, Marek Vasut wrote: > This patchset adds the USB support for MX5x. Most of the code is based on work > of Wolfgang Grandegger with modifications done by various other authors. I > also > included version of ULPI support code cleaned up by Igor Grinber

Re: [U-Boot] [PATCH v2 2/2] smsc95xx: Debug message cleanup

2011-11-21 Thread Wolfgang Grandegger
Hi Simon, On 11/16/2011 12:22 AM, Simon Glass wrote: > On Tue, Nov 15, 2011 at 1:19 AM, Wolfgang Grandegger wrote: >> Cc: Simon Glass >> Cc: Mike Frysinger >> Signed-off-by: Wolfgang Grandegger >> --- >> drivers/usb/eth/smsc95xx.c | 10 +++--- >&g

Re: [U-Boot] [PATCH 1/3] smsc95xx: Fix MAC address programming

2011-11-15 Thread Wolfgang Grandegger
On 11/14/2011 05:50 PM, Mike Frysinger wrote: > On Monday 14 November 2011 03:25:37 Wolfgang Grandegger wrote: >> On 11/11/2011 04:18 PM, Mike Frysinger wrote: >>> mine might take a little longer due to wrangling with wolfgang. i'd >>> suggest we go with your patch

[U-Boot] [PATCH v2 1/2] smsc95xx: Fix MAC address programming

2011-11-15 Thread Wolfgang Grandegger
Commit 79ad54400932d6484178a372fb3b659e3437473b broke MAC address programming in the SMSC95xx register set. Cc: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger Signed-off-by: Wolfgang Grandegger --- drivers/usb/eth/smsc95xx.c |6 +++--- 1 files changed, 3 insertions

[U-Boot] [PATCH v2 0/2] smsc95xx: Fix MAC address programming and some minor issues

2011-11-15 Thread Wolfgang Grandegger
Changes since v1: - Use __get_unaligned_le16/32 as suggested by Mike Frysinger. - Use format "%pM" to print ethernet address. - Drop third patch as it is not really required/useful. Wolfgang Grandegger (2): smsc95xx: Fix MAC address programming smsc95xx: Debug message cleanup d

[U-Boot] [PATCH v2 2/2] smsc95xx: Debug message cleanup

2011-11-15 Thread Wolfgang Grandegger
Cc: Simon Glass Cc: Mike Frysinger Signed-off-by: Wolfgang Grandegger --- drivers/usb/eth/smsc95xx.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index b5626e6..2f63340 100644 --- a/drivers/usb/eth

Re: [U-Boot] [PATCH 2/3] smsc95xx: in smsc95xx_set_multicast write to reg

2011-11-14 Thread Wolfgang Grandegger
Hi Simon, On 11/11/2011 04:35 PM, Simon Glass wrote: > Hi Wolfgang, > > On Fri, Nov 11, 2011 at 2:59 AM, Wolfgang Grandegger wrote: >> The write to the mac_cr register was missing. This usually not >> cause an issue before, since the next function writing the >> regi

Re: [U-Boot] [PATCH 0/5] mx5: USB host support for mx51evk and mx53loco

2011-11-14 Thread Wolfgang Grandegger
eader files of the ehci-fsl interface. The callback >>>> board_ehci_hcd_init() allows to do board-specific setup when USB is >>>> started. >>>> >>>> Wolfgang. >>>> >>>> Wolfgang Grandegger (5): >>>> mx5: add helper funct

Re: [U-Boot] [PATCH v8 4/4] Add USB support for Efika

2011-11-14 Thread Wolfgang Grandegger
On 11/12/2011 06:45 PM, Jana Rapava wrote: > This commit adds USB support for EfikaMX and EfikaSB. > > Signed-off-by: Jana Rapava > Signed-off-by: Marek Vasut > Cc: Remy Bohmer > Cc: Stefano Babic > Cc: Igor Grinberg > Cc: Wolfgang Grandegger > > Acked-by: Ma

Re: [U-Boot] [PATCH v4 3/4] EHCI: adjust for mx5

2011-11-14 Thread Wolfgang Grandegger
Cc: Igor Grinberg > Cc: Wolfgang Grandegger > --- > Changes for v2: > - whitespace and coding style changes > Changes for v3: > - ULPI-related definitions moved to ULPI header file > Changes for v4: > - rename "ulpi_viewpoint", because it's called

Re: [U-Boot] [PATCH 0/5] mx5: USB host support for mx51evk and mx53loco

2011-11-14 Thread Wolfgang Grandegger
_hcd_init() allows to do board-specific setup when USB is >> started. >> >> Wolfgang. >> >> Wolfgang Grandegger (5): >> mx5: add helper functions to enable USB clocks >> mx5: add helper function to retrieve the GPIO number >> mx5: add generic U

Re: [U-Boot] [PATCH 0/5] mx5: USB host support for mx51evk and mx53loco

2011-11-14 Thread Wolfgang Grandegger
nit() allows to do board-specific setup when USB is >> started. >> >> Wolfgang. >> >> Wolfgang Grandegger (5): >> mx5: add helper functions to enable USB clocks >> mx5: add helper function to retrieve the GPIO number >> mx5: add generic USB EHCI sup

Re: [U-Boot] [PATCH 3/5] mx5: add generic USB EHCI support for mx51 and mx53

2011-11-14 Thread Wolfgang Grandegger
On 11/11/2011 03:22 PM, Fabio Estevam wrote: > Hi Wolfgang, > > On Fri, Nov 11, 2011 at 11:03 AM, Wolfgang Grandegger wrote: >> It's derived from ehci-mxc and uses the header files of the >> ehci-fsl interface. The callback board_ehci_hcd_init() has >> been introd

Re: [U-Boot] [PATCH 3/3] smsc95xx: remove an unecessary debug messages

2011-11-14 Thread Wolfgang Grandegger
On 11/11/2011 04:26 PM, Simon Glass wrote: > Hi Wolfgang, > > On Fri, Nov 11, 2011 at 2:59 AM, Wolfgang Grandegger wrote: >> Signed-off-by: Wolfgang Grandegger >> Cc: Simon Glass >> --- >> drivers/usb/eth/smsc95xx.c |7 +++ >> 1 file

Re: [U-Boot] [PATCH 1/3] smsc95xx: Fix MAC address programming

2011-11-14 Thread Wolfgang Grandegger
On 11/11/2011 04:18 PM, Mike Frysinger wrote: > On Friday 11 November 2011 07:33:00 Wolfgang Grandegger wrote: >> On 11/11/2011 12:04 PM, Marek Vasut wrote: >>>> Commit 79ad54400932d6484178a372fb3b659e3437473b broke the MAC >>>> address programming. Fix th

[U-Boot] [PATCH 5/5] mx51evk: add end enable USB host support on port 1

2011-11-11 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger CC: Stefano Babic --- board/freescale/mx51evk/mx51evk.c | 92 + include/configs/mx51evk.h | 13 + 2 files changed, 105 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board

[U-Boot] [PATCH 2/5] mx5: add helper function to retrieve the GPIO number

2011-11-11 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger CC: Stefano Babic --- arch/arm/include/asm/arch-mx5/mx5x_pins.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx5/mx5x_pins.h b/arch/arm/include/asm/arch-mx5/mx5x_pins.h index 4e3a31b..3978bd5 100644

[U-Boot] [PATCH 3/5] mx5: add generic USB EHCI support for mx51 and mx53

2011-11-11 Thread Wolfgang Grandegger
It's derived from ehci-mxc and uses the header files of the ehci-fsl interface. The callback board_ehci_hcd_init() has been introduced to allow for board-specific setup when USB is started. Signed-off-by: Wolfgang Grandegger CC: Stefano Babic CC: Remy Bohmer --- drivers/usb/host/Mak

[U-Boot] [PATCH 0/5] mx5: USB host support for mx51evk and mx53loco

2011-11-11 Thread Wolfgang Grandegger
This patches series provides USB host support for the mx51evk and mx53loco. The generic ehci-mx5 interface is derived from ehci-mxc and uses the header files of the ehci-fsl interface. The callback board_ehci_hcd_init() allows to do board-specific setup when USB is started. Wolfgang. Wolfgang

[U-Boot] [PATCH 1/5] mx5: add helper functions to enable USB clocks

2011-11-11 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger CC: Stefano Babic --- arch/arm/cpu/armv7/mx5/clock.c | 72 ++ arch/arm/include/asm/arch-mx5/clock.h|5 ++ arch/arm/include/asm/arch-mx5/crm_regs.h |3 + 3 files changed, 80 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 4/5] mx53loco: add end enable USB host support on port 1

2011-11-11 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger CC: Jason Liu --- board/freescale/mx53loco/mx53loco.c | 10 ++ include/configs/mx53loco.h | 13 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco

Re: [U-Boot] [PATCH 1/3] smsc95xx: Fix MAC address programming

2011-11-11 Thread Wolfgang Grandegger
On 11/11/2011 12:04 PM, Marek Vasut wrote: >> Commit 79ad54400932d6484178a372fb3b659e3437473b broke the MAC >> address programming. Fix this by using the method from Linux' >> smsc95xx_set_mac_address(). >> >> Signed-off-by: Wolfgang Grandegger >

[U-Boot] [PATCH 3/3] smsc95xx: remove an unecessary debug messages

2011-11-11 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger Cc: Simon Glass --- drivers/usb/eth/smsc95xx.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 16e24bd..40f7f5b 100644 --- a/drivers/usb/eth/smsc95xx.c +++ b/drivers

[U-Boot] [PATCH 1/3] smsc95xx: Fix MAC address programming

2011-11-11 Thread Wolfgang Grandegger
Commit 79ad54400932d6484178a372fb3b659e3437473b broke the MAC address programming. Fix this by using the method from Linux' smsc95xx_set_mac_address(). Signed-off-by: Wolfgang Grandegger Cc: Marek Vasut Cc: Simon Glass --- drivers/usb/eth/smsc95xx.c |7 --- 1 files chang

[U-Boot] [PATCH 0/3] smsc95xx: Fix MAC address programming and some minor issues

2011-11-11 Thread Wolfgang Grandegger
Wolfgang Grandegger (3): smsc95xx: Fix MAC address programming smsc95xx: in smsc95xx_set_multicast write to reg smsc95xx: remove an unecessary debug messages drivers/usb/eth/smsc95xx.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) -- 1.7.4.1

[U-Boot] [PATCH 2/3] smsc95xx: in smsc95xx_set_multicast write to reg

2011-11-11 Thread Wolfgang Grandegger
The write to the mac_cr register was missing. This usually not cause an issue before, since the next function writing the register's shadow copy into the register would do it as a side effect. Signed-off-by: Wolfgang Grandegger Cc: Simon Glass --- drivers/usb/eth/smsc95xx.c |2 ++ 1

[U-Boot] [PATCH] arm: add __aeabi_unwind_cpp_pr1() function to avoid linker complaints

2011-11-10 Thread Wolfgang Grandegger
#x27; make: *** [u-boot] Error 1 This patch fixes the issue similar to commit d442b6e7ad6a86e2fd0e6297291fe8872ff26fc6 but I don't know if it's general enough or if it does harm when using other toolchains. Signed-off-by: Wolfgang Grandegger --- arch/arm/lib/eabi_compat.c |5 +

Re: [U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-07 Thread Wolfgang Grandegger
implementing "drivers/usb/host/ehci-mx5.c". Not sure if it's the better approach as a board specific initialization/reset might be required for some boards. Therefore board specific callbacks would make sense. I have attached my patch below for review and comments. Thanks, Wolfgang,

Re: [U-Boot] Adding USBH2 support for mx31pdk

2011-10-21 Thread Wolfgang Grandegger
Hi Fabio, On 10/21/2011 02:54 PM, Fabio Estevam wrote: > Hi Stefano, > > I am trying to add USBH2 support for MX31PDK and I am using qong code > as reference. > > When I add the USB related defines in mx31pdk.h (same as qong.h) : > > /* USB */ > #define CONFIG_CMD_USB > #ifdef CONFIG_CMD_USB >

[U-Boot] [PATCH] mx5 configs: CONFIG_PRIME should really be CONFIG_ETHPRIME

2011-10-17 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger --- Resend due to missing [PATCH] prefix. include/configs/mx51evk.h |2 +- include/configs/mx53ard.h |2 +- include/configs/mx53evk.h |2 +- include/configs/mx53loco.h |2 +- include/configs/mx53smd.h |2 +- 5 files changed, 5

[U-Boot] [PATCH] ehci-mxc: remove incorrect comment

2011-10-17 Thread Wolfgang Grandegger
The USB port to be used is determined by CONFIG_MXC_USB_PORT. So, it appears that the comment is not correct. Remove it. Signed-off-by: Wolfgang Grandegger --- drivers/usb/host/ehci-mxc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-mxc.c b

[U-Boot] [PATCH] ehci-fsl: correct size of ehci caplength

2011-10-17 Thread Wolfgang Grandegger
According to the EHCI specification the Capability Register Length has a size of 8 bits. Signed-off-by: Wolfgang Grandegger --- include/usb/ehci-fsl.h | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci

[U-Boot] mx5 configs: CONFIG_PRIME should really be CONFIG_ETHPRIME

2011-10-17 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger --- include/configs/mx51evk.h |2 +- include/configs/mx53ard.h |2 +- include/configs/mx53evk.h |2 +- include/configs/mx53loco.h |2 +- include/configs/mx53smd.h |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a

Re: [U-Boot] Please pull u-boot-ppc4xx/next

2009-11-13 Thread Wolfgang Grandegger
Hi Stefan, Stefan Roese wrote: > Hi Matthias, > > On Wednesday 11 November 2009 22:12:06 Matthias Fuchs wrote: >>> please pull some updates for "next". Thanks. >>> >>> >>> The following changes since commit >>>

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Wolfgang Grandegger
ng! > > On Monday 02 November 2009 13:50, Wolfgang Grandegger wrote: >> Matthias Fuchs wrote: >>> Hi Wolfgang, >>> >>> this patch conflicts with my simple SJA header posted some days ago >>> >>> http://lists.denx.de/pipermail/u-boot/2009-Oct

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Wolfgang Grandegger
Matthias Fuchs wrote: > Hi Wolfgang, > > this patch conflicts with my simple SJA header posted some days ago > > http://lists.denx.de/pipermail/u-boot/2009-October/063097.html > > together with a fix for two of our boards - which has not much > to do with CAN. WD asked me to use a C struct to ac

Re: [U-Boot] [RFC 1/5] CAN interface library

2009-11-01 Thread Wolfgang Grandegger
Mike Frysinger wrote: > On Sunday 01 November 2009 11:16:59 Wolfgang Grandegger wrote: >> Mike Frysinger wrote: >>> On Sunday 01 November 2009 06:33:33 Wolfgang Grandegger wrote: >>>> --- /dev/null >>>> +++ b/drivers/can/can.c >>>> &g

Re: [U-Boot] [RFC 2/5] CAN device test command

2009-11-01 Thread Wolfgang Grandegger
Mike Frysinger wrote: > On Sunday 01 November 2009 06:33:34 Wolfgang Grandegger wrote: >> +if (op == 's') { >> +else if (op == 'i') { >> +else if (op == 'r') { >> +} else if (op == 'x') { >> +} else {

Re: [U-Boot] [RFC 1/5] CAN interface library

2009-11-01 Thread Wolfgang Grandegger
Mike Frysinger wrote: > On Sunday 01 November 2009 06:33:33 Wolfgang Grandegger wrote: [snip] >> --- /dev/null >> +++ b/drivers/can/can.c >> >> +static char *baudrates[] = { "125K", "250K", "500K" }; > > so we're restricting o

[U-Boot] [RFC 5/5] CAN interface support for the TQM855L module

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- board/tqc/tqm8xx/tqm8xx.c | 17 + include/configs/TQM855L.h |8 +++- 2 files changed, 24 insertions(+), 1 deletions(-) diff --git a/board/tqc/tqm8xx/tqm8xx.c b/board/tqc/tqm8xx/tqm8xx.c index f92c598

[U-Boot] [RFC 4/5] CAN device driver for the Intel 82527

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- drivers/can/Makefile |1 + drivers/can/i82527.c | 366 ++ include/i82527.h | 201 +++ 3 files changed, 568 insertions(+), 0 deletions(-) create

[U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- drivers/can/Makefile |3 +- drivers/can/sja1000.c | 223 + include/sja1000.h | 159 +++ 3 files changed, 384 insertions(+), 1 deletions

[U-Boot] [RFC 2/5] CAN device test command

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- common/Makefile |1 + common/cmd_can.c | 119 ++ 2 files changed, 120 insertions(+), 0 deletions(-) create mode 100644 common/cmd_can.c diff --git a/common/Makefile b

[U-Boot] [RFC 1/5] CAN interface library

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- Makefile |1 + drivers/can/Makefile | 47 ++ drivers/can/can.c| 88 ++ include/can.h| 70

[U-Boot] [RFC 0/5] CAN framework for U-Boot

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger This patch series adds a simple CAN framework for U-Boot. The main purpose is to do simple RX/TX testing when the device boots up but the interface functions could also be used for more complex tasks. This is just a RFC and a few more features need to be added or issues

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
miaofng wrote: > Wolfgang Grandegger wrote: >> miaofng wrote: >> >>> Hi mike, >>> It seems there's a big difference between my current project >>> and u-boot common usage. I can only enjoy the patch myself now >>> >> Yes, c

  1   2   >