[U-Boot] [PATCH v3] tools: kwbimage: don't adjust for image_header for Armada MSYS

2019-02-18 Thread Chris Packham
For the time being the Armada MSYS SoCs need to use the bin_hdr from the Marvell U-Boot. Because of this the binary.0 does not contain the image header that a proper u-boot SPL would so the adjustment introduced by commit 94084eea3bd3 ("tools: kwbimage: Fix dest addr") does not apply.

Re: [U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag

2019-02-18 Thread Lukasz Majewski
Hi "Y.b. Lu", > Hi Lukasz, > > > -Original Message- > > From: Lukasz Majewski > > Sent: Monday, February 18, 2019 7:12 AM > > To: Y.b. Lu > > Cc: u-boot@lists.denx.de > > Subject: Re: [U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag > > > > Dear "Y.b. Lu", > > > > > The

Re: [U-Boot] February community conf call minutes

2019-02-18 Thread Heiko Schocher
Hello Tom, Am 19.02.2019 um 00:53 schrieb Tom Rini: Hey all, While I'm not the best at taking notes, and for next time I'll see how badly the record function slows down my connection, here's my notes / action items from the call: - Attendees: Myself, Philipp Tomsich, Michal Simek, Stefano

Re: [U-Boot] [PATCH v2 5/5] arm: mvebu: Add DB-XC3-24G4XG board

2019-02-18 Thread Stefan Roese
On 15.02.19 23:49, Chris Packham wrote: From: Chris Packham The DB-XC3-24G4XG is a switch development board from Marvell. It can either use and external CPU card such as the db-88f6820-amc or the internal CPU that is integrated into the switch. Add support for running U-Boot on the internal

Re: [U-Boot] [PATCH v2 3/5] arm: mvebu: NAND clock support for MSYS devices

2019-02-18 Thread Stefan Roese
On 15.02.19 23:49, Chris Packham wrote: One difference with the integrated CPUs is that they use a different clock control block to the Armada devices. Update mvebu_get_nand_clock() accordingly. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH v2 2/5] arm: mvebu: Add Marvell's integrated CPUs

2019-02-18 Thread Stefan Roese
On 15.02.19 23:48, Chris Packham wrote: Marvell's switch chips with integrated CPUs (collectively referred to as MSYS) share common ancestry with the Armada SoCs. Some of the IP blocks (e.g. xor) are located at different addresses and DFX server exists as a separate target on the MBUS (on

Re: [U-Boot] [PATCH v2 1/5] arm: sync armada-xp dts files from Linux 5.0

2019-02-18 Thread Stefan Roese
On 15.02.19 23:48, Chris Packham wrote: Bring in the Armada 370/XP dts/dtsi files from Linux. As U-Boot hasn't got the new NAND driver the updating binding has not been included. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH v2 4/5] tools: kwbimage: don't adjust for image_header for Armada MSYS

2019-02-18 Thread Stefan Roese
Hi Chris, On 18.02.19 23:23, Chris Packham wrote: On Mon, Feb 18, 2019 at 8:13 PM Stefan Roese wrote: Hi Chris, On 15.02.19 23:49, Chris Packham wrote: For the time being the Armada MSYS SoCs need to use the bin_hdr from the Marvell U-Boot. Because of this the binary.0 does not contain the

[U-Boot] [PATCH] ARM: rmobile: Convert Gen2 Stout, Porter, Silk to DM_SPI{, _FLASH}

2019-02-18 Thread Marek Vasut
Enable DM_SPI and DM_SPI_FLASH in U-Boot on H2 Stout, M2W Porter and E3 Silk. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/porter_defconfig | 2 ++ configs/silk_defconfig | 2 ++ configs/stout_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git

[U-Boot] [PATCH] ARM: dts: rmobile: Force 1-bit bus width on Gen2 QSPI

2019-02-18 Thread Marek Vasut
U-Boot currently uses Gen2 QSPI in 1-bit mode, enforce it until we can do better using the new SPI NOR framework. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7790-lager-u-boot.dts | 7 +++ arch/arm/dts/r8a7790-stout-u-boot.dts | 7 +++

[U-Boot] [PATCH] spi: sh_qspi: Replace CONFIG_DM_SPI with CONFIG_IS_ENABLED(DM_SPI)

2019-02-18 Thread Marek Vasut
Perform the replacement to allow platforms use non-DM SPI flash access in SPL/TPL. This is thus far needed on platforms with size constraints. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Nobuhiro Iwamatsu --- drivers/spi/sh_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)

2019-02-18 Thread Marek Vasut
Perform the replacement to allow platforms use non-DM SPI flash access in SPL/TPL. This is thus far needed on platforms with size constraints. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Vignesh R --- cmd/sf.c | 4 ++-- drivers/mtd/spi/sf_probe.c | 2 +-

