Re: [U-Boot] Test failures in u-boot/master on NVIDIA HW with recent push

2019-01-22 Thread Simon Goldschmidt
Hi Stephen, On Fri, Jan 18, 2019 at 7:29 AM Stephen Warren wrote: > > On 1/17/19 6:15 PM, Tom Rini wrote: > > On Thu, Jan 17, 2019 at 05:50:27PM -0700, Stephen Warren wrote: > >> On 1/17/19 5:42 PM, Tom Rini wrote: > >>> On Thu, Jan 17, 2019 at 05:34:57PM -0700, Stephen Warren wrote: > >>> >

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-22 Thread AKASHI Takahiro
Alex, Simon, Apologies for my slow response on this matter, On Fri, Jan 11, 2019 at 08:57:05AM +0100, Alexander Graf wrote: > > > On 11.01.19 05:29, AKASHI Takahiro wrote: > > Alex, Heinrich and Simon, > > > > Thank you for your comments, they are all valuable but also make me > > confused as

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2019-01-22 Thread Kever Yang
Heiko, On 01/06/2019 01:19 AM, Heiko Stuebner wrote: > Am Samstag, 5. Januar 2019, 18:17:34 CET schrieb Heiko Stuebner: >> Hi David, >> >> Am Mittwoch, 2. Januar 2019, 13:50:58 CET schrieb David Wu: >>> When the boot ROM sets up MMC we don't need to do it again. Remove the >>> MMC setup code enti

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-01-22 Thread Kever Yang
Lukasz, On 01/19/2019 07:34 AM, Lukasz Majewski wrote: > Hi David, > >> Hi Heiko, >> >> 在 2019/1/6 上午1:17, Heiko Stuebner 写道: diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c b/arch/arm/mach-rockchip/rk3188-board-spl.c index 3c6c3d3c09..a5e4d39cb7 100644 --- a/arch/arm/m

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-22 Thread Alexander Graf
On 22.01.19 09:29, AKASHI Takahiro wrote: > Alex, Simon, > > Apologies for my slow response on this matter, > > On Fri, Jan 11, 2019 at 08:57:05AM +0100, Alexander Graf wrote: >> >> >> On 11.01.19 05:29, AKASHI Takahiro wrote: >>> Alex, Heinrich and Simon, >>> >>> Thank you for your comments, t

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2019-01-22 Thread David Wu
Hi Lukasz, 在 2019/1/19 上午7:34, Lukasz Majewski 写道: Hi David, Hi Heiko, 在 2019/1/6 上午1:17, Heiko Stuebner 写道: diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c b/arch/arm/mach-rockchip/rk3188-board-spl.c index 3c6c3d3c09..a5e4d39cb7 100644 --- a/arch/arm/mach-rockchip/rk3188-board-spl.c

Re: [U-Boot] [PATCH v2 1/9] rockchip: rk3399-evb: defconfig: Enable FDT for new pinctrl driver

2019-01-22 Thread Kever Yang
On 01/02/2019 08:50 PM, David Wu wrote: > The FDT is requested for new pinctrl driver, disable SPL_OF_PLATDATA > to make FDT be built in. > > Signed-off-by: David Wu Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: None > > configs/evb-rk3399_defconfig | 1 - > 1 file changed

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2019-01-22 Thread Kever Yang
On 01/02/2019 08:50 PM, David Wu wrote: > When the boot ROM sets up MMC we don't need to do it again. Remove the > MMC setup code entirely, but we also need to enable uart for debug message. > > Signed-off-by: David Wu Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 3/9] ARM: rockchip: Kconfig: Remove the SPL_PINCTRL for rk3188

2019-01-22 Thread Kever Yang
On 01/02/2019 08:50 PM, David Wu wrote: > It seems that pinctrl is not requested for rk3188 SPL, remove it so > that can save more space for SPL image size. > > Signed-off-by: David Wu > Reviewed-by: Philipp Tomsich Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: None > > a

Re: [U-Boot] [PATCH v2 4/9] ARM: rockchip: Remove the pinctrl request at rk3288-board-spl

2019-01-22 Thread Kever Yang
On 01/02/2019 08:51 PM, David Wu wrote: > If we use the new pinctrl driver, the pinctrl setup will be done > by device probe. Remove the pinctrl setup at rk3288-board-spl. > > Signed-off-by: David Wu > Reviewed-by: Philipp Tomsich Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in

Re: [U-Boot] [PATCH v2 6/9] pinctrl: rockchip: Add common rockchip pinctrl driver

2019-01-22 Thread Kever Yang
On 01/02/2019 09:00 PM, David Wu wrote: > Use this driver to fit all Rockchip SOCs and to support > the desired pinctrl configuration via DTS. > > Signed-off-by: David Wu Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: > - Remove px30, rk2928, rk3066*. > - Split it to multipl

Re: [U-Boot] [PATCH v2 7/9] rockchip: defconfig: Clean the unused pinctrl config

2019-01-22 Thread Kever Yang
On 01/02/2019 09:01 PM, David Wu wrote: > If we used the pinctrl-rockchip driver, these config is not needed, > so remove them. > > Signed-off-by: David Wu Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: None > > configs/chromebit_mickey_defconfig | 2 -- > configs/chromebo

Re: [U-Boot] [PATCH v2 9/9] ARM: dts: rk322x: Correct the uart2 default pin configuration

