[U-Boot] [PATCH 5/6] rockchip: clk: rk3328: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk3328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 2ccc798..046b4e4

[U-Boot] [PATCH 6/6] rockchip: clk: rk1108: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rv1108.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c index 224c813..958fc78

[U-Boot] [PATCH 3/6] rockchip: clk: rk322x: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk322x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk322x.c b/drivers/clk/rockchip/clk_rk322x.c index 4e6d2f0..ebcab73

[U-Boot] [PATCH 4/6] rockchip: clk: rk3288: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index 552a71a..3a36d04

[U-Boot] [PATCH 2/6] rockchip: clk: rk3188: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk3188.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index 6451c95..ad8df5a

[U-Boot] [PATCH 1/6] rockchip: clk: rk3036: convert to use live dt

2018-02-10 Thread Kever Yang
Use live dt api to get cru base addr. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk3036.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 510a00a..560222b

Re: [U-Boot] TCP & Overrrun

2018-02-10 Thread Duncan Hare
On Sun, 11 Feb 2018 00:39:05 + (UTC) Duncan Hare wrote: >  Duncan Hare > > 714 931 7952 > > > - Forwarded Message - > From: Joe Hershberger > To: Duncan Hare > Cc: Joe Hershberger ; u-boot

Re: [U-Boot] [PULL] efi v2018.03 patch queue 2018-02-10

2018-02-10 Thread Tom Rini
On Sat, Feb 10, 2018 at 12:28:21AM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi against v2018.03. Please pull. > > Alex > > > The following changes since commit 1811a928c6c7604d6d05a84b4d552a7c31b4994e: > > Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig

Re: [U-Boot] [PATCH] configs: Re-sync with CONFIG_DISTRO_DEFAULTS

2018-02-10 Thread Tom Rini
On Sat, Feb 10, 2018 at 04:54:38PM -0500, Tom Rini wrote: > A number of platforms include config_distro_defaults.h but do not enable > CONFIG_DISTRO_DEFAULTS. As they plainly intended to, set that flag and > re-sync config files. > > Signed-off-by: Tom Rini This is not

[U-Boot] [PATCH 3/3] Convert CONFIG_UBI_SILENCE_MSG to Kconfig

2018-02-10 Thread Petr Vorel
Signed-off-by: Petr Vorel --- README| 6 -- configs/am335x_igep003x_defconfig | 1 + configs/igep0032_defconfig| 1 + drivers/mtd/ubi/Kconfig | 8 env/Kconfig | 5 -

[U-Boot] [PATCH 2/3] Convert CONFIG_UBIFS_SILENCE_MSG to Kconfig

2018-02-10 Thread Petr Vorel
Signed-off-by: Petr Vorel Cc: Joe Hershberger Cc: Heiko Schocher --- README| 6 -- configs/am335x_igep003x_defconfig | 1 + configs/igep0032_defconfig| 1 + env/Kconfig | 1

[U-Boot] [PATCH 1/3] ubifs: Reintroduce using CONFIG_UBIFS_SILENCE_MSG

2018-02-10 Thread Petr Vorel
Use of CONFIG_UBIFS_SILENCE_MSG was added in 147162dac6 ("ubi: ubifs: Turn off verbose prints") Then it was removed in ff94bc40af ("mtd, ubi, ubifs: resync with Linux-3.14") Cc: Joe Hershberger Cc: Heiko Schocher Signed-off-by: Petr Vorel

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-10 Thread Alex Kiernan
>> I also worked through all the drivers, and made >> bootlimit configurable from Kconfig. But I see you're doing way more >> work around BOOTCOUNT, so I'll hold off on them. > > Maybe you can share / send the code, which replaces CONFIG_BOOTCOUNT > with CONFIG_BOOTCOUNT_LIMIT? > > Or even better,

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-10 Thread Lukasz Majewski
Hi Alex, > On Sat, Feb 10, 2018 at 10:01 AM, Lukasz Majewski > wrote: > > Hi Alex, > > > >> On Fri, Feb 9, 2018 at 10:50 PM, Lukasz Majewski > >> wrote: > >> > diff --git a/configs/mx53ppd_defconfig > >> > b/configs/mx53ppd_defconfig index

[U-Boot] [PATCH 3/3] tftp: update: Include missing cfi_flash.h header

2018-02-10 Thread Marek Vasut
Add the missing header, otherwise CONFIG_SYS_MAX_FLASH_BANKS may be undeclared. Signed-off-by: Marek Vasut Cc: Tom Rini --- common/update.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/update.c b/common/update.c index

[U-Boot] [PATCH 2/3] cmd: fitupd: Convert CONFIG_UPDATE_TFTP and co.

2018-02-10 Thread Marek Vasut
Convert the CONFIG_UPDATE_TFTP and related symbols to Kconfig. Signed-off-by: Marek Vasut Cc: Tom Rini --- common/Kconfig | 21 + scripts/config_whitelist.txt | 3 --- 2 files changed, 21 insertions(+), 3

[U-Boot] [PATCH 1/3] cmd: fitupd: Convert CONFIG_CMD_FITUPD

2018-02-10 Thread Marek Vasut
Convert the CONFIG_CMD_FITUPD symbol to Kconfig. Signed-off-by: Marek Vasut Cc: Tom Rini --- cmd/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 7368b6df52..7c51749398 100644 --- a/cmd/Kconfig

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-10 Thread Alex Kiernan
On Sat, Feb 10, 2018 at 10:01 AM, Lukasz Majewski wrote: > Hi Alex, > >> On Fri, Feb 9, 2018 at 10:50 PM, Lukasz Majewski >> wrote: >> > diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig >> > index 3fbca2a08c..b83cf72022 100644 >> > ---

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Lukasz Majewski
Hi Jonathan, > On Sat, Feb 10, 2018 at 10:57:26AM +0100, Lukasz Majewski wrote: > > Hi Jonathan, > > > > > On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > > > > Hi Jonathan, > > > > > > > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam > > > > > wrote:

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Jonathan Gray
On Sat, Feb 10, 2018 at 10:57:26AM +0100, Lukasz Majewski wrote: > Hi Jonathan, > > > On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > > > Hi Jonathan, > > > > > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > > > > On Sat, Feb 3, 2018 at 5:29 AM,

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Marek Vasut
On 02/10/2018 11:25 AM, Lukasz Majewski wrote: > On Sat, 10 Feb 2018 11:00:12 +0100 > Marek Vasut wrote: > >> On 02/10/2018 10:57 AM, Lukasz Majewski wrote: >>> Hi Jonathan, >>> On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > Hi Jonathan, >

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Lukasz Majewski
On Sat, 10 Feb 2018 11:00:12 +0100 Marek Vasut wrote: > On 02/10/2018 10:57 AM, Lukasz Majewski wrote: > > Hi Jonathan, > > > >> On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > >>> Hi Jonathan, > >>> > On Sat, Feb 03, 2018 at 11:00:35AM -0200,

[U-Boot] [PATCH v1 0/5] Provide SPL support for bootcount (in the case of using falcon boot mode)

2018-02-10 Thread Lukasz Majewski
This patch series provides support for controlling bootcount limits in SPL. It also enables this feature on display5 board to present usage patterns. "Green" travis CI build: https://travis-ci.org/lmajewski/u-boot-dfu This patch has been applied on top of u-boot/master: SHA1:

[U-Boot] [PATCH v1 4/5] config: display5: Enable boot count feature in the display5 board

2018-02-10 Thread Lukasz Majewski
The boot count is enabled in both SPL and u-boot proper. Signed-off-by: Lukasz Majewski --- configs/display5_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/display5_defconfig b/configs/display5_defconfig index 1502b77fea..97c3b6a60c 100644 ---

[U-Boot] [PATCH v1 3/5] spl: bootcount: Enable bootcount support in SPL

2018-02-10 Thread Lukasz Majewski
New, SPL related config option - CONFIG_SPL_BOOTCOUNT_LIMIT has been added to allow drivers/bootcount code re-usage in SPL. This code is necessary to use and setup bootcount in SPL in the case of falcon boot mode. Signed-off-by: Lukasz Majewski --- common/spl/Kconfig | 9

[U-Boot] [PATCH v1 5/5] arm: display5: Extend SPL to support bootcount checking

2018-02-10 Thread Lukasz Majewski
This patch is necessary for providing basic bootcount checking in the case of using "falcon" boot mode. It forces u-boot proper boot, when we exceed the number of errors. Signed-off-by: Lukasz Majewski --- board/liebherr/display5/spl.c | 4 +++- 1 file changed, 3 insertions(+),

[U-Boot] [PATCH v1 1/5] bootcount: config: Make the SYS_BOOTCOUNT_ADDR available also for non EXT setups

2018-02-10 Thread Lukasz Majewski
This commit gives the opportunity to reuse the CONFIG_SYS_BOOTCOUNT_ADDR Kconfig entry also for boards, which do not use EXT as a storage for bootcount (i.e. on flash ones). Signed-off-by: Lukasz Majewski --- drivers/bootcount/Kconfig | 13 ++--- 1 file changed, 6

[U-Boot] [PATCH v1 2/5] bootcount: Add function wrappers to handle bootcount increment and error checking

2018-02-10 Thread Lukasz Majewski
Those two functions can be used in either SPL or U-boot proper to provide easy bootcount management. Signed-off-by: Lukasz Majewski --- include/bootcount.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/bootcount.h b/include/bootcount.h

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-10 Thread Lukasz Majewski
Hi Alex, > On Fri, Feb 9, 2018 at 10:50 PM, Lukasz Majewski > wrote: > > diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig > > index 3fbca2a08c..b83cf72022 100644 > > --- a/configs/mx53ppd_defconfig > > +++ b/configs/mx53ppd_defconfig > > @@ -21,6 +21,7 @@

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Marek Vasut
On 02/10/2018 10:57 AM, Lukasz Majewski wrote: > Hi Jonathan, > >> On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: >>> Hi Jonathan, >>> On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Lukasz Majewski
Hi Jonathan, > On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > > Hi Jonathan, > > > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > > > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski > > > > wrote: > > > > > The goal of this

[U-Boot] [PATCH v2 2/2] disk: part: use common api to lookup part driver

2018-02-10 Thread Kever Yang
Do not need to scan disk every time when we get part info by name. Signed-off-by: Kever Yang --- Changes in v2: - rebase to latest version - add error handle for partition tbale not exist disk/part.c | 35 --- 1 file changed, 16

[U-Boot] [PATCH v2 1/2] disk: part: scan the disk if the part_type is unknown

2018-02-10 Thread Kever Yang
If a DUT do not have partition table, and we write one with 'gpt write' cmd, we should able to list the partition with 'part list' cmd. It's reasonable to scan the disk again if the initial part_type is unknown in case we just write a new one into disk. Signed-off-by: Kever Yang