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

2019-09-13 Thread Suniel Mahesh
On 13/09/19 23:28, 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, After transition to DM WDT, watchdog

[U-Boot] [PATCH] net: Improve documentation for string_to_ip()

2019-09-13 Thread Joe Hershberger
Signed-off-by: Joe Hershberger --- include/net.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index d054c5f694..a4d0b41b20 100644 --- a/include/net.h +++ b/include/net.h @@ -841,7 +841,14 @@ void string_to_enetaddr(const char *addr,

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

2019-09-13 Thread Joe Hershberger
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 rename the moved function to similar naming.

[U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

[U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf As SPI_FLASH_MTD is used in SPL and U-Boot proper, we enable both, now that a separate option for SPL was introduced. Signed-off-by: Frieder Schrempf --- configs/stm32mp15_basic_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/3] mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf To allow SPI_FLASH_MTD being enabled separately in SPL we add a new option. The only user currently is the stm32mp15_basic board. Signed-off-by: Frieder Schrempf --- drivers/mtd/spi/Kconfig | 8 1 file changed, 8 insertions(+) diff --git

Re: [U-Boot] rockchip: rk3399: TPL: rockpro64: Wrong memory size detected

2019-09-13 Thread Kurt Miller
Re-testing with master as of Sep 12 and the wrong memory size continues to be detected (2G detected while the board has 4G). The board has the following marking on it: Rockpro64_V2.1 2018-07-02 RAM Chips: PS052-053 BT 83RL I'd be happy to test any proposed patches to correct the memory size

Re: [U-Boot] [EXT] Saving u-boot environment on LS1046ardb QSPI bricks flash memory

2019-09-13 Thread Matthew Ratson
Hi Ashish, Thank you very much for your quick response and the information you provided, greatly appreciated. Do you possibly know what is the latest Denx u-boot release where this issue does not exist, and QSPI builds are working? Thanks, Matthew On Fri, Sep 13, 2019 at 5:22 AM Ashish Kumar

[U-Boot] RSA verify code and required keys

2019-09-13 Thread Daniele Alessandrelli
Hi, I was looking at the RSA image authentication code and I'm a bit puzzled by the following line of codes in lib/rsa/rsa-verify.c (https://gitlab.denx.de/u-boot/u-boot/blob/master/lib/rsa/rsa-verify.c#L440): 436 /* See if we must use a particular key */ 437 if

[U-Boot] [BUG] FreeBSD cannot boot with U-Boot patch efi_loader: parameter checks BLOCK_IO_PROTOCOL

2019-09-13 Thread Heinrich Schuchardt
Hello Emmanuel, booting current FreeBSD fails since patch f59f0825e8b9fdeb8abe43ffd10c5119ca1a032f efi_loader: parameter checks BLOCK_IO_PROTOCOL The reason is that the buffer used by FreeBSD to read is not block aligned. The UEFI spec requires that EFI_BLOCK_IO_PROTOCOL.ReadBlocks() returns

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-13 Thread Joe Hershberger
On Fri, Sep 13, 2019 at 9:31 AM Simon Glass wrote: > > Hi Ondřej, > > On Thu, 12 Sep 2019 at 17:39, Ondřej Jirman wrote: > > > > On Thu, Sep 12, 2019 at 01:28:10PM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Thu, 12 Sep 2019 at 12:28, Ondřej Jirman wrote: > > > > > > > > Hi, > > > > > >

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Jagan Teki
Hi Anatolij, On Fri, Sep 13, 2019 at 7:31 PM Anatolij Gustschin wrote: > > Hi Jagan, > > On Fri, 13 Sep 2019 08:19:47 +0530 > Jagan Teki ja...@amarulasolutions.com wrote: > ... > > Any inputs? > > Try to input "setenv stdout serial" command on the serial console. > There might be a chance that

Re: [U-Boot] [PATCH 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr

2019-09-13 Thread Andreas Dannenberg
Hi Stefan, On Thu, Sep 12, 2019 at 04:41:03PM +0200, Stefan Roese wrote: > U-Boot now supports the "skip_check" flag to optionally skip the CRC > check at open time. Currently its only possible to set this bit upon > UBI volume creation. But it might be very useful to also set this bit > on

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Ondřej Jirman
On Fri, Sep 13, 2019 at 08:00:50PM +, Joe Hershberger wrote: > On Fri, Sep 13, 2019 at 2:53 PM Ondřej Jirman wrote: > > > It sounds like your board / build config is not in the mainline tree, > > > so there is no way Simon could have known it would break you, and it > > > didn't break the

Re: [U-Boot] [PATCH] cmd: mdio/mii: add Kconfig help and allow break dependency

2019-09-13 Thread Joe Hershberger
On Fri, Sep 13, 2019 at 10:28 AM Ramon Fried wrote: > > * Add Kconfig help describing the purpose of each command. > * Add CONFIG_CMD_MDIO so it could be selected individually, as > it doesn't depend on the mii command. > * Add Kconfig imply to mii to automatically select the mdio > command.

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Joe Hershberger
On Fri, Sep 13, 2019 at 2:53 PM Ondřej Jirman wrote: > > Hi Joe, > > On Fri, Sep 13, 2019 at 07:38:20PM +, Joe Hershberger wrote: > > Hi Ondřej, > > > > On Fri, Sep 13, 2019 at 2:12 PM Ondřej Jirman wrote: > > > > > > On Fri, Sep 13, 2019 at 10:58:14AM -0600, Simon Glass wrote: > > > > Hi, >

[U-Boot] [PATCH] Update MAINTAINERS to include environment files

2019-09-13 Thread Joe Hershberger
To be maintained by me (Joe) and Wolfgang Denx Signed-off-by: Joe Hershberger --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e752e4b3de..0ff78366ec 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -540,6 +540,16 @@ F: cmd/efidebug.c

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Ondřej Jirman
Hi Joe, On Fri, Sep 13, 2019 at 07:38:20PM +, Joe Hershberger wrote: > Hi Ondřej, > > On Fri, Sep 13, 2019 at 2:12 PM Ondřej Jirman wrote: > > > > On Fri, Sep 13, 2019 at 10:58:14AM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Fri, 13 Sep 2019 at 08:07, Heinrich Schuchardt > > >

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Joe Hershberger
Hi Ondřej, On Fri, Sep 13, 2019 at 2:12 PM Ondřej Jirman wrote: > > On Fri, Sep 13, 2019 at 10:58:14AM -0600, Simon Glass wrote: > > Hi, > > > > On Fri, 13 Sep 2019 at 08:07, Heinrich Schuchardt > > wrote: > > > > > > On 9/13/19 1:48 PM, Ondřej Jirman wrote: > > > > On Fri, Sep 13, 2019 at

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Ondřej Jirman
On Fri, Sep 13, 2019 at 10:58:14AM -0600, Simon Glass wrote: > Hi, > > On Fri, 13 Sep 2019 at 08:07, Heinrich Schuchardt wrote: > > > > On 9/13/19 1:48 PM, Ondřej Jirman wrote: > > > On Fri, Sep 13, 2019 at 01:19:18PM +0200, Heinrich Schuchardt wrote: > > >> On 9/13/19 1:48 AM, meg...@megous.com

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

2019-09-13 Thread Michael Nazzareno Trimarchi
Hi Tom On Fri, Sep 13, 2019 at 5:47 PM Tom Rini 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 v2019.07

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

2019-09-13 Thread Grygorii Strashko
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, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this

[U-Boot] [PATCH 1/1] efi_loader: incorrect return value form DisconnectController

2019-09-13 Thread Heinrich Schuchardt
DisconnectController() should never return EFI_NOT_FOUND. If EFI_DRIVER_BINDING_PROTOCOL.Stop() fails, return EFI_DEVICE_ERROR. If the driver handle does not expose the EFI_DRIVER_BINDING_PROTOCOL return EFI_INVALID_PARAMETER. Signed-off-by: Heinrich Schuchardt ---

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Heinrich Schuchardt
On 9/13/19 6:58 PM, Simon Glass wrote: > Hi, > > On Fri, 13 Sep 2019 at 08:07, Heinrich Schuchardt wrote: >> >> On 9/13/19 1:48 PM, Ondřej Jirman wrote: >>> On Fri, Sep 13, 2019 at 01:19:18PM +0200, Heinrich Schuchardt wrote: On 9/13/19 1:48 AM, meg...@megous.com wrote: > From: Ondrej

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Simon Glass
Hi, On Fri, 13 Sep 2019 at 08:07, Heinrich Schuchardt wrote: > > On 9/13/19 1:48 PM, Ondřej Jirman wrote: > > On Fri, Sep 13, 2019 at 01:19:18PM +0200, Heinrich Schuchardt wrote: > >> On 9/13/19 1:48 AM, meg...@megous.com wrote: > >>> From: Ondrej Jirman > >>> > >>> The reverted patch causes

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

2019-09-13 Thread Simon Glass
Hi Daniele, On Fri, 13 Sep 2019 at 09:50, Daniele Alessandrelli wrote: > > Hi, > > I was looking at the RSA image authentication code and I'm a bit > puzzled by the following line of codes in lib/rsa/rsa-verify.c > (https://gitlab.denx.de/u-boot/u-boot/blob/master/lib/rsa/rsa-verify.c#L440): > >

[U-Boot] [PATCHv2] scrapyard: Delete this file and script

2019-09-13 Thread Tom Rini
The README.scrapyard file has been inconsistently updated. While well intentioned, bad data is worse than no data, and in this case a pointer to use the history that git provides. Remove the current content and the script that would update it from time to time as well. Signed-off-by: Tom Rini

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

2019-09-13 Thread Tom Rini
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

[U-Boot] [PATCH v1] x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters

2019-09-13 Thread Andy Shevchenko
This is reincarnation of the U-Boot commit 3469bf4274540d1491d58e878a9edc0bdcba17ac Author: Andy Shevchenko Date: Wed Jan 10 19:40:15 2018 +0200 x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters after upstream got eventually the Linux kernel commit

[U-Boot] [PATCH] cmd: mdio/mii: add Kconfig help and allow break dependency

2019-09-13 Thread Ramon Fried
* Add Kconfig help describing the purpose of each command. * Add CONFIG_CMD_MDIO so it could be selected individually, as it doesn't depend on the mii command. * Add Kconfig imply to mii to automatically select the mdio command. Signed-off-by: Ramon Fried --- cmd/Kconfig | 18

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-13 Thread Tom Rini
On Fri, Sep 13, 2019 at 04:34:45PM +0200, Ondřej Jirman wrote: > On Fri, Sep 13, 2019 at 08:25:09AM -0600, Simon Glass wrote: > > Hi Ondřej, > > > > On Thu, 12 Sep 2019 at 17:39, Ondřej Jirman wrote: > > > > > > On Thu, Sep 12, 2019 at 01:28:10PM -0600, Simon Glass wrote: > > > > Hi, > > > > > >

Re: [U-Boot] [PATCH] cmd: avoid decimal conversion

2019-09-13 Thread Michael Nazzareno Trimarchi
On Fri, Sep 13, 2019 at 5:10 PM Tom Rini wrote: > > On Wed, Sep 11, 2019 at 03:39:53PM +0200, Michal Simek wrote: > > > From: T Karthik Reddy > > > > This patch uses auto instead of decimal in simple_strtoul(). > > > > Signed-off-by: T Karthik Reddy > > Signed-off-by: Michal Simek > > --- > >

Re: [U-Boot] [PATCH] cmd: avoid decimal conversion

2019-09-13 Thread Tom Rini
On Wed, Sep 11, 2019 at 03:39:53PM +0200, Michal Simek wrote: > From: T Karthik Reddy > > This patch uses auto instead of decimal in simple_strtoul(). > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > cmd/test.c | 24 > 1 file changed, 12

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Michael Nazzareno Trimarchi
Hi On Fri, Sep 13, 2019 at 5:02 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Fri, Sep 13, 2019 at 4:02 PM Michael Nazzareno Trimarchi > wrote: > > > > Hi Anatolij > > > > On Fri, Sep 13, 2019 at 4:01 PM Anatolij Gustschin wrote: > > > > > > Hi Jagan, > > > > > > On Fri, 13 Sep 2019

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Michael Nazzareno Trimarchi
Hi On Fri, Sep 13, 2019 at 4:02 PM Michael Nazzareno Trimarchi wrote: > > Hi Anatolij > > On Fri, Sep 13, 2019 at 4:01 PM Anatolij Gustschin wrote: > > > > Hi Jagan, > > > > On Fri, 13 Sep 2019 08:19:47 +0530 > > Jagan Teki ja...@amarulasolutions.com wrote: > > ... > > > Any inputs? > > > > Try

Re: [U-Boot] [PATCH v2] cmd: env: extend "env [set|print] -e" to manage UEFI variables

2019-09-13 Thread Tom Rini
On Fri, Sep 06, 2019 at 03:10:44PM +0900, AKASHI Takahiro wrote: > With this patch, when setting UEFI variable with "env set -e" command, > we will be able to > - specify vendor guid with "-guid guid", > - specify variable attributes, BOOTSERVICE_ACCESS, RUNTIME_ACCESS, > respectively with

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

2019-09-13 Thread Otavio Salvador
On Thu, Sep 12, 2019 at 6:27 PM Joris Offouga wrote: > Just put CONFIG_DM_VIDEO in the defconfig Please adjust your PR and let me know; so I test it here. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-13 Thread Ondřej Jirman
On Fri, Sep 13, 2019 at 08:25:09AM -0600, Simon Glass wrote: > Hi Ondřej, > > On Thu, 12 Sep 2019 at 17:39, Ondřej Jirman wrote: > > > > On Thu, Sep 12, 2019 at 01:28:10PM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Thu, 12 Sep 2019 at 12:28, Ondřej Jirman wrote: > > > > > > > > Hi, > >

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-13 Thread Simon Glass
Hi Ondřej, On Thu, 12 Sep 2019 at 17:39, Ondřej Jirman wrote: > > On Thu, Sep 12, 2019 at 01:28:10PM -0600, Simon Glass wrote: > > Hi, > > > > On Thu, 12 Sep 2019 at 12:28, Ondřej Jirman wrote: > > > > > > Hi, > > > > > > On Thu, Sep 12, 2019 at 12:22:15PM -0600, Simon Glass wrote: > > > > Hi,

[U-Boot] [PATCH 05/14] dfu: allow read with 0 data for EOF indication

2019-09-13 Thread Patrick Delaunay
This patch allows into the DFU backend to indicate that there is no remaining data (for EOF for example). That allows users to read a buffer greater than the device size; the dfu stack stops the read request when the backend return a length=0 without error. Signed-off-by: Patrick Delaunay ---

[U-Boot] [PATCH 12/14] stp32mp1: configs: activate CONFIG_MTD_SPI_NAND

2019-09-13 Thread Patrick Delaunay
Activate the support of SPI NAND in stm32mp1 U-Boot. Signed-off-by: Patrick Delaunay --- configs/stm32mp15_basic_defconfig | 1 + configs/stm32mp15_optee_defconfig | 1 + configs/stm32mp15_trusted_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 13/14] stm32mp1: board: add spi nand support

2019-09-13 Thread Patrick Delaunay
This patch adds the support of the spi nand device in mtdparts command and in dfu_alt_info. Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 32 +--- include/configs/stm32mp1.h | 10 -- 2 files changed, 37 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 07/14] dfu: add partition support for MTD backend

2019-09-13 Thread Patrick Delaunay
Add the support of MTD partition for the MTD backend. The expected dfu_alt_info for one alternate on the mtd device : part partubi "partubi" also erase up to the end of the partition after write operation. For example: dfu_alt_info = "spl part 1;u-boot part 2; UBI partubi 3"

[U-Boot] [PATCH 14/14] stm32mp1: add support for virtual partition read

2019-09-13 Thread Patrick Delaunay
Add read for OTP and PMIC NVM with alternates on virtual DFU device. Serie-cc: Boris Brezillon Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c| 83 + configs/stm32mp15_basic_defconfig | 1 + configs/stm32mp15_optee_defconfig | 1 +

[U-Boot] [PATCH 08/14] dfu: add DFU virtual backend

2019-09-13 Thread Patrick Delaunay
Add a virtual DFU backend to allow board specific read and write (for OTP update for example). Signed-off-by: Patrick Delaunay --- drivers/dfu/Kconfig| 7 ++ drivers/dfu/Makefile | 1 + drivers/dfu/dfu.c | 5 - drivers/dfu/dfu_virt.c | 49

[U-Boot] [PATCH 09/14] dfu: add callback for flush and initiated operation

2019-09-13 Thread Patrick Delaunay
Add weak callback to allow board specific behavior - flush - initiated This patch prepare usage of DFU back end for communication with STM32CubeProgrammer on stm32mp1 platform with stm32prog command. Signed-off-by: Patrick Delaunay --- drivers/dfu/dfu.c | 19 +++ include/dfu.h

[U-Boot] [PATCH 10/14] stm32mp1: activate DFU support and command MTD

2019-09-13 Thread Patrick Delaunay
Add support of DFU for MMC, MTD, RAM and MTD command. Signed-off-by: Patrick Delaunay --- configs/stm32mp15_basic_defconfig | 4 configs/stm32mp15_optee_defconfig | 4 configs/stm32mp15_trusted_defconfig | 4 3 files changed, 12 insertions(+) diff --git

[U-Boot] [PATCH 11/14] stm32mp1: activate SET_DFU_ALT_INFO

2019-09-13 Thread Patrick Delaunay
Generate automatically dfu_alt_info for the supported device. The simple command "dfu 0" allows to start the dfu stack on usb 0 for the supported devices: - dfu mtd for nand0 - dfu mtd for nor0 - dfu mmc for SDCard - dfu mmc for eMMC - dfu ram for images in DDR The DUF alternate use the "part",

[U-Boot] [PATCH 02/14] dfu: sf: add partition support for nor backend

2019-09-13 Thread Patrick Delaunay
Copy the partition support from NAND backend to SF, support part and partubi option. In case of ubi partition, erase the rest of the partition as it is mandatory for UBI. for example: U-Boot> env set dfu_alt_info "spl part 0 1;\ u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4" U-Boot> dfu 0

[U-Boot] [PATCH 06/14] dfu: add backend for MTD device

2019-09-13 Thread Patrick Delaunay
Add DFU backend for MTD device: allow to read and write on any MTD device (RAW or SPI) For example : > set dfu_alt_info "nand_raw raw 0x0 0x10" > dfu 0 mtd nand0 This MTD backend provides the same level than dfu nand backend for NAND in RAW mode and sf backend for NOR; So it can replace

[U-Boot] [PATCH 03/14] dfu: prepare the support of multiple interface

2019-09-13 Thread Patrick Delaunay
Split the function dfu_config_entities with 2 new functions - dfu_alt_init - dfu_alt_add Signed-off-by: Patrick Delaunay --- drivers/dfu/dfu.c | 51 --- include/dfu.h | 2 ++ 2 files changed, 41 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 04/14] dfu: allow to manage DFU on several devices

