Re: [U-Boot] [PATCH v2 8/8] Add Micirosoft Azure pipelines configuration

2019-10-24 Thread Bin Meng
Hi Tom, On Thu, Oct 24, 2019 at 11:38 PM Tom Rini wrote: > > On Thu, Oct 24, 2019 at 11:31:30PM +0800, Bin Meng wrote: > > On Thu, Oct 24, 2019 at 11:10 PM Bin Meng wrote: > > > > > > Hi Tom, > > > > > > On Thu, Oct 24, 2019 at 11:01 PM Tom Rini wrote: > > > > > > > > On Wed, Oct 23, 2019 at

Re: [U-Boot] Regression in fastboot on X15 due to CDCE913 enabling

2019-10-24 Thread Vignesh Raghavendra
Hi Andrew, On 24/10/19 11:49 PM, Andrew F. Davis wrote: > On 10/24/19 11:25 AM, Vignesh Raghavendra wrote: >> Hi Sam, >> >> On 24-Oct-19 7:16 PM, Sam Protsenko wrote: >>> Putting Vignesh to "To:". >>> >>> Hi Vignesh, >>> >>> Please address Tero's comments below (I've marked with ^^^). Thanks. >>>

Re: [U-Boot] [PATCH] usb: composite: add BOS descriptor support to composite framework

2019-10-24 Thread Vignesh Raghavendra
Hi Michal, On 14/10/19 6:22 PM, Michal Simek wrote: > From: T Karthik Reddy > > To add usb-3.0 support to peripheral device add BOS & SS capability > descriptors to gadget composite framework. > How was this patch tested? With what gadget function driver was this tested? I don't see *any*

Re: [U-Boot] [PATCH 1/1] efi_driver: set block size for EFI block device

2019-10-24 Thread AKASHI Takahiro
On Thu, Oct 24, 2019 at 08:49:00PM +, Heinrich Schuchardt wrote: > Copy the block size from the block IO protocol to the U-Boot block device > descriptor. This information is used by the ext4 file system driver. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [U-Boot] python3 support for pylibfdt

2019-10-24 Thread Simon Glass
Hi, On Wed, 4 Sep 2019 at 08:36, Simon Glass wrote: > > Hi Tom, > > Ah OK. I was worried about doing it in one step. It might be too late > now but will take a look when I get time and we can see if it is safe. Just to close this thread, I have now sent a v2 series which I think covers this, as

Re: [U-Boot] [PATCH 12/12] rockchip: add px30-evb board

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:28, Heiko Stuebner wrote: From: Heiko Stuebner The px30 evb is an evaluation board for the px30 together with a dsi- connected display. This adds board and config files for it. Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, - Kever ---

Re: [U-Boot] [PATCH 11/12] rockchip: add px30 architecture core

2019-10-24 Thread Kever Yang
Heiko, On 2019/10/25 上午7:28, Heiko Stuebner wrote: From: Kever Yang Add core architecture code to support the px30 soc. This includes a separate tpl board file due to very limited sram size as well as a non-dm sdram driver, as this also has to fit into the tiny sram. Could you leave the

Re: [U-Boot] [PATCH] configs: spi: Miss the SPI_FLASH_BAR for ESPI

2019-10-24 Thread Xiaowei Bao
> -Original Message- > From: Jagan Teki > Sent: 2019年10月24日 3:40 > To: Xiaowei Bao > Cc: Priyanka Jain ; Jagdish Gediya > ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] configs: spi: Miss the SPI_FLASH_BAR for ESPI > > On Tue, Oct 22, 2019 at 3:21 PM Xiaowei Bao > wrote: > >

Re: [U-Boot] [PATCH 10/12] rockchip: add px30 devicetrees

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:28, Heiko Stuebner wrote: From: Heiko Stuebner Add px30 related devicetrees synced from the Linux kernel. The kernel dts should have been on kernel mainline, could you provide which commit do you sync from? Thanks, - Kever Signed-off-by: Heiko Stuebner ---

Re: [U-Boot] [PATCH 08/12] rockchip: misc: read cpuid either from efuse or otp

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: Heiko Stuebner Newer Rockchip socs use a different ip block to handle one-time- programmable memory, so depending on what got enabled get the cpuid from either source. Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, - Kever

Re: [U-Boot] [PATCH 07/12] misc: add driver for the Rockchip otp controller

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: Finley Xiao Newer Rockchip socs like the px30 use a different ip block to handle one-time-programmable memory, so add a misc driver for it as well. Signed-off-by: Finley Xiao Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, -