2019-01-22 Thread Kever Yang
On 01/02/2019 09:02 PM, David Wu wrote: > To match the iomux setting of uart2 at SPL, correct the uart2 > default pin configuration, if not changed, the evb-rk3229 can't > output the log message. > > Signed-off-by: David Wu Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: None

Re: [U-Boot] [PATCH v5 1/7] cmd: add efidebug command

2019-01-22 Thread Alexander Graf
On 22.01.19 02:02, AKASHI Takahiro wrote: > Alex, > > On Mon, Jan 21, 2019 at 02:07:31PM +0100, Alexander Graf wrote: >> On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: >>> Currently, there is no easy way to add or modify UEFI variables. >>> In particular, bootmgr supports BootOrder/Boot vari

Re: [U-Boot] [PATCH v5 2/7] cmd: efidebug: add devices command

2019-01-22 Thread Alexander Graf
On 22.01.19 02:38, AKASHI Takahiro wrote: > Alex, > > On Mon, Jan 21, 2019 at 02:34:43PM +0100, Alexander Graf wrote: >> On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: >>> "devices" command prints all the uefi variables on the system. >>> >>> => efi devices >>> Scanning disk ahci_scsi.id0lun0...

Re: [U-Boot] [PATCH v3 2/2] efi_selftest: fix variables test for GetNextVariableName()

2019-01-22 Thread Alexander Graf
On 21.01.19 12:43, Heinrich Schuchardt wrote: > From: AKASHI Takahiro > > There is a bug in efi variables test. > Fix it with some cosmetic improvements. > > Please note that efi variables test still fails at QueryVariableInfo() > and GetVariable(), but this is not due to a change in this patc

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-22 Thread Andreas Schwab
On Jan 21 2019, Anup Patel wrote: > On Mon, Jan 21, 2019 at 10:40 PM Andreas Schwab wrote: >> >> On Jan 21 2019, Anup Patel wrote: >> >> > There is a fix required in BBL for real board. We have not send >> > this fix to riscv-pk. >> >> Where can I find the patch? > > The fix is to set following

Re: [U-Boot] [PATCH] core: ofnode: Add ofnode_pci_get_devfn()

2019-01-22 Thread Stefan Roese
Hi Simon, (added Bin, whom I forgot in this PCI patches) On 21.01.19 19:15, Simon Glass wrote: On Sat, 19 Jan 2019 at 00:46, Stefan Roese wrote: This function will be used by the Marvell Armada XP/38x PCIe driver, which is moved to DM right now. It's mostly copied from the Linux version. Si

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-01-22 Thread Lukasz Majewski
On Sun, 20 Jan 2019 23:38:32 +0100 Joris Offouga wrote: > Hi all, > > Pinctrl, GPIO, I2C, MMC, ETH are converted. > > Convert PMIC is the same of warp7 but i have a some erros, si this > log : U-Boot SPL 2019.01-00197-ga524e5d-dirty (Jan 20 2019 - 21:09:49 > +0100) Trying to boot from USB SDP

Re: [U-Boot] [PATCH v3 0/5] subject: efi_loader: add HII database protocol

2019-01-22 Thread Alexander Graf
On 21.01.19 04:12, AKASHI Takahiro wrote: > HII database protocol is the last missing (major?) piece of code so that > we can run unmodified EDKII's shell and UEFI SCT on EFI-enabled u-boot. > > The original code was initially written by Leif and Rob a year ago[1], > and now I'm reworking it. Th

Re: [U-Boot] [linux-sunxi] [PATCH 0/9] sunxi: enable DM_MMC

2019-01-22 Thread Lukasz Majewski
On Mon, 21 Jan 2019 00:54:52 + André Przywara wrote: > On 20/01/2019 19:51, Priit Laes wrote: > > Hi, > > > On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote: > >> This series enables the Allwinner MMC driver to drive all SoCs > >> with its DM_MMC variant. We use the gates cl

Re: [U-Boot] [PATCH] pci: Add PCI_SLOT macro to include/pci.h

2019-01-22 Thread Stefan Roese
Hi Simon, On 22.01.19 01:32, Simon Glass wrote: On Sat, 19 Jan 2019 at 00:46, Stefan Roese wrote: This macro will be used the by the Marvell Armada XP/38x PCIe driver, which is moved to DM right now. Signed-off-by: Stefan Roese Cc: Bin Meng Cc: Simon Glass --- include/pci.h | 1 + 1 fi

Re: [U-Boot] [PATCH] pci: Add PCI_SLOT macro to include/pci.h

2019-01-22 Thread Stefan Roese
Hi Bin, On 22.01.19 03:11, Bin Meng wrote: On Tue, Jan 22, 2019 at 8:32 AM Simon Glass wrote: Hi Stefan, On Sat, 19 Jan 2019 at 00:46, Stefan Roese wrote: This macro will be used the by the Marvell Armada XP/38x PCIe driver, which is moved to DM right now. Signed-off-by: Stefan Roese Cc

Re: [U-Boot] [PATCH 1/3 v2] pci: pci_mvebu: Add DM_PCI support and move CONFIG_PCI_MVEBU to defconfig

