[U-Boot] [PATCH] SPL: SPI: sunxi: add SPL FIT image support

2017-09-22 Thread Andre Przywara
The sunxi-specific SPI load routine only knows how to load a legacy U-Boot image. Teach it how to handle FIT images as well, simply by providing the existing SPL FIT loader with the right loader routine to access the SPI NOR flash. Signed-off-by: Andre Przywara

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Moritz Fischer
Hi Marek, On Fri, Sep 22, 2017 at 3:19 PM, Marek Vasut wrote: > On 09/21/2017 11:35 PM, Philip Balister wrote: >> On 09/19/2017 04:15 AM, Marek Vasut wrote: >>> On 09/18/2017 06:06 PM, Tom Rini wrote: On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: > On 18

Re: [U-Boot] [PATCH] ARM: rmobile: dts: Add XHCI USB node to r8a7796

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 6:02 GMT+09:00 Marek Vasut : > The R8A7796 XHCI USB nodes are missing from r8a7796 dtsi, add them. > These nodes don't come from mainline Linux, yet the DT binding is > similar enough to R8A7795 which already has those in mainline and > once the nodes hit

Re: [U-Boot] [PATCH] serial: serial_sh: take into account port->clk_mode for SH7785/7786

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-14 7:27 GMT+09:00 Thomas Petazzoni : > Hello, > > On Mon, 28 Aug 2017 14:16:38 +0200, Thomas Petazzoni wrote: >> In the SH7785/SH7786 case, the SCSCR value is harcoded to be 0x3a, >> which means bits CKE1/CKE0 have the value 10b. This tells the

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Marek Vasut
On 09/21/2017 11:35 PM, Philip Balister wrote: > On 09/19/2017 04:15 AM, Marek Vasut wrote: >> On 09/18/2017 06:06 PM, Tom Rini wrote: >>> On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: On 18 September 2017 at 16:46, Otavio Salvador < otavio.salva...@ossystems.com.br>

Re: [U-Boot] [PATCH 2/6] ARM: rmobile: Move HSUSB configuration to board on Salvator-X

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > In order to use ehci-generic driver, move the configuration of HSUSB > block into the board file. This configuration should not have been in > the Gen3 EHCI USB driver in the first place, so move it to the board > file until

Re: [U-Boot] [PATCH 3/6] ARM: rmobile: Move HSUSB configuration to board on ULCB

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > In order to use ehci-generic driver, move the configuration of HSUSB > block into the board file. This configuration should not have been in > the Gen3 EHCI USB driver in the first place, so move it to the board > file until

Re: [U-Boot] [PATCH 1/6] ARM: rmobile: dts: Add EHCI USB nodes to r8a7796

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > The R8A7796 EHCI USB nodes are missing from r8a7796 dtsi, add them. > These nodes don't come from mainline Linux, yet the DT binding is > similar enough to R8A7795 which already has those in mainline and > once the nodes hit

Re: [U-Boot] [PATCH 4/6] ARM: rmobile: Enable EHCI generic on Salvator-X

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > Enable the EHCI generic driver, which is superior to ad-hoc SoC specific one. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to rmobile branch. Thanks,

Re: [U-Boot] [PATCH] ARM: rmobile: Move CONFIG_CMD_ from rcar-gen3-common to configs

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:08 GMT+09:00 Marek Vasut : > Just move those config options from macros to configs. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to rmobile branch. Thanks, Nobuhiro > --- >

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:33AM +, Chen-Yu Tsai wrote: > Only the H3/H5 SoCs have an internal PHY and its related clock and > reset controls. > > Use an #ifdef to guard the internal PHY control code block so it > can be built for other SoCs, such as the A83T or A64. > > Signed-off-by:

Re: [U-Boot] [PATCH V4 01/12] scripts: spl: fix typo

2017-09-22 Thread Stefano Babic
On 21/09/2017 04:19, Peng Fan wrote: > For the patchset, Ping.. > I know, this is in my TODO list. I will review them soon. Thanks for patience. Regards, Stefano > Thanks, > Peng. > On Wed, Aug 30, 2017 at 02:14:42PM +0800, Peng Fan wrote: >> Typo fix: CONIFG->CONFIG >> >> Signed-off-by: Peng

