Re: [U-Boot] sunxi: add device tree for Orange Pi R1 board

2017-10-01 Thread Jagan Teki
On Sun, Oct 1, 2017 at 11:02 PM, Hauke Mehrtens wrote: > This board is very similar to the Orange Pi Zero boards, instead of the > USB port it has an USB to Ethernet adapter connected to the USB port and > by default it has a SPI flash, but this is still missing in the device >

Re: [U-Boot] [PULL] efi patch queue 2017-10-01

2017-10-01 Thread Tom Rini
On Sun, Oct 01, 2017 at 10:30:57AM +0200, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit c07f38208a73bbe3efaa939d6742096c1cb7e0ce: > > Merge git://git.denx.de/u-boot-x86 (2017-09-17 11:46:51 -0400)

Re: [U-Boot] [PULL v2] Please pull u-boot-rockchip

2017-10-01 Thread Tom Rini
On Sun, Oct 01, 2017 at 07:03:55PM +0200, Dr. Philipp Tomsich wrote: > Here’s v2 w/ Jagan’s "armv7: Move L2CTLR read/write to common” modified to > not cause any breakage for Tegra. > > Travis result at > https://travis-ci.org/ptomsich/u-boot-rockchip/builds/281769812 > > Thanks, >

[U-Boot] sunxi: add orangepi R1 defconfig

2017-10-01 Thread Hauke Mehrtens
This is copied from the Orange Pi Zero defconfig as these boards are very similar. This board has an Allwinner H2+ SoC with 256MB RAM, Realtek rtl8189es Wifi connected via SDIO, Ethernet connected to the PHY integrated in the SoC and an extra Ethernet port connected via USB. Signed-off-by: Hauke

[U-Boot] sunxi: add device tree for Orange Pi R1 board

2017-10-01 Thread Hauke Mehrtens
This board is very similar to the Orange Pi Zero boards, instead of the USB port it has an USB to Ethernet adapter connected to the USB port and by default it has a SPI flash, but this is still missing in the device tree. Signed-off-by: Hauke Mehrtens --- arch/arm/dts/Makefile

[U-Boot] Request For Comments: wget and TCP listener

2017-10-01 Thread Duncan Hare
This code is written. and has changes to the following files: I sent an "atomic patch", and it got stuck in moderation because it is 350k+, that is too big. My rules to myself were: All interfaces, function calls, to be preserved. However, This results in an ugly "re-purposing" of

[U-Boot] Request For Comments: wget and TCP listener

2017-10-01 Thread Duncan Hare
This code is written. and has changes to the following files: I sent an "atomic patch", and it got stuck in moderation because it is 350k+, that is too big. My rules to myself were: All interfaces, function calls, to be preserved. However, This results in an ugly "re-purposing" of variables

[U-Boot] [PULL] u-boot-usb/master

2017-10-01 Thread Marek Vasut
The following changes since commit 6e9b109aa9bcdd094e77da9fb03de8b44da8eb9d: Merge git://git.denx.de/u-boot-usb (2017-09-27 09:39:48 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

2017-10-01 Thread Marek Vasut
On 10/01/2017 03:18 PM, Bin Meng wrote: > Hi Marek, > > On Fri, Sep 29, 2017 at 5:36 PM, Marek Vasut wrote: >> On 09/29/2017 11:26 AM, Bin Meng wrote: >>> Hi Marek, >>> >>> On Fri, Sep 29, 2017 at 10:30 AM, Marek Vasut wrote: On 09/29/2017 01:36 AM, Bin Meng

[U-Boot] [PATCH] mx6slevk: Fix MMC breakage for the SPL target

2017-10-01 Thread Fabio Estevam
From: Fabio Estevam Commit 001cdbbb32ef1f6 ("imx: mx6slevk: enable more DM drivers") breaks MMC support in U-Boot proper on the mx6slevk_spl_defconfig target: U-Boot SPL 2017.09-00396-g6ca43a5 (Oct 01 2017 - 16:20:18) Trying to boot from MMC1

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
On Sun, Oct 1, 2017 at 12:50 PM, Fabio Estevam wrote: > Hi Tom, > > On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: > >>> Same regression is observed with mx7dsabresd board as well. >> >> It's likely to be all i.MX :( > > Only the i.MX configs with