2019-01-22 Thread Stefan Roese
Hi Chris, On 22.01.19 08:35, Chris Packham wrote: Hi Stefan, On Sat, Jan 19, 2019 at 12:51 AM Stefan Roese wrote: This patch adds DM_PCI support to the MVEBU PCIe driver. This is necessary, since all PCI drivers have to be moved to DM (driver model) until the v2019.07 release. To not break g

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-01-22 Thread Lukasz Majewski
Hi Kever, > Lukasz, > > > On 01/19/2019 07:34 AM, Lukasz Majewski wrote: > > Hi David, > > > >> Hi Heiko, > >> > >> 在 2019/1/6 上午1:17, Heiko Stuebner 写道: > diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c > b/arch/arm/mach-rockchip/rk3188-board-spl.c index > 3c6c3d3c09..

[U-Boot] [PATCH] arm: zynq: Enable CONFIG_REMAKE_ELF

2019-01-22 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch enables CONFIG_REMAKE_ELF for Zynq platform so that it generates u-boot.elf from binary which works for all Zynq boards with OF_SEPARATE option enabled. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/zynq-

Re: [U-Boot] [PATCH v2 00/11] SiFive FU540 Support

2019-01-22 Thread Auer, Lukas
On Mon, 2019-01-21 at 04:04 +, Anup Patel wrote: > > -Original Message- > > From: Atish Patra [mailto:atish.pa...@wdc.com] > > Sent: Monday, January 21, 2019 7:07 AM > > To: Auer, Lukas ; s...@chromium.org; > > bmeng...@gmail.com; r...@andestech.com; Anup Patel > > ; joe.hershber...@ni.

Re: [U-Boot] [PATCH 1/1] zynq: Kconfig: extend the bootstrap malloc() pool

2019-01-22 Thread Michal Simek
Hi, On 20. 01. 19 12:29, Anton Gerasimov wrote: > Hi Michal, > >> I understand all of this but will be good to know what consumes that >> 0x5xx space and if we mark nodes properly that maybe something is not >> used and we should remove that marking. >> >> It means expected data is that uarts con

[U-Boot] [PATCH 1/2] arm64: zynqmp: Remove unused GEM addresses

2019-01-22 Thread Michal Simek
With DM in place there is no need to have GEM addresses in headers. None is using them. Signed-off-by: Michal Simek --- arch/arm/mach-zynqmp/include/mach/hardware.h | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/inclu

[U-Boot] [PATCH 2/2] ARM: zynq: Remove unused GEM addresses

2019-01-22 Thread Michal Simek
With DM in place there is no need to have GEM addresses in headers. None is using them. Signed-off-by: Michal Simek --- arch/arm/mach-zynq/include/mach/hardware.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-zynq/include/mach/hardware.h b/arch/arm/mach-zynq/include/mach/h

Re: [U-Boot] [PATCH v1 1/3] arm: dts: add am335x-shc.dts for shc board

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 06:27:37AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 21.01.2019 um 17:41 schrieb Tom Rini: > >On Mon, Jan 21, 2019 at 06:16:26AM +0100, Heiko Schocher wrote: > > > >>add DTS from linux tree commit > >>"47bfa6d9dc8c060bf56554a465c9031e286d2f80" > >> > >>change for U-B

Re: [U-Boot] [PATCH v2 00/11] SiFive FU540 Support

2019-01-22 Thread Anup Patel
> -Original Message- > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > Sent: Tuesday, January 22, 2019 5:21 PM > To: s...@chromium.org; bmeng...@gmail.com; r...@andestech.com; Anup > Patel ; joe.hershber...@ni.com; > yamada.masah...@socionext.com; Atish Patra > Cc: paul.walms

Re: [U-Boot] [PATCH 07/11] clk: Add fixed-factor clock driver

2019-01-22 Thread Anup Patel
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, January 21, 2019 7:49 PM > To: Anup Patel ; Rick Chen ; > Bin Meng ; Joe Hershberger > ; Lukas Auer ; > Masahiro Yamada ; Simon Glass > > Cc: Palmer Dabbelt ; Paul Walmsley > ; Atish Patra ; > Christoph He

Re: [U-Boot] [PATCH v2 03/11] riscv: generic: Ensure that U-Boot runs within 4GB for 64bit systems

2019-01-22 Thread Anup Patel
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, January 22, 2019 7:37 AM > To: Anup Patel > Cc: Rick Chen ; Joe Hershberger > ; Lukas Auer ; > Masahiro Yamada ; Simon Glass > ; Alexander Graf ; Palmer Dabbelt > ; Paul Walmsley ; Atish > Patra ; Christop

[U-Boot] [PATCH 2/3] ARM: zynq: Convert Syzygy and Topic Miami to DM_I2C

2019-01-22 Thread Michal Simek
Both boards have only controllers enabled that's why move to DM_I2C is easy. Add also i2c alias for Syzygy not to be shown as i2c bus -1 because alias doesn't exist. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-syzygy-hub.dts | 1 + configs/syzygy_hub_defconfig | 5 ++--- configs/top

[U-Boot] [PATCH 1/3] ARM: zynq: Disable i2c for Zybo/Zybo Z7

2019-01-22 Thread Michal Simek
There is no i2c connected in base DT that's why disable I2C commands. Also remove zynq_zybo which is not needed now. Signed-off-by: Michal Simek --- configs/zynq_zybo_defconfig| 6 -- configs/zynq_zybo_z7_defconfig | 4 include/configs/zynq_zybo.h| 18 -- 3 fi