Re: [U-Boot] [PATCH 06/12] rockchip: mkimage: add support for px30

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: Kever Yang Add the table entry for px30 socs. The px30 has 10K of sram available. Signed-off-by: Kever Yang Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, - Kever --- tools/rkcommon.c | 1 + 1 file changed, 1

Re: [U-Boot] [PATCH 05/12] net: gmac_rockchip: add support for px30

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:27, Heiko Stuebner wrote: Add the glue code to allow the px30 variant of the Rockchip gmac to provide network functionality. Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, - Kever --- drivers/net/gmac_rockchip.c | 69

Re: [U-Boot] [PATCH 03/12] pinctrl: rockchip: add px30 pinctrl driver

2019-10-24 Thread Kever Yang
On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: David Wu Add the necessary glue code to allow pinctrl setting on px30 socs. Signed-off-by: David Wu Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang Thanks, - Kever --- drivers/pinctrl/rockchip/Makefile | 1 +

Re: [U-Boot] [PATCH 02/12] rockchip: add core px30 headers

2019-10-24 Thread Kever Yang
Heiko, On 2019/10/25 上午7:27, Heiko Stuebner wrote: Add headers needed by the upcoming px30 support, including two new dt-binding headers taken from the Linux kernel. Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/grf_px30.h | 144 ++

Re: [U-Boot] [PATCH 01/12] spl: separate SPL_FRAMEWORK config for spl and tpl

2019-10-24 Thread Kever Yang
Heiko, On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: Heiko Stuebner Right now enabling SPL_FRAMEWORK will also enable it for the TPL in all cases, making the TPL bigger. There may be cases where the TPL is really size constrained due to its underlying ram size. Therefore introduce a new

Re: [U-Boot] [PATCH 2/3] imx8: add sc_misc_seco_build_info()

2019-10-24 Thread Peng Fan
> Subject: Re: [PATCH 2/3] imx8: add sc_misc_seco_build_info() > > Hi Peng, > > On Tue, 22 Oct 2019 02:47:28 + > Peng Fan peng@nxp.com wrote: > ... > > > Subject: [PATCH 2/3] imx8: add sc_misc_seco_build_info() > > > > sc_seco_build_info already in Stefano's tree. > >

Re: [U-Boot] [PATCH 00/12] rockchip: add support for px30

2019-10-24 Thread Kever Yang
Hi Heiko,     Thanks very much for you patches. Thanks, - Kever On 2019/10/25 上午7:27, Heiko Stuebner wrote: From: Heiko Stuebner This series adds support for the px30 soc and its evaluation board. The most interesting aspect is the sram size which is only 10kb, so the TPL doing the DDR init

[U-Boot] [PATCH v1] rockchip: clk: pll: add common pll setting funcs

2019-10-24 Thread Elaine Zhang
Common PLL setup function, compatible with different SOC. Mainly for the subsequent new SOC use. Signed-off-by: Elaine Zhang --- arch/arm/include/asm/arch-rockchip/clock.h | 76 + drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk_pll.c | 361

Re: [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]

2019-10-24 Thread Peng Fan
> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in > imx8mm_ahb_sels[] > > On Wed, Oct 23, 2019 at 10:11 PM Peng Fan wrote: > > > No, kernel is right. It is U-Boot CCF specific. > > Can we make U-Boot to handle the same clock name as in kernel? Let's try. But this patch is

[U-Boot] [PATCH v2 08/17] ram: rockchip: add controller code for PX30

2019-10-24 Thread Kever Yang
This sdram_pctl_px30.c is based on PX30 SoC, the functions are common for controller, other SoCs with similar hardware could re-use it. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None .../asm/arch-rockchip/sdram_pctl_px30.h | 139

[U-Boot] [PATCH v2 07/17] ram: rockchip: move sdram_debug function into sdram_common

2019-10-24 Thread Kever Yang
The functions for dram info print are part of common code. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None drivers/ram/rockchip/Makefile | 1 - drivers/ram/rockchip/sdram_common.c | 144 +++ drivers/ram/rockchip/sdram_debug.c |

[U-Boot] [PATCH v2 09/17] ram: rockchip: add phy driver code for PX30

2019-10-24 Thread Kever Yang
This sdram_phy_px30.c is based on PX30 SoC, the functions are common for phy, other SoCs with similar hardware could re-use it. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None .../asm/arch-rockchip/sdram_phy_px30.h| 62 ++

[U-Boot] [PATCH v2 12/17] ram: rk3328: use common sdram driver