Re: [U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag

2019-02-18 Thread Y.b. Lu
Hi Lukasz, > -Original Message- > From: Lukasz Majewski > Sent: Monday, February 18, 2019 7:12 AM > To: Y.b. Lu > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag > > Dear "Y.b. Lu", > > > The fsl_esdhc driver was for Freescale eSDHC on

[U-Boot] [PATCH v9 6/7] ARM: socfpga: Synchronize the configuration for A10 SoCDK

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee Update the default configuration file to enable the necessary functionality the get the kit working. Signed-off-by: Tien Fong Chee --- changes for v8 - Moved the FIT related configs to the patch of configuration for FPGA SoCFPGA A10 SoCDK. changes for v7 - Keep

[U-Boot] [PATCH v9 5/7] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee Add support for loading FPGA bitstream to get DDR up running before U-Boot is loaded into DDR. Boot device initialization, generic firmware loader and SPL FAT support are required for this whole mechanism to work. Signed-off-by: Tien Fong Chee --- changes for v9 - Used

[U-Boot] [PATCH v9 7/7] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee After some series of patches to maximise reusable of memory pool, here come to result of reasonable size required for whole SDMMC boot working on A10 SoCDK. Size required come from default max cluster(0x1) + others(0x2000) + additional memory for headroom(0x3000).

[U-Boot] [PATCH v9 3/7] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver to support program FPGA with FPGA bitstream loading from filesystem. The driver are designed based on generic firmware loader framework. The driver can handle FPGA program operation from loading FPGA bitstream in flash to memory and then to program FPGA.

[U-Boot] [PATCH v9 4/7] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee Update the default configuration file to enable the necessary functionality to get the SoCFPGA loadfs driver support. This would enable the implementation of programming bitstream into FPGA from MMC. Signed-off-by: Tien Fong Chee --- changes for v8 - Added FIT related

[U-Boot] [PATCH v9 2/7] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee Add default fitImage file bundling FPGA bitstreams for Arria10. Signed-off-by: Tien Fong Chee --- changes for v8 - Reordered the images and fpga configurations. - Removed the load property at core image. changes for v8 - Changed the FPGA node name to fpga-core and

[U-Boot] [PATCH v9 1/7] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee This patch adds description on properties about file name used for both peripheral bitstream and core bitstream. Signed-off-by: Tien Fong Chee --- changes for v8 - Removed explanation about support for altr,bitstream-core changes for v7 - Provided example of setting

[U-Boot] [PATCH v9 0/7] Add support for loading FPGA bitstream

2019-02-18 Thread tien . fong . chee
From: Tien Fong Chee This version mainly resolved comments from Marek in [v8]. This series is working on top of u-boot.git - http://git.denx.de/u-boot.git . These patches are required before applying this series of patches 1. [U-Boot,v4] misc: fs_loader: Add support for initializing block

[U-Boot] [PATCH] ARM: rmobile: Convert Gen2 to OF_SEPARATE

2019-02-18 Thread Marek Vasut
Convert R-Car Gen2 from OF_EMBED to OF_SEPARATE, thus getting rid of one of the deprecation warnings. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/alt_defconfig | 1 - configs/blanche_defconfig | 1 - configs/gose_defconfig| 1 - configs/koelsch_defconfig | 1 -

Re: [U-Boot] [PATCH v1] mmc: dwmmc: Enable small delay before returning error

2019-02-18 Thread Marek Vasut
On 2/18/19 3:51 PM, Ang, Chee Hong wrote: > On Mon, 2019-02-18 at 12:57 +0100, Marek Vasut wrote: >> On 2/18/19 5:16 AM, chee.hong@intel.com wrote: >>> >>> From: "Ang, Chee Hong" >>> >>> 'SET_BLOCKLEN' may occasionally fail on first attempt. >> Why ? > This is part of the workaround of mmc

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

2019-02-18 Thread Marek Vasut
The following changes since commit b89074f65047c4058741ed2bf3e6ff0c5af4c5bc: Merge tag 'u-boot-imx-2019-02-16' of git://git.denx.de/u-boot-imx (2019-02-16 08:31:05 -0500) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

Re: [U-Boot] board/BuR/brppt1: fix ethernet support on brppt1 boards

2019-02-18 Thread Tom Rini
On Fri, Feb 15, 2019 at 11:15:05AM +0100, Hannes Schmelzer wrote: > The commit 1bac199e8c87 ("configs: Resync with savedefconfig") > did remove ethernet driver from following boards defconfig: > > - brppt1_mmc > - brppt1_nand > - brppt1_spi > > With this commit we add ethernet and responsible

[U-Boot] [ANN] U-Boot v2019.04-rc2 released

2019-02-18 Thread Tom Rini
Hey all, So it's release day and I've put up v2019.04-rc2, I've updated git and the tarballs are also up now. Thanks again to having signed tags, between -rc1 and -rc2 we have a good changelog under 'git log --merges v2019.04-rc1..v2019.04-rc2' I'm still looking to pickup more DM enablement

Re: [U-Boot] efi_loader: Swap roles with Heinrich

2019-02-18 Thread Tom Rini
On Thu, Feb 14, 2019 at 02:35:17PM +0100, Alexander Graf wrote: > Heinrich is going to take over maintainership of the efi_loader tree > going forward. > > To ensure that I will still receive review mails at least, add me as > reviewer with a stable email address. > > Signed-off-by: Alexander

Re: [U-Boot] rpi: Make Matthias maintainer

2019-02-18 Thread Tom Rini
On Thu, Feb 14, 2019 at 02:37:59PM +0100, Alexander Graf wrote: > Matthias Brugger agreed to take over maintainership from me for the > Raspberry Pi tree. Add him to the MAINTAINERS file instead. > > Signed-off-by: Alexander Graf > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v1,1/2] configs: k2g_evm: Enable CONFIG_BLK