[U-Boot] [PATCH 3/3] ARM: zynq: Convert dlc20 and zc70x board to DM_I2C

2019-01-22 Thread Michal Simek
All these board have also eeprom enabled that's why it is also enabled via defconfig. There is also no need to have zc70x specific config file that's why also remove it. Signed-off-by: Michal Simek --- configs/zynq_dlc20_rev1_0_defconfig | 9 ++--- configs/zynq_zc702_defconfig| 10

[U-Boot] [PATCH V2 2/6] watchdog: bcm6345: allow to use this driver on arm

2019-01-22 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm too. Signed-off-by: Philippe Reynes --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changelog: v2: - add a commit message (thanks Marek) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdo

[U-Boot] [PATCH V2 1/6] watchdog: bcm6345: switch to raw I/O functions

2019-01-22 Thread Philippe Reynes
This driver is used on several big endian mips board. So we could use raw I/O function instead of forcing big endian access. Signed-off-by: Philippe Reynes --- drivers/watchdog/bcm6345_wdt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Changelog: v2: - add a commit message (

[U-Boot] [PATCH V2 3/6] dt: bcm6838: add watchdog

2019-01-22 Thread Philippe Reynes
This commit add watchdog and sysreset watchdog in the bcm6838 device tree. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 17 + 1 file changed, 17 insertions(+) Changelog: v2: - add a commit message (thanks Marek) diff --git a/arch/mips/dts/brcm,bcm6838.dt

[U-Boot] [PATCH V2 4/6] dt: bcm6858: add watchdog

2019-01-22 Thread Philippe Reynes
This commit add watchdog and sysreset watchdog in the bcm6858 device tree. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm6858.dtsi | 17 + 1 file changed, 17 insertions(+) Changelog: v2: - add a commit message (thanks Marek) diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/ar

[U-Boot] [PATCH V2 5/6] bcm968380gerg: enable watchdog and reboot with watchdog

2019-01-22 Thread Philippe Reynes
Enable watchdog and reboot with watchdog in the configuration. Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) Changelog: v2: - add a commit message (thanks Marek) diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm9683

[U-Boot] [PATCH V2 6/6] bcm968580: enable watchdog and reboot with watchdog

2019-01-22 Thread Philippe Reynes
Enable watchdog and reboot with watchdog in the configuration. Signed-off-by: Philippe Reynes --- configs/bcm968580_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) Changelog: v2: - add a commit message (thanks Marek) diff --git a/configs/bcm968580_ram_defconfig b/configs/bcm968580_ram_de

Re: [U-Boot] [PATCH 2/3] ARM: zynq: Convert Syzygy and Topic Miami to DM_I2C

2019-01-22 Thread Michal Simek
On 22. 01. 19 14:51, Michal Simek wrote: > Both boards have only controllers enabled that's why move to DM_I2C is > easy. > Add also i2c alias for Syzygy not to be shown as i2c bus -1 because > alias doesn't exist. > > Signed-off-by: Michal Simek > --- > > arch/arm/dts/zynq-syzygy-hub.dts | 1

