Re: [U-Boot] [PATCH 2/2] arm: k3: Use get_ti_sci_handle() where ever possible

2019-09-14 Thread Tom Rini
On Mon, Sep 09, 2019 at 12:47:38PM +0530, Lokesh Vutla wrote: > Instead of calling uclass apis everywhere, use get_ti_sci_handle() > when ever ti_sci is needed. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/2] arm: k3: Fix getting ti_sci handle

2019-09-14 Thread Tom Rini
On Mon, Sep 09, 2019 at 12:47:37PM +0530, Lokesh Vutla wrote: > API get_ti_sci_handle() is relying on the device-tree node name > to be "dmsc" for probing the ti_sci device. But with the introduction > of debug messages for dmsc, the node name changed to dmsc@44083000. > Because of this ti_sci is

Re: [U-Boot] [PATCH V2 4/4] ARM: omapl138_lcdk: Enable Pinctrl

2019-09-14 Thread Tom Rini
On Mon, Sep 02, 2019 at 06:52:04AM -0500, Adam Ford wrote: > The single pinctrl supports the da8xx, so this patch enables > pinctrl in U-Boot. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH V2 3/4] ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands

2019-09-14 Thread Tom Rini
On Mon, Sep 02, 2019 at 06:52:03AM -0500, Adam Ford wrote: > The da8xx GPIO driver is available with DM_GPIO support. This > patch enables the CMD_GPIO, CMD_DM, and DM_GPIO and DA8XX_GPIO. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH V2 1/4] ARM: omapl138_lcdk: Remove dead code

2019-09-14 Thread Tom Rini
On Mon, Sep 02, 2019 at 06:52:01AM -0500, Adam Ford wrote: > The header it littered with #ifdefs and #defines and that appear > to be legacy associations to the older da850-evm and in some cases > obsolete with either Kconfig or DM migrations. This patch removes > these legacy references. > >

Re: [U-Boot] [PATCH 2/2] arm: am437x: cm-t43: Enable DM for MMC, USB, SPI, SPI_FLASH, enable BLK

2019-09-14 Thread Tom Rini
On Sat, Aug 31, 2019 at 01:36:13AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Enable driver model for USB, MMC, SPI and SPI_FLASH. Also enable BLK. > This will remove the following compile warnings: > > = WARNING == > This board does

Re: [U-Boot] [PATCH V2 2/4] ARM: omapl138_lcdk: Disable SPL_DM_USB

2019-09-14 Thread Tom Rini
On Mon, Sep 02, 2019 at 06:52:02AM -0500, Adam Ford wrote: > The USB was just recently enabled, so it is unlikely anyone is > using it in SPL, so this patch removes it from SPL to further > reduce the SPL code size. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH] soc: ti: k3-navss-ringacc: fix k3_nav_ringacc_ring_reset_dma

2019-09-14 Thread Tom Rini
On Fri, Aug 30, 2019 at 11:02:24AM +0530, Vignesh Raghavendra wrote: > In case dma_ring_reset_quirk is not set the k3_ringacc_ring_reset_dma will > just exit without ring reset. Fix it, by adding ring reset call in case > dma_ring_reset_quirk is not. > > Signed-off-by: Grygorii Strashko >

Re: [U-Boot] [PATCH 1/2] arm: am437x: cm-t43: Add device tree, enable OF_CONTROL

2019-09-14 Thread Tom Rini
On Sat, Aug 31, 2019 at 01:34:59AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Add device tree from Linux for driver model conversion > and enable OF_CONTROL. This will remove the following compile > warning: > == > Device Tree

Re: [U-Boot] [PATCH] ARM: dts: dra74x: Fix iodelay configuration for mmc3

2019-09-14 Thread Tom Rini
On Tue, Aug 27, 2019 at 01:41:23PM +0530, Faiz Abbas wrote: > According to the latest am572x[1] and dra74x[2] data manuals, mmc3 > default, hs, sdr12 and sdr25 modes use iodelay values given in > MMC3_MANUAL1. Set the MODE_SELECT bit for these so that manual mode is > selected and correct iodelay

Re: [U-Boot] [PATCH 2/2] configs: am65x_hs_evm: Use FIT images when booting HS devices