2019-02-18 Thread Tom Rini
On Fri, Feb 08, 2019 at 10:55:05AM +0100, Jean-Jacques Hiblot wrote: > CONFIG_BLK can be safely enabled as DM_MMC and DM_USB are already enabled. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Lokesh Vutla > Tested-by: Vignesh R Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Pull request for EFI subsystem in U-Boot v2019.04-rc2

2019-02-18 Thread Tom Rini
On Mon, Feb 18, 2019 at 07:57:00PM +0100, Heinrich Schuchardt wrote: > Hello Tom, > > the following changes since commit d391c13c99a2b48c98cef6df4479247cd4e62f9d: > > Merge tag 'xilinx-for-v2019.04-rc2' of > git://git.denx.de/u-boot-microblaze (2019-02-15 21:21:28 -0500) > > are available in

Re: [U-Boot] [U-Boot, v1, 2/2] configs: Enable CONFIG_BLK in am57xx_evm and am57xx_hs_evm

2019-02-18 Thread Tom Rini
On Fri, Feb 08, 2019 at 10:55:06AM +0100, Jean-Jacques Hiblot wrote: > Enable CONFIG_DM_SCSI and CONFIG_BLK. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/1] cmd: add exception command

2019-02-18 Thread Tom Rini
On Mon, Feb 18, 2019 at 08:38:52PM +0100, Heinrich Schuchardt wrote: > On 1/5/19 2:56 AM, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 30 Dec 2018 at 01:33, Heinrich Schuchardt > > wrote: > >> > >> On 12/29/18 2:39 PM, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Wed, 26 Dec

[U-Boot] [PATCH] spi: omap3: fix set_wordlen() reading from incorrect address for CHCONF

2019-02-18 Thread David Rivshin
From: David Rivshin _omap3_spi_set_wordlen() indexed the regs->channel[] array with the old wordlen (instead of the chipselect number) when reading the current CHCONF register value. This meant it read from the wrong memory location, modified that value, and then wrote it back to the correct

[U-Boot] [PATCH] arm: fix hvc call

2019-02-18 Thread Ibai Erkiaga
HVC call makes use of 6 arguments rather than 7 in the same way as SMC calls. The 7th argument is optional for both HVC and SMC but is implemented as 16-bit parameter and register R7 or W7. Signed-off-by: Ibai Erkiaga --- The issue does not report any error in a normal build as hvc_call is not

Re: [U-Boot] [PATCH v3 6/9] regulator: Add support for ramp delay

2019-02-18 Thread Torsten Duwe
On Sat, Feb 16, 2019 at 10:45:45AM +0100, Krzysztof Kozlowski wrote: > Changing voltage and enabling regulator might require delays so the > regulator stabilizes at expected level. > > Add support for "regulator-ramp-delay" binding which can introduce > required time to both enabling the

Re: [U-Boot] [PATCH v3 6/9] regulator: Add support for ramp delay

2019-02-18 Thread Torsten Duwe
On Mon, Feb 18, 2019 at 03:28:46PM +0100, Krzysztof Kozlowski wrote: > On Mon, 18 Feb 2019 at 15:03, Torsten Duwe wrote: > > > > > --- a/doc/device-tree-bindings/regulator/regulator.txt > > > +++ b/doc/device-tree-bindings/regulator/regulator.txt > > > @@ -35,6 +35,7 @@ Optional properties: > > >

Re: [U-Boot] [PATCH v2 5/7] k2g: config enable ti phy dp83867 for k2g

2019-02-18 Thread Tom Rini
On Mon, Feb 18, 2019 at 11:28:02AM -0500, Murali Karicheri wrote: > Enable ti phy driver dp83867 for k2g based boards. > > Signed-off-by: Murali Karicheri > --- > include/configs/k2g_evm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/k2g_evm.h

[U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-02-18 Thread Marek Vasut
Configure the PL310 tag and data latency registers, which slightly improves performance and aligns the behavior with Linux. Signed-off-by: Marek Vasut Cc: Dalon Westergreen Cc: Dinh Nguyen --- arch/arm/mach-socfpga/misc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH] ARM: cache: Fix incorrect bitwise operation

2019-02-18 Thread Marek Vasut
The loop implemented in the code is supposed to check whether the PL310 operation register has any bit from the mask set. Currently, the code checks whether the PL310 operation register has any bit set AND whether the mask is non-zero, which is incorrect. Fix the conditional. Signed-off-by: Marek