2019-10-24 Thread Kever Yang
From: YouMin Chen RK3328 has a similar controller and phy with PX30, so we can use the common driver for it and remove the duplicate codes. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/dts/rk3328-sdram-ddr3-666.dtsi | 4 +

[U-Boot] [PATCH v2 06/17] ram: rockchip: add common code for sdram driver

2019-10-24 Thread Kever Yang
There are some function like os_reg setting, capacity detect functions, can be used as common code for different Rockchip SoCs, add a sdram_common.c for all these functions. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None

[U-Boot] [PATCH v2 17/17] ram: rk3399: Sync code from rockchip vendor code

2019-10-24 Thread Kever Yang
From: YouMin Chen There are some code different with rockchip vendor code which may lead to different bugs, including: 1) Fix setting error about LPDDR3 dram size ODT. 2) Set phy io speed to 0x2. 3) Fix setting error about phy_pad_fdbk_drive. 4) Fix setting error about PI_WDQLVL_VREF_EN

[U-Boot] [PATCH v2 10/17] ram: rockchip: add common msch reg definition

2019-10-24 Thread Kever Yang
The noc register bit definition may be the same for different SoC while the offset of the register may be different, add the struction definition as common code. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None .../include/asm/arch-rockchip/sdram_msch.h| 85

[U-Boot] [PATCH v2 05/17] rockchip: sdram: update the sys_reg to sys_reg2

2019-10-24 Thread Kever Yang
We are using sys_reg2 and sys_reg3 as ddr cap info, sync the variable name to what we real use to avoid confuse people. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/mach-rockchip/sdram.c | 32 1 file changed, 16

[U-Boot] [PATCH v2 16/17] ram: rk3399: update calculate_stride

2019-10-24 Thread Kever Yang
Update the calculation of the stride to support all the DRAM case. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None drivers/ram/rockchip/sdram_rk3399.c | 158 +--- 1 file changed, 119 insertions(+), 39 deletions(-) diff --git

[U-Boot] [PATCH v2 15/17] ram: rk3399: Sync the io setting from Rockchip vendor code

2019-10-24 Thread Kever Yang
The io setting are updated after some bugfix in different rk3399 boards, sync the code from vendor. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None drivers/ram/rockchip/sdram_rk3399.c | 44 + 1 file changed, 14 insertions(+), 30

[U-Boot] [PATCH v2 11/17] ram: px30: add sdram driver

2019-10-24 Thread Kever Yang
From: YouMin Chen Add the sdram driver for PX30 to support ddr3, ddr4, lpddr2 and lpddr3. The PX30 SoC support driver is suppose to follow up later. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None .../include/asm/arch-rockchip/sdram_px30.h| 212 ++

[U-Boot] [PATCH v2 14/17] ram: rockchip: update lpddr4 timing for rk3399

2019-10-24 Thread Kever Yang
Update lpddr timing in lpddr4-400 and lpddr4-800 file from rockchip vendor code; Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc | 12 ++-- drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc | 6 +++--- 2

[U-Boot] [PATCH v2 04/17] rockchip: sdram: extend to use sys_reg3 for capacity info

2019-10-24 Thread Kever Yang
Since we have new DRAM type and to support different DRAM size in different CS, we need more bits, so introduce sys_reg3 to record the info. Note that the info in sys_reg3 is extension to sys_reg2 and the info in sys_reg2 is the same as before. We define the DRAM_INFO with sys_reg3 as VERSION2.

[U-Boot] [PATCH v2 13/17] ram: rk3399: use common sdram driver

2019-10-24 Thread Kever Yang
From: YouMin Chen RK3399's controller and phy are able to re-use the common code, migrate to use the common driver and remove duplicated code. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/dts/rk3399-sdram-ddr3-1333.dtsi | 4 +

[U-Boot] [PATCH v2 01/17] ram: rockchip: rename sdram.h to sdram_rk3288.h

2019-10-24 Thread Kever Yang
The header file sdram.h is used for rk3288 and similar SoCs, rename it to make it more understandable. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/include/asm/arch-rockchip/{sdram.h => sdram_rk3288.h} | 0 arch/arm/mach-rockchip/spl.c

[U-Boot] [PATCH v2 02/17] ram: rockchip: rename sdram_common.c/h to sdram.c

2019-10-24 Thread Kever Yang
rename sdram_common.c in arch/arm/mach-rockchip to sdram.c; so that we can use the file name sdram_common.c in dram driver for better understand the code; clean the related file who has use the header file at the same time. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in