2019-09-14 Thread Tom Rini
On Mon, Aug 26, 2019 at 05:51:01PM -0400, Andrew F. Davis wrote: > HS devices use the FIT post processing step to authenticate boot images. > Set the configured boot command to load FIT by default. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 1/2] configs: ti: Add environment support commands for FIT loading

2019-09-14 Thread Tom Rini
On Mon, Aug 26, 2019 at 05:51:00PM -0400, Andrew F. Davis wrote: > Some parts of these commands can be reused, add them to common files. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH 3/4] sh: r2dplus: Fix missing PCI range

2019-09-14 Thread Marek Vasut
Add missing PCI range for translating DRAM to bus addresses. This fixes e.g. PCI NIC interface and allows network to work in QEMU. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- NOTE: Use qemu e.g. this way: qemu-system-sh4 -machine r2d -nographic \ -serial null

[U-Boot] [PATCH 4/4] sh: r2dplus: Enable DHCP command

2019-09-14 Thread Marek Vasut
Enable the "dhcp" command as a minor convenience. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r2dplus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig index b2334affc3..e10ac939c5 100644 ---

[U-Boot] [PATCH 2/4] sh: Fix SH4 build with GCC versions without -m4-nofpu

2019-09-14 Thread Marek Vasut
Pass -m4 instead of -m4-nofpu to GCC versions which do not support the -m4-nofpu option. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/sh/cpu/sh4/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/cpu/sh4/config.mk b/arch/sh/cpu/sh4/config.mk

[U-Boot] [PATCH 1/4] sh: Fix incorrect linking with new binutils

2019-09-14 Thread Marek Vasut
Since binutils 2.30 , the resulting U-Boot binary was incorrectly linked against address 0 instead of text base, fix it. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/sh/cpu/u-boot.lds | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/cpu/u-boot.lds

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-14 Thread Simon Goldschmidt
Joe Hershberger schrieb am Sa., 14. Sep. 2019, 20:46: > On Sat, Sep 14, 2019 at 1:32 PM Tom Rini wrote: > > > > On Sat, Sep 14, 2019 at 04:05:44PM +0200, Ondřej Jirman wrote: > > > Hi, > > > > > > On Fri, Sep 13, 2019 at 07:40:22PM -0500, Joe Hershberger wrote: > > > > Part of the env cleanup

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-14 Thread Joe Hershberger
On Sat, Sep 14, 2019 at 1:32 PM Tom Rini wrote: > > On Sat, Sep 14, 2019 at 04:05:44PM +0200, Ondřej Jirman wrote: > > Hi, > > > > On Fri, Sep 13, 2019 at 07:40:22PM -0500, Joe Hershberger wrote: > > > Part of the env cleanup moved this out of the environment code and into > > > the net code.

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-14 Thread Tom Rini
On Sat, Sep 14, 2019 at 04:05:44PM +0200, Ondřej Jirman wrote: > Hi, > > On Fri, Sep 13, 2019 at 07:40:22PM -0500, Joe Hershberger wrote: > > Part of the env cleanup moved this out of the environment code and into > > the net code. However, this helper is sometimes needed even when the net > >

[U-Boot] ARMv7-a NEON optimizations

2019-09-14 Thread Adam Ford
I was Googling ARM Neon optimizations, and I came across a pay-article written by someone who was talking about optimizing ECC using NEON. I didn't want to buy the article, nor would I understand it, but I was thinking about running some tests on whether or not NEON could be enabled in U-Boot.

[U-Boot] U-boot Tegra 3

2019-09-14 Thread Saint Alt
Hi, can you help me to solve problem with u-boot. I have tegra30 board like (180-61852-1606-c00) it’s looks like cardhu one. But when I build(cardhu board) u-boot and run it, I have error when I want to select emmc card. Error: Card did not respond to voltage select! , mmc_init: -95,

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-14 Thread Ondřej Jirman
Hi, On Fri, Sep 13, 2019 at 07:40:22PM -0500, Joe Hershberger wrote: > Part of the env cleanup moved this out of the environment code and into > the net code. However, this helper is sometimes needed even when the net > stack isn't included. > > Move the helper to lib/net_utils.c like it's

Re: [U-Boot] [PATCH 1/2] dm: device: Request next sequence number