Re: [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support

2019-01-22 Thread Alexander Graf
On 05.01.19 18:52, Oskari Lemmela wrote: > Minimal changes to support sun6i based Allwinner SOCs > Changes are based to SPL driver arch/arm/mach-sunxi/spl_spi_sunxi.c > > Signed-off-by: Oskari Lemmela I just tried to see if this patch gives me "sf" access on a SoPine system. Unfortunately, it

[U-Boot] [PATCH 0/6] AM65x: Add DMA support

2019-01-22 Thread Vignesh R
This series adds DMA support for TI's AM654 SoC. The AM65x TRM (http://www.ti.com/lit/pdf/spruid7b) describes the Data Movement Architecture which is implmented by the k3-udma driver. This DMA architecture is a big departure from 'traditional' architecture where we had either EDMA or sDMA as syst

[U-Boot] [PATCH 1/6] firmware: ti_sci: Add support for NAVSS resource management

2019-01-22 Thread Vignesh R
From: Grygorii Strashko Texas Instruments' System Control Interface (TI-SCI) Message Protocol abstracts management of NAVSS resources, like PSI-L pairing and unpairing, UDMAP tx/rx/flow configuration and Rings. This patch adds support for requesting and configuring such resources from TI-SCI fir

[U-Boot] [PATCH 2/6] soc: ti: k3: add navss ringacc driver

2019-01-22 Thread Vignesh R
From: Grygorii Strashko The Ring Accelerator (RINGACC or RA) provides hardware acceleration to enable straightforward passing of work between a producer and a consumer. There is one RINGACC module per NAVSS on TI AM65x SoCs. The RINGACC converts constant-address read and write accesses to equiva

[U-Boot] [PATCH 5/6] arm64: dts: ti: k3-am65: add mcu navss nodes

2019-01-22 Thread Vignesh R
From: Grygorii Strashko Add DT node for MCU NAVSS its components to get DMA working on AM654 SoC. Signed-off-by: Grygorii Strashko --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 49 1 file changed, 49 insertions(+) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.

[U-Boot] [PATCH 3/6] soc: ti: k3: add CPPI5 description and helpers

2019-01-22 Thread Vignesh R
From: Grygorii Strashko Add TI Communications Port Programming Interface (CPPI) 5 interface description and helpers Signed-off-by: Grygorii Strashko Signed-off-by: Vignesh R --- include/linux/soc/ti/cppi5.h | 995 +++ 1 file changed, 995 insertions(+) create m

[U-Boot] [PATCH 4/6] dma: ti: add driver to K3 UDMA

2019-01-22 Thread Vignesh R
The UDMA-P is intended to perform similar (but significantly upgraded) functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P module supports the transmission and reception of various packet types. The UDMA-P also supports acting as both a UTC and UDMA-C for its internal chan

[U-Boot] [PATCH 6/6] configs: am65x_evm_a53: Enable DMA related configs

2019-01-22 Thread Vignesh R
From: Grygorii Strashko Enable TI K3 AM65x PSI-L, Ring Accelerator and UDMA drivers Signed-off-by: Grygorii Strashko --- configs/am65x_evm_a53_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig inde

[U-Boot] [PATCH] serial_arc: Allocate buffer for private data

2019-01-22 Thread Alexey Brodkin
Apparently we never allocated buffer for arc_serial_platdata which for some reason never caused problems when executed in nSIM. But in Qemu this causes expected problems. Signed-off-by: Alexey Brodkin --- drivers/serial/serial_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ser

[U-Boot] [PATCH v1 1/4] usb: ether: call _usb_eth_halt() if initialization fails

2019-01-22 Thread Jean-Jacques Hiblot
If the host does not respond in time, the initialization fails. However the usb ether driver will still be registered. This will make usb_gadget_probe_driver() fail the next time the initialization is attempted because it cannot find an available UDC. Fixing this by calling _usb_eth_halt() when th

[U-Boot] [PATCH v1 2/4] ARM: DTS: am335x-evm: Use USB0 in peripheral mode

2019-01-22 Thread Jean-Jacques Hiblot
This USB port is mainly used for RNDIS and DFU. To be able to use it with DM_USB and DM_USB_GADGET, we need to provide a dr_mode value in the DTS. Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/am335x-evm-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/am33

[U-Boot] [PATCH v1 3/4] configs: am335x_evm: enable DM_USB_GADGET and USB_ETHER in u-boot and SPL

2019-01-22 Thread Jean-Jacques Hiblot
The AM335x ROM boot is able to download the SPL from a RNDIS connection on USB0. To enable a full RNDIS boot flow (romboot -> SPL -> u-boot -> ..), we can use USB_ETHER in SPL and u-boot. However this increase the size of the SPL past its limit. So removing the unused SPL_EXT_SUPPORT. Signed-off-b

[U-Boot] [PATCH v1 0/4] Enable DM USB support (host and gadget) and full RNDIS boot flow

2019-01-22 Thread Jean-Jacques Hiblot
The AM335x is able to get its SPL using a RNDIS connection. The goal of this series is to make this feature available out of the box for the am335x-evm There is already a defconfig to handle this use case, but with DM USB it becomes easy to activate the feature in the main defconfig. So the last p

[U-Boot] [PATCH v1 4/4] configs: removing am335x_evm_usbspl_defconfig

2019-01-22 Thread Jean-Jacques Hiblot
This feature is now supported by the main config for am335x_evm: am335x_evm_defconfig Signed-off-by: Jean-Jacques Hiblot --- configs/am335x_evm_usbspl_defconfig | 55 - 1 file changed, 55 deletions(-) delete mode 100644 configs/am335x_evm_usbspl_defconfig diff --g

Re: [U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830*

2019-01-22 Thread York Sun
On 1/21/19 12:19 AM, Mario Six wrote: > Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. > > Signed-off-by: Mario Six > > --- I browse through the entire patch set. The patches look good. Since NXP doesn't make new mpc83xx SoCs and I have no board to verify, I don't comme

Re: [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support

2019-01-22 Thread Oskari Lemmelä
Hi, On 22.1.2019 16.54, Alexander Graf wrote: > > On 05.01.19 18:52, Oskari Lemmela wrote: >> Minimal changes to support sun6i based Allwinner SOCs >> Changes are based to SPL driver arch/arm/mach-sunxi/spl_spi_sunxi.c >> >> Signed-off-by: Oskari Lemmela > I just tried to see if this patch gives

Re: [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support

2019-01-22 Thread Alexander Graf
On 22.01.19 17:17, Oskari Lemmelä wrote: > Hi, > > On 22.1.2019 16.54, Alexander Graf wrote: >> >> On 05.01.19 18:52, Oskari Lemmela wrote: >>> Minimal changes to support sun6i based Allwinner SOCs >>> Changes are based to SPL driver arch/arm/mach-sunxi/spl_spi_sunxi.c >>> >>> Signed-off-by: Osk

Re: [U-Boot] [PATCH v5 26/26] board: sopine: Enable SPI/SPI-FLASH

2019-01-22 Thread Alexander Graf
On 31.12.18 17:59, Jagan Teki wrote: > Sopine has Winbond SPI flash, so enable the same to use > flash on Sopine board. > > Cc: TL Lim > Signed-off-by: Jagan Teki > --- > .../dts/sun50i-a64-sopine-baseboard-u-boot.dtsi | 16 > configs/sopine_baseboard_defconfig

[U-Boot] [PATCH] ARC: Fix iteration in arc_xx_version()

2019-01-22 Thread Alexey Brodkin
"i" gets incremented before we're entering loop body and effectively we iterate from 1 to 8 instead of 0 to 7. This way we: a) Skip the first line of struct hs_versions b) Go over it and access memory beyond the structure Signed-off-by: Alexey Brodkin --- arch/arc/lib/cpu.c | 4 ++-- 1 file c

[U-Boot] [PATCH] ARC: cache: define CONFIG_SYS_CACHELINE_SIZE as ARCH_DMA_MINALIGN

2019-01-22 Thread Alexey Brodkin
Even though we don't use CONFIG_SYS_CACHELINE_SIZE in ARC-specific code it is used a lot in different drivers for alignment purposes. So we define it and make much more drivers at least compilable for ARC. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/cache.h | 3 +++ 1 file changed, 3

Re: [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support

2019-01-22 Thread Alexander Graf
On 22.01.19 17:28, Alexander Graf wrote: > > > On 22.01.19 17:17, Oskari Lemmelä wrote: >> Hi, >> >> On 22.1.2019 16.54, Alexander Graf wrote: >>> >>> On 05.01.19 18:52, Oskari Lemmela wrote: Minimal changes to support sun6i based Allwinner SOCs Changes are based to SPL driver arch/ar

Re: [U-Boot] [PATCH v5 26/26] board: sopine: Enable SPI/SPI-FLASH

2019-01-22 Thread Andre Przywara
On Tue, 22 Jan 2019 17:32:27 +0100 Alexander Graf wrote: > On 31.12.18 17:59, Jagan Teki wrote: > > Sopine has Winbond SPI flash, so enable the same to use > > flash on Sopine board. > > > > Cc: TL Lim > > Signed-off-by: Jagan Teki > > --- > > .../dts/sun50i-a64-sopine-baseboard-u-boot.dtsi

Re: [U-Boot] [PATCH v5 26/26] board: sopine: Enable SPI/SPI-FLASH

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 04:40:19PM +, Andre Przywara wrote: > On Tue, 22 Jan 2019 17:32:27 +0100 > Alexander Graf wrote: > > > On 31.12.18 17:59, Jagan Teki wrote: > > > Sopine has Winbond SPI flash, so enable the same to use > > > flash on Sopine board. > > > > > > Cc: TL Lim > > > Signed-

[U-Boot] u-boot-dm failures in "ut dm bootcount"

2019-01-22 Thread Stephen Warren
Simon, In the latest u-boot-dm.git, sandbox fails as follows: => ut dm bootcount Test: dm_test_bootcount: bootcount.c /var/lib/jenkins/workspace/u-boot-denx_uboot_dm-master-build/src/u-boot/test/dm/bootcount.c:18, dm_test_bootcount(): 0 == uclass_get_device(UCLASS_BOOTCOUNT, 0, &dev): Expected

Re: [U-Boot] [PATCH v1 3/4] configs: am335x_evm: enable DM_USB_GADGET and USB_ETHER in u-boot and SPL

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 04:48:18PM +0100, Jean-Jacques Hiblot wrote: > The AM335x ROM boot is able to download the SPL from a RNDIS connection > on USB0. To enable a full RNDIS boot flow (romboot -> SPL -> u-boot -> ..), > we can use USB_ETHER in SPL and u-boot. > However this increase the size of

Re: [U-Boot] [PATCH v1 2/4] ARM: DTS: am335x-evm: Use USB0 in peripheral mode

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 04:48:17PM +0100, Jean-Jacques Hiblot wrote: > This USB port is mainly used for RNDIS and DFU. To be able to use it with > DM_USB and DM_USB_GADGET, we need to provide a dr_mode value in the DTS. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom si

Re: [U-Boot] [PATCH v1 4/4] configs: removing am335x_evm_usbspl_defconfig

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 04:48:19PM +0100, Jean-Jacques Hiblot wrote: > This feature is now supported by the main config for am335x_evm: > am335x_evm_defconfig > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH] net: remove duplicate definition of ETHADDR_WILDCARD

2019-01-22 Thread Joe Hershberger
On Tue, Jan 22, 2019 at 1:26 AM Simon Goldschmidt wrote: > > Hi Joe, > > On Tue, Jan 15, 2019 at 10:00 AM Joe Hershberger > wrote: > > > > On Thu, Nov 22, 2018 at 9:58 AM Simon Goldschmidt > > wrote: > > > > > > ETHADDR_WILDCARD is defined as the same value in both env_flags.h > > > and env_cal

Re: [U-Boot] [PATCH 2/6] soc: ti: k3: add navss ringacc driver

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:55PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. >

Re: [U-Boot] [PATCH 1/6] firmware: ti_sci: Add support for NAVSS resource management

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:54PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Texas Instruments' System Control Interface (TI-SCI) Message Protocol > abstracts management of NAVSS resources, like PSI-L pairing and > unpairing, UDMAP tx/rx/flow configuration and Rings. > > This patch

Re: [U-Boot] u-boot-dm failures in "ut dm bootcount"

2019-01-22 Thread Simon Glass
Hi Philipp, On Wed, 23 Jan 2019 at 05:51, Stephen Warren wrote: > > Simon, > > In the latest u-boot-dm.git, sandbox fails as follows: > > => ut dm bootcount > Test: dm_test_bootcount: bootcount.c > /var/lib/jenkins/workspace/u-boot-denx_uboot_dm-master-build/src/u-boot/test/dm/bootcount.c:18, > d

Re: [U-Boot] [PATCH 5/6] arm64: dts: ti: k3-am65: add mcu navss nodes

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:58PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add DT node for MCU NAVSS its components to get DMA working on AM654 > SoC. > > Signed-off-by: Grygorii Strashko Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 3/6] soc: ti: k3: add CPPI5 description and helpers

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:56PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add TI Communications Port Programming Interface (CPPI) 5 > interface description and helpers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.a

Re: [U-Boot] [PATCH 6/6] configs: am65x_evm_a53: Enable DMA related configs

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:59PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Enable TI K3 AM65x PSI-L, Ring Accelerator and UDMA drivers > > Signed-off-by: Grygorii Strashko Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 4/6] dma: ti: add driver to K3 UDMA

2019-01-22 Thread Tom Rini
On Tue, Jan 22, 2019 at 08:33:57PM +0530, Vignesh R wrote: > The UDMA-P is intended to perform similar (but significantly upgraded) > functions > as the packet-oriented DMA used on previous SoC devices. The UDMA-P module > supports the transmission and reception of various packet types. > The UDM

Re: [U-Boot] [PATCH] net: remove duplicate definition of ETHADDR_WILDCARD

2019-01-22 Thread Simon Goldschmidt
Am 22.01.2019 um 18:31 schrieb Joe Hershberger: On Tue, Jan 22, 2019 at 1:26 AM Simon Goldschmidt wrote: Hi Joe, On Tue, Jan 15, 2019 at 10:00 AM Joe Hershberger wrote: On Thu, Nov 22, 2018 at 9:58 AM Simon Goldschmidt wrote: ETHADDR_WILDCARD is defined as the same value in both env_fla

[U-Boot] [PATCH 1/1] efi_loader: fix GetNextVariableName

2019-01-22 Thread Heinrich Schuchardt
Our current implementation of GetNextVariableName() first collects all EFI variables. If none is found at all hexport_r() returns a zero length string terminated by \0 and the value 1 as number of bytes in the returned buffer. In this case GetNextVariableName() has to return EFI_NOT_FOUND. Signed

Re: [U-Boot] [PATCH v3 2/2] efi_selftest: fix variables test for GetNextVariableName()

2019-01-22 Thread Heinrich Schuchardt
On 1/22/19 10:24 AM, Alexander Graf wrote: > > > On 21.01.19 12:43, Heinrich Schuchardt wrote: >> From: AKASHI Takahiro >> >> There is a bug in efi variables test. >> Fix it with some cosmetic improvements. >> >> Please note that efi variables test still fails at QueryVariableInfo() >> and GetVa

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-22 Thread Simon Glass
Hi Alex, On Tue, 22 Jan 2019 at 22:08, Alexander Graf wrote: > > > > On 22.01.19 09:29, AKASHI Takahiro wrote: > > Alex, Simon, > > > > Apologies for my slow response on this matter, > > > > On Fri, Jan 11, 2019 at 08:57:05AM +0100, Alexander Graf wrote: > >> > >> > >> On 11.01.19 05:29, AKASHI T

[U-Boot] [PATCH 1/1] efi_loader: GetNextVariableName() relies on REGEX

2019-01-22 Thread Heinrich Schuchardt
Our implementation of GetNextVariableName() relies on CONFIG_REGEX=y. So EFI_LOADER has to select it. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index b921ea8821..f5de005ff8 100

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-22 Thread Heinrich Schuchardt
On 1/22/19 8:39 PM, Simon Glass wrote: > Hi Alex, > > On Tue, 22 Jan 2019 at 22:08, Alexander Graf wrote: >> >> >> >> On 22.01.19 09:29, AKASHI Takahiro wrote: >>> Alex, Simon, >>> >>> Apologies for my slow response on this matter, >>> >>> On Fri, Jan 11, 2019 at 08:57:05AM +0100, Alexander Graf

Re: [U-Boot] [PATCH v3 0/5] subject: efi_loader: add HII database protocol

2019-01-22 Thread Heinrich Schuchardt
On 1/22/19 10:48 AM, Alexander Graf wrote: > > > On 21.01.19 04:12, AKASHI Takahiro wrote: >> HII database protocol is the last missing (major?) piece of code so that >> we can run unmodified EDKII's shell and UEFI SCT on EFI-enabled u-boot. >> >> The original code was initially written by Leif a

Re: [U-Boot] [PATCH] net: explicitly assign errno to return code in case of network failure

2019-01-22 Thread Joe Hershberger
On Wed, Nov 21, 2018 at 8:57 AM Thomas RIENOESSL wrote: > > When dealing with two ethernet ports and having "netretry" set > to "once", it could occur that the connection (e.g. an ARP > request) failed, hence the status of the netloop was > "NETLOOP_FAIL". Due to the setting of "netretry", the net

Re: [U-Boot] [PATCH 1/2] net: mvpp2: fix lookup of mdio registers base address

2019-01-22 Thread Joe Hershberger
On Wed, Nov 21, 2018 at 5:08 AM Baruch Siach wrote: > > Current mdio base lookup code relies on a 'reg' property at the upper CP > node. There is no 'reg' property there in current DT files of Armada > CP110. Use ofnode_get_addr() instead since it provides proper DT address > translation. > > Cc:

Re: [U-Boot] [PATCH v2] Aquantia: Print information about system interface and firmware version

2019-01-22 Thread Joe Hershberger
On Tue, Nov 6, 2018 at 6:17 AM Valentin-catalin Neacsu wrote: > > Print information about Aquantia firmware loaded on the phy. > > Signed-off-by: Valentin Catalin Neacsu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://li

Re: [U-Boot] [PATCH 1/2] AQUANTIA USXGMII autoneg enable

2019-01-22 Thread Joe Hershberger
On Tue, Oct 30, 2018 at 5:44 AM Valentin-catalin Neacsu wrote: > > If System interface protocol is USXGMII then enable USXGMII autoneg > Signed-off-by: Valentin Catalin Neacsu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 2/2] net: mvpp2: mdio device per port

2019-01-22 Thread Joe Hershberger
On Wed, Nov 21, 2018 at 5:09 AM Baruch Siach wrote: > > Current code forces all ports on a given Ethernet device to use the same > mdio device. In practice different ports might be wired to separate mdio > devices. Move the mdio device from the container struct mvpp2 to the per > port struct mvpp2

Re: [U-Boot] [PATCH] net: phy: micrel: fix KSZ9031 clock skew for values greater 0ps

2019-01-22 Thread Joe Hershberger
On Thu, Nov 29, 2018 at 1:05 PM Andreas Pretzsch wrote: > > For KSZ9021, all skew register fields are 4-bit wide. > For KSZ9031, the clock skew register fields are 5-bit wide. > > The common code in ksz90x1_of_config_group calculating the combined > register value checks if the requested value is

Re: [U-Boot] [PATCH v2] net: macb: fix mapping of registers

2019-01-22 Thread Joe Hershberger
On Thu, Dec 27, 2018 at 11:59 AM Ramon Fried wrote: > > Some architectures (MIPS) needs mapping to access IOMEM. > Fix that. > > Fixes: f1dcc19b213d ("net: macb: Convert to driver model") > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger ___ U-

Re: [U-Boot] [PATCH 1/1] net: mvneta: Add GPIO configuration support

2019-01-22 Thread Joe Hershberger
On Tue, Dec 4, 2018 at 10:39 AM Aditya Prayoga wrote: > > This patch add GPIO configuration support in mvneta driver. > Driver will handle PHY reset. GPIO pins should be set in device tree. > > Ported from mvpp2x > [https://patchwork.ozlabs.org/patch/799654/] > > Initial discussion to port the cha

Re: [U-Boot] [PATCH] net: mvgbe: fallback phy-mode to GMII

2019-01-22 Thread Joe Hershberger
On Tue, Dec 4, 2018 at 12:55 AM Chris Packham wrote: > > Some existing device trees don't specify a phy-mode so fallback to GMII > when a phy-mode is not provided. > > Signed-off-by: Chris Packham Acked-by: Joe Hershberger ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 1/2] net: phy: promote phy_{read, write}_mmd_indirect from ti.c to generic code

2019-01-22 Thread Joe Hershberger
On Tue, Dec 18, 2018 at 7:22 PM Vladimir Oltean wrote: > > * These are convenience functions for accessing PHY MMD registers > through clause 22 (indirectly through registers 0xD and 0xE), > and are exported in the Linux phylib as well. > > Signed-off-by: Vladimir Oltean Acked-by: Joe Hershb

[U-Boot] [PATCH 1/3] PowerPC: Stop re-using CONFIG_SPL_TEXT_BASE for TPL

2019-01-22 Thread Tom Rini
Rather than checking for CONFIG_TPL_BUILD and then re-defining CONFIG_SPL_TEXT_BASE make use of CONFIG_TPL_TEXT_BASE directly. Cc: York Sun Cc: Po Liu Cc: Qiang Zhao Cc: Timur Tabi Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 4 include/configs/C29XPCIE.h

[U-Boot] [PATCH 2/3] rockchip: Add TPL_MAX_SIZE for RK3288

2019-01-22 Thread Tom Rini
Per Kever Yang, 32768 is a reasonable max size for TPL on RK3288. Cc: Kever Yang Cc: Philipp Tomsich Signed-off-by: Tom Rini --- arch/arm/mach-rockchip/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 6dc8e3a01

[U-Boot] [PATCH 3/3] linker: Modify linker scripts to be more generic

2019-01-22 Thread Tom Rini
Make use of "IMAGE_MAX_SIZE" and "IMAGE_TEXT_BASE" rather than CONFIG_SPL_MAX_SIZE and CONFIG_SPL_TEXT_BASE. This lets us re-use the same script for both SPL and TPL. Add logic to scripts/Makefile.spl to pass in the right value when preprocessing the script. Cc: Stefano Babic Cc: Fabio Estevam

Re: [U-Boot] [PATCH 2/2] net: phy: at803x: Address packet drops at low traffic rate due to SmartEEE feature

2019-01-22 Thread Joe Hershberger
On Tue, Dec 18, 2018 at 7:22 PM Vladimir Oltean wrote: > > * According to the AR8031 and AR8035 datasheets, smartEEE mode > (active by default) makes the PHY enter sleep after a configurable > idle time. It does this autonomously, without LPI (Low Power Idle) > signals coming from MAC. AR802

  1   2   >