[U-Boot] [PATCH v2 7/9] dts: rk3399: update for spl require driver

2017-02-13 Thread Kever Yang
Add syscon and dmc node, and 'u-boot,dm-pre-reloc' option for required driver. Signed-off-by: Kever Yang --- Changes in v2: None Changes in v1: None arch/arm/dts/rk3399-evb.dts | 2 ++ arch/arm/dts/rk3399.dtsi| 44 2

[U-Boot] [PATCH v2 5/9] pinctrl: rk3399: add the of-platdata support

2017-02-13 Thread Kever Yang
Do not use the API which of-platdata not support. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None drivers/pinctrl/rockchip/pinctrl_rk3399.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v2 4/9] sdhci: rk3399: update driver to support of-platdata

2017-02-13 Thread Kever Yang
Change some API in order to enable of-platdata. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None drivers/mmc/rockchip_sdhci.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-)

[U-Boot] [PATCH] arm: am57xx: Set serial# variable

2017-02-13 Thread Sam Protsenko
serial# variable is used to correctly display device ID in "fastboot devices". It also can be used further for displaying device ID in "adb devices" (should be passed as "androidboot.serialno" to kernel cmdline, via "bootargs" variable). Serial number generating algorithm is described at [1].

Re: [U-Boot] [PATCH 2/2] omapl138_lcdk: Set uboot raw mmc sector to 0x41

2017-02-13 Thread Tom Rini
On Mon, Feb 13, 2017 at 05:11:09PM +0100, Axel Haslam wrote: > Hi Tom > > On Mon, Feb 13, 2017 at 3:23 PM, Axel Haslam wrote: > > On Mon, Feb 13, 2017 at 3:17 PM, Tom Rini wrote: > >> On Mon, Feb 13, 2017 at 03:14:28PM +0100, Axel Haslam wrote: > >>> Hi

[U-Boot] [PATCH] da850: Add instructions to copy AIS image to an MMC card

2017-02-13 Thread Axel Haslam
The da850 soc's can boot from a external mmc card, but the AIS image should be written to the correct sector. Add instructions to copy the AIS image to a MMC card. Signed-off-by: Axel Haslam --- board/davinci/da8xxevm/README.da850 | 23 +++ 1 file

Re: [U-Boot] [PATCH v2 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-13 Thread Tom Rini
On Mon, Feb 13, 2017 at 01:35:40PM +0200, Uri Mashiach wrote: > A weak version of the function board_usb_init is implemented in: > common/usb.c > drivers/usb/host/xhci-omap.c [snip] > diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c > index bd1c809..21fa824 100644 > ---

Re: [U-Boot] [PATCH] arm: am57xx: Set serial# variable

2017-02-13 Thread Tom Rini
On Mon, Feb 13, 2017 at 07:09:37PM +0200, Sam Protsenko wrote: > serial# variable is used to correctly display device ID in > "fastboot devices". It also can be used further for displaying device ID > in "adb devices" (should be passed as "androidboot.serialno" to kernel > cmdline, via "bootargs"

Re: [U-Boot] U-Boot of-platdata issue

2017-02-13 Thread Jaehoon Chung
On 02/13/2017 06:23 PM, Kever Yang wrote: > Hi Simon, > > On 01/16/2017 12:15 PM, Simon Glass wrote: >> Hi Kever, >> >> On 15 January 2017 at 18:28, Kever Yang wrote: >>> Hi Simon, >>> >>> I met two issue when using of-platdata >>> >>> 1. compitable name with '.'

Re: [U-Boot] [PATCH v4 0/16] sunxi: Add support for the CHIP Pro

2017-02-13 Thread Maxime Ripard
Hi Jagan, Scott, On Mon, Jan 23, 2017 at 02:46:42PM +0100, Maxime Ripard wrote: > The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an > AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND. > > Since the first Allwinner device coming whit an SLC NAND that doesn't have > the

Re: [U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x

2017-02-13 Thread Peter Robinson
On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa wrote: > The rsa_st struct has been made opaque in 1.1.x, add forward compatible > code to access the n, e, d members of rsa_struct. > > EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be > called to

Re: [U-Boot] [PATCH v4 0/16] sunxi: Add support for the CHIP Pro

2017-02-13 Thread Jagan Teki
On Monday 13 February 2017 03:23 PM, Maxime Ripard wrote: Hi Jagan, Scott, On Mon, Jan 23, 2017 at 02:46:42PM +0100, Maxime Ripard wrote: The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND. Since the first Allwinner

[U-Boot] [PATCH v4 6/6] ARM: DRA7xx: Disable non-FIT based image loading for HS devices

2017-02-13 Thread Andrew F. Davis
Disable support for loading non-FIT images for DRA7xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- configs/dra7xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v4 0/6] Allow disabling non-FIT image loading from SPL

2017-02-13 Thread Andrew F. Davis
Hello all, To address a needed feature brought up by Andreas[0], we need a way to disable SPL from loading non-FIT images. The function spl_parse_image_header is common to all SPL loading paths (common/spl/spl_(nand|net|nor|etc..)) so we add the check here. This version of the series is a bit

[U-Boot] [PATCH v4 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-13 Thread Andrew F. Davis
CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it encounters RAW images, express this same functionality as a positive option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT Signed-off-by: Andrew F. Davis --- Kconfig | 7

[U-Boot] [PATCH v4 5/6] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2017-02-13 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- configs/am57xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v4 4/6] ARM: AM43xx: Disable non-FIT based image loading for HS devices

2017-02-13 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM43xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- configs/am43xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v4 2/6] spl: Add option to enable SPL Legacy image support