2019-09-14 Thread Thomas Fitzsimmons
Hi Bin, Bin Meng writes: [...] > On Fri, Sep 6, 2019 at 7:52 PM Thomas Fitzsimmons wrote: >> >> For CONFIG_OF_PRIOR_STAGE, in the absence of a device tree alias for a >> given device, use the next request number for that type of device. >> This allows aliases to be used when they're

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-14 Thread Michael Nazzareno Trimarchi
Hi Jagan On Sat, Sep 14, 2019 at 2:17 PM Michael Trimarchi wrote: > > On Fri, Sep 13, 2019 at 08:11:17AM +0530, Jagan Teki wrote: > > On Thu, Sep 12, 2019 at 8:25 PM Tom Rini wrote: > > > > > > On Thu, Sep 12, 2019 at 08:55:24AM +0530, Jagan Teki wrote: > > > > > > > I have seen this even on

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-14 Thread Heinrich Schuchardt
On 9/14/19 2:40 AM, Joe Hershberger wrote: Part of the env cleanup moved this out of the environment code and into the net code. However, this helper is sometimes needed even when the net stack isn't included. Move the helper to lib/net_utils.c like it's similarly-purposed string_to_ip(). Also

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

2019-09-14 Thread Marek Vasut
The following changes since commit 001c8ea94ae710d8340829237a7d788b25ce2ae7: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2019-09-10 08:52:00 -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] imx: fix pico-dwarf-imx6ul and pico-dwarf-imx7d build issues

2019-09-14 Thread Stefano Babic
Hi Fabio, Anatolji, thanks both. On 14/09/19 14:18, Fabio Estevam wrote: > Hi Anatolij, > > On Sat, Sep 14, 2019 at 8:43 AM Anatolij Gustschin wrote: >> >> Fixes: >> board/technexion/pico-imx6ul/spl.c: In function 'board_mmc_init': >> error: implicit declaration of function

Re: [U-Boot] [PATCH] imx: fix pico-dwarf-imx6ul and pico-dwarf-imx7d build issues

2019-09-14 Thread Anatolij Gustschin
Hi Fabio, Stefano, On Sat, 14 Sep 2019 09:18:22 -0300 Fabio Estevam feste...@gmail.com wrote: ... > > configs/pico-dwarf-imx6ul_defconfig | 2 +- > > configs/pico-dwarf-imx7d_defconfig | 2 +- > > It seems that configs/pico-nymph-imx7d_defconfig conversion is missing. Yes, somehow I forgot

Re: [U-Boot] [PATCH] imx: fix pico-dwarf-imx6ul and pico-dwarf-imx7d build issues

2019-09-14 Thread Fabio Estevam
Hi Anatolij, On Sat, Sep 14, 2019 at 8:43 AM Anatolij Gustschin wrote: > > Fixes: > board/technexion/pico-imx6ul/spl.c: In function 'board_mmc_init': > error: implicit declaration of function 'fsl_esdhc_initialize' > > and a simmilar error when building pico-dwarf-imx7d. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/5] pico-imx6ul: Add DWARF baseboard support

2019-09-14 Thread Stefano Babic
On 14/09/19 14:16, Otavio Salvador wrote: > On Sat, Sep 14, 2019 at 8:22 AM Stefano Babic wrote: > ... >> Otavio, I am also fine if you send a follow-up patch to fix it - your >> decision. > > Anatolij sent a fix already. I acked it and copied you. > Yes, thanks - I apply it directly on top

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-14 Thread Michael Trimarchi
On Fri, Sep 13, 2019 at 08:11:17AM +0530, Jagan Teki wrote: > On Thu, Sep 12, 2019 at 8:25 PM Tom Rini wrote: > > > > On Thu, Sep 12, 2019 at 08:55:24AM +0530, Jagan Teki wrote: > > > > > I have seen this even on v2019.07 release, and the only release that > > > it got working with on v2019.01

Re: [U-Boot] [PATCH 1/5] pico-imx6ul: Add DWARF baseboard support

2019-09-14 Thread Otavio Salvador
On Sat, Sep 14, 2019 at 8:22 AM Stefano Babic wrote: ... > Otavio, I am also fine if you send a follow-up patch to fix it - your > decision. Anatolij sent a fix already. I acked it and copied you. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br