[U-Boot] How to bring in support for GnuBee on MediaTek MT7621A

2017-09-22 Thread Niklaus Giger
Hi 10 days ago one of first https://www.crowdsupply.com/gnubee/personal-cloud-1 systems arrived at my home and is now running happily my preferred Linux distribution Debian. I put on a small web page for it under http://gnubee.org/ index.html. I am however not satisfied with the situation on

Re: [U-Boot] [PATCH 6/9] net: sun8i_emac: Support RX/TX delay chains

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:32AM +, Chen-Yu Tsai wrote: > The EMAC syscon has configurable RX/TX delay chains for use with RGMII > PHYs. > > This adds support for configuring them via device tree properties. The > property names and format were defined in Linux's dwmac-sun8i binding > that

Re: [U-Boot] [PATCH 3/9] sunxi: Fix USB PHY control register offset for A83T

2017-09-22 Thread Maxime Ripard
Hi On Fri, Sep 22, 2017 at 07:26:29AM +, Chen-Yu Tsai wrote: > It was recently discovered that the USB PHY control register offset on > the A83T is 0x410 like on the A33, not 0x404. Fix it. > > Fixes: 0c935acb9e5d ("sunxi: usb_phy: Add support for A83T USB PHYs") > Signed-off-by: Chen-Yu

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > The Bananapi M3 has a micro-USB OTG port. It supports both host and > gadget mode. Having the OTG port operate in gadget mode is more useful, > as we can use it for fastboot or Ethernet over USB. > > The board has 2 other USB host

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: >> The Bananapi M3 has a micro-USB OTG port. It supports both host and >> gadget mode. Having the OTG port operate in gadget mode is more useful,

[U-Boot] [PATCH 2/9] sunxi: Enable eMMC on Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
Set CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to enable the eMMC controller to access eMMC on the board. Signed-off-by: Chen-Yu Tsai --- configs/Cubietruck_plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Cubietruck_plus_defconfig

[U-Boot] [PATCH 0/9] sunxi: A83T improvements

2017-09-22 Thread Chen-Yu Tsai
Hi, This series is a bunch of improvements for A83T boards, the Bananapi M3 and Cubietruck Plus in particular: - eMMC is enabled if it wasn't enabled already - EMAC is enabled for Ethernet support - MUSB switched to gadget mode EMAC is not fully tested. The MII and auto-negotiation part

[U-Boot] [PATCH 9/9] sunxi: Enable EMAC on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
The Bananapi M3 has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DCDC1 through SW @ 3.3V. This patch adds a U-boot specific dtsi file for the board adding an enabled EMAC node, and enables the EMAC driver in the defconfig. The binding used here is the old revision

[U-Boot] [PATCH 6/9] net: sun8i_emac: Support RX/TX delay chains

2017-09-22 Thread Chen-Yu Tsai
The EMAC syscon has configurable RX/TX delay chains for use with RGMII PHYs. This adds support for configuring them via device tree properties. The property names and format were defined in Linux's dwmac-sun8i binding that was merged at one point. Signed-off-by: Chen-Yu Tsai ---

[U-Boot] [PATCH 8/9] sunxi: Enable EMAC on the Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins are powered by DLDO3 @ 2.5V. This patch adds a U-boot specific dtsi file for the board adding an enabled EMAC node, and enables the EMAC driver in the defconfig. The