[U-Boot] [PATCH] MTD: mxs_nand_spl: Redo the way nand_init initializes

2019-02-18 Thread Adam Ford
Currently the spl system calls nand_init which does nothing. It isn't until an attempt to load from NAND that it gets initialized. Subsequent attempts to load just skip the initialization because NAND is already initialized. This moves the contents of mxs_nand_init to nand_init. In the event of

[U-Boot] February community conf call minutes

2019-02-18 Thread Tom Rini
Hey all, While I'm not the best at taking notes, and for next time I'll see how badly the record function slows down my connection, here's my notes / action items from the call: - Attendees: Myself, Philipp Tomsich, Michal Simek, Stefano Babic, Vignesh R, Jagan Teki, Lokesh Vutla, Matthias

Re: [U-Boot] [PATCH 3/3] logos: Add the TechNexion's logo

2019-02-18 Thread Fabio Estevam
Hi Stefano, On Tue, Dec 11, 2018 at 4:41 PM Otavio Salvador wrote: > > From: Fabio Estevam > > Add the TechNexion's logo from their internal U-Boot tree. > > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > > tools/logos/technexion.bmp | Bin 0 -> 22390 bytes > 1 file

Re: [U-Boot] [PATCH v2 4/5] tools: kwbimage: don't adjust for image_header for Armada MSYS

2019-02-18 Thread Chris Packham
On Mon, Feb 18, 2019 at 8:13 PM Stefan Roese wrote: > > Hi Chris, > > On 15.02.19 23:49, Chris Packham wrote: > > For the time being the Armada MSYS SoCs need to use the bin_hdr from the > > Marvell U-Boot. Because of this the binary.0 does not contain the image > > header that a proper u-boot

Re: [U-Boot] [PATCH 1/1] cmd: add exception command

2019-02-18 Thread Heinrich Schuchardt
On 1/5/19 2:56 AM, Simon Glass wrote: > Hi Heinrich, > > On Sun, 30 Dec 2018 at 01:33, Heinrich Schuchardt wrote: >> >> On 12/29/18 2:39 PM, Simon Glass wrote: >>> Hi Heinrich, >>> >>> On Wed, 26 Dec 2018 at 09:20, Heinrich Schuchardt >>> wrote: The 'exception' command allows to test

[U-Boot] Pull request for EFI subsystem in U-Boot v2019.04-rc2

2019-02-18 Thread Heinrich Schuchardt
Hello Tom, the following changes since commit d391c13c99a2b48c98cef6df4479247cd4e62f9d: Merge tag 'xilinx-for-v2019.04-rc2' of git://git.denx.de/u-boot-microblaze (2019-02-15 21:21:28 -0500) are available in the Git repository at: https://github.com/xypron2/u-boot tag efi-2019-04-rc2 for

[U-Boot] [PATCH v2 3/7] net: netcp: add support for phy with rgmii ids

2019-02-18 Thread Murali Karicheri
Enhance the netcp driver to support phys that can be configured for internal delay (rgmii-id, rgmii-rxid, rgmii-txid) Signed-off-by: Murali Karicheri --- drivers/net/ti/keystone_net.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 0/7] Add netcp networking support on K2G ICE EVM

2019-02-18 Thread Murali Karicheri
This patch series add networking capability to K2G ICE EVM based on netcp driver. Networking function has been tested using the latest master branch from u-boot repo. Following boot mode has been tested for networking. Net boot (tftp images over ethernet interface and boot kernel) log

[U-Boot] [PATCH v2 4/7] ARM: k2g: add a workaround to reset the phy

2019-02-18 Thread Murali Karicheri
This patch adds a workaround to reset the phy one time during boot using GPIO0 pin 10 to make sure, the Phy latches the configuration from the input pins correctly. Signed-off-by: Murali Karicheri --- .../arm/mach-keystone/include/mach/hardware-k2g.h | 3 +++ board/ti/ks2_evm/board_k2g.c

[U-Boot] [PATCH v2 7/7] ARM: dts: k2g-ice: add dt node for netcp

2019-02-18 Thread Murali Karicheri
This patch adds dt node for DP83867 phy used on K2G ICE board and also enable netcp device nodes for the board. EVM hardware spec recommends to add 0.25 nsec delay in the tx direction and 2.25 nsec delay in the rx direction for internal delay in the clock path to be on the safer side. The board

[U-Boot] [PATCH v2 1/7] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-02-18 Thread Murali Karicheri
This add pinmux configuration for rgmii interface so that network driver can be supported on K2G ICE boards. The pinmux configurations for this are generated using the pinmux tool at https://dev.ti.com/pinmux/app.html#/default As this required some BUFFER_CLASS definitions, same is re-used from

[U-Boot] [PATCH v2 5/7] k2g: config enable ti phy dp83867 for k2g

2019-02-18 Thread Murali Karicheri
Enable ti phy driver dp83867 for k2g based boards. Signed-off-by: Murali Karicheri --- include/configs/k2g_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index 90f9a9922c..9fe5411619 100644 --- a/include/configs/k2g_evm.h +++