[U-Boot] [PATCH] pico: Convert to CONFIG_FSL_USDHC

2019-09-14 Thread Fabio Estevam
The eSDHC config symbol has been converted to CONFIG_FSL_USDHC, so adjust it accordingly in order to fix the build errors: https://travis-ci.org/sbabic/u-boot-imx/jobs/584781580#L1287 Reported-by: Anatolij Gustschin Signed-off-by: Fabio Estevam --- configs/pico-dwarf-imx6ul_defconfig | 2 +-

Re: [U-Boot] [PATCH] imx: fix pico-dwarf-imx6ul and pico-dwarf-imx7d build issues

2019-09-14 Thread Otavio Salvador
On Sat, Sep 14, 2019 at 8:43 AM Anatolij Gustschin wrote: > > Fixes: > board/technexion/pico-imx6ul/spl.c: In function 'board_mmc_init': > error: implicit declaration of function 'fsl_esdhc_initialize' > > and a simmilar error when building pico-dwarf-imx7d. > > Signed-off-by: Anatolij

[U-Boot] [PATCH] imx: fix pico-dwarf-imx6ul and pico-dwarf-imx7d build issues

2019-09-14 Thread Anatolij Gustschin
Fixes: board/technexion/pico-imx6ul/spl.c: In function 'board_mmc_init': error: implicit declaration of function 'fsl_esdhc_initialize' and a simmilar error when building pico-dwarf-imx7d. Signed-off-by: Anatolij Gustschin Cc: Otavio Salvador --- configs/pico-dwarf-imx6ul_defconfig | 2 +-

[U-Boot] [PATCH] imx: sksimx6_defconfig: remove SPL misc option to fix build error

2019-09-14 Thread Anatolij Gustschin
Remove CONFIG_SPL_DRIVERS_MISC_SUPPORT since it is already defined in include/configs/mx6_common.h for SPL builds. When this option is in defconfig, we get build warnings (or errors when building with -Werror). Signed-off-by: Anatolij Gustschin --- Hi Stefano, This fixes build breakage seen

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-14 Thread Joris Offouga
Hi Stefano, Thanks Best regards, Joris Le 14/09/2019 à 13:20, Stefano Babic a écrit : Hi Joris, I am pulling all patches for the release, I wil ltake care of yours, too. Regards, Stefano On 14/09/19 12:01, Joris Offouga wrote: +Stefano Babic Le 14/09/2019 à 11:56, Joris Offouga a écrit 

Re: [U-Boot] [PATCH 1/5] pico-imx6ul: Add DWARF baseboard support

2019-09-14 Thread Stefano Babic
Hi Anatolji, thanks, I have not sent an e-mail to Otavio after pulling his tree. On 14/09/19 12:47, Anatolij Gustschin wrote: > Hi Otavio, > > On Thu, 12 Sep 2019 16:01:50 -0300 > Otavio Salvador ota...@ossystems.com.br wrote: > ... >> configs/pico-dwarf-imx6ul_defconfig | 64

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-14 Thread Stefano Babic
Hi Joris, I am pulling all patches for the release, I wil ltake care of yours, too. Regards, Stefano On 14/09/19 12:01, Joris Offouga wrote: > +Stefano Babic > > Le 14/09/2019 à 11:56, Joris Offouga a écrit : >> Hi Otavio, >> >> I adjust my repo with your PR, you can find commits here: >>

Re: [U-Boot] [PATCH 3/5] pico-imx7d: Add NYMPH baseboard support

2019-09-14 Thread Anatolij Gustschin
On Thu, 12 Sep 2019 16:04:59 -0300 Otavio Salvador ota...@ossystems.com.br wrote: ... > configs/pico-nymph-imx7d_defconfig | 68 ++ ... > +CONFIG_FSL_ESDHC=y Please change this to CONFIG_FSL_USDHC=y -- Anatolij ___ U-Boot

Re: [U-Boot] [PATCH 2/5] pico-imx7d: Add DWARF baseboard support