[U-Boot] [PATCH] doc: rmobile: Update README

2017-10-01 Thread Marek Vasut
Update the README with build instructions for R8A7795/R8A7796 boards. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- doc/README.rmobile | 41 + 1 file changed, 33 insertions(+), 8 deletions(-)

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Łukasz Majewski
Hi Fabio, Hi Tom, On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: Same regression is observed with mx7dsabresd board as well. It's likely to be all i.MX :( Only the i.MX configs with CONFIG_DM_MMC=y. Yes, I can confirm this. I'm using SPL + imx_usb (and boot to

Re: [U-Boot] [PATCH v3] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-10-01 Thread Antony Antony
Hi Maxime, sorry for the delayed response. On Mon, Sep 25, 2017 at 01:12:23PM +0200, Maxime Ripard wrote: > On Sat, Sep 23, 2017 at 05:59:15PM +, Antony Antony wrote: > > Add initial DT for NanoPi NEO Plus2 by FriendlyARM > > - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU > >

[U-Boot] [PULL v2] Please pull u-boot-rockchip

2017-10-01 Thread Dr . Philipp Tomsich
Here’s v2 w/ Jagan’s "armv7: Move L2CTLR read/write to common” modified to not cause any breakage for Tegra. Travis result at https://travis-ci.org/ptomsich/u-boot-rockchip/builds/281769812 Thanks, Philipp. The following changes since commit 6ca43a58db61aea8ca2ebec4003bb6cfacf81d46:

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
Hi Tom, On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini wrote: >> Same regression is observed with mx7dsabresd board as well. > > It's likely to be all i.MX :( Only the i.MX configs with CONFIG_DM_MMC=y. > Have all of the changes gone in such that an i.MX platform with SPL can >

Re: [U-Boot] [PATCH 01/10] usb: emul: Remove maxpacketsize in usb_emul_setup_device()

2017-10-01 Thread Marek Vasut
On 10/01/2017 03:19 PM, Bin Meng wrote: > This parameter is never used. > > Signed-off-by: Bin Meng Applied all to u-boot-usb/master , buildtesting . > --- > > drivers/usb/emul/sandbox_flash.c | 3 +-- > drivers/usb/emul/sandbox_hub.c | 3 +-- >

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Tom Rini
On Sun, Oct 01, 2017 at 11:29:58AM -0300, Fabio Estevam wrote: > On Sat, Sep 30, 2017 at 12:35 PM, Fabio Estevam wrote: > > Hi, > > > > I noticed that fsl_esdhc is broken on 2017.09 for mx6slevk, when > > CONFIG_DM_MMC is selected: > > > > U-Boot 2017.09 (Sep 30 2017 -

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-01 Thread Fabio Estevam
On Sat, Sep 30, 2017 at 12:35 PM, Fabio Estevam wrote: > Hi, > > I noticed that fsl_esdhc is broken on 2017.09 for mx6slevk, when > CONFIG_DM_MMC is selected: > > U-Boot 2017.09 (Sep 30 2017 - 12:31:17 -0300) > > CPU: Freescale i.MX6SL rev1.0 792 MHz (running at 396 MHz) >

Re: [U-Boot] [PATCH] usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

2017-10-01 Thread Bin Meng
Hi Marek, On Fri, Sep 29, 2017 at 5:36 PM, Marek Vasut wrote: > On 09/29/2017 11:26 AM, Bin Meng wrote: >> Hi Marek, >> >> On Fri, Sep 29, 2017 at 10:30 AM, Marek Vasut wrote: >>> On 09/29/2017 01:36 AM, Bin Meng wrote: Hi Marek, On Thu, Sep 28, 2017

[U-Boot] [PATCH 10/10] test: dm: usb: Update test cases for USB

2017-10-01 Thread Bin Meng
Now that we have changed to remove all devices under the root hub in usb_stop(), and corrected the USB emulator select logic, it makes no sense to do various tests based on 'usb tree' output since the order of devices is no longer fixed. Remove these USB test cases related to 'usb tree'. For the

[U-Boot] [PATCH 07/10] dm: usb: Fix broken usb_stop()

2017-10-01 Thread Bin Meng
At present we only do device_remove() during usb stop. The DM API device_remove() only marks the device state as inactivated, but still keeps its USB topology (eg: parent, children, etc) in the DM device structure. There is no issue if we only start USB subsystem once and never stop it. But a big

[U-Boot] [PATCH 09/10] dm: usb: emul: Drop usb_emul_reset()

2017-10-01 Thread Bin Meng
With the root hub unbinding in usb_stop(), there is no need to do a Sandbox-specific reset operation. usb_emul_reset() is no longer used anywhere, drop it. Signed-off-by: Bin Meng --- drivers/usb/emul/usb-emul-uclass.c | 8 drivers/usb/host/usb-uclass.c | 11

[U-Boot] [PATCH 06/10] usb: emul: hub: Report the actual device speed of the emulation device

2017-10-01 Thread Bin Meng
At present the usb hub emulator always reports its downstream port speed as full speed. Actually it is high speed for sandbox-flash, and low speed for sandbox-keyb. We can determine the device speed by checking its device descriptor bcdUSB field, and do the proper hub port status report based on

[U-Boot] [PATCH 03/10] usb: sandbox: Initialize root hub's device speed to high speed

2017-10-01 Thread Bin Meng
At present 'usb tree' shows that the root hub on the Sandbox USB controller is at full speed. But its device descriptor says it's USB 2.0, so let's report it as a high speed device. Signed-off-by: Bin Meng --- drivers/usb/host/usb-sandbox.c | 24 1

[U-Boot] [PATCH 08/10] dm: usb: Remove no longer needed blk_unbind_all()

2017-10-01 Thread Bin Meng
With the root hub unbinding in usb_stop(), there is no need to do a blk uclass specific unbind operation. Signed-off-by: Bin Meng --- drivers/usb/host/usb-uclass.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/usb/host/usb-uclass.c

[U-Boot] [PATCH 04/10] usb: sandbox: Fix emulator device select logic in usb_emul_find_devnum()

2017-10-01 Thread Bin Meng
Current emulator select logic in usb_emul_find_devnum() is to test the USB address. The USB address of the device being enumerated is initialized to zero at the beginning of the enumeration process in usb_setup_device(). At this point, the saved USB address in the platform data has not been

[U-Boot] [PATCH 02/10] usb: Fix comments of usb_emul_find_for_dev()

2017-10-01 Thread Bin Meng
There is no such a parameter called 'bus'. Signed-off-by: Bin Meng --- include/usb.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/usb.h b/include/usb.h index 1563c9a..3d51731 100644 --- a/include/usb.h +++ b/include/usb.h @@ -1035,7 +1035,6 @@ int

[U-Boot] [PATCH 05/10] usb: emul: Expose find_descriptor() as a public API

2017-10-01 Thread Bin Meng
This can be useful outside of the sandbox usb emulation uclass driver. Expose it as a public API with a proper prefix (usb_emul_). Signed-off-by: Bin Meng --- drivers/usb/emul/usb-emul-uclass.c | 5 ++--- include/usb.h | 11 +++ 2 files

[U-Boot] [PATCH 01/10] usb: emul: Remove maxpacketsize in usb_emul_setup_device()

2017-10-01 Thread Bin Meng
This parameter is never used. Signed-off-by: Bin Meng --- drivers/usb/emul/sandbox_flash.c | 3 +-- drivers/usb/emul/sandbox_hub.c | 3 +-- drivers/usb/emul/sandbox_keyb.c| 3 +-- drivers/usb/emul/usb-emul-uclass.c | 4 ++-- include/usb.h | 5

[U-Boot] [PULL] efi patch queue 2017-10-01

2017-10-01 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit c07f38208a73bbe3efaa939d6742096c1cb7e0ce: Merge git://git.denx.de/u-boot-x86 (2017-09-17 11:46:51 -0400) are available in the git repository at: git://github.com/agraf/u-boot.git