[U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Chen-Yu Tsai
Only the H3/H5 SoCs have an internal PHY and its related clock and reset controls. Use an #ifdef to guard the internal PHY control code block so it can be built for other SoCs, such as the A83T or A64. Signed-off-by: Chen-Yu Tsai --- drivers/net/sun8i_emac.c | 3 +++ 1 file

[U-Boot] [PATCH 1/1] ARMv8: get new GD address from gd->new_gd directly

2017-09-22 Thread zijun_hu
From: zijun_hu the new GD address is calculated via board data BD currently it require the new GD area locates below BD tightly, so a strict constraint is imposed on memory layout which maybe make special platform unpleasant. fix it by getting new GD address from gd->new_gd

[U-Boot] [PATCH] armv8: Apply workaround for USB erratum A-009007 to LS1088A

2017-09-22 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values. Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by: Ran Wang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 +

Re: [U-Boot] [PATCH 1/2] configs: colibri_imx6: don't configure video in spl

2017-09-22 Thread Stefano Babic
On 21/09/2017 18:58, Max Krummenacher wrote: > The functionality is not needed in the SPL. It allows to remove > code conditionally in the spl case in some drivers. > > Signed-off-by: Max Krummenacher > --- > > include/configs/colibri_imx6.h | 2 ++ > 1 file

Re: [U-Boot] [PATCH v2 3/3] dts: sunxi: add PWM node for sun50i

2017-09-22 Thread Andre Przywara
Hi Vasily, On 22/09/17 05:45, Vasily Khoruzhick wrote: > On Thu, Sep 21, 2017 at 12:27 AM, Maxime Ripard > wrote: >> On Thu, Sep 21, 2017 at 06:07:04AM +, Vasily Khoruzhick wrote: >>> Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on

Re: [U-Boot] [PATCH v2] imx: sys_proto: Add a prototype for board_mmc_get_env_dev()

2017-09-22 Thread Stefano Babic
Hi Diego, On 21/09/2017 20:10, Diego Dorta wrote: > When compiling with W=1 the following warning is observed: > > board/freescale/mx6sabresd/mx6sabresd.c:266:5: warning: > no previous prototype for ‘board_mmc_get_env_dev’ > [-Wmissing-prototypes] int board_mmc_get_env_dev(int devno) > > Remove

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread icenowy
在 2017-09-22 03:18,Maxime Ripard 写道: On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard 写到: >Hi, > >On Wed, Sep 20, 2017 at 04:18:19PM +, Icenowy Zheng wrote: >> The sunxi DE1 video option

[U-Boot] [PATCH 1/9] sunxi: rename Bananapi M3 dts file name

2017-09-22 Thread Chen-Yu Tsai
The upstream (Linux) device tree file for the Bananapi M3 follows the convention of using the well known brand name, instead of the vendor name, for naming. The file was recently added to upstream in commit 359b5a1e1c2d ("ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3") Rename the

[U-Boot] [PATCH 3/9] sunxi: Fix USB PHY control register offset for A83T

2017-09-22 Thread Chen-Yu Tsai
It was recently discovered that the USB PHY control register offset on the A83T is 0x410 like on the A33, not 0x404. Fix it. Fixes: 0c935acb9e5d ("sunxi: usb_phy: Add support for A83T USB PHYs") Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/usb_phy.c | 2 +- 1 file changed,

[U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
The Bananapi M3 has a micro-USB OTG port. It supports both host and gadget mode. Having the OTG port operate in gadget mode is more useful, as we can use it for fastboot or Ethernet over USB. The board has 2 other USB host ports that are supported. These can be used for connecting peripherals.

[U-Boot] [PATCH 5/9] sunxi: Switch MUSB to gadget mode on the Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
The Cubietruck Plus has a micro-USB OTG port. It supports both host and gadget mode. Having the OTG port operate in gadget mode is more useful, as we can use it for fastboot or Ethernet over USB. The board has 2 other USB host ports that are supported. These can be used for connecting

Re: [U-Boot] [PATCH v2 09/14] sunxi: imply USB_GADGET

2017-09-22 Thread Maxime Ripard
Hi, On Fri, Sep 22, 2017 at 03:20:33AM +, Chen-Yu Tsai wrote: > On Wed, Sep 13, 2017 at 3:01 AM, Maxime Ripard > wrote: > > A good number of our boards have USB_GADGET enabled. Imply it so that all > > the boards can benefit from it, and remove some

Re: [U-Boot] [PATCH 2/9] sunxi: Enable eMMC on Cubietruck Plus

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:28AM +, Chen-Yu Tsai wrote: > Set CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to enable the eMMC controller to > access eMMC on the board. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel

Re: [U-Boot] [PATCH 1/9] sunxi: rename Bananapi M3 dts file name

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:27AM +, Chen-Yu Tsai wrote: > The upstream (Linux) device tree file for the Bananapi M3 follows the > convention of using the well known brand name, instead of the vendor > name, for naming. The file was recently added to upstream in commit > 359b5a1e1c2d ("ARM:

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Martin Jansa
On Sat, Sep 23, 2017 at 12:19:27AM +0200, Marek Vasut wrote: > Agreed. So what is the conclusion here about this , are we updating to > 2017.09 or not ? It was already merged couple days ago: http://git.openembedded.org/openembedded-core/commit/?id=340d413f678a4a64dfa060e8fe0ac721b73fed97 and

Re: [U-Boot] [PATCH] ARM: dts: rmobile: Update DTS to match Linux 4.13

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 6:01 GMT+09:00 Marek Vasut : > Import the RCar Gen3 DTS and headers from upstream Linux kernel v4.13, > commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 . This includes both M3 > and H3 ULCB and Salvator-X boards. > > Signed-off-by: Marek Vasut

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-09-22 Thread York Sun
Tom, The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [PATCH v3 3/6] arm: provide a PCS-compliant setjmp implementation

2017-09-22 Thread Alexander Graf
On 21.09.17 10:19, Philipp Tomsich wrote: The previous setjmp-implementation (as a static inline function that contained an 'asm volatile' sequence) was extremely fragile: (some versions of) GCC optimised the set of registers. One critical example was the removal of 'r9' from the clobber

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-22 Thread Fabio Estevam
Hi Anatolij, On Wed, Sep 20, 2017 at 8:22 AM, Anatolij Gustschin wrote: > I think we can do it by > > diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h > index 3ba4c29..b0f317b 100644 > --- a/include/configs/wandboard.h > +++ b/include/configs/wandboard.h >

[U-Boot] [PATCH 6/6] colibri_imx6: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH 4/6] mx6cuboxi: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH 3/6] wandboard: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/wandboard/wandboard.c | 5

[U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH 1/6] mx6sabresd: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH 2/6] cgtqmx6eval: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam ---

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Marek Vasut
On 09/23/2017 01:36 AM, Martin Jansa wrote: > On Sat, Sep 23, 2017 at 12:19:27AM +0200, Marek Vasut wrote: >> Agreed. So what is the conclusion here about this , are we updating to >> 2017.09 or not ? > > It was already merged couple days ago: >

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Hi, I got also somme issue with my QSPI on CycmoneV and u-boot 2017.07 I cherry-picked commits from Jason Rush : b90ce1c29023abe730d2b4174294bdc09acef3e0 836a0278476be94c95ff084f81c2302fc5c0265c b0eac7e0d1e4817388543b58d30b322d0bac49a8 Also i forgot to put the "u-boot,dm-pre-reloc;" in my