2017-02-13 Thread Andrew F. Davis
Add a Kconfig option that enables Legacy image support, this allows boards to explicitly disable this, for instance when needed for security reasons. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- Kconfig | 8 common/spl/spl.c |

[U-Boot] [PATCH v4 3/6] ARM: AM335x: Disable non-FIT based image loading for HS devices

2017-02-13 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM335x platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- configs/am335x_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address

2017-02-13 Thread Lokesh Vutla
On Monday 13 February 2017 05:42 PM, Uri Mashiach wrote: > > > On 02/13/2017 01:46 PM, Lokesh Vutla wrote: >> >> >> On Sunday 12 February 2017 09:17 PM, Tom Rini wrote: >>> On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote: Hi Tom, On 02/09/2017 10:29 PM, Tom Rini

[U-Boot] ZYNQ direct MAC connection

2017-02-13 Thread Hannes Schmelzer
Hello, did anybody setup successfully setup a direct MAC connection using RGMII with a zynq ? For example to a switch. The zynq_gem driver wants to probe for phy by itself. I already made a connection with very bad hacks in various files. In linux such things are working with "fixed-link".

[U-Boot] [PATCH 0/3] ARM: AM43xx: Enable SPL_DM

2017-02-13 Thread Lokesh Vutla
Enable SPL_DM on all AM4xx based boards. This series depends on: - DRA7 SPL_DM series[1] - http://patchwork.ozlabs.org/patch/727106/ [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg238751.html Lokesh Vutla (3): ARM: dts: am43xx: Add u-boot specific dtsi config: am43xx_usbhost_boot:

[U-Boot] [PATCH 3/3] configs: am43xx_evm: Enable SPL_DM

2017-02-13 Thread Lokesh Vutla
Enable SPL_DM on all AM43xx based platforms Signed-off-by: Lokesh Vutla --- configs/am43xx_evm_defconfig | 7 ++- configs/am43xx_evm_usbhost_boot_defconfig | 7 ++- configs/am43xx_hs_evm_defconfig | 7 ++- include/configs/am43xx_evm.h

[U-Boot] [PATCH 1/3] ARM: dts: am43xx: Add u-boot specific dtsi

2017-02-13 Thread Lokesh Vutla
Add u-boot specific dtsi for am43xx-gp-evm so that it will be used for SPL. Signed-off-by: Lokesh Vutla --- arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[U-Boot] [PATCH 2/3] config: am43xx_usbhost_boot: sync with am43xx_evm

2017-02-13 Thread Lokesh Vutla
am43xx_evm defconfig has been modified without making changes in am43xx_usbhost_boot defconfig. Synce here. Signed-off-by: Lokesh Vutla --- - The only reason to have usbhost defconfig is that the load address is different from that of other bootmodes.

[U-Boot] Fwd: how to trigger DM rescan ?

2017-02-13 Thread Hannes Schmelzer
Hi Simon, forwarding this directly to you since nobody did response on the mailinglist. Maybe you have some suggestion to me. many thanks, Hannes Forwarded Message Subject:how to trigger DM rescan ? Date: Wed, 8 Feb 2017 08:05:31 +0100 From: Hannes Schmelzer

