[U-Boot] [PATCH v2 01/11] lib: add TPL_OF_LIBFDT option for TPL

2017-12-19 Thread Kever Yang
TPL may need use libfdt for dt decode, add option for it. Signed-off-by: Kever Yang --- Changes in v2: None lib/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index f447c53..b43ef22 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -234,6 +234,16

[U-Boot] [PATCH v2 03/11] arm: add a separate stack for TPL

2017-12-19 Thread Kever Yang
TPL stack may different from SPL and sys stack, add support for separate one when the board defines it. Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/lib/crt0.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index f

[U-Boot] [PATCH v2 02/11] arm: add option for TPL ARCH_MEM in arm 32bit

2017-12-19 Thread Kever Yang
Some options like TPL_SYS_THUMB_BUILD, TPL_USE_ARCH_MEMCPY and TPL_USE_ARCH_MEMCPY are needed for TPL build in 32bit arm. Signed-off-by: Kever Yang --- Changes in v2: - update subject with ARCH_MEM info arch/arm/Kconfig | 29 + 1 file changed, 29 insertions(+) diff

[U-Boot] [PATCH v2 05/11] sysreset: enable driver support in SPL/TPL

2017-12-19 Thread Kever Yang
SPL/TPL also need use sysreset for some feature like panic callback. Signed-off-by: Kever Yang --- Changes in v2: None drivers/sysreset/Kconfig | 18 ++ drivers/sysreset/Makefile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/sysreset/Kconfig b

[U-Boot] [PATCH v2 04/11] rockchip: rk322x: enable tpl support

2017-12-19 Thread Kever Yang
Move original spl to tpl, and add spl to load next stage firmware, adapt all the address and option for them. Serial-changes: 2 - update upon latest source Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/mach-rockchip/Kconfig | 9 +++ arch/arm/mach-rockchip/Makefile

[U-Boot] [PATCH v2 07/11] spl: add support to booting with OP-TEE

2017-12-19 Thread Kever Yang
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in non-secure mode; More detail: https://github.com/OP-TEE/optee_os and search for 'boot argument

[U-Boot] [PATCH v2 09/11] rockchip: add fit source file for pack itb with op-tee

2017-12-19 Thread Kever Yang
We package U-Boot and OP-TEE into one itb file for SPL, so that we can support OP-TEE in SPL. Signed-off-by: Kever Yang --- Changes in v2: - Make the its as common file used for all armv7 with op-tee arch/arm/mach-rockchip/fit_spl_optee.its | 50 1 file changed

[U-Boot] [PATCH v2 10/11] rockchip: evb-rk3229: add README file for OP-TEE support

2017-12-19 Thread Kever Yang
Detail of step by step to bring up the board with OP-TEE support. Signed-off-by: Kever Yang --- Changes in v2: None board/rockchip/evb_rk3229/README | 72 1 file changed, 72 insertions(+) create mode 100644 board/rockchip/evb_rk3229/README diff --git

[U-Boot] [PATCH v2 11/11] rockchip: evb-rk322x: update defconfig with tpl and optee support

2017-12-19 Thread Kever Yang
Enable all the options for TPL/SPL and OPTEE. Signed-off-by: Kever Yang --- Changes in v2: - update defconfig option configs/evb-rk3229_defconfig | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_de

[U-Boot] [PATCH v2 06/11] image: add os type for OP-TEE

2017-12-19 Thread Kever Yang
OP-TEE is an open source trust OS maintained here: https://github.com/OP-TEE/optee_os Signed-off-by: Kever Yang --- Changes in v2: - Add new image type like ATF common/image.c | 1 + include/image.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/image.c b/common/image.c index 4b

[U-Boot] [PATCH v2 08/11] rockchip: rk322x: dts: enable uart2 for SPL/TPL

2017-12-19 Thread Kever Yang
When we use DM_SERIAL for serial driver, we need enable the dts node for the debug console. Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/dts/rk3229-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts index ae0b0a4.

Re: [U-Boot] [EXT] [PATCH] arm64: mvebu: armada-8k: support SD card environment

2017-12-19 Thread Kostya Porotchkin
Hi, Baruch, > -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Tuesday, December 19, 2017 08:43 > To: Kostya Porotchkin > Cc: Stefan Roese; u-boot@lists.denx.de; Sergey Matyukevich > Subject: Re: [EXT] [PATCH] arm64: mvebu: armada-8k: support SD card > environment