[U-Boot] [PATCH] doc: Fix statements on case sensitivity for regulator prefix

2017-09-22 Thread Felix Brack
The regulator bindings state that regulator prefixes are allowd to be in upper or lower case. However pmic_bind_children from pmic_uclass uses strncmp to compare DT node name against prefix. This comparison is case sensitive hence the regulator driver prefix case matters. Signed-off-by: Felix

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 08:32, Влад Мао wrote: > Hello. I have a clearfog base board with PCI-E video card based on > SIlicon Motion s750 (InnoDisk EMPV-1201), and i have trouble with > u-boot and accessing to this card. > > I use last u-boot from git, and when i try to read memory from Base > address 0 of

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-22 Thread Bin Meng
Hi Simon, On Thu, Sep 21, 2017 at 12:58 PM, Simon Glass wrote: > Hi Bin, > > On 20 September 2017 at 08:41, Bin Meng wrote: >> >> Hi Simon, >> >> On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: >> > Hi Bin, >> > >> > On 17 September

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Sorry these are my local commits you can find them here : https://patchwork.ozlabs.org/patch/765992/ https://patchwork.ozlabs.org/patch/765996/ https://patchwork.ozlabs.org/patch/765997/ https://patchwork.ozlabs.org/patch/765998/ 2017-09-22 14:12 GMT+02:00 Clément Péron : >

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 14:13, Владислав wrote: I try to port sm750fb driver to uboot. I need to access bar0 because its framebuffer memory of video card. After little research i find out pciauto_region_allocate failed for allocation region for bar0: PCI Autoconfig: BAR 0, Mem, size=0x400, No

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: > 在 2017-09-22 03:18,Maxime Ripard 写道: > > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > > > 写到: > > > >Hi, > >

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