Re: [U-Boot] [PATCH 2/2] omapl138_lcdk: Set uboot raw mmc sector to 0x41

2017-02-13 Thread Tom Rini
On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel Haslam wrote: > The uboot binary on the AIS file starts at offset 0x8000. > This would be sector 0x40 on a mmc card with 512 bytes per > sector: 0x8000/0x200 = 0x40. > > But because we usually skip the first mmc sector to preserve > the partition

Re: [U-Boot] [PATCH v2 1/6] arm: am57xx: reintroduce the CONFIG_AM57XX symbol

2017-02-13 Thread Tom Rini
On Mon, Feb 13, 2017 at 01:34:52PM +0200, Uri Mashiach wrote: > The SOC family symbol CONFIG_AM57XX was removed by the commit > 3891a54: "ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX". > > The symbol is needed by the XHCI OMAP USB driver. > Without the symbol all the AM57x targets symbols should

[U-Boot] [PATCH 00/10] Add Marvell ESPRESSOBin community board support

2017-02-13 Thread kostap
From: Konstantin Porotchkin This patch set adds support for Marvell ESPRESSOBin community board. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter site. It has (current board version 3.1.1): - Dual core Cortex-A53 @1.2GHz CPU (Marvell

[U-Boot] [PATCH 01/10] arm64: a37xx: Enable Marvell ETH PHY support

2017-02-13 Thread kostap
From: Konstantin Porotchkin Enable support for Marvell Ethernet PHYs on A37xx platforms Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- include/configs/mvebu_db-88f3720.h | 1 + 1 file

[U-Boot] [PATCH 06/10] mvebu: neta: a37xx: Add fixed link support to neta driver

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add support for fixed link to NETA driver. This feature requred for proper support of SFP modules and onboard connected devices like Ethernet switches Signed-off-by: Konstantin Porotchkin Signed-off-by: Terry Zhou

[U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-13 Thread kostap
From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init stage. This fix allows the NETA driver to work in RGMII mode until the full-featured pin control driver gets introduced. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-13 Thread kostap
From: Konstantin Porotchkin Implement the board-specific network init function for ESPRESSOBin community board, setting the on-board Topaz switch port to forward mode and allow network connection through any of the available Etherenet ports. Signed-off-by: Konstantin

[U-Boot] [PATCH 02/10] arm64: a37xx: Enable bubt command support on A3720-DB

2017-02-13 Thread kostap
From: Konstantin Porotchkin Enable mvebu bubt command support on A3720 DB Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- configs/mvebu_db-88f3720_defconfig | 3 +++ 1 file changed, 3

[U-Boot] [PATCH 03/10] arm64: a37xx: dts: Add pin control nodes to DT

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add pin control nodes for North and South bridges to Armada-37xx DT Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- arch/arm/dts/armada-37xx.dtsi | 14

[U-Boot] [PATCH 08/10] arm64: dts: Add device tree for ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Initial DTS file for Marvell ESPRESSOBin comunity board based on Armada-3720 SoC. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter site. It has dual core Armv8 Marvell SoC (Armada-3720) with 512MB/1GB/2GB

[U-Boot] [PATCH 05/10] mvebu: neta: Add support for board init function

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add ability to use board-specific initialization flow to NETA driver (for instance Ethernet switch bring-up) Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman ---

[U-Boot] [PATCH 09/10] arm64: mvebu: Add default config for ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add initial default configuration for Marvell ESPRESSOBin community board based on Aramda-3720 SoC Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman ---

[U-Boot] [PATCH 10/10] arm64: a3720: Disable DB configurations on ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Bypass XHCI and AHCi board configuration flow on ESPRESSOBin community board. The community board does not have i2c expander and USB VBUS is always on, so the scan for AHCi and USB devices can be faster. Signed-off-by: Konstantin Porotchkin

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-13 Thread Lukasz Majewski
Hi Felipe, > > Hi Lukasz, > > Lukasz Majewski writes: > > Hi Felipe, > > > > Thanks for the patch. > > Please see my comments below. > > > > On 13 Feb 2017 11:42 am, Felipe Balbi > > wrote: > > > > Hi, > > > > Marek Vasut writes:

<    1   2