2019-09-13 Thread Patrick Delaunay
Add support of DFU for several interface/device with one command. The format for "dfu_alt_info" in this case is : interface with devstring'='alternate list (';' separated) and each interface is separated by '&' The previous behavior is always supported. One example for NOR (bootloaders) +

[U-Boot] [PATCH 01/14] dfu: cosmetic: cleanup sf to avoid checkpatch error

2019-09-13 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay --- drivers/dfu/dfu.c| 7 --- drivers/dfu/dfu_sf.c | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index d2b67b18cf..e9db7f8d66 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@

[U-Boot] [PATCH 00/14] dfu: update dfu stack and add MTD backend

2019-09-13 Thread Patrick Delaunay
This serie based on v2019.10-rc3 propose updates on the DFU stack: - add capability to have several DFU backend running in parallel - add MTD backend for update of NAND, NOR or SPI-NAND - add VIRTUAL backend for board/command specific behavior - add some weak callback It is the same content that

Re: [U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers

2019-09-13 Thread Tom Rini
On Mon, Sep 09, 2019 at 04:55:08PM +0530, Prabhakar Kushwaha wrote: > From: Priyanka Jain > > Change maintainers to Priyanka Jain for fsl-qoriq, mpc85xx > > Signed-off-by: Priyanka Jain > Acked-by: Prabhakar Kushwaha Prabhakar, thanks again for your contributions. Applied to u-boot/master,

Re: [U-Boot] Pull request for UEFI sub-system for v2019.10-rc4 (4)

2019-09-13 Thread Tom Rini
On Thu, Sep 12, 2019 at 11:57:45AM +0200, Heinrich Schuchardt wrote: > The following changes since commit 2f760735c170c854ffca76be5607cec5c56fdc4f: > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-09-07 > 13:49:39 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Why do we need both MDIO and MII commands

2019-09-13 Thread Tom Rini
On Fri, Sep 13, 2019 at 03:52:58PM +0300, Ramon Fried wrote: > On Thu, Sep 12, 2019 at 5:55 PM Tom Rini wrote: > > > > On Wed, Sep 11, 2019 at 10:58:22PM +0300, Ramon Fried wrote: > > > > > Hi. > > > Marek raised this issue in IRC several weeks ago and I was wondering > > > the same. why do we

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Heinrich Schuchardt
On 9/13/19 1:48 PM, Ondřej Jirman wrote: > On Fri, Sep 13, 2019 at 01:19:18PM +0200, Heinrich Schuchardt wrote: >> On 9/13/19 1:48 AM, meg...@megous.com wrote: >>> From: Ondrej Jirman >>> >>> The reverted patch causes linking error with disabled CONFIG_NET: >>> >>>cmd/built-in.o: In function

Re: [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit

2019-09-13 Thread Tom Rini
On Sun, Aug 04, 2019 at 02:10:36PM +0200, Heinrich Schuchardt wrote: > Build GRUB UEFI target grubriscv64.efi. It is needed for running > test_efi_grub_net(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng Applied to u-boot-gitlab-ci-runner/master. Pushed and

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Michael Nazzareno Trimarchi
Hi Anatolij On Fri, Sep 13, 2019 at 4:01 PM Anatolij Gustschin wrote: > > Hi Jagan, > > On Fri, 13 Sep 2019 08:19:47 +0530 > Jagan Teki ja...@amarulasolutions.com wrote: > ... > > Any inputs? > > Try to input "setenv stdout serial" command on the serial console. > There might be a chance that

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Anatolij Gustschin
Hi Jagan, On Fri, 13 Sep 2019 08:19:47 +0530 Jagan Teki ja...@amarulasolutions.com wrote: ... > Any inputs? Try to input "setenv stdout serial" command on the serial console. There might be a chance that stdout/stdin has switched to the video console and the output proceeds there. If the HDMI

[U-Boot] [PATCH] board: stm32mp1: fixup the usb product id for USB download gadget

2019-09-13 Thread Patrick Delaunay
Select the correct USB product id used by the download gadget for ST stm32mp1 boards. The board stm32mp1 select the correct product id, as defined in http://www.linux-usb.org/usb.ids for the STMicroelectronics vendor id = 0x0483 (CONFIG_USB_GADGET_VENDOR_NUM): - dfu = 0xdf11 : STM Device in DFU

Re: [U-Boot] [PATCH] arm: at91: gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT

2019-09-13 Thread Stefan Roese
Hi Alex, On 13.09.19 15:09, Alexander Dahl wrote: Am Dienstag, 27. August 2019, 08:14:50 CEST schrieb Stefan Roese: This patch enables the BBT in NAND on the AT91SAM based GARDENA smart Gateway. This is especially important, since the Linux driver also enables this option and uses the BBT

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-13 Thread Stefan Roese
Hi Ashish, On 12.09.19 14:36, Stefan Roese wrote: The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for ls1012ardb and ls2088ardb and untested for i.mx and other Layerscape silicon/boards . It is derived from work done by Frieder

Re: [U-Boot] [PATCH] arm: at91: gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT

2019-09-13 Thread Alexander Dahl
Hei hei, Am Dienstag, 27. August 2019, 08:14:50 CEST schrieb Stefan Roese: > This patch enables the BBT in NAND on the AT91SAM based GARDENA smart > Gateway. This is especially important, since the Linux driver also > enables this option and uses the BBT table pages. Without setting this >

Re: [U-Boot] Why do we need both MDIO and MII commands

2019-09-13 Thread Ramon Fried
On Thu, Sep 12, 2019 at 5:55 PM Tom Rini wrote: > > On Wed, Sep 11, 2019 at 10:58:22PM +0300, Ramon Fried wrote: > > > Hi. > > Marek raised this issue in IRC several weeks ago and I was wondering > > the same. why do we support this two commands which accomplish > > basically the same ? > > > >

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Ondřej Jirman
On Fri, Sep 13, 2019 at 01:19:18PM +0200, Heinrich Schuchardt wrote: > On 9/13/19 1:48 AM, meg...@megous.com wrote: > > From: Ondrej Jirman > > > > The reverted patch causes linking error with disabled CONFIG_NET: > > > >cmd/built-in.o: In function `eth_env_get_enetaddr': > >

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-13 Thread Ashish Kumar
> -Original Message- > From: Stefan Roese > Sent: Thursday, September 12, 2019 6:06 PM > To: Ashish Kumar ; Schrempf Frieder > ; Ye Li ; > ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi:

Re: [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit

2019-09-13 Thread Heinrich Schuchardt
On 9/12/19 11:17 PM, Tom Rini wrote: On Thu, Sep 12, 2019 at 10:31:39PM +0200, Heinrich Schuchardt wrote: On 8/4/19 3:31 PM, Bin Meng wrote: On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt wrote: Build GRUB UEFI target grubriscv64.efi. It is needed for running test_efi_grub_net().

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-13 Thread Heinrich Schuchardt
On 9/13/19 1:48 AM, meg...@megous.com wrote: From: Ondrej Jirman The reverted patch causes linking error with disabled CONFIG_NET: cmd/built-in.o: In function `eth_env_get_enetaddr': u-boot-v2019.10/cmd/nvedit.c:363: undefined reference to `eth_parse_enetaddr' Function

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

2019-09-13 Thread Stefan Roese
Hi Sam, On 12.09.19 18: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, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this

[U-Boot] [PATCH] mkimage: Set correct FDT type and ramdisk architecture in FIT auto mode

2019-09-13 Thread Michal Sojka
From: Michal Sojka When running the following command mkimage -f auto -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 \ -d zImage -b zynq-microzed.dtb -i initramfs.cpio image.ub the type of fdt subimage is the same as of the main kernel image and the architecture of the

Re: [U-Boot] rk3288: HDMI out causing boot hang

2019-09-13 Thread Tony McKahan
Hello Jagan, On Thu, Sep 12, 2019 at 10:50 PM Jagan Teki wrote: > > Hi All, > > Did anyone tried HDMI out on rk3288? Enabling HDMI out causing boot > hang, during stdout initialization from console.c > > Enabled below configs and stdin/out/err environment to probe the > DM_VIDEO, seems like the

[U-Boot] [PATCH v4 10/15] board: Add STM32F769 SoC, discovery board support

2019-09-13 Thread Yannick Fertré
Signed-off-by: Yannick Fertré --- configs/stm32f769-disco_defconfig | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 configs/stm32f769-disco_defconfig diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig new file

[U-Boot] [PATCH v4 14/15] stm32mp1: configs: update video

2019-09-13 Thread Yannick Fertré
Update video configs to support bitmap 16bpp, 24bpp, 32bpp & RLE8. Signed-off-by: Yannick Fertré --- include/configs/stm32mp1.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 92660fe..988992b 100644 ---

[U-Boot] [PATCH v4 12/15] ARM: dts: stm32mp1: add dsi host for stm32mp157c-ev1 board

2019-09-13 Thread Yannick Fertré
The new class dsi host allows the management of the bridge DPI to DSI. This bridge is embedded in the chipset mp1 (come from synopsys company). Signed-off-by: Yannick Fertré --- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH v4 08/15] video: add support of panel OTM8009A

2019-09-13 Thread Yannick Fertré
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 9 + drivers/video/Makefile | 1 + drivers/video/orisetech_otm8009a.c | 379 + 3 files changed, 389

[U-Boot] [PATCH v4 11/15] ARM: dts: stm32f769: add display for STM32F769 disco board

2019-09-13 Thread Yannick Fertré
Enable the display controller, mipi dsi bridge & panel. Set panel display timings. Signed-off-by: Yannick Fertré --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 62 1 file changed, 62 insertions(+) diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi

[U-Boot] [PATCH v4 15/15] stm32mp1: configs: add display devices

2019-09-13 Thread Yannick Fertré
Add support of panels otm8009A, RM68200 & DSI controller. Limit resolution to 1280x800. Signed-off-by: Yannick Fertré --- configs/stm32mp15_basic_defconfig | 6 ++ configs/stm32mp15_optee_defconfig | 6 ++ configs/stm32mp15_trusted_defconfig | 6 ++ 3 files changed, 18

[U-Boot] [PATCH v4 13/15] ARM: dts: stm32mp1: add dsi host for stm32mp157c-dk2 board

2019-09-13 Thread Yannick Fertré
The new class dsi host allows the management of the bridge DPI to DSI. This bridge is embedded in the chipset mp1 (come from synopsys company). Signed-off-by: Yannick Fertré --- arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH v4 02/15] video: stm32: stm32_ltdc: add bridge to display controller

2019-09-13 Thread Yannick Fertré
Manage a bridge insert between the display controller & a panel. Signed-off-by: Yannick Fertré --- drivers/video/stm32/stm32_ltdc.c | 143 +++ 1 file changed, 83 insertions(+), 60 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v4 09/15] video: add support of panel RM68200