2017-09-22 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A

Re: [U-Boot] [PATCH] py: test_gpio: Add support for GPIO pytest

2017-09-22 Thread Michal Simek
On 21.9.2017 17:35, Stephen Warren wrote: > On 09/21/2017 06:24 AM, Michal Simek wrote: >> Hi Stephen, >> >> On 20.9.2017 19:05, Stephen Warren wrote: >>> On 09/20/2017 01:55 AM, Michal Simek wrote: From: Vipul Kumar This patch tests the gpio commands using

Re: [U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO

2017-09-22 Thread Jaehoon Chung
On 08/21/2017 12:11 AM, Marek Vasut wrote: > This patch prepares the driver to support controller(s) with registers > at locations shifted by constant. Pull out the readl()/writel() from > the driver into separate functions, where the adjustment of the register > offset can be easily contained.

Re: [U-Boot] [PATCH v2 07/26] mmc: Add a function to dump the mmc capabilities

2017-09-22 Thread Jaehoon Chung
Hi, On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote: > This adds a simple helper function to display information (bus width and > mode) based on a capability mask. Useful for debug. I agreed this is useful.. but there is no usage in your patch. How did you use this? and Where does call this

Re: [U-Boot] [U-Boot,v10,04/10] usb: phy: Add STi USB2 PHY

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:21AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This is the generic phy driver for the picoPHY ports > used by USB2/1.1 controllers. It is found on STiH407 SoC > family from STMicroelectronics. > > Signed-off-by:

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > With support for overlays and calling the -@ flag to dtc we need to have > at least 1.4.3 available now. > > Cc: Simon Glass > Reported-by: Stephen Warren > Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot, v2, 8/9] ARM: DTS: stm32: adapt stm32h7 dts files for U-boot

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:11PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adapts stm32h743 disco and eval dts files to match > with U-boot requirements or add features wich are not yet > upstreamed on kernel side : > > _ Add RCC

Re: [U-Boot] [U-Boot, v2] spl: Fix compiling warning on gunzip argument

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 08:21:13AM -0700, York Sun wrote: > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > from incompatible pointer type [-Wincompatible-pointer-types] >src, )) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH v2 26/26] dm: mmc: Add a library function to parse generic dt binding

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function to parse host controller dt node and > set mmc_config. This function can be used by mmc controller > drivers to set the generic mmc_config. > This function can be extended to

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-22 Thread ELSOFT AG
Hello Does the code below really work? On my custom MX6Q board, the code hangs on the read of the "PCIE_PL_PFLR". Please note that this code sequence is not entered the first time after a power up; I have to execute a U-Boot reset to actually trigger the hang. Any ideas what is going wrong?

Re: [U-Boot] Uboot send pull request

2017-09-22 Thread Tom Rini
On Thu, Sep 21, 2017 at 10:45:08AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit e884656c2c0b2406b9bf99ea76f5a8c75128a331: > > Merge git://www.denx.de/git/u-boot-imx

Re: [U-Boot] [U-Boot, 1/5] pci: xilinx: Fix doc comments on config space accessors

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:58PM +0300, Tuomas Tynkkynen wrote: > These take the 'struct udevice *' as an argument, not the > 'struct xilinx_pcie *` which is a local variable. Fix the comments to > match the code. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin

Re: [U-Boot] [U-Boot, 2/5] pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:59PM +0300, Tuomas Tynkkynen wrote: > This field has never been used as the driver has been DM-based since the > beginning. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v10, 03/10] mmc: sti_sdhci: Use reset framework

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:20AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v2, 6/9] ARM: DTS: stm32: add stm32h743i-disco files

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:09PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > All these files are imported from linux kernel v4.13 > > Add device tree support for STM32H743 SoC and discovery > board. This board offers : > _ STM32H743XIH6

Re: [U-Boot] [U-Boot, v10, 10/10] board: STiH410-B2260: add fastboot support

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:27AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add usb_gadget_handle_interrupts(), board_usb_init(), > board_usb_cleanup() and g_dnl_board_usb_cable_connected() > callbacks needed for FASTBOOT support > >

Re: [U-Boot] [U-Boot, v10, 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:25AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > On STi 96boards, configure by default the micro USB connector > (managed by DWC3 hardware block) in peripheral mode. > This will allow to use fastboot feature. > >

Re: [U-Boot] [U-Boot, 4/5] pci: layerscape: Remove unused field 'hose' from struct ls_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:01PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v10, 09/10] ARM: dts: STiH410: update ehci and ohci compatible

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:26AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Update ehci and ohci node's compatible string in order to > use ehci-generic and ohci-generic drivers. > > Signed-off-by: Patrice Chotard >

Re: [U-Boot] [U-Boot, v2, 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:04PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 04:42:24AM +, Vasily Khoruzhick wrote: > >> >>> + lcdc_init(lcdc); > >> >>> + sunxi_lcdc_config_pinmux(); > >> >> > >> >> This is already handled in sunxi_lcdc_tcon0_mode_set, why duplicate > >> >> it? > >> > > >> > Because the one that

[U-Boot] Ambiguous regulator node name prefixes

2017-09-22 Thread Felix Brack
Hello, I'm working on a DM and DT compatible driver for the TI TPS65910 PMIC. The regulators for this PMIC are defined in arch/arm/dts/tps65910.dtsi and named 'regulator@0' through 'regulator@13'. Using for example the prefix 'regulator@1' in pmic_child_info[] will match to 'regualtor@1' and

Re: [U-Boot] [PATCH v2 13/26] mmc: Enable signal voltage to be selected from mmc core

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function *mmc_set_signal_voltage* in mmc core > which can be used during mmc initialization to select the > signal voltage. Platform driver should use the set_ios > callback function to

Re: [U-Boot] [PATCH v2 23/26] mmc: Retry some MMC cmds on failure

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that > MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds > subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd a

Re: [U-Boot] [U-Boot, 5/5] pci: Remove unnecessary 'default n' from Kconfig

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:02PM +0300, Tuomas Tynkkynen wrote: > 'default n' is the default anyway so it doesn't need to be specified > explicitly, and the rest of the file doesn't specify it either anywhere. > Drop it. > > Signed-off-by: Tuomas Tynkkynen >

Re: [U-Boot] [U-Boot, 3/5] pci: tegra: Remove unused field 'hose' from struct tegra_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:00PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v10, 06/10] STiH410-B2260: enable USB, fastboot, reset, PHY related flags

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:23AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v10, 05/10] STiH410-B2260: enable USB Host Networking

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:22AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Enable USB Host Networking support by enabling Ethernet/USB > adaptors support and by enabling some BOOTP flags > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot,v2,2/9] serial: stm32x7: add STM32H7 support

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:05PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F7 and STM32H7 shares the same UART block, add > STM32H7 compatible string. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot,V2] test/py: gpt: make use of infra-structure

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 12:19:38PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Make various changes to the GPT test: > > 1) Reference the disk image using an absolute path in all cases. This > allows test/py to operate correctly if it's run from a directory