[U-Boot] [PATCH v2 6/7] ARM: dts: k2g-evm: remove unused phy-mode property from phy node

2019-02-18 Thread Murali Karicheri
This patch removes the unused phy-mode property from the phy dt node. On K2G, currently link-interface determines if phy is used or not and is already set to use rgmii. So this is not needed. Besides phy-mode should be added to slave interface configuration of the cpsw driver, not in the phy node.

[U-Boot] [PATCH v2 2/7] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-02-18 Thread Murali Karicheri
This patch updates pinmux configuration for K2G GP EVM based on data generated by the pinmux tool at https://dev.ti.com/pinmux/app.html#/default Signed-off-by: Murali Karicheri Reviewed-by: Lokesh Vutla --- board/ti/ks2_evm/mux-k2g.h | 32 +--- 1 file changed, 17

[U-Boot] [PATCH v3 7/7] env: am57xx: Implement A/B boot process

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko Add support for A/B boot process on AM57xx based boards: 1. Define 'slot_suffix' variable (using 'ab_select' command) 2. Extend 'emmc_android_boot' boot command (add commands for A/B boot process) 'ab_select' command is used to decide which slot should be used

[U-Boot] [PATCH v3 6/7] doc: android: Add simple guide for A/B updates

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko Add a short documentation for A/B enablement and 'ab_select' command usage. Signed-off-by: Ruslan Trofymenko Signed-off-by: Igor Opaniuk Reviewed-by: Alistair Strachan Reviewed-by: Sam Protsenko Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: *

[U-Boot] [PATCH v3 3/7] common: Implement A/B metadata

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko This patch determines the A/B-specific bootloader message structure that is the basis for implementation of recovery and A/B update functions. A/B metadata is stored in this structure and used to decide which slot should we use to boot the device. Also some basic

[U-Boot] [PATCH v3 4/7] cmd: Add 'ab_select' command

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko For A/B system update support the Android boot process requires to send 'androidboot.slot_suffix' parameter as a command line argument. This patch implementes 'ab_select' command which allows us to obtain current slot by processing the A/B metadata. The patch was

[U-Boot] [PATCH v3 5/7] test/py: Add base test case for A/B updates

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko Add sandbox test for 'ab_select' command. Test: ./test/py/test.py --bd sandbox --build -k test_ab Signed-off-by: Ruslan Trofymenko Signed-off-by: Igor Opaniuk Reviewed-by: Alistair Strachan Reviewed-by: Sam Protsenko Reviewed-by: Simon Glass --- Changes in v3:

[U-Boot] [PATCH v3 2/7] disk: part: Extend API to get partition info

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko This patch adds part_get_info_by_dev_and_name_or_num() function which allows us to get partition info from its number or name. Partition of interest is specified by string like "device_num:partition_number" or "device_num#partition_name". The patch was extracted from

[U-Boot] [PATCH v3 0/7] android: implement A/B boot process

2019-02-18 Thread Igor Opaniuk
This patch series adds support for Android A/B boot process [1]. Main steps of A/B boot process are: - A/B metadata integrity check - looking for the current slot (where the system should be booting from) - getting the name of the current boot partition (boot_a or boot_b) and

[U-Boot] [PATCH v3 1/7] cmd: part: Add 'number' sub-command

2019-02-18 Thread Igor Opaniuk
From: Ruslan Trofymenko This sub-command serves for getting the partition index from partition name. Also it can be used to test the existence of specified partition. Signed-off-by: Ruslan Trofymenko Signed-off-by: Igor Opaniuk Reviewed-by: Alistair Strachan Reviewed-by: Sam Protsenko

Re: [U-Boot] [PATCH 0/7] Add netcp networking support on K2G ICE EVM

2019-02-18 Thread Murali Karicheri
Hi, On 02/11/2019 12:20 PM, Murali Karicheri wrote: - Resending this as I was not subscribed to u-boot mailing list when the initial patch series was sent. Sorry for the trouble. This patch series add networking capability to K2G ICE EVM based on netcp driver. Networking function has

Re: [U-Boot] [PATCH 1/7] riscv: add infrastructure for calling functions on other harts

2019-02-18 Thread Auer, Lukas
On Mon, 2019-02-18 at 18:46 +0530, Anup Patel wrote: > On Mon, Feb 18, 2019 at 5:11 PM Auer, Lukas > wrote: > > On Mon, 2019-02-18 at 10:01 +, Auer, Lukas wrote: > > > On Mon, 2019-02-18 at 10:28 +0530, Anup Patel wrote: > > > > On Tue, Feb 12, 2019 at 3:44 AM Lukas Auer > > > > wrote: > > >

Re: [U-Boot] configs: move CONFIG_SPL_TEXT_BASE to Kconfig