2019-09-13 Thread Yannick Fertré
Support for Raydium RM68200 720p dsi 2dl video mode panel. This rm68200 panel driver is based on the Linux Kernel driver from drivers/gpu/drm/panel/panel-raydium-rm68200.c. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 9 ++ drivers/video/Makefile | 1 +

[U-Boot] [PATCH v4 04/15] video: add support of MIPI DSI interface

2019-09-13 Thread Yannick Fertré
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel). Signed-off-by: Yannick Fertré --- drivers/video/Kconfig| 8 + drivers/video/Makefile | 1 + drivers/video/mipi_dsi.c | 828 +++

[U-Boot] [PATCH v4 05/15] dm: Add a dsi host uclass

2019-09-13 Thread Yannick Fertré
DSI host can usefully be modelled as their own uclass. Signed-off-by: Yannick Fertré --- arch/sandbox/dts/sandbox.dts | 6 ++- configs/sandbox_defconfig| 1 + drivers/video/Kconfig| 7 drivers/video/Makefile | 2 + drivers/video/dsi-host-uclass.c | 39

[U-Boot] [PATCH v4 07/15] video: add support of STM32 MIPI DSI controller driver

2019-09-13 Thread Yannick Fertré
Add the STM32 DSI controller driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: Yannick Fertré --- drivers/video/stm32/Kconfig | 9 + drivers/video/stm32/Makefile| 1 + drivers/video/stm32/stm32_dsi.c | 490

