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
---
Changes in v
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 insertions(+), 19 deletions(-)
d
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 patch is to clean up
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
> 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
> > --- a/configs/mx53ppd_defconfig
> > +++ b/configs/mx53ppd_defconfig
> > @@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y
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 insertions(+), 7 dele
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
index 06fb4d3578..
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(+), 1 deletion(-)
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 +
drivers/Mak
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
--- a/configs/display5_defc
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: 1811a928c6c7604d6d05
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, Fabio Estevam
> >>>
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,
>
>> On Sat,
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, Luka
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:
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
>> > --- a/configs/mx53ppd_defconfig
>> > +++ b/conf
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
+++ b/cmd/Kconfig
@@ -308,6 +308,12 @@ config CMD_SP
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 deletions(-)
diff --git a/common/Kconfig b/common/Kcon
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 33bffaa89e..ef61790f4b 100644
--- a/common/update.c
+++ b/commo
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 3fbca2a08c..b83cf72022 100644
> >> > --- a/configs/m
>> 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,
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
---
Note, not sure whether we need to keep this workaro
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 -
fs/ubifs/Kconfig | 7 +++
include/co
Signed-off-by: Petr Vorel
---
README| 6 --
configs/am335x_igep003x_defconfig | 1 +
configs/igep0032_defconfig| 1 +
drivers/mtd/ubi/Kconfig | 8
env/Kconfig | 5 -
include/configs/am335x_igep003x.h | 3 ---
inc
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 size neutral. There are
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
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
> Sent: Friday, February 9, 2018 1:11 PM
> Subject: Re: [U-Boot] TCP & Overrrun
>
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 100644
--- a/drivers/clk/rockch
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 100644
--- a/drivers/clk/rockch
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 100644
--- a/drivers/clk/rockch
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 100644
--- a/drivers/clk/rockch
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 100644
--- a/drivers/clk/rockch
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 100644
--- a/drivers/clk/rockch
33 matches
Mail list logo