[U-Boot] [PATCH v2 03/17] rockchip: sdram: move cap structure and debug function to sdram_common.h

2019-10-24 Thread Kever Yang
The sdram.h suppose to be helper file for sdram.c which including dram size decode and some u-boot related dram init interface, and all structure and function for dram driver move to sdram_common.h Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: None

[U-Boot] [PATCH v2 00/17] rockchip: ram: add common code for sdram driver

2019-10-24 Thread Kever Yang
The sdram drivers for Rockchip SoCs was all separate, some of the SoCs has similar hardware controller and phy, so we have a change to share the flow and some of the functions between different SoCs. This patch set implement a first version common code based on PX30, other SoCs has similar

[U-Boot] [PATCH v2 14/15] dtoc: Convert fdt.py to Python 3

2019-10-24 Thread Simon Glass
Drop the now-unused Python 2 code to keep code coverage at 100%. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/fdt.py | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py index 6770be79fbe..1b7b730359a

Re: [U-Boot] [PATCH] riscv: increase stack size to avoid a stack overflow during distro boot

2019-10-24 Thread Rick Chen
> > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Monday, October 21, 2019 2:54 AM > > To: u-boot@lists.denx.de > > Cc: Alistair Francis; Anup Patel; Bin Meng; Atish Patra; Lukas Auer; > > Aurelien > > Jarno; David Abdurachmanov; Rick Jian-Zhi Chen(陳建志) > > Subject: [PATCH]

[U-Boot] [PATCH v2 05/15] test_dtoc: Move to use Python 3

2019-10-24 Thread Simon Glass
Update this test to use Python 3 to meet the 2020 deadline. Also make it executable while we are here. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtoc.py | 2 +- tools/dtoc/test_dtoc.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 =>

[U-Boot] [PATCH v2 11/15] pylibfdt: Correct the type for fdt_property_stub()

2019-10-24 Thread Simon Glass
This function should use a void * type, not char *. This causes an error: TypeError: in method 'fdt_property_stub', argument 3 of type 'char const *' Fix it. Signed-off-by: Simon Glass --- Changes in v2: None scripts/dtc/pylibfdt/libfdt.i_shipped | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH v2 12/15] binman: Remember the pre-reset entry size

2019-10-24 Thread Simon Glass
When preparing to possible expand or contract an entry we reset the size to the original value from the binman device-tree definition, which is often None. This causes binman to forget the original size of the entry. Remember this so that it can be used when needed. Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 06/15] microcode_tool: Convert to Python 3

2019-10-24 Thread Simon Glass
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/microcode-tool.py | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/microcode-tool.py

[U-Boot] [PATCH v2 08/15] rkmux: Convert to Python 3

2019-10-24 Thread Simon Glass
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/rkmux.py | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/rkmux.py b/tools/rkmux.py index 11c192a0737..1226ee201c3

[U-Boot] [PATCH v2 04/15] test_fdt: Move to use Python 3

2019-10-24 Thread Simon Glass
Update this test to use Python 3 to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/test_fdt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dtoc/test_fdt.py b/tools/dtoc/test_fdt.py index 028c8cbaa80..3316757e61e 100755 ---

[U-Boot] [PATCH v2 10/15] pylibfdt: Sync up with upstream

2019-10-24 Thread Simon Glass
Sync up the libfdt Python bindings with upstream, commit: 430419c (tests: fix some python warnings) Signed-off-by: Simon Glass --- Changes in v2: None scripts/dtc/pylibfdt/libfdt.i_shipped | 45 --- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH v2 13/15] binman: Convert a few tests to Python 3

2019-10-24 Thread Simon Glass
Some tests have crept in with Python 2 strings and constructs. Convert then. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/ftest.py | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index

[U-Boot] [PATCH v2 09/15] pylibfdt: Convert to Python 3

2019-10-24 Thread Simon Glass
Build this swig module with Python 3. Signed-off-by: Simon Glass --- Changes in v2: None scripts/dtc/pylibfdt/Makefile | 2 +- scripts/dtc/pylibfdt/libfdt.i_shipped | 2 +- scripts/dtc/pylibfdt/setup.py | 2 +- tools/binman/entry.py | 16 ++--

[U-Boot] [PATCH v2 15/15] binman: Move to use Python 3

2019-10-24 Thread Simon Glass
Update this tool to use Python 3 to meet the 2020 deadline. Unfortunately this introduces a test failure due to a problem in pylibfdt on Python 3. I will investigate. Signed-off-by: Simon Glass --- Changes in v2: - Add a few more patches to correct remaining problems tools/binman/binman.py |

[U-Boot] [PATCH v2 02/15] patman: Move to use Python 3

2019-10-24 Thread Simon Glass
Update this tool to use Python 3 to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/patman/patman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/patman.py b/tools/patman/patman.py index 9605a36eff2..fe82f24c673 100755 ---

[U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-24 Thread Simon Glass
Convert buildman to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/board.py | 7 +-- tools/buildman/bsettings.py | 20 +++ tools/buildman/builder.py | 45

[U-Boot] [PATCH v2 07/15] move_config: Convert to Python 3

2019-10-24 Thread Simon Glass
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by: Simon Glass --- Changes in v2: None tools/moveconfig.py | 82 ++--- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/tools/moveconfig.py

[U-Boot] [PATCH v2 01/15] patman: Adjust 'command' to return strings instead of bytes

2019-10-24 Thread Simon Glass
At present all the 'command' methods return bytes. Most of the time we actually want strings, so change this. We still need to keep the internal representation as bytes since otherwise unicode strings might break over a read() boundary (e.g. 4KB), causing errors. But we can convert the end result

[U-Boot] [PATCH v2 00/15] scripts: Convert to Python 3

2019-10-24 Thread Simon Glass
This converts some of the scripts that I've been involved in to use Python 3. There is still one problem in that fdt_property_stub() doesn't work correctly in pylibfdt: ftest.TestFunctional.testExtractAllEntries Traceback (most recent call last): TypeError: in method 'fdt_property_stub',

[U-Boot] [PATCH 10/12] rockchip: add px30 devicetrees

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner Add px30 related devicetrees synced from the Linux kernel. Signed-off-by: Heiko Stuebner --- arch/arm/dts/Makefile |3 + arch/arm/dts/px30-evb-u-boot.dtsi | 81 ++ arch/arm/dts/px30-evb.dts | 527 arch/arm/dts/px30.dtsi|

[U-Boot] [PATCH 12/12] rockchip: add px30-evb board

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner The px30 evb is an evaluation board for the px30 together with a dsi- connected display. This adds board and config files for it. Signed-off-by: Heiko Stuebner --- board/rockchip/evb_px30/Kconfig | 15 board/rockchip/evb_px30/MAINTAINERS | 6 ++

[U-Boot] [PATCH 11/12] rockchip: add px30 architecture core

2019-10-24 Thread Heiko Stuebner
From: Kever Yang Add core architecture code to support the px30 soc. This includes a separate tpl board file due to very limited sram size as well as a non-dm sdram driver, as this also has to fit into the tiny sram. Signed-off-by: Kever Yang Signed-off-by: Heiko Stuebner ---

Re: [U-Boot] [PATCH v1 4/4] test: Add tests for the multiplexer framework

2019-10-24 Thread Tom Rini
On Wed, Oct 02, 2019 at 02:47:49PM +0200, Jean-Jacques Hiblot wrote: > Provide tests to check the behavior of the multiplexer framework. > The test uses a mmio-based multiplexer. > > Signed-off-by: Jean-Jacques Hiblot These tests don't pass (with all of the other series applied as well, and

[U-Boot] [PATCH 08/12] rockchip: misc: read cpuid either from efuse or otp

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner Newer Rockchip socs use a different ip block to handle one-time- programmable memory, so depending on what got enabled get the cpuid from either source. Signed-off-by: Heiko Stuebner --- arch/arm/mach-rockchip/misc.c | 7 ++- 1 file changed, 6 insertions(+), 1

[U-Boot] [PATCH 09/12] rockchip: ram: add dm-based sdram driver

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner sdram configuration happens outside of dm-infrastructure in special tpl-code, so the sdram driver itself has just the function to read back the sdram configuration and allow main uboot to handle dram sizes. Signed-off-by: Heiko Stuebner --- drivers/ram/rockchip/Makefile

[U-Boot] [PATCH 02/12] rockchip: add core px30 headers

2019-10-24 Thread Heiko Stuebner
Add headers needed by the upcoming px30 support, including two new dt-binding headers taken from the Linux kernel. Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/grf_px30.h | 144 ++ include/configs/px30_common.h | 62

[U-Boot] [PATCH 04/12] rockchip: clk: add px30 clock driver

2019-10-24 Thread Heiko Stuebner
From: Kever Yang The px30 contains 2 separate clock controllers, pmucru and cru. Add drivers for them. Signed-off-by: Kever Yang Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/cru_px30.h | 432 + drivers/clk/rockchip/Makefile |1 +

[U-Boot] [PATCH 07/12] misc: add driver for the Rockchip otp controller

2019-10-24 Thread Heiko Stuebner
From: Finley Xiao Newer Rockchip socs like the px30 use a different ip block to handle one-time-programmable memory, so add a misc driver for it as well. Signed-off-by: Finley Xiao Signed-off-by: Heiko Stuebner --- drivers/misc/Kconfig| 9 ++ drivers/misc/Makefile | 1 +

[U-Boot] [PATCH 00/12] rockchip: add support for px30

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner This series adds support for the px30 soc and its evaluation board. The most interesting aspect is the sram size which is only 10kb, so the TPL doing the DDR init needs to be really tiny, while the SPL then should use devicemanager and all other newer features. I'm not yet

[U-Boot] [PATCH 06/12] rockchip: mkimage: add support for px30

2019-10-24 Thread Heiko Stuebner
From: Kever Yang Add the table entry for px30 socs. The px30 has 10K of sram available. Signed-off-by: Kever Yang Signed-off-by: Heiko Stuebner --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 831c2ad820..83df82e4b0 100644 ---

[U-Boot] [PATCH 05/12] net: gmac_rockchip: add support for px30

2019-10-24 Thread Heiko Stuebner
Add the glue code to allow the px30 variant of the Rockchip gmac to provide network functionality. Signed-off-by: Heiko Stuebner --- drivers/net/gmac_rockchip.c | 69 + 1 file changed, 69 insertions(+) diff --git a/drivers/net/gmac_rockchip.c

[U-Boot] [PATCH 03/12] pinctrl: rockchip: add px30 pinctrl driver

2019-10-24 Thread Heiko Stuebner
From: David Wu Add the necessary glue code to allow pinctrl setting on px30 socs. Signed-off-by: David Wu Signed-off-by: Heiko Stuebner --- drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-px30.c | 368 2 files changed, 369

[U-Boot] [PATCH 01/12] spl: separate SPL_FRAMEWORK config for spl and tpl

2019-10-24 Thread Heiko Stuebner
From: Heiko Stuebner Right now enabling SPL_FRAMEWORK will also enable it for the TPL in all cases, making the TPL bigger. There may be cases where the TPL is really size constrained due to its underlying ram size. Therefore introduce a new TPL_FRAMEWORK option and make the relevant

Re: [U-Boot] [PATCH v1 2/3] lib: rsa: generate additional parameters for public key

2019-10-24 Thread Simon Glass
Hi, On Tue, 22 Oct 2019 at 23:23, AKASHI Takahiro wrote: > > On Mon, Oct 21, 2019 at 06:17:03PM -0600, Simon Glass wrote: > > Hi Takahiro, > > > > On Tue, 8 Oct 2019 at 23:27, AKASHI Takahiro > > wrote: > > > > > > In the current implementation of FIT_SIGNATURE, five parameters for > > > a RSA

[U-Boot] [PATCH 1/1] efi_driver: set block size for EFI block device

2019-10-24 Thread Heinrich Schuchardt
Copy the block size from the block IO protocol to the U-Boot block device descriptor. This information is used by the ext4 file system driver. Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/efi_block_device.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

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

2019-10-24 Thread Heinrich Schuchardt
On 10/24/19 4:05 PM, Patrice CHOTARD wrote: Hi Heinrich, all On 10/7/19 7:34 PM, Heinrich Schuchardt wrote: On 10/7/19 3:29 PM, Yannick Fertré wrote: 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

Re: [U-Boot] Please pull u-boot-marvell/master (cfi-flash related)

2019-10-24 Thread Tom Rini
On Thu, Oct 24, 2019 at 09:55:35AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following cfi-flash related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 08/11] arm: dts: k3-j721e-main: Add UFS nodes

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:39PM +0530, Faiz Abbas wrote: > Add TI UFS glue layer and Cadence UFS Host controller DT nodes. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 11/11] configs: j721e_evm_a72: Enable configs for UFS

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:42PM +0530, Faiz Abbas wrote: > Enable SCSI and UFS related configs. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 05/11] ufs: Add Initial Support for UFS subsystem

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:36PM +0530, Faiz Abbas wrote: > Add Support for UFS Host Controller Interface (UFSHCI) for communicating > with Universal Flash Storage (UFS) devices. The steps to initialize the > host controller interface are the following: > > - Initiate the Host Controller

Re: [U-Boot] [PATCH v2 09/11] cmd: Add Support for UFS commands

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:40PM +0530, Faiz Abbas wrote: > Add Support for commands to initialize and configure UFS devices. > > TODO: Add Support for commands to resize and reconfigure LUNs > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v2 07/11] ufs: Add glue layer driver for TI J721E devices

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:38PM +0530, Faiz Abbas wrote: > Add glue layer driver for the controller present on TI's J721E devices. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 06/11] ufs: Add Support for Cadence platform UFS driver

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:37PM +0530, Faiz Abbas wrote: > Add Support for the platform driver for the Cadence device present on > TI's J721e device. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 10/11] env: ti: Add environment variables to boot from UFS

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:41PM +0530, Faiz Abbas wrote: > Add environment variables to boot kernel from a filesystem contained in > the 2nd UFS LUN. The user can boot from a ufs filesystem just by > entering the following commands. > > => setenv boot ufs > => boot > > Signed-off-by: Faiz

Re: [U-Boot] [PATCH v2 04/11] scsi: Add dma direction member to command structure

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:35PM +0530, Faiz Abbas wrote: > Some SCSI devices like UFS use DMA for executing scsi commands and hence > need to know the direction of transfer of the dma. Add a dma_dir element > to the command structure to facilitate this. > > Signed-off-by: Faiz Abbas Applied

Re: [U-Boot] [PATCH v2 03/11] scsi: Retry inquiry 3 times to overcome Unit Attention condition

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:34PM +0530, Faiz Abbas wrote: > The UFS SCSI device LUNs are observed to return failure the first time a > unit ready inquiry is sent and pass on the second try. Send this > inquiry 3 times to make sure device is ready. > > Signed-off-by: Faiz Abbas Applied to

Re: [U-Boot] [PATCH v2 02/11] scsi: Add max_bytes_per_req to scsi_platdata

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:33PM +0530, Faiz Abbas wrote: > Add max_bytes_per_req to scsi_platdata to enable the host driver to limit > the number of bytes that can be read/written per request. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v2 01/11] scsi: Simplify scsi_read()/_write()

2019-10-24 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:24:32PM +0530, Faiz Abbas wrote: > With no non-DM driver using scsi_read()/_write() APIs, remove > the legacy implementations. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2] spi: cadence_qspi: support DM_CLK

2019-10-24 Thread Simon Goldschmidt
Am 24.10.2019 um 20:23 schrieb Simon Goldschmidt: From: Simon Goldschmidt Support loading clk speed via DM instead of requiring ad-hoc code. Signed-off-by: Simon Goldschmidt Signed-off-by: Simon Goldschmidt That gmx adress somehow slipped in after cloning u-boot-spi. Can you remove it

[U-Boot] [PATCH v2] spi: cadence_qspi: support DM_CLK

2019-10-24 Thread Simon Goldschmidt
From: Simon Goldschmidt Support loading clk speed via DM instead of requiring ad-hoc code. Signed-off-by: Simon Goldschmidt Signed-off-by: Simon Goldschmidt --- Changes in v2: - check return value of clk_get_rate for error drivers/spi/cadence_qspi.c | 22 -- 1 file

Re: [U-Boot] Regression in fastboot on X15 due to CDCE913 enabling

2019-10-24 Thread Andrew F. Davis
On 10/24/19 11:25 AM, Vignesh Raghavendra wrote: > Hi Sam, > > On 24-Oct-19 7:16 PM, Sam Protsenko wrote: >> Putting Vignesh to "To:". >> >> Hi Vignesh, >> >> Please address Tero's comments below (I've marked with ^^^). Thanks. >> >> On Thu, Oct 24, 2019 at 3:54 PM Tero Kristo wrote: >>> >>> On

Re: [U-Boot] [RFC PATCH v2 08/18] socfpga: gen5: add new tool to create handoff dtsi files

2019-10-24 Thread Simon Goldschmidt
Am 24.10.2019 um 19:29 schrieb Dalon L Westergreen: On Thu, 2019-10-24 at 16:29 +0200, Simon Goldschmidt wrote: On Thu, Oct 24, 2019 at 4:25 PM Dalon L Westergreen < dalon.westergr...@linux.intel.com > wrote: On Wed, 2019-10-23 at 21:22 +0200,

Re: [U-Boot] [RFC PATCH v2 08/18] socfpga: gen5: add new tool to create handoff dtsi files

2019-10-24 Thread Dalon L Westergreen
On Thu, 2019-10-24 at 16:29 +0200, Simon Goldschmidt wrote: > On Thu, Oct 24, 2019 at 4:25 PM Dalon L Westergreen< > dalon.westergr...@linux.intel.com> wrote: > > > > On Wed, 2019-10-23 at 21:22 +0200, Simon Goldschmidt wrote: > > Am 23.10.2019 um 18:03 schrieb Dalon L Westergreen: > > > > >

Re: [U-Boot] [PATCH v2 00/41] convert GE boards to DM

2019-10-24 Thread Fabio Estevam
On Wed, Oct 23, 2019 at 3:23 PM Robert Beckett wrote: > > This patch series converts GE boards to use DM features. > Most of the patches are GE board specific to modify the board code to > use the DM drivers, or modify the device tree. It would also make things a lot easier for review if you

Re: [U-Boot] Regression in fastboot on X15 due to CDCE913 enabling

2019-10-24 Thread Vignesh Raghavendra
Hi Sam, On 24-Oct-19 7:16 PM, Sam Protsenko wrote: > Putting Vignesh to "To:". > > Hi Vignesh, > > Please address Tero's comments below (I've marked with ^^^). Thanks. > > On Thu, Oct 24, 2019 at 3:54 PM Tero Kristo wrote: >> >> On 24/10/2019 13:32, Sam Protsenko wrote: >>> Hi Tero, >>> >>>

[U-Boot] [PATCH 2/2] Dockerfile: Add python3-pip

2019-10-24 Thread Tom Rini
In order to be able to use pip within a virtualenv of python3 we need to have python3-pip installed as well. Signed-off-by: Tom Rini --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6eb47b9b5016..43e739601741 100644 --- a/Dockerfile +++

[U-Boot] [PATCH 1/2] Dockerfile: Update to latest bionic tag

2019-10-24 Thread Tom Rini
Move up to the latest tag to get the usual related security fixes that brings in. Signed-off-by: Tom Rini --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf840a5f1b33..6eb47b9b5016 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7

[U-Boot] [PATCHv3 09/13] test/py: Update test_fs to decode check_output calls

2019-10-24 Thread Tom Rini
The check_output function from the subprocess Python module by default returns data as encoded bytes and leaves decoding to the application. Given our uses of the call, it makes the most sense to immediately decode the results. Reviewed-by: Simon Glass Tested-by: Stephen Warren Tested-by: Simon

[U-Boot] [PATCHv3 07/13] test/py: test_ut.py: Ensure we use bytes

2019-10-24 Thread Tom Rini
In the case of some unit tests we are working with providing a fake flash device that we have written some text strings in to. In this case we want to tell Python to encode things to bytes for us. Reviewed-by: Stephen Warren Reviewed-by: Simon Glass Tested-by: Stephen Warren Tested-by: Simon

[U-Boot] [PATCHv3 11/13] test/py: Update docs, add requirements.txt for pip

2019-10-24 Thread Tom Rini
To be more closely aligned with Python community best practices, we need to better document our usage of pip and make use of a requirements.txt file that shows the versions of the tools that we are using. This will aide in ensuring reproducibility of our tests as well. Reviewed-by: Simon Glass

[U-Boot] [PATCHv3 13/13] test/py: Use raw strings more to avoid deprecation warnings

2019-10-24 Thread Tom Rini
We have two further uses of raw string usage in the test/py codebase that are used under CI. The first of which is under the bind test and is a direct update. The second of which is to strip VT100 codes from the match buffer. While switching this to a raw string is also a direct update, the

[U-Boot] [PATCHv3 10/13] test/py: Rework test.py to be a different kind of wrapper

2019-10-24 Thread Tom Rini
Now that we have moved to being based on pytest for python3 we need to make our test.py wrapper more robust in terms of only calling python3 rather than possibly finding and using python2. To do this, change from execvp()'ing pytest to invoking the package itself via python. In the event that

[U-Boot] [PATCHv3 08/13] test/py: test_efi_selftest.py: Updates for python 3 support

2019-10-24 Thread Tom Rini
- In python 3 you must use raw strings for regex as other forms are deprecated and would require further changes to the pattern here. In one case this lets us have a simpler match pattern. - As strings are now Unicode our complex tests (Euro symbol, SHIFT+ALT+FN 5) we need to declare that as

[U-Boot] [PATCHv3 06/13] test/py: Manual python3 fixes

2019-10-24 Thread Tom Rini
- Modern pytest is more visible in telling us about parameters that we had not described, so describe a few more. - ConfigParser.readfp(...) is now configparser.read_file(...) - As part of the "strings vs bytes" conversions in Python 3, we use the default encoding/decoding of utf-8 but in some

  1   2   3   >