[U-Boot] [PATCH v4 06/15] video: add MIPI DSI host controller bridge

2019-09-13 Thread Yannick Fertré
Add a Synopsys Designware MIPI DSI host bridge driver, based on the Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/dw_mipi_dsi.c | 838

[U-Boot] [PATCH v4 03/15] include: Add new DCS commands in the enum list

2019-09-13 Thread Yannick Fertré
Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC. Signed-off-by: Yannick Fertré --- include/mipi_display.h | 8 1 file changed, 8 insertions(+) diff --git a/include/mipi_display.h b/include/mipi_display.h index ddcc8ca..19aa65a 100644 ---

[U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-13 Thread Yannick Fertré
If the size of the bitmap is bigger than the size of the panel then errors appear when calculating axis alignment and the copy of bitmap is done outside of framebuffer. Signed-off-by: Yannick Fertré --- drivers/video/video_bmp.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[U-Boot] [PATCH v4 00/15] splash screen on the stm32f769 & stm32mp1 boards

2019-09-13 Thread Yannick Fertré
Version 1: - Initial commit. Version 2: - swap patches to avoid compilation issue. - remove panel timings from device tree. Version 3: - Share same include file mipi_display.h with kernel linux. - Rework ltdc driver with last comments of Anatolij Gustshin. - Check ordering (file dw_mipi_dsi.c).

Re: [U-Boot] [EXT] Saving u-boot environment on LS1046ardb QSPI bricks flash memory

2019-09-13 Thread Ashish Kumar
> -Original Message- > From: U-Boot On Behalf Of Matthew > Ratson > Sent: Friday, September 13, 2019 12:55 AM > To: u-boot@lists.denx.de > Subject: [EXT] [U-Boot] Saving u-boot environment on LS1046ardb QSPI > bricks flash memory > > Caution: EXT Email > > Hi there, > > I am

Re: [U-Boot] u-boot working version for Rasberry Pi 4

2019-09-13 Thread Matthias Brugger
On 09/09/2019 11:35, Sachin Mehrotra wrote: > Dear Concern, > > I am working for u-boot for rpi4, may I know do we have updated working > version for Raspberry Pi 4. > I was testing the version https://gitlab.denx.de/u-boot/u-boot with >

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

2019-09-13 Thread Prabhakar Kushwaha
> -Original Message- > From: Jagan Teki > Sent: Friday, September 13, 2019 7:58 AM > To: Prabhakar Kushwaha > Cc: Xiaowei Bao ; Priyanka Jain > ; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; > s...@chromium.org; Chuanhua Han ; Jagdish > Gediya ; bmeng...@gmail.com; u- >

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

2019-09-13 Thread Suniel Mahesh
Hi Sam, On 12/09/19 22:03, 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, >>> >>> After transition to DM WDT, watchdog timer on BeagleBone Black resets >>> the board after 1