2019-09-14 Thread Anatolij Gustschin
On Thu, 12 Sep 2019 16:04:58 -0300 Otavio Salvador ota...@ossystems.com.br wrote: ... > configs/pico-dwarf-imx7d_defconfig | 68 ++ ... > +CONFIG_FSL_ESDHC=y Please change this to CONFIG_FSL_USDHC=y -- Anatolij ___ U-Boot

Re: [U-Boot] [PATCH 1/5] pico-imx6ul: Add DWARF baseboard support

2019-09-14 Thread Anatolij Gustschin
Hi Otavio, On Thu, 12 Sep 2019 16:01:50 -0300 Otavio Salvador ota...@ossystems.com.br wrote: ... > configs/pico-dwarf-imx6ul_defconfig | 64 + ... > +CONFIG_FSL_ESDHC=y Please change this to CONFIG_FSL_USDHC=y Otherwise we get build warning/error [1]. [1]

[U-Boot] [PATCH] rsa: Return immediately if required-key verification fails

2019-09-14 Thread Daniele Alessandrelli
Currently, if image verification with a required key fails, rsa_verify() code tries to find another key to verify the FIT image. This however, is not the intended behavior as the documentation says that required keys "must be verified for the image / configuration to be considered valid". This

Re: [U-Boot] RSA verify code and required keys

2019-09-14 Thread Daniele Alessandrelli
Hi Simon, On Fri, Sep 13, 2019 at 5:36 PM Simon Glass wrote: > > Hi Daniele, > > > > > If I understand it correctly, at Line 440 we check if verification > > with the required key succeeded and if so we return otherwise we > > continue, trying other keys. > > Yes that's my understanding too. > >

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-14 Thread Joris Offouga
+Stefano Babic Le 14/09/2019 à 11:56, Joris Offouga a écrit : Hi Otavio, I adjust my repo with your PR, you can find commits here: https://github.com/jorisoffouga/u-boot/commits/pico-imx7-2019.10-2 Best Regards, Joris Offouga Le 13/09/2019 à 16:36, Otavio Salvador a écrit : On Thu, Sep

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-14 Thread Joris Offouga
Hi Otavio, I adjust my repo with your PR, you can find commits here: https://github.com/jorisoffouga/u-boot/commits/pico-imx7-2019.10-2 Best Regards, Joris Offouga Le 13/09/2019 à 16:36, Otavio Salvador a écrit : On Thu, Sep 12, 2019 at 6:27 PM Joris Offouga wrote: Just put

Re: [U-Boot] [U-Boot-Custodians] [PATCH 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-14 Thread Jagan Teki
On Sat, Sep 14, 2019 at 1:38 PM Marek Vasut wrote: > > On 9/14/19 9:58 AM, Heinrich Schuchardt wrote: > > For many sub-systems we already require the driver model to be used. Yet > > there is still a handful of boards that do not have CONFIG_DM enabled. > > > > We should make CONFIG_DM compulsory

Re: [U-Boot] [U-Boot-Custodians] [PATCH 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-14 Thread Marek Vasut
On 9/14/19 9:58 AM, Heinrich Schuchardt wrote: > For many sub-systems we already require the driver model to be used. Yet > there is still a handful of boards that do not have CONFIG_DM enabled. > > We should make CONFIG_DM compulsory with release v2020.01 > > Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-14 Thread Heinrich Schuchardt
For many sub-systems we already require the driver model to be used. Yet there is still a handful of boards that do not have CONFIG_DM enabled. We should make CONFIG_DM compulsory with release v2020.01 Signed-off-by: Heinrich Schuchardt --- Makefile | 8

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-14 Thread Sam Protsenko
Hi Grygorii, On Fri, Sep 13, 2019 at 8:58 PM Grygorii Strashko wrote: > > > > On 12/09/2019 19:33, Sam Protsenko wrote: > > Hi Stefan, > > > > On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: > >> > >> Hi Sam, > >> > >> On 12.09.19 15:45, Sam Protsenko wrote: > >>> Hi Suniel, > >>> > >>>

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-14 Thread Xiaowei Bao
> -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年9月13日 14:56 > To: Jagan Teki > Cc: Xiaowei Bao ; Priyanka Jain > ; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; > s...@chromium.org; Chuanhua Han ; Jagdish > Gediya ; bmeng...@gmail.com; > u-boot@lists.denx.de; York Sun ;