Re: [U-Boot] [U-Boot,v2,4/9] dm: reset: add stm32 reset driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:07PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver is adapted from linux drivers/reset/reset-stm32.c > It's compatible with STM32 F4/F7/H7 SoCs. > > This driver doesn't implement .of_match as it's binded > by

Re: [U-Boot] spl: stash bootstage info before jump to next stage

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:24:24PM +0800, Kever Yang wrote: > Since we may jump to next stage like ATF/OP-TEE instead of U-Boot, > we need to stash the bootstage info before it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v2] net/tftp: fix build if CMD_BOOTEFI is not set

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 10:16:48PM +0200, Jörg Krause wrote: > Fixes: > net/tftp.c:811: undefined reference to `efi_set_bootdev' > > Signed-off-by: Jörg Krause > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 11:20:10AM +, Chen-Yu Tsai wrote: > On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard > wrote: > > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > >> The Bananapi M3 has a micro-USB OTG port. It supports both host and > >>

Re: [U-Boot] [PATCH v2 24/26] mmc: use the right voltage level for MMC DDR and HS200 modes

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > HS200 only supports 1.2v and 1.8v signal voltages. DDR52 supports 3.3v/1.8v > or 1.2v signal voltages. > Select the lowest voltage available when using those modes. > > Signed-off-by: Jean-Jacques Hiblot > --- >

Re: [U-Boot] [PATCH v3 0/2] power: Add a driver to handle the PBIAS cell of the TI SOCs

2017-09-22 Thread Jaehoon Chung
On 09/22/2017 12:03 AM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. This bias voltage is either 1.8v or 3.0v. > > The first patch adds 2 functions to the DM

Re: [U-Boot] [U-Boot, v10, 02/10] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:19AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > reset-names property is needed to use the reset > API for STi sdhci driver. > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung

Re: [U-Boot] [U-Boot, v10, 01/10] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:18AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use struct udevice* as input parameter. Previous > parameters are retrieved through plat and priv data. > > This to prepare to use the reset framework. > >

Re: [U-Boot] [U-Boot,v2,5/9] dm: misc: add stm32 rcc driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:08PM +0200, patrice.chot...@st.com wrote: > From: Christophe Kerello > > This patch adds the support of reset and clock control > block (rcc) found on STM32 SoCs. > This driver is similar to a MFD linux driver. > > This driver supports

Re: [U-Boot] [U-Boot, v2] arm: am33xx: Make pin multiplexing functions optional

2017-09-22 Thread Tom Rini
On Thu, Sep 14, 2017 at 02:37:08PM +0200, Felix Brack wrote: > This patch provides default implementations of the two functions > set_uart_mux_conf and set_mux_conf_regs. Hence boards not using > them do not need to provide their distinct empty definitions. > > Signed-off-by: Felix Brack

Re: [U-Boot] [U-Boot, v10, 07/10] usb: dwc3: Add dwc3 glue driver support for STi

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:24AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It configures the internal glue > logic and syscfg registers. > > Part of this code been

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread icenowy
在 2017-09-22 19:57,Maxime Ripard 写道: On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: 在 2017-09-22 03:18,Maxime Ripard 写道: > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > >

Re: [U-Boot] [PATCH v2 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:51 PM, Jean-Jacques Hiblot wrote: > This series enables the ADMA present in some OMAP SOCs. > On a DRA7 the performances when reading from the eMMC go from 18MB/s > to 43MB/s. > Also while were at it, fix some incorrect bit operations > > This series applies on top of the series

Re: [U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
On Fri, Sep 22, 2017 at 09:02:09AM -0400, Tom Rini wrote: > We have limited stack in SPL builds. Drop itrblock and move to > malloc/free of itr to move this off of the stack. As part of this fix a > double-free issue in fat_size(). > > Signed-off-by: Tom Rini Applied to

Re: [U-Boot] Travis-CI: Checkout only v1.4.3 of dtc

2017-09-22 Thread Tom Rini
On Sun, Sep 17, 2017 at 09:42:25AM -0400, Tom Rini wrote: > Our minimum DTC version is 1.4.3, so check that out. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

  1   2   >