2019-02-18 Thread Tom Rini
On Thu, Feb 14, 2019 at 07:28:18PM +0100, Simon Goldschmidt wrote: > Am 19.01.2019 um 17:57 schrieb Tom Rini: > >On Sat, Jan 19, 2019 at 05:52:46PM +0100, Simon Goldschmidt wrote: > >>Hi Tom, > >> > >>Am Fr., 18. Jan. 2019, 23:02 hat Tom Rini geschrieben: > >> > >>>On Mon, Jan 07, 2019 at

Re: [U-Boot] [PATCH v1] mmc: dwmmc: Enable small delay before returning error

2019-02-18 Thread Ang, Chee Hong
On Mon, 2019-02-18 at 12:57 +0100, Marek Vasut wrote: > On 2/18/19 5:16 AM, chee.hong@intel.com wrote: > > > > From: "Ang, Chee Hong" > > > > 'SET_BLOCKLEN' may occasionally fail on first attempt. > Why ? This is part of the workaround of mmc driver which is enabled with 'CONFIG_MMC_QUIRKS'

Re: [U-Boot] Please pull u-boot-video

2019-02-18 Thread Tom Rini
On Sat, Feb 16, 2019 at 11:57:04PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull some video updates for v2019.04-rc2. > > Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/493827675 > > Thanks, > Anatolij > > The following changes since commit

Re: [U-Boot] [PULL] u-boot-sh/master

2019-02-18 Thread Tom Rini
On Sat, Feb 16, 2019 at 06:12:38PM +0100, Marek Vasut wrote: > The following changes since commit d391c13c99a2b48c98cef6df4479247cd4e62f9d: > > Merge tag 'xilinx-for-v2019.04-rc2' of > git://git.denx.de/u-boot-microblaze (2019-02-15 21:21:28 -0500) > > are available in the Git repository at:

Re: [U-Boot] [PATCH v3 6/9] regulator: Add support for ramp delay

2019-02-18 Thread Krzysztof Kozlowski
On Mon, 18 Feb 2019 at 15:03, Torsten Duwe wrote: > > On Sat, Feb 16, 2019 at 10:45:45AM +0100, Krzysztof Kozlowski wrote: > > Changing voltage and enabling regulator might require delays so the > > regulator stabilizes at expected level. > > > > Add support for "regulator-ramp-delay" binding

Re: [U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-18 Thread Stefan Roese
Hi Prabhakar, On 18.02.19 14:56, Prabhakar Kushwaha wrote: Hi Prafulla, Luka, Stefan, Tom and Albert -Original Message- From: Meenakshi Aggarwal Sent: Monday, February 18, 2019 7:16 PM To: Prabhakar Kushwaha ; u- b...@lists.denx.de; York Sun Cc: Udit Kumar Subject: RE: [PATCH] L3

Re: [U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-18 Thread Prabhakar Kushwaha
Hi Prafulla, Luka, Stefan, Tom and Albert > -Original Message- > From: Meenakshi Aggarwal > Sent: Monday, February 18, 2019 7:16 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de; York Sun > Cc: Udit Kumar > Subject: RE: [PATCH] L3 cache : arch : arm : lib : Flush L3 after

Re: [U-Boot] [PATCH] arm: fix hvc call

2019-02-18 Thread Alexander Graf
On 18.02.19 14:10, Ibai Erkiaga wrote: > HVC call makes use of 6 arguments rather than 7 in the same way as SMC > calls. The 7th argument is optional for both HVC and SMC but is > implemented as 16-bit parameter and register R7 or W7. The patch description is lacking a bit more context. Why not

Re: [U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-18 Thread Meenakshi Aggarwal
> -Original Message- > From: Prabhakar Kushwaha > Sent: Monday, February 18, 2019 6:37 PM > To: Meenakshi Aggarwal ; u- > b...@lists.denx.de; York Sun > Cc: Meenakshi Aggarwal ; Udit Kumar > > Subject: RE: [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation > > > >

Re: [U-Boot] [PATCH 1/7] riscv: add infrastructure for calling functions on other harts

2019-02-18 Thread Anup Patel
On Mon, Feb 18, 2019 at 5:11 PM Auer, Lukas wrote: > > On Mon, 2019-02-18 at 10:01 +, Auer, Lukas wrote: > > On Mon, 2019-02-18 at 10:28 +0530, Anup Patel wrote: > > > On Tue, Feb 12, 2019 at 3:44 AM Lukas Auer > > > wrote: > > > > Harts on RISC-V boot independently and U-Boot is responsible

Re: [U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-18 Thread Prabhakar Kushwaha
> -Original Message- > From: Meenakshi Aggarwal > Sent: Tuesday, February 19, 2019 12:09 AM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; York Sun > Cc: Meenakshi Aggarwal ; Udit Kumar > > Subject: [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation > > Flush L3 cache

[U-Boot] [PATCH 4/6] pinctrl: renesas: Drop def_bool per SoC

2019-02-18 Thread Marek Vasut
Drop per SoC def_bool on each driver, since this is now implied by SoC Kconfig option instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/pinctrl/renesas/Kconfig

[U-Boot] [PATCH 6/6] ARM: rmobile: Sync Gen3 defconfigs

2019-02-18 Thread Marek Vasut
Synchronize Gen3 defconfigs in wake of the Kconfig option changes. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a77965_salvator-x_defconfig | 1 - configs/r8a7796_salvator-x_defconfig | 1 - configs/r8a7796_ulcb_defconfig| 1 - 3 files changed, 3 deletions(-) diff

[U-Boot] [PATCH 5/6] ARM: rmobile: Imply SoC per board

2019-02-18 Thread Marek Vasut
Imply all SoCs supported by a given board. This allows building single U-Boot binary for boards which can have multiple SoCs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 3/6] clk: rmobile: Drop def_bool per SoC

2019-02-18 Thread Marek Vasut
Drop per SoC def_bool on each driver, since this is now implied by SoC Kconfig option instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/clk/renesas/Kconfig

[U-Boot] [PATCH 2/6] ARM: rmobile: Imply pinctrl drivers per SoC

2019-02-18 Thread Marek Vasut
Imply preferred pin control driver per SoC, no functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.32 | 5 + arch/arm/mach-rmobile/Kconfig.64 | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/mach-rmobile/Kconfig.32

[U-Boot] [PATCH 1/6] ARM: rmobile: Imply clock drivers per SoC

2019-02-18 Thread Marek Vasut
Imply preferred clock driver per SoC, no functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.32 | 5 + arch/arm/mach-rmobile/Kconfig.64 | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/mach-rmobile/Kconfig.32

Re: [U-Boot] [PATCH 5/7] arm: mach-k3: Add secure device build support

2019-02-18 Thread Andrew F. Davis
On 2/16/19 4:18 PM, Tom Rini wrote: > On Fri, Feb 15, 2019 at 05:43:32PM +0530, Lokesh Vutla wrote: >> >> >> On 2/15/2019 4:25 AM, Andrew F. Davis wrote: >>> On 2/13/19 9:46 PM, Lokesh Vutla wrote: On 14/02/19 12:07 AM, Andrew F. Davis wrote: > K3 HS devices require signed

[U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-18 Thread Meenakshi Aggarwal
Flush L3 cache after uboot relocated to DDR. Signed-off-by: Meenakshi Aggarwal Signed-off-by: Udit Kumar --- arch/arm/lib/relocate_64.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/relocate_64.S b/arch/arm/lib/relocate_64.S index 171d094..7603f52 100644 ---

Re: [U-Boot] [PATCH v1 2/2] dm: pinctrl: Skip gpio-controller node in pinconfig_post_bind()

2019-02-18 Thread Patrick DELAUNAY
Hi, > From: Simon Glass > Sent: vendredi 15 février 2019 18:12 > > On Fri, 15 Feb 2019 at 15:31, Patrice Chotard wrote: > > > > From: Patrick Delaunay > > > > Some binding define child node gpio-controller without compatible property. > > This patch avoid to bind the pinconfig uclass to these

[U-Boot] [PATCH] test: py: Extend fpga test with fit image with external data

2019-02-18 Thread Michal Simek
Images are created mkimage -f fit.its -E download-fit-external.ub and test expects these entries. env__fpga_under_test = { ... "mkimage_fit_external": download-fit-external.ub", "mkimage_fit_external_size": x, ... } Test download file and loads it to fpga. Signed-off-by:

[U-Boot] [PATCH] hsdk: readme: Suggest getting pyelftools with pip

2019-02-18 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Suggested-by: Yunir Salimzyanov --- board/synopsys/hsdk/README | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/board/synopsys/hsdk/README b/board/synopsys/hsdk/README index e29a6a1727..9155f17c6e 100644 --- a/board/synopsys/hsdk/README

Re: [U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-18 Thread Michal Simek
On 15. 02. 19 8:57, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Ensure the string for filename is always constant, otherwise it can be > corrupted by the writing. Have you reach any issue with it? > > Signed-off-by: Tien Fong Chee > --- > drivers/fpga/zynqpl.c |3 ++- >

Re: [U-Boot] [PATCH] MAINTAINERS: Update u-boot-marvell entry

2019-02-18 Thread Luka Perkov
On Fri, Feb 15, 2019 at 01:56:56PM +0100, Stefan Roese wrote: > This patch does the following changes to the u-boot-marvell maintainers > entry: > > - Add Armada-7k/8k to the list > - Remove Prafulla and Luka since they have been silent on the list for > a long time. Please speak up, if you

Re: [U-Boot] [PATCH] fpga: Add support for getting external data address and length

2019-02-18 Thread Michal Simek
On 12. 02. 19 13:41, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This function supports getting both data address and length for > existing FPGA subimage and FPGA external data. > > Signed-off-by: Tien Fong Chee > --- > cmd/fpga.c |6 +++--- > 1 files changed, 3

[U-Boot] [PATCH v2 0/1] mtd: added missing GigaDevice chips

2019-02-18 Thread Jiri Kastner
in kernel tree are additional 2 chips from GigaDevice, which i need for Vocore2 (MT7688) Jiri Kastner (1): mtd: added missing GigaDevice chips drivers/mtd/spi/spi-nor-ids.c | 10 ++ 1 file changed, 10 insertions(+) -- 2.20.1 ___ U-Boot

[U-Boot] [PATCH v2 1/1] mtd: added missing GigaDevice chips

2019-02-18 Thread Jiri Kastner
Vocore2 (mt7688 based device) has g25q128 chip from GigaDevice, which i've found in kernel tree. added chips are gd25q128 and gd25q256. Cc: Jagan Teki Cc: Vignesh R --- drivers/mtd/spi/spi-nor-ids.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c

[U-Boot] [PATCH 1/1] added missing GigaDevice chips

2019-02-18 Thread Jiri Kastner
--- drivers/mtd/spi/spi-nor-ids.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 3215e2431d..e4d05433a2 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -106,6 +106,16 @@ const

[U-Boot] [PATCH 0/1] GigaDevice id update

2019-02-18 Thread Jiri Kastner
Vocore2 (mt76x8 device) has g25q128 flash, which is already in kernel's spi-nor.c Jiri Kastner (1): added missing GigaDevice chips drivers/mtd/spi/spi-nor-ids.c | 10 ++ 1 file changed, 10 insertions(+) -- 2.20.1 ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/2] mtd: ubi debug: Remove the pid print from ubi_assert

2019-02-18 Thread Heiko Schocher
Hello Eran, Am 18.02.2019 um 08:44 schrieb Eran Matityahu: Hi Heiko. On Mon, Feb 18, 2019 at 7:06 AM Heiko Schocher wrote: Hello Eran, Am 13.02.2019 um 19:55 schrieb Eran Matityahu: Add a new definition for ubi_assert and keep the original one in an ifndef __UBOOT__. Signed-off-by: Eran

Re: [U-Boot] [PATCH v1] mmc: dwmmc: Enable small delay before returning error

2019-02-18 Thread Marek Vasut
On 2/18/19 5:16 AM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > 'SET_BLOCKLEN' may occasionally fail on first attempt. Why ? > This patch enable a small delay in dwmci_send_cmd() on > busy, I/O or CRC error to allow the MMC controller recovers > from the failure/error on

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Return valid error code from FPGA driver

2019-02-18 Thread Marek Vasut
On 2/18/19 5:07 AM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > This patch prevent the Stratix 10 FPGA driver incorrectly return the > transaction ID as the mailbox error code. It should always return the > actual mailbox error code from SDM firmware. > > Signed-off-by: Ang,

[U-Boot] [PATCH] coreboot: add support fot CB_TAG_BOOT_MEDIA_PARAMS

2019-02-18 Thread Christian Gmeiner
Change-Id: I7a2e320f2296bc20e1ac2f10cc2297697c50e097 Signed-off-by: Christian Gmeiner --- arch/x86/cpu/coreboot/tables.c | 13 + arch/x86/include/asm/arch-coreboot/sysinfo.h | 6 +- arch/x86/include/asm/coreboot_tables.h | 11 +++ 3 files changed, 29

Re: [U-Boot] [PATCH 1/7] riscv: add infrastructure for calling functions on other harts

2019-02-18 Thread Auer, Lukas
On Mon, 2019-02-18 at 10:01 +, Auer, Lukas wrote: > On Mon, 2019-02-18 at 10:28 +0530, Anup Patel wrote: > > On Tue, Feb 12, 2019 at 3:44 AM Lukas Auer > > wrote: > > > Harts on RISC-V boot independently and U-Boot is responsible for > > > managing them. Functions are called on other harts

Re: [U-Boot] [PATCH] dtbo: Fix dtbo generation rules

2019-02-18 Thread Michal Simek
Hi, On 11. 02. 19 14:51, Michal Simek wrote: > Take the first prerequisite (dts overlay file) instead of standard > input. > > Signed-off-by: Michal Simek > --- > > Not sure how this was designed to take overlay as input. > What I have done was simply add overlay to arch/arm/dts folder and add

Re: [U-Boot] [ANN] Monthly developer call

2019-02-18 Thread Marek Vasut
On 2/18/19 5:00 AM, Tom Rini wrote: > On Mon, Feb 18, 2019 at 03:48:58AM +0100, Marek Vasut wrote: >> On 2/13/19 9:36 PM, Tom Rini wrote: >>> On Thu, Feb 14, 2019 at 02:01:02AM +0530, Jagan Teki wrote: On Mon, Feb 11, 2019 at 10:28 PM Tom Rini wrote: > > Hey all, > > So as I

Re: [U-Boot] [PATCH v2 4/8] spi: sun4i: Access registers and bits via enum offsets

2019-02-18 Thread Stefan Mavrodiev
On 2/18/19 12:38 PM, Jagan Teki wrote: Hi Stefan, On Fri, Feb 15, 2019 at 12:12 PM Stefan Mavrodiev wrote: [snip] +static const unsigned long sun4i_spi_bits[] = { Same here, make it uint32_t, since it describes register masks in 32 bit registers. +[SPI_GCR_TP]=

  1   2   >