[U-Boot] [PATCH v3 01/11] lib: add TPL_OF_LIBFDT option for TPL

2017-12-19 Thread Kever Yang
TPL may need use libfdt for dt decode, add option for it. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None lib/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index f447c53..b43ef22 100644 --- a/lib/Kconfig +++ b/lib/Kconfi

[U-Boot] [PATCH v3 02/11] arm: add option for TPL ARCH_MEM in arm 32bit

2017-12-19 Thread Kever Yang
Some options like TPL_SYS_THUMB_BUILD, TPL_USE_ARCH_MEMCPY and TPL_USE_ARCH_MEMCPY are needed for TPL build in 32bit arm. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: - update subject with ARCH_MEM info arch/arm/Kconfig | 29 + 1 file changed, 29

[U-Boot] [PATCH v3 05/11] sysreset: enable driver support in SPL/TPL

2017-12-19 Thread Kever Yang
SPL/TPL also need use sysreset for some feature like panic callback. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None drivers/sysreset/Kconfig | 18 ++ drivers/sysreset/Makefile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/driver

[U-Boot] [PATCH v3 03/11] arm: add a separate stack for TPL

2017-12-19 Thread Kever Yang
TPL stack may different from SPL and sys stack, add support for separate one when the board defines it. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None arch/arm/lib/crt0.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/crt0.S b/arch/ar

[U-Boot] [PATCH v3 10/11] rockchip: evb-rk3229: add README file for OP-TEE support

2017-12-19 Thread Kever Yang
Detail of step by step to bring up the board with OP-TEE support. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None board/rockchip/evb_rk3229/README | 72 1 file changed, 72 insertions(+) create mode 100644 board/rockchip/evb_rk3229

[U-Boot] [PATCH v3 07/11] spl: add support to booting with OP-TEE

2017-12-19 Thread Kever Yang
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in non-secure mode; More detail: https://github.com/OP-TEE/optee_os and search for 'boot argument

[U-Boot] [PATCH v3 06/11] image: add os type for OP-TEE

2017-12-19 Thread Kever Yang
OP-TEE is an open source trust OS maintained here: https://github.com/OP-TEE/optee_os Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: - Add new image type like ATF common/image.c | 1 + include/image.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/image.c b/com

[U-Boot] [PATCH v3 09/11] rockchip: add fit source file for pack itb with op-tee

2017-12-19 Thread Kever Yang
We package U-Boot and OP-TEE into one itb file for SPL, so that we can support OP-TEE in SPL. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: - Make the its as common file used for all armv7 with op-tee arch/arm/mach-rockchip/fit_spl_optee.its | 50

[U-Boot] [PATCH v3 04/11] rockchip: rk322x: enable tpl support

2017-12-19 Thread Kever Yang
Move original spl to tpl, and add spl to load next stage firmware, adapt all the address and option for them. Serial-changes: 2 - update upon latest source Signed-off-by: Kever Yang --- Changes in v3: - do not init ddr region in spl Changes in v2: None arch/arm/mach-rockchip/Kconfig

[U-Boot] [PATCH v3 08/11] rockchip: rk322x: dts: enable uart2 for SPL/TPL

2017-12-19 Thread Kever Yang
When we use DM_SERIAL for serial driver, we need enable the dts node for the debug console. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3229-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-ev

Re: [U-Boot] [PATCH 5/7] sunxi: arm64: correct usage of DT node address in FIT generation

2017-12-19 Thread Andre Przywara
Hi Simon, thanks for going through this! On 19/12/17 04:24, Simon Glass wrote: > Hi Andre, > > On 3 December 2017 at 19:05, Andre Przywara wrote: >> The DT spec demands a unit-address in a node name to match the "reg" >> property in that node. Newer dtc versions will throw warnings if this is >

Re: [U-Boot] [PULL] Rework : Please pull u-boot-imx

2017-12-19 Thread Stefano Babic
Hi Tom, Martyn, On 18/12/2017 18:22, Tom Rini wrote: > On Sun, Dec 17, 2017 at 10:50:49PM +0100, Stefano Babic wrote: > >> Hi Tom, >> >> please pull from u-boot-imx ("power: pmic/regulator allow dm be omitted >> by SPL" dropped), thanks ! >> >> The following changes since commit fcc8250c2f7c982f3

[U-Boot] [PATCH v3 11/11] rockchip: evb-rk322x: update defconfig with tpl and optee support

2017-12-19 Thread Kever Yang
Enable all the options for TPL/SPL and OPTEE. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: - update defconfig option configs/evb-rk3229_defconfig | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/configs/evb-rk3229_defconfig b/c

Re: [U-Boot] [PATCH v4 1/2] drivers/reset: support rockchip reset drivers

2017-12-19 Thread Dr. Philipp Tomsich
Kever, while this version has finally fixed the build errors for the rockchip-targets, it still causes major build failures for other target families: see https://travis-ci.org/ptomsich/u-boot-rockchip/builds/318128281 The new driver still appears to be built for the failing boards. Reg

Re: [U-Boot] [PATCH 09/13] board: ti: am574x-idk: Add ddr data support

2017-12-19 Thread Lukasz Majewski
Hi Lokesh, > Hi Lukas, > > On Monday 18 December 2017 04:46 PM, Lukasz Majewski wrote: > > Hi Lokesh, > > > >> AM574x-idk has the following DDR parts attached: > >> EMIF1: MT41K256M16HA (1GB with ECC) > >> EMIF2: MT41K256M16HA (1GB without ECC) > >> > >> Enabling 2GB DDR without interleaving b

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-19 Thread Lothar Waßmann
Hi, On Mon, 18 Dec 2017 10:17:03 +0100 Marek Vasut wrote: > On 12/18/2017 10:02 AM, linux-kernel-...@beckhoff.com wrote: > > From: Patrick Bruenn > > > > Static variables are not available during board_init_f(). > > They are, since the board runs from RAM at that point already. > That's not th

Re: [U-Boot] [PATCH] doc: Document for generic firmware loader

2017-12-19 Thread Chee, Tien Fong
On Isn, 2017-12-18 at 10:28 +0100, Lukasz Majewski wrote: > Hi Tien, > > > > > From: Tien Fong Chee > > > > This is initial draft document about generic firmware loader. > > The intention of this patch is open for discussion, and final > > version > > will be included together with next version

[U-Boot] [PATCH v5 1/2] drivers/reset: support rockchip reset drivers

2017-12-19 Thread Kever Yang
From: Elaine Zhang Create driver to support all Rockchip SoCs soft reset. Example of usage: i2c driver: ret = reset_get_by_name(dev, "i2c", &reset_ctl); if (ret) { error("reset_get_by_name() failed: %d\n", ret); } reset_assert(&reset_ctl);

[U-Boot] [PATCH v5 2/2] rockchip: clk: bind reset driver

2017-12-19 Thread Kever Yang
From: Elaine Zhang Bind rockchip reset to clock-controller with rockchip_reset_bind(). Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang --- Changes in v5: None Changes in v4: - fix compile error if CONFIG_RESET_ROCKCHIP not defined Changes in v3: - add missing offset for rk3399 pmuclk b

Re: [U-Boot] [PATCH v4 1/2] drivers/reset: support rockchip reset drivers

2017-12-19 Thread Kever Yang
Philipp, On 12/19/2017 05:29 PM, Dr. Philipp Tomsich wrote: Kever, while this version has finally fixed the build errors for the rockchip-targets, it still causes major build failures for other target families: see https://travis-ci.org/ptomsich/u-boot-rockchip/builds/318128281 The n

Re: [U-Boot] [PATCH v4 2/2] common: Generic firmware loader for file system

2017-12-19 Thread Chee, Tien Fong
On Isn, 2017-12-18 at 08:39 +0100, Lothar Waßmann wrote: > Hi, > > On Mon, 18 Dec 2017 13:10:56 +0800 tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage into target such as memory.

Re: [U-Boot] [PATCH 2/3] usb: ehci: fsl: Fix some compile warnings.

2017-12-19 Thread Marek Vasut
On 12/19/2017 08:33 AM, Ran Wang wrote: Commit message explaining what "some" means is missing. > Signed-off-by: Ran Wang > --- > drivers/usb/host/ehci-fsl.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl

Re: [U-Boot] [PATCH v4 2/2] common: Generic firmware loader for file system

2017-12-19 Thread Marek Vasut
On 12/19/2017 11:31 AM, Chee, Tien Fong wrote: > On Isn, 2017-12-18 at 08:39 +0100, Lothar Waßmann wrote: >> Hi, >> >> On Mon, 18 Dec 2017 13:10:56 +0800 tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This is file system generic loader which can be used to load >>> the file i

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-19 Thread Marek Vasut
On 12/19/2017 05:28 AM, Patrick Brünn wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Montag, 18. Dezember 2017 13:30 >> On 12/18/2017 01:16 PM, Patrick Brünn wrote: From: Marek Vasut [mailto:ma...@denx.de] Sent: Montag, 18. Dezember 2017 12:52 On 12/18/2017 12:40 PM, Pat

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-19 Thread Marek Vasut
On 12/19/2017 08:48 AM, Patrick Brünn wrote: >> From: Patrick Brünn >> Sent: Dienstag, 19. Dezember 2017 05:29 >>> From: Marek Vasut [mailto:ma...@denx.de] >>> Sent: Montag, 18. Dezember 2017 13:30 >>> On 12/18/2017 01:16 PM, Patrick Brünn wrote: > From: Marek Vasut [mailto:ma...@denx.de] >

Re: [U-Boot] [PATCH v4 2/2] common: Generic firmware loader for file system

2017-12-19 Thread Lothar Waßmann
Hi, On Tue, 19 Dec 2017 10:31:13 + Chee, Tien Fong wrote: > On Isn, 2017-12-18 at 08:39 +0100, Lothar Waßmann wrote: > > Hi, > > > > On Mon, 18 Dec 2017 13:10:56 +0800 tien.fong.c...@intel.com wrote: > > > > > > From: Tien Fong Chee > > > > > > This is file system generic loader which can

Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-19 Thread Jagan Teki
On Fri, Dec 8, 2017 at 8:31 AM, Jagan Teki wrote: > On Fri, Dec 8, 2017 at 7:59 AM, Chen-Yu Tsai wrote: >> On Fri, Dec 8, 2017 at 1:01 AM, Jagan Teki wrote: >>> On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry

Re: [U-Boot] [PATCH] sunxi: imply CONFIG_OF_LIBFDT_OVERLAY

2017-12-19 Thread Jagan Teki
On Wed, Dec 13, 2017 at 2:16 PM, Andre Heider wrote: > fdt overlay support is useful for all sunxi boards, enable per default > and remove it from sunxi defconfigs. > > Signed-off-by: Andre Heider > --- > > Hi, > > there're way too many sunxi boards so I'm not 100% sure this is the best > approac

[U-Boot] Pull request: u-boot-sunxi/master

2017-12-19 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit b6251db8c3f0de605b4cd6f15a00fc7dd19cda63: Kconfig: Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND (2017-11-17 16:37:26 -0500) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git maste

Re: [U-Boot] [PATCH] mtd/spi: fix block count for is25lq040b

2017-12-19 Thread Jagan Teki
On Fri, Dec 15, 2017 at 1:21 PM, Sean Nyekjaer wrote: > This spi-nor is 4Mbit/512KB > > Fixes: b4fbcbc5a5 ("mtd/spi: add support for is25lq040b") > Signed-off-by: Sean Nyekjaer > --- Applied to u-boot-spi/master ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-19 Thread Patrick Brünn
>From: Patrick Brünn >Sent: Dienstag, 19. Dezember 2017 05:29 >>From: Marek Vasut [mailto:ma...@denx.de] >>Sent: Montag, 18. Dezember 2017 13:30 >>On 12/18/2017 01:16 PM, Patrick Brünn wrote: From: Marek Vasut [mailto:ma...@denx.de] Sent: Montag, 18. Dezember 2017 12:52 On 12/18/2017

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-19 Thread Patrick Brünn
>From: Marek Vasut [mailto:ma...@denx.de] >Sent: Montag, 18. Dezember 2017 13:30 >On 12/18/2017 01:16 PM, Patrick Brünn wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] >>> Sent: Montag, 18. Dezember 2017 12:52 >>> On 12/18/2017 12:40 PM, Patrick Brünn wrote: [...] >>> btw do you use SPL ? If no

[U-Boot] [PATCH v3 00/11] rockchip: add tpl and OPTEE support for rk3229

2017-12-19 Thread Kever Yang
Add some generic options for TPL support for arm 32bit, and then and TPL support for rk3229(cortex-A7), and then add OPTEE support in SPL. Tested on latest u-boot-rockchip master. Changes in v3: - do not init ddr region in spl Changes in v2: - update subject with ARCH_MEM info - Add new image

[U-Boot] [PATCH v2 00/11] rockchip: add tpl and OPTEE support for rk3229

2017-12-19 Thread Kever Yang
Add some generic options for TPL support for arm 32bit, and then and TPL support for rk3229(cortex-A7), and then add OPTEE support in SPL. Tested on latest u-boot-rockchip master. Changes in v2: - update subject with ARCH_MEM info - Add new image type like ATF - Using new image type for op-tee

Re: [U-Boot] [PATCH v2 00/11] rockchip: add tpl and OPTEE support for rk3229

2017-12-19 Thread Kever Yang
Hi Philipp, This patch 4/11 is not correct, it can not pass the buildman, I will send a new version, pls ignore this version. Thanks, - Kever On 12/19/2017 04:18 PM, Kever Yang wrote: Add some generic options for TPL support for arm 32bit, and then and TPL support for rk3229(cortex-A7), an

[U-Boot] Pull request: u-boot-spi/master

2017-12-19 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 16fa2eb95172e63820ee5f3d4052f3362a6de84e: ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx (2017-11-21 08:03:39 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git mast

Re: [U-Boot] [PATCH 04/13] arm: keystone: Move cmd_ddr3 to a common place

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 10:31:19AM +0530, Lokesh Vutla wrote: > > > On Tuesday 19 December 2017 01:33 AM, Tom Rini wrote: > > On Mon, Dec 18, 2017 at 03:04:16PM +0530, Lokesh Vutla wrote: > > > >> Move cmd_ddr3 to board/ti/common/ in order to make > >> it build for non-keystone TI platforms. > >

Re: [U-Boot] [PATCH 04/13] arm: keystone: Move cmd_ddr3 to a common place

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 10:31:19AM +0530, Lokesh Vutla wrote: > > > On Tuesday 19 December 2017 01:33 AM, Tom Rini wrote: > > On Mon, Dec 18, 2017 at 03:04:16PM +0530, Lokesh Vutla wrote: > > > >> Move cmd_ddr3 to board/ti/common/ in order to make > >> it build for non-keystone TI platforms. > >

Re: [U-Boot] [PATCH] sunxi: imply CONFIG_OF_LIBFDT_OVERLAY

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 05:12:00PM +0530, Jagan Teki wrote: > On Wed, Dec 13, 2017 at 2:16 PM, Andre Heider wrote: > > fdt overlay support is useful for all sunxi boards, enable per default > > and remove it from sunxi defconfigs. > > > > Signed-off-by: Andre Heider > > --- > > > > Hi, > > > > th

Re: [U-Boot] [PATCH 6/7] tools: fix incorrect usage of DT node unit address

2017-12-19 Thread sjg
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Correct the generated unit names when U-Boot's mkimage creates a FIT > image. > > S

Re: [U-Boot] [PATCH 7/7] armv8: secure firmware: fix incorrect unit address in node name

2017-12-19 Thread sjg
Hi Andre, On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Remove the unit address from the config node name when U-Boot deals with

Re: [U-Boot] [PATCH 3/7] doc: fix incorrect usage of DT node unit address

2017-12-19 Thread sjg
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in various documentation files where this was not > observed, to

Re: [U-Boot] [PATCH 6/7] tools: fix incorrect usage of DT node unit address

2017-12-19 Thread sjg
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Correct the generated unit names when U-Boot's mkimage creates a FIT > image. > > S

Re: [U-Boot] [PATCH 5/7] sunxi: arm64: correct usage of DT node address in FIT generation

2017-12-19 Thread sjg
Hi Simon, thanks for going through this! On 19/12/17 04:24, Simon Glass wrote: > Hi Andre, > > On 3 December 2017 at 19:05, Andre Przywara wrote: >> The DT spec demands a unit-address in a node name to match the "reg" >> property in that node. Newer dtc versions will throw warnings if this is >>

Re: [U-Boot] [PATCH 5/7] sunxi: arm64: correct usage of DT node address in FIT generation

2017-12-19 Thread sjg
Hi Simon, thanks for going through this! On 19/12/17 04:24, Simon Glass wrote: > Hi Andre, > > On 3 December 2017 at 19:05, Andre Przywara wrote: >> The DT spec demands a unit-address in a node name to match the "reg" >> property in that node. Newer dtc versions will throw warnings if this is >>

Re: [U-Boot] [PATCH 7/7] armv8: secure firmware: fix incorrect unit address in node name

2017-12-19 Thread sjg
Hi Andre, On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Remove the unit address from the config node name when U-Boot deals with

Re: [U-Boot] [PATCH 4/7] fix incorrect usage of DT node unit address in comments

2017-12-19 Thread sjg
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in the tree where node names were mentioned in > comments, to no

Re: [U-Boot] [PATCH v2 7/7] binman: Run code coverage tests

2017-12-19 Thread sjg
Binman has 100% test coverage for the code as it is at present. To encourage it to stay that way, run the code-coverage test as part of the normal U-Boot tests. This is RFC because it requires the Python code coverage tools to be available. Signed-off-by: Simon Glass --- Changes in v2: - Drop p

Re: [U-Boot] [PATCH v2 6/7] travis.yml: Run tests for tools

2017-12-19 Thread sjg
Run tests for the Python tools used by U-Boot. Signed-off-by: Simon Glass --- Changes in v2: None .travis.yml | 15 +++ 1 file changed, 15 insertions(+) Applied to u-boot-dm thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://li

[U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > So even though the actual u-boot.bin for 64-bit boards is still somewhat > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > the edge. So since v2017.11 u-boot.itb is already too big for the > traditional MMC en

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > > the edge. So si

Re: [U-Boot] [PATCH 1/7] doc: FIT image: fix incorrect description of DT node unit address

2017-12-19 Thread Simon Glass
On 18 December 2017 at 21:24, Simon Glass wrote: > On 3 December 2017 at 19:05, Andre Przywara wrote: >> The DT spec demands a unit-address in a node name to match the "reg" >> property in that node. Newer dtc versions will throw warnings if this is >> not the case. >> Fix all occurences in the F

Re: [U-Boot] [PATCH 2/7] doc: FIT image: fix incorrect examples of DT node unit address

2017-12-19 Thread Simon Glass
On 18 December 2017 at 21:24, Simon Glass wrote: > On 3 December 2017 at 19:05, Andre Przywara wrote: >> The DT spec demands a unit-address of a node name to match the "reg" >> property in that node. Newer dtc versions will throw warnings if this is >> not the case. >> Fix all occurences in the F

Re: [U-Boot] [PATCH 1/3][v3] common: Fix-up MAC addr in dts by fetching env variable serially

2017-12-19 Thread Simon Glass
On 12 December 2017 at 10:56, York Sun wrote: > On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: >> The MAC addresses get fixed in the device tree for "ethernet" nodes >> is by using trailing number behind "ethernet" found in "/aliases". >> It may not be necessary for the "ethernet" nodes to be s

Re: [U-Boot] [PATCH v2 3/7] test: Run patman tests

2017-12-19 Thread Simon Glass
On 26 November 2017 at 20:25, Simon Glass wrote: > Update the test script to run the patman tests also. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > test/run | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm ___ U-Boot m

Re: [U-Boot] [PATCH v2 4/7] test: Run buildman tests

2017-12-19 Thread Simon Glass
On 26 November 2017 at 20:25, Simon Glass wrote: > Update the test script to run the buildman tests also. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > test/run | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm ___ U-Boot

Re: [U-Boot] [PATCH v2 2/7] test: Run binman tests

2017-12-19 Thread Simon Glass
On 26 November 2017 at 20:25, Simon Glass wrote: > Update the test script to run the binman tests also. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Adjust PYTHONPATH for new locations > > test/run | 3 +++ > 1 file changed, 3 insertions(+) Applied to u-boot-dm __

Re: [U-Boot] [PATCH 3/3] [v3] boards: ls1046ardb: disable unavailable "ethernet" node in dts

2017-12-19 Thread Simon Glass
On 12 December 2017 at 10:56, York Sun wrote: > On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: >> Linux device tree contains "ethernet" node for all possible >> interface supported by SoC i.e. LS1046A. >> >> It is not necessary for a SerDes protocol to support all possible >> interface. So disa

Re: [U-Boot] [PATCH v2 5/7] test: Run dtoc tests

2017-12-19 Thread Simon Glass
On 26 November 2017 at 20:25, Simon Glass wrote: > Update the test script to run the dtoc tests also. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Adjust PYTHONPATH for new locations > > test/run | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm ___

Re: [U-Boot] [PATCH 2/3][v3] arm: Add support of updating dts before fix-up

2017-12-19 Thread Simon Glass
On 12 December 2017 at 10:56, York Sun wrote: > On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: >> "ethernet" node fix-up for device tree happens before Linux boot. >> >> There can be requirement of updating "ethernet" node even before >> fix-up. So, add support of updating "ethernet" node. >> >

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
1;5002;0c On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > > below the lim

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Alexander Graf
On 12/19/2017 02:12 PM, Maxime Ripard wrote: On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though the actual u-boot.bin for 64-bit boards is still somewhat below the limit (~480KB), adding the ATF image (~32KB) pushes it over the edge. So since v2017.11 u-boot.itb is al

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > 1;5002;0c > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > > So even though the

[U-Boot] Please pull u-boot-dm

2017-12-19 Thread Simon Glass
Hi Tom, Here is the remainder of my queue for u-boot-dm, including the test patches that were dropped. If any of the test patches cause a problem with your workflow, please let me know. If you would rather hold these off until next release that's fine too. I have had to leave out the live-tree tr

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:28:03PM +0100, Alexander Graf wrote: > On 12/19/2017 02:12 PM, Maxime Ripard wrote: > >On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >>So even though the actual u-boot.bin for 64-bit boards is still somewhat > >>below the limit (~480KB), adding the ATF

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi Maxime, thanks for having a look! On 19/12/17 13:12, Maxime Ripard wrote: > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: >> So even though the actual u-boot.bin for 64-bit boards is still somewhat >> below the limit (~480KB), adding the ATF image (~32KB) pushes it over >> th

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> Date: Tue, 19 Dec 2017 14:12:02 +0100 > From: Maxime Ripard > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > below the limit (~480KB), adding the ATF image (~32KB) pushes it over > > the edge. So

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Mark Kettenis
> From: Andre Przywara > Date: Tue, 19 Dec 2017 13:38:59 + > > Hi Maxime, > > thanks for having a look! > > On 19/12/17 13:12, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >> So even though the actual u-boot.bin for 64-bit boards is still somewh

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > > 1;5002;0c > > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > > On Tue, Dec 19, 2017 at 02:12:02PM +0100, Maxime Ripard wrote: > > > > On Tue, Dec 05, 2017 at

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:28:03PM +0100, Alexander Graf wrote: > On 12/19/2017 02:12 PM, Maxime Ripard wrote: > > - VIDEO_BPP8, VIDEO_BPP16 > > - VIDEO_ANSI > > - SHA256 > > - LZMA > > > > Removing those options make the u-boot.itb binary size going from > > 516kB to 478kB, making it func

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 13:51, Mark Kettenis wrote: >> From: Andre Przywara >> Date: Tue, 19 Dec 2017 13:38:59 + >> >> Hi Maxime, >> >> thanks for having a look! >> >> On 19/12/17 13:12, Maxime Ripard wrote: >>> On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though the a

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: > Hi Maxime, > > thanks for having a look! > > On 19/12/17 13:12, Maxime Ripard wrote: > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > >> So even though the actual u-boot.bin for 64-bit boards is still somewhat

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: > > > 1;5002;0c > > > On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom Rini wrote: > > > > On Tue, Dec 19, 2017

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 14:20, Tom Rini wrote: > On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: >> On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: >>> On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripard wrote: 1;5002;0c On Tue, Dec 19, 2017 at 08:15:31AM -0500, Tom

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 02:22:59PM +, Andre Przywara wrote: > Hi, > > On 19/12/17 14:20, Tom Rini wrote: > > On Tue, Dec 19, 2017 at 03:09:52PM +0100, Maxime Ripard wrote: > >> On Tue, Dec 19, 2017 at 08:30:31AM -0500, Tom Rini wrote: > >>> On Tue, Dec 19, 2017 at 02:26:40PM +0100, Maxime Ripa

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi Maxime, On 19/12/17 14:20, Maxime Ripard wrote: > On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: >> Hi Maxime, >> >> thanks for having a look! >> >> On 19/12/17 13:12, Maxime Ripard wrote: >>> On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: So even though t

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Jagan Teki
On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara wrote: > Hi Maxime, > > On 19/12/17 14:20, Maxime Ripard wrote: >> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: >>> Hi Maxime, >>> >>> thanks for having a look! >>> >>> On 19/12/17 13:12, Maxime Ripard wrote: On Tue, Dec 05, 2

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Andre Przywara
Hi, On 19/12/17 14:38, Jagan Teki wrote: > On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara > wrote: >> Hi Maxime, >> >> On 19/12/17 14:20, Maxime Ripard wrote: >>> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: Hi Maxime, thanks for having a look! On 19/

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Chen-Yu Tsai
On Tue, Dec 19, 2017 at 10:38 PM, Jagan Teki wrote: > On Tue, Dec 19, 2017 at 7:57 PM, Andre Przywara > wrote: >> Hi Maxime, >> >> On 19/12/17 14:20, Maxime Ripard wrote: >>> On Tue, Dec 19, 2017 at 01:38:59PM +, Andre Przywara wrote: Hi Maxime, thanks for having a look!

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 10:41:23PM +0800, Chen-Yu Tsai wrote: > > All these trimming(if it fits) seems to be nice for now, but what if > > once driver-model MMC, reset, pinctrl, clk, regulator are IN? I guess a better question would be: what are we doing to fix an issue we had in a release already

Re: [U-Boot] [PATCH] am335x_hs_evm: Trim options in SPL to reduce binary size

2017-12-19 Thread Andrew F. Davis
On 12/16/2017 10:04 PM, Tom Rini wrote: > The am335x_hs_evm runs into size constraint problems at times with > various toolchains as changes come in due to the config have a large > number of options in SPL (to showcase what is possible) while also > having rather constrained binary limits. Gain s

Re: [U-Boot] [PATCH] am335x_hs_evm: Trim options in SPL to reduce binary size

2017-12-19 Thread Tom Rini
On Tue, Dec 19, 2017 at 08:54:25AM -0600, Andrew F. Davis wrote: > On 12/16/2017 10:04 PM, Tom Rini wrote: > > The am335x_hs_evm runs into size constraint problems at times with > > various toolchains as changes come in due to the config have a large > > number of options in SPL (to showcase what i

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:41:17PM +0100, Mark Kettenis wrote: > > Date: Tue, 19 Dec 2017 14:12:02 +0100 > > From: Maxime Ripard > > > > On Tue, Dec 05, 2017 at 10:28:20AM +, Andre Przywara wrote: > > > So even though the actual u-boot.bin for 64-bit boards is still somewhat > > > below the l

Re: [U-Boot] [PATCH] sunxi: imply CONFIG_OF_LIBFDT_OVERLAY

2017-12-19 Thread Andre Heider
On 19/12/17 13:51, Maxime Ripard wrote: On Tue, Dec 19, 2017 at 05:12:00PM +0530, Jagan Teki wrote: On Wed, Dec 13, 2017 at 2:16 PM, Andre Heider wrote: fdt overlay support is useful for all sunxi boards, enable per default and remove it from sunxi defconfigs. Signed-off-by: Andre Heider ---

Re: [U-Boot] ARM64 Allwinner Binary Size

2017-12-19 Thread Maxime Ripard
On Tue, Dec 19, 2017 at 02:27:57PM +, Andre Przywara wrote: > >>> Removing those options make the u-boot.itb binary size going from > >>> 516kB to 478kB, making it functional again *and* allowing us to enable > >>> the DT overlays that seem way more important than any feature > >>> mentionned a

Re: [U-Boot] [RESEND PATCH 1/2] ARM: DTS: stm32: add MMC nodes for stm32f746-disco and stm32f769-disco

2017-12-19 Thread Simon Glass
On 12 December 2017 at 02:14, wrote: > From: Patrice Chotard > > Add DT nodes to enable ARM_PL180_MMCI IP support for STM32F746 > and STM32F769 discovery boards > > There is a hardware issue on these boards, it misses a pullup on the GPIO line > used as card detect to allow correct SD card detec

Re: [U-Boot] Swig now required to build U-Boot?

2017-12-19 Thread Simon Glass
Hi Tom, On 11 December 2017 at 18:51, Tom Rini wrote: > On Fri, Dec 08, 2017 at 04:16:41PM -0800, Sergey Kubushyn wrote: >> On Fri, 8 Dec 2017, Simon Glass wrote: >> >> >Hi Stephen, >> > >> >On 8 December 2017 at 16:28, Stephen Warren wrote: >> >>Simon, >> >> >> >>Is it expected that the latest

Re: [U-Boot] [RESEND PATCH 2/2] configs: stm32f746-disco: enable MMC related flags

2017-12-19 Thread Simon Glass
On 12 December 2017 at 02:15, wrote: > From: Patrice Chotard > > STM32F469-disco embeds an arm_pl180 mmc IP, so > enable CMD_MMC, DM_MMC and ARM_PL180_MMCI flags. > > Also enables all filesystem command related flags : > _ CMD_EXT2 > _ CMD_EXT4 > _ CMD_FAT > _ CMD_FS_GENERIC > _ CMD_GP

  1   2   >