Re: [PATCH v7 13/23] core: fdtaddr: add devfdt_get_addr_size_index_ptr function

2023-03-10 Thread Simon Glass
addr.c | 17 - > include/dm/fdtaddr.h | 17 - > 2 files changed, 32 insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH V5 08/12] iot2050: Add script for signing artifacts

2023-03-10 Thread Simon Glass
Hi Jan, On Sun, 12 Feb 2023 at 22:33, Jan Kiszka wrote: > > On 13.02.23 05:26, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 7 Feb 2023 at 11:39, Simon Glass wrote: > >> > >> Hi Jan, > >> > >> On Tue, 7 Feb 2023 at 09:45, Jan Kis

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-10 Thread Simon Glass
Hi Ivan, On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov wrote: > > From: Roman Kopytin > > Signed-off-by: Roman Kopytin > Cc: Rasmus Villemoes > --- > test/py/tests/test_vboot.py | 8 > 1 file changed, 8 insertions(+) > > diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vbo

Re: [PATCH v2 4/5] tools: add fdt_add_pubkey

2023-03-10 Thread Simon Glass
From: Roman Kopytin Having to use the -K option to mkimage to populate U-Boot's .dtb with the public key while signing the kernel FIT image is often a little awkward. In particular, when using a meta-build system such as bitbake/Yocto, having the tasks of the kernel and U-Boot recipes intertwined

Re: [PATCH v2 2/5] binman: add sign option for binman

2023-03-10 Thread Simon Glass
Hi Ivan, On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov wrote: > > Introduce proof of concept for binman's new option which provides sign > and replace FIT containers in binary images. > > Usage as example: > > from: > mkimage -G privateky -r -o sha256,rsa4096 -F fit > binman replace -i flash.bin -f

Re: [PATCH v2 1/5] binman: add documentation for binman sign option

2023-03-10 Thread Simon Glass
Add the documentation about binman sign option and providing an example. Signed-off-by: Ivan Mikhaylov --- tools/binman/binman.rst | 18 ++ 1 file changed, 18 insertions(+) Applied to u-boot-dm/next, thanks!

Re: [PATCH] x86: Revert "x86: minnowmax: Adjust CONFIG_TEXT_BASE"

2023-03-10 Thread Simon Glass
Hi Bin, On Sun, 5 Feb 2023 at 19:35, Bin Meng wrote: > > Hi Simon, > > On Mon, Feb 6, 2023 at 8:54 AM Simon Glass wrote: > > > > This causes Minnowmax to stop booting. I am not sure why though. > > > > Drop the EFI_LOADER feature instead, since it is not

Re: [PATCH v3] binman: bintool: Add support for tool directories

2023-03-10 Thread Simon Glass
Hi Neha, On Fri, 24 Feb 2023 at 03:51, Neha Malcom Francis wrote: > > Currently, bintool supports external compilable tools as single > executable files. Adding support for git repos that can be used to run > non-compilable scripting tools that cannot otherwise be present in > binman. > > Signed-

Re: [PATCH v2 3/5] binman: add tests for sign option

2023-03-10 Thread Simon Glass
Add the test which provides sequence of actions: 1. create the image from binman dts 2. create public and private keys 3. add public key into dtb with fdt_add_pubkey 4. 1. sign FIT container with new sign option with extracting from image 2. sign exact FIT container with replac

Re: [PATCH v2 3/5] binman: add tests for sign option

2023-03-10 Thread Simon Glass
Hi Ivan, On Fri, 10 Mar 2023 at 17:47, Simon Glass wrote: > > Add the test which provides sequence of actions: > 1. create the image from binman dts > 2. create public and private keys > 3. add public key into dtb with fdt_add_pubkey > 4. 1. sign FIT container with ne

[RESEND PATCH] kconfig: Proposed language extension for multiple builds

2023-03-10 Thread Simon Glass
handled with the existing kconfig language, but it is quite verbose, somewhat tedious and very error-prone, since there is a lot of duplication. The result is hard to maintain. Describe an extension to the Kconfig language to support easier handling of this use case. Signed-off-by: Simon Glass

Re: [PATCH v6 15/22] drivers: use dev_read_addr_index_ptr when cast to pointer

2023-03-11 Thread Simon Glass
Hi Johan, On Fri, 10 Mar 2023 at 17:37, Simon Glass wrote: > > Hi Johan, > > On Mon, 6 Mar 2023 at 12:32, Johan Jonker wrote: > > > > > > > > On 3/6/23 19:20, Simon Glass wrote: > > > Hi Johan, > > > > > > On Thu, 2 Mar 2023

Re: [PATCH v5 00/44] More tidy-ups of Kconfig options

2023-03-11 Thread Simon Glass
(trimming cc list) Hi Tom, On Sat, 11 Mar 2023 at 07:29, Tom Rini wrote: > > On Mon, Mar 06, 2023 at 11:20:42AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 3 Mar 2023 at 16:43, Tom Rini wrote: > > > > > > On Wed, Feb 22, 2023 at 09:33:41AM -0

[RFC PATCH 0/2] kconfig: Update to Linux v6.2

2023-03-11 Thread Simon Glass
This series starts the process of updating Kconfig to match Linux v6.2 It is not ready for use, just for discussion and bug fixing. See u-boot-dm/kconf-working for the tree Simon Glass (2): kconfig: Bring in from Linux v6.2 kconfig: U-Boot additions scripts/kconfig/.gitignore

[RFC PATCH 2/2] kconfig: U-Boot additions

2023-03-11 Thread Simon Glass
Bring in some U-Boot additions This seems to build OK, but 'make menuconfig' does not build the scripts/kconfig/mconf utility. Signed-off-by: Simon Glass --- scripts/kconfig/Makefile | 10 ++ 1 file changed, 10 insertions(+) diff --git a/scripts/kconfig/Makefile b/scrip

Re: [PATCH v2 3/5] binman: add tests for sign option

2023-03-12 Thread Simon Glass
Hi Ivan, On Fri, 10 Mar 2023 at 17:47, Simon Glass wrote: > > Add the test which provides sequence of actions: > 1. create the image from binman dts > 2. create public and private keys > 3. add public key into dtb with fdt_add_pubkey > 4. 1. sign FIT container with ne

Re: [PATCH v2 2/5] binman: add sign option for binman

2023-03-12 Thread Simon Glass
Hi Ivan, On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov wrote: > > Introduce proof of concept for binman's new option which provides sign > and replace FIT containers in binary images. > > Usage as example: > > from: > mkimage -G privateky -r -o sha256,rsa4096 -F fit > binman replace -i flash.bin -f

Re: [PATCH v2 1/5] binman: add documentation for binman sign option

2023-03-12 Thread Simon Glass
Add the documentation about binman sign option and providing an example. Signed-off-by: Ivan Mikhaylov --- tools/binman/binman.rst | 18 ++ 1 file changed, 18 insertions(+) Applied to u-boot-dm/next, thanks! Applied to u-boot-dm/next, thanks!

Re: [PATCH 1/2] Revert "buildman: Correct CROSS_COMPILE output for sandbox"

2023-03-12 Thread Simon Glass
This reverts commit bd0a548ad4a155fec29473d4cc8e135832926973. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH 2/2] buildman: Fix CROSS_COMPILE output for sandbox

2023-03-12 Thread Simon Glass
does, but only for sandbox boards. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Applied to u-boot-dm/next, thanks!

Please pull u-boot-dm/next

2023-03-12 Thread Simon Glass
0x prefix test: cmd: fdt: Test fdt print and list test: cmd: fdt: Test fdt header test: cmd: fdt: Test fdt memory test: cmd: fdt: Test fdt rsvmem test: cmd: fdt: Test fdt chosen test: cmd: fdt: Test fdt apply Roman Kopytin (1): tools: add fdt_add_pubkey Simo

Re: [PATCH v8 17/24] drivers: use dev_read_addr_index_ptr when cast to pointer

2023-03-12 Thread Simon Glass
++-- > 6 files changed, 19 insertions(+), 19 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v8 13/24] rockchip: rk3288: syscon_rk3288: store syscon platdata in regmap

2023-03-12 Thread Simon Glass
Changed V7: > new patch > --- > arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 121 ++ > 1 file changed, 121 insertions(+) > I tested this on chromebook_jerry which uses SPL_OF_PLATDATA Reviewed-by: Simon Glass Tested-by: Simon Glass Can we sync up with Linux on the DT? Regards, Simon

Re: [PATCH v8 12/24] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-12 Thread Simon Glass
drivers/ram/rockchip/sdram_rk3328.c | 2 +- > drivers/ram/rockchip/sdram_rk3399.c | 2 +- > include/regmap.h| 5 +++-- > include/syscon.h | 13 - > 10 files changed, 46 insertions(+), 30 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v8 10/24] rockchip: spi: rk_spi: use base variable with uintptr_t size

2023-03-12 Thread Simon Glass
er > --- > > Changed V8: > new patch > --- > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v8 09/24] rockchip: pwm: rk_pwm: use base variable with uintptr_t size

2023-03-12 Thread Simon Glass
er > --- > > Changed V8: > use uintptr_t instead of phys_addr_t > > Changed V6: > new patch > --- > drivers/pwm/rk_pwm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v8 08/24] rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size

2023-03-12 Thread Simon Glass
-off-by: Johan Jonker > --- > > Changed V8: > use uintptr_t instead of phys_addr_t > > Changed V6: > remove cast > change title > --- > drivers/timer/dw-apb-timer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-12 Thread Simon Glass
Hi Johan, On Sun, 12 Mar 2023 at 06:21, Johan Jonker wrote: > > > > On 3/11/23 02:37, Simon Glass wrote: > > Hi Johan, > > > > On Fri, 10 Mar 2023 at 08:42, Johan Jonker wrote: > >> > >> The fdt_addr_t and phys_addr_t size have been decoupled.

[PATCH 01/13] Revert "buildman: Correct CROSS_COMPILE output for sandbox"

2023-03-12 Thread Simon Glass
This reverts commit bd0a548ad4a155fec29473d4cc8e135832926973. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index 8f9130bdcdf6..688f2e268726 100644 --- a

[PATCH 02/13] buildman: Fix CROSS_COMPILE output for sandbox

2023-03-12 Thread Simon Glass
does, but only for sandbox boards. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index 688f2e268726..241e8e69307f 100644 --- a/tools/buildman/toolchain

[PATCH 03/13] x86: samus: Drop EFI_LOADER

2023-03-12 Thread Simon Glass
This adds a lot of code so that it cannot be build with the binary blobs. It is not used on this board. Drop it. Signed-off-by: Simon Glass --- configs/chromebook_samus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/chromebook_samus_defconfig b/configs

[PATCH 05/13] x86: Support debug UART in 64-bit mode

2023-03-12 Thread Simon Glass
The debug UART is already set up in SPL, so there is no need to do anything here. We must provide the (empty) function though. Signed-off-by: Simon Glass --- arch/x86/cpu/x86_64/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64

[PATCH 06/13] x86: Tidy up availability of string functions

2023-03-12 Thread Simon Glass
For now, just enable the fast-but-large string functions in 32-boot U-Boot proper only. Avoid using them in SPL. We cannot use then in 64-bit builds since we only have 32-bit assembly. Signed-off-by: Simon Glass --- arch/x86/include/asm/string.h | 6 +- arch/x86/lib/Makefile | 4

[PATCH 07/13] x86: mrc: Correct SPL debug message

2023-03-12 Thread Simon Glass
SPL printf() does not normally support %#x so just use %x instead. Hex is expected in U-Boot anyway. Signed-off-by: Simon Glass --- arch/x86/lib/mrccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lib/mrccache.c b/arch/x86/lib/mrccache.c index 38632e513fce

[PATCH 08/13] x86: spl: Show debugging for BSS

2023-03-12 Thread Simon Glass
Show the area of memory cleared for BSS, when debugging is enabled. Signed-off-by: Simon Glass --- arch/x86/lib/spl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index bdf57ef7b5bd..eb0af219ae29 100644 --- a/arch/x86/lib/spl.c

[PATCH 04/13] x86: ivybridge: Ensure LPC is available for GPIO base

2023-03-12 Thread Simon Glass
The bd82x6x_get_gpio_base() does not work if the LPC is not set up. Probe it early to avoid this problem. In chromebook_link64 this propblem shows up as an inability to read the GPIO straps for the memory type. Signed-off-by: Simon Glass --- arch/x86/cpu/ivybridge/bd82x6x.c | 17

[PATCH 09/13] sf: Guard against zero erasesize

2023-03-12 Thread Simon Glass
With tiny SPI flash the erasesize is 0 which can cause a divide-by-zero error. Check for this and returns a proper error instead. Signed-off-by: Simon Glass --- drivers/mtd/spi/sf_probe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers

[PATCH 10/13] sf: Rename spi-nor-tiny functions

2023-03-12 Thread Simon Glass
The 'tiny' SPI nor functions have the same name as their big brothers, which can be confusing. Use different names so it is clear which version is in the image. Signed-off-by: Simon Glass --- drivers/mtd/spi/spi-nor-tiny.c | 16 1 file changed, 8 insertions(+), 8

[PATCH 13/13] x86: Add on to existing MTRRs in SPL

2023-03-12 Thread Simon Glass
We don't actually set up all of these registers in SPL, so using mtrr_commit() with erase some. Use mtrr_set_next_var() instead. Signed-off-by: Simon Glass --- arch/x86/lib/spl.c | 10 +- configs/chromebook_link64_defconfig | 2 ++ 2 files changed, 7 insertions(

[PATCH 12/13] x86: Allow listing MTRRs in SPL

2023-03-12 Thread Simon Glass
Move MTRR-listing code into a common file so it can be used from SPL. Update the 'mtrr' command to call it. Use this in SPL just before adjusting the MTRRs, so we can see the state set up by the board. Only show it when debug is enabled. Signed-off-by: Simon Glass --- arch/x86/

[PATCH 11/13] dm: Emit the arch_cpu_init_dm() even only before relocation

2023-03-12 Thread Simon Glass
nvert arch_cpu_init_dm() to") Signed-off-by: Simon Glass --- arch/arm/mach-imx/imx8/cpu.c| 2 +- arch/arm/mach-imx/imx8m/soc.c | 2 +- arch/arm/mach-imx/imx8ulp/soc.c | 2 +- arch/arm/mach-imx/imx9/soc.c| 2 +- arch/arm/mach-omap2/am33xx/board.c | 2 +- arch/arm/

[PATCH 00/13] x86: Various fixes for chromebooks

2023-03-13 Thread Simon Glass
This adds some fixes for x86-based Chromebook builds which have picked up a few problems recently. With this, chromebook_link, chromebook_samus and chromebook_coral work correctly. For chromebook_link64 a problem remains where it fails to jump into 64-bit U-Boot. Simon Glass (13): Revert

Re: Please pull u-boot-dm/next

2023-03-14 Thread Simon Glass
Hi Tom, On Mon, 13 Mar 2023 at 13:36, Tom Rini wrote: > > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > This is for the -next branch > > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/155

Re: [PATCH 0/9] Enable splash screen

2023-03-14 Thread Simon Glass
Hi Nikhil, On Mon, 13 Mar 2023 at 04:15, Nikhil M Jain wrote: > > To enable splash screen at SPL stage move video driver and splash screen > framework at SPL, which will bring up image on display very quickly and > thus have early display support in SPL. > > Nikhil M Jain (9): > drivers: video:

Re: [PATCH] test: cmd: fdt: Drop unused fdt_test_header_get() fdt parameter

2023-03-14 Thread Simon Glass
essing 4096 bytes in > a region of size 256 [-Wstringop-overflow=] > > Signed-off-by: Marek Vasut > --- > Cc: Heinrich Schuchardt > Cc: Simon Glass > Cc: Tom Rini > --- > test/cmd/fdt.c | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(

Re: [RFC PATCH] binman: bintool: etype: Add support for ti-secure entry

2023-03-14 Thread Simon Glass
Hi Neha, On Mon, 13 Mar 2023 at 21:38, Neha Malcom Francis wrote: > > Hi Simon > > On 11/03/23 02:19, Simon Glass wrote: > > Hi, > > > > On Thu, 9 Mar 2023 at 21:35, Neha Malcom Francis wrote: > >> > >> Hi Andrew, Simon > >> > >&g

Please pull u-boot-dm into -next

2023-03-14 Thread Simon Glass
tools: add fdt_add_pubkey Simon Glass (2): Revert "buildman: Correct CROSS_COMPILE output for sandbox" buildman: Fix CROSS_COMPILE output for sandbox cmd/fdt.c | 2 +- common/console.c | 2 +- common/main.c

[PATCH v3 2/5] x86: bayleybay: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-14 Thread Simon Glass
With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: f38be308683 ("x86: bayleybay: Adjust CONFIG_TEXT_BASE") --- Cha

[PATCH v3 1/5] x86: minnowmax: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-14 Thread Simon Glass
With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Add documentation on how to make this change safely. Signed-off-by: Simon Glass Fixes: 66e2c665f (&quo

[PATCH v3 3/5] x86: conga-qeval20-qa3-e3845: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-14 Thread Simon Glass
With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: 388f93f9635 ("x86: conga-qeval20-qa3-e3845: Adjust CONFIG_TEXT

[PATCH v3 5/5] x86: som-db5800-som-6867: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-14 Thread Simon Glass
With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: e23cae30801 ("x86: som-db5800-som-6867: Adjust CONFIG_TEXT

[PATCH v3 4/5] x86: dfi-bt700: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-14 Thread Simon Glass
With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: 5d1c8342aea ("x86: dfi-bt700: Adjust CONFIG_TEXT_BASE") --- Cha

Re: [PATCH v9 06/10] arm_ffa: introduce the FF-A Sandbox driver

2023-03-15 Thread Simon Glass
ed ABIs > > > and perform functional tests based on that. > > > > > > sandbox driver supports only 64-bit direct messaging. > > > > > > Signed-off-by: Abdellatif El Khlifi > > > Cc: Tom Rini > > > Cc: Simon Glass > > >

Re: [PATCH v1 4/7] arm: dts: rockchip: rk3288: partial sync edp node

2023-03-15 Thread Simon Glass
i and partially the sync edp node. > > Signed-off-by: Johan Jonker > --- > arch/arm/dts/rk3288-u-boot.dtsi | 5 + > arch/arm/dts/rk3288.dtsi| 17 +++-- > 2 files changed, 16 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH v5 21/44] x86: Use string functions for all 32-bit builds

2023-03-15 Thread Simon Glass
Hi Tom. On Thu, 2 Mar 2023 at 13:37, Tom Rini wrote: > > On Wed, Feb 22, 2023 at 09:34:02AM -0700, Simon Glass wrote: > > > At present these are not included in SPL. They do add to code size but > > are a bit faster, so adjust the setting to add them. > > >

Re: [PATCH v1 1/7] arm: dts: rockchip: rk3288: move io-domains nodes

2023-03-15 Thread Simon Glass
nged, 58 insertions(+), 62 deletions(-) > Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH v1 2/7] arm: dts: rockchip: rk3288: partial sync grf and pmu nodes

2023-03-15 Thread Simon Glass
rm/dts/rk3288.dtsi | 269 +-- > 1 file changed, 173 insertions(+), 96 deletions(-) > Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH v1 6/7] clk: rockchip: clk_rk3288: add PCLK_RKPWM

2023-03-15 Thread Simon Glass
lk/rockchip/clk_rk3288.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH v1 3/7] video: rockchip: rk_vop: add rk3288-dp compare string

2023-03-15 Thread Simon Glass
. Add "rk3288-dp" as compare string to select > vop_id. > > Signed-off-by: Johan Jonker > --- > drivers/video/rockchip/rk_vop.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH v1 5/7] arm: dts: rockchip: rk3288: partial sync vop/lvds/mipi/hdmi nodes

2023-03-15 Thread Simon Glass
arm/dts/rk3288.dtsi | 48 > 1 file changed, 24 insertions(+), 24 deletions(-) Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry

Re: [PATCH 0/9] Enable splash screen

2023-03-15 Thread Simon Glass
Hi Nikhil, On Wed, 15 Mar 2023 at 00:07, Nikhil M Jain wrote: > > Hi Simon, > > On 15/03/23 03:38, Simon Glass wrote: > > Hi Nikhil, > > > > On Mon, 13 Mar 2023 at 04:15, Nikhil M Jain wrote: > >> > >> To enable splash screen at SPL stage move

Re: [PATCH v1 7/7] arm: dts: rockchip: rk3288: partial sync pwm nodes

2023-03-15 Thread Simon Glass
Hi Johan, On Tue, 14 Mar 2023 at 12:16, Johan Jonker wrote: > > In order to better compare the Linux rk3288.dtsi > version 6.3 -rc2 with the u-boot version partial > sync the pwm nodes. > > Signed-off-by: Johan Jonker > --- > arch/arm/dts/rk3288.dtsi | 18 +- > 1 file changed, 5

Re: [PATCH] Revert 9f62a472dfb2 ("video: Remove duplicate cursor-positioning function")

2023-03-15 Thread Simon Glass
to change. This can be seen as the hush tests we have now > fail. > > Signed-off-by: Tom Rini > --- > Cc: Simon Glass > > Some other issues in my lab meant I thought I had tested this platform > when I took the PR in originally, but hadn't. So I'd like to gra

Re: [PATCH v3] binman: bintool: Add support for tool directories

2023-03-15 Thread Simon Glass
Hi Neha, On Mon, 13 Mar 2023 at 21:41, Neha Malcom Francis wrote: > > Hi Simon > > On 11/03/23 07:17, Simon Glass wrote: > > Hi Neha, > > > > On Fri, 24 Feb 2023 at 03:51, Neha Malcom Francis wrote: > >> > >> Currently, bintool supports external

Re: [PATCH] board_r: Relocate OF_EMBED if NEEDS_MANUAL_RELOC only

2023-03-15 Thread Simon Glass
early relocation code and doesn't > >> need to be manually patched. > >> > >> Cc: Simon Glass > >> Signed-off-by: Pierre-Clément Tosi > > > > Applied to u-boot/master, thanks! > > Getting following error on Rpi3 board and fail to boot with u-boo

Re: [PATCH] console: Use flush() before panic and reset

2023-03-15 Thread Simon Glass
95169bae1c..3e051e36f1 100644 > --- a/arch/arm/lib/reset.c > +++ b/arch/arm/lib/reset.c > @@ -25,6 +25,7 @@ > #include > #include > #include > +#include Reviewed-by: Simon Glass Is flush implemented widely?

Re: [PATCH 12/12] rockchip: Convert rk35xx to use standard boot

2023-03-15 Thread Simon Glass
++ > include/configs/rk3568_common.h | 9 +++-- > include/configs/rk3588_common.h | 9 +++-- > 3 files changed, 20 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v3] cmd: fdt: Use env_set_hex() for "get addr" and "get size"

2023-03-15 Thread Simon Glass
with 0x prefix, this is a separate patch. > > Revert if this breaks anything. > > Signed-off-by: Marek Vasut > --- > Cc: Heinrich Schuchardt > Cc: Simon Glass > Cc: Tom Rini > --- > V2: - Use env_set_hex() instead > - Update env get size too > V3: Rebas

mkimage for Windows?

2023-03-15 Thread Simon Glass
Hi, Does anyone know how to build mkimage (or other tools) on a Windows host, or at least with a Windows target? Regards, SImon

Re: [PATCH 0/9] binman: Show missing blob message when building U-Boot

2023-03-16 Thread Simon Glass
Hi Jonas, On Thu, 16 Mar 2023 at 01:45, Jonas Karlman wrote: > > Hi Simon, > On 2023-03-10 21:49, Simon Glass wrote: > > Hi Jonas, > > > > On Sun, 19 Feb 2023 at 14:02, Jonas Karlman wrote: > >> > >> binman currently support showing a helpful missing

Re: Please pull u-boot-dm/next

2023-03-16 Thread Simon Glass
Hi Tom, On Wed, 15 Mar 2023 at 08:49, Tom Rini wrote: > > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 13 Mar 2023 at 13:36, Tom Rini wrote: > > > > > > On Sun, Mar 12, 2023 at 09:10:19PM -060

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-16 Thread Simon Glass
Hi Ivan, On Wed, 15 Mar 2023 at 19:17, Ivan Mikhaylov wrote: > > On Fri, 2023-03-10 at 17:46 -0800, Simon Glass wrote: > > Hi Ivan, > > > > On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov > > wrote: > > > > > > From: Roman Kopytin > >

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-16 Thread Simon Glass
Hi Ivan, On Thu, 16 Mar 2023 at 08:45, Ivan Mikhaylov wrote: > > On Thu, 2023-03-16 at 07:59 -0600, Simon Glass wrote: > > Hi Ivan, > > > > On Wed, 15 Mar 2023 at 19:17, Ivan Mikhaylov > > wrote: > > > > > > On Fri, 2023-03-10 at

Re: [PATCH v2 6/8] boot: Create a common BOOT_DEFAULTS for distro and bootstd

2023-03-16 Thread Simon Glass
Hi Tom, On Thu, 2 Mar 2023 at 08:14, Tom Rini wrote: > > On Wed, Mar 01, 2023 at 08:39:27PM -0700, Simon Glass wrote: > > > These two features use a lot of common options. Move them into a common > > CONFIG to reduce duplication. > > > > Resync defconfigs

Re: [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64

2023-03-16 Thread Simon Glass
Hi, On Thu, 16 Mar 2023 at 12:17, Tom Rini wrote: > > On Thu, Mar 16, 2023 at 11:01:01AM +, Peter Robinson wrote: > > On Wed, Feb 22, 2023 at 7:17 PM Tom Rini wrote: > > > > > > On Wed, Feb 22, 2023 at 12:03:58PM -0700, Simon Glass wrote: > > > > H

Re: [PATCH v2 6/8] boot: Create a common BOOT_DEFAULTS for distro and bootstd

2023-03-17 Thread Simon Glass
Hi Tom, On Fri, 17 Mar 2023 at 08:34, Tom Rini wrote: > > On Thu, Mar 16, 2023 at 11:25:17PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 2 Mar 2023 at 08:14, Tom Rini wrote: > > > > > > On Wed, Mar 01, 2023 at 08:39:27PM -0700, Simon Glass wro

Re: [PATCH 2/2] drivers: rtc: add max313xx series rtc driver

2023-03-17 Thread Simon Glass
+++ > 3 files changed, 451 insertions(+) > create mode 100644 drivers/rtc/max313xx.c Reviewed-by: Simon Glass with requests below > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index 35b6ed4d7c72..49c260b5b190 100644 > --- a/drivers/

Re: [PATCH] gpio: allow passing NULL to gpio_request_by_line_name() to search all gpio controllers

2023-03-18 Thread Simon Glass
is loop > oneself. > > Signed-off-by: Rasmus Villemoes > --- > drivers/gpio/gpio-uclass.c | 7 +++ > include/asm-generic/gpio.h | 3 ++- > 2 files changed, 9 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass What is a line name? I don't see any mention of its purpose

Re: [BUG] Devices of uclass BLK are not listed on x86

2023-03-18 Thread Simon Glass
Hi Detlev, On Fri, 17 Mar 2023 at 15:30, Detlev Casanova wrote: > > Hello, > > We have been having an issue with IDE and SCSI drives not being usable on the > x86 architecture. > > After bisecting, it looks like commit f2ebaaa9f38defaf2e616a9fc489fe8b4021 > (pci: Handle failed calloc in decod

Re: [PATCH 0/9] Enable splash screen

2023-03-18 Thread Simon Glass
Hi Nikhil, On Fri, 17 Mar 2023 at 02:13, Nikhil M Jain wrote: > > Hi Simon, > > On 16/03/23 10:10, Nikhil M Jain wrote: > > Hi Simon, > > > > On 15/03/23 19:38, Simon Glass wrote: > >> Hi Nikhil, > >> > >> On Wed, 15 Mar 2023 at 00:07, N

Re: [PATCH v1 2/5] net: dwc_eth_qos: Add StarFive ethernet driver glue layer

2023-03-18 Thread Simon Glass
Hi Yanhong, On Thu, 16 Mar 2023 at 19:07, Yanhong Wang wrote: > > The StarFive ETHQOS hardware has its own clock and reset,so add a > corresponding glue driver to configure them. > > Signed-off-by: Yanhong Wang > --- > drivers/net/Kconfig| 7 + > drivers/net/Makefile

Re: [PATCH 1/2] include: kernel.h: port find_closest() from Linux

2023-03-18 Thread Simon Glass
file changed, 24 insertions(+) > Reviewed-by: Simon Glass Good to mention the Linux version it was taken from

Re: [PATCH] regulator: implement basic reference counter

2023-03-18 Thread Simon Glass
Hi Eugen, On Thu, 16 Mar 2023 at 07:53, Eugen Hristev wrote: > > Some devices share a regulator supply, when the first one will request > regulator disable, the second device will have it's supply cut off before > graciously shutting down. Hence there will be timeouts and other failed > operation

Re: [PATCH 00/13] x86: Various minor enhancements for coreboot

2023-03-18 Thread Simon Glass
Hi Bin, On Mon, 20 Feb 2023 at 19:02, Jason Liu wrote: > > > > > -Original Message- > > From: Simon Glass > > Sent: 2023年2月21日 3:49 > > To: U-Boot Mailing List > > Cc: Bin Meng ; Simon Glass ; > > AKASHI Takahiro ; Andrew Scull > > ;

Re: [PATCH v1 4/6] arm: dts: rockchip: sync rk3066/rk3188 DT files from linux-next v6.2-rc4

2023-03-18 Thread Simon Glass
t; arch/arm/dts/rk3188.dtsi | 27 --- > arch/arm/dts/rk3xxx-u-boot.dtsi | 4 > arch/arm/dts/rk3xxx.dtsi | 9 +++-- > 6 files changed, 68 insertions(+), 26 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-03-18 Thread Simon Glass
due to the SYS_SOC rule. > > Now, the only way to be really sure is to build the world > with/without this patch and check if any .dtb file changes, but I > don't have the means to do that. But I do notice that > > > doc/develop/devicetree/control.rst | 1 + > scripts/Makefile.lib | 2 ++ > 2 files changed, 3 insertions(+) Reviewed-by: Simon Glass There is something missing at the end of your note. What U-Boot-specific things are you using? Regards, Simon

Re: [PATCH] rtc: m41t62: implements read8/write8 operations

2023-03-18 Thread Simon Glass
On Fri, 17 Mar 2023 at 08:25, wrote: > > From: Thomas Perrot > > These operations are required by dm_rtc_read and > dm_bootcount_get helpers. > > Signed-off-by: Thomas Perrot > --- > drivers/rtc/m41t62.c | 12 > 1 file changed, 12 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 3/6] arm: dts: rockchip: rk3188-u-boot: add gpio-ranges

2023-03-18 Thread Simon Glass
| 13 + > 1 file changed, 13 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges

2023-03-18 Thread Simon Glass
rk3066a-u-boot.dtsi | 25 + > 1 file changed, 25 insertions(+) > Reviewed-by: Simon Glass

Re: mkimage for Windows?

2023-03-18 Thread Simon Glass
Hi Tom, On Thu, 16 Mar 2023 at 08:55, Tom Rini wrote: > > On Wed, Mar 15, 2023 at 01:56:25PM -0600, Simon Glass wrote: > > > Hi, > > > > Does anyone know how to build mkimage (or other tools) on a Windows > > host, or at least with a Windows target? > >

Re: [PATCH v1 1/5] net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy

2023-03-18 Thread Simon Glass
Hi Yanhong, On Thu, 16 Mar 2023 at 19:06, Yanhong Wang wrote: > > Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have > verified the driver on StarFive VisionFive2 board. > > Signed-off-by: Yanhong Wang > --- > drivers/net/phy/Kconfig | 6 + > drivers/net/phy/Makefile|

Re: [PATCH 1/1] dm: simplify uclass_pre_remove_device

2023-03-18 Thread Simon Glass
Hi Heinrich, On Sat, 18 Mar 2023 at 03:56, Heinrich Schuchardt wrote: > > Remove a superfluous logical constraint. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/core/uclass.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) Where possible I like to keep the happy path c

Re: [PATCH v1 6/6] rockchip: configs: mk808: enable usb support

2023-03-18 Thread Simon Glass
On Thu, 16 Mar 2023 at 10:48, Johan Jonker wrote: > > Enable usb support in the mk808_defconfig. > > Signed-off-by: Johan Jonker > --- > configs/mk808_defconfig | 10 ++ > 1 file changed, 10 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 1/6] rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider

2023-03-18 Thread Simon Glass
rs/gpio/rk_gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass > > diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c > index f7ad4d68..0a2acf18 100644 > --- a/drivers/gpio/rk_gpio.c > +++ b/drivers/gpio/rk_gpio.c > @@ -160,7 +160,

Re: [PATCH v1 5/6] rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE

2023-03-18 Thread Simon Glass
E and update rockchip.rst > instructions. > > Signed-off-by: Johan Jonker > Reviewed-by: Simon Glass > --- > configs/mk808_defconfig | 2 +- > doc/board/rockchip/rockchip.rst | 7 +++ > 2 files changed, 4 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass &

Re: [PATCH 1/3] rockchip: dts: Add missing alias for gpio controllers

2023-03-19 Thread Simon Glass
> arch/arm/dts/rk3368-u-boot.dtsi | 7 +++ > arch/arm/dts/rk3399-u-boot.dtsi | 5 + > arch/arm/dts/rk3588s-u-boot.dtsi | 8 > arch/arm/dts/rv1108-u-boot.dtsi | 9 + > arch/arm/dts/rv1126-u-boot.dtsi | 8 ++++ > 11 files changed, 77 insertions(+) Reviewed-by: Simon Glass

Re: [PATCH v2 08/12] efi: Include GUID names with EFI app and payload

2023-03-19 Thread Simon Glass
Hi Heinrich, On Mon, 20 Mar 2023 at 05:36, Heinrich Schuchardt wrote: > > On 3/10/23 21:48, Simon Glass wrote: > > These are currently only available when running with EFI_LOADER. > > Expand this to include the app and payload, since it is useful to be > > abl

Re: [PATCH u-boot] cmd: mmc: Return CMD_RET_* from commands

2023-03-19 Thread Simon Glass
Hi Pali, On Mon, 20 Mar 2023 at 05:34, Pali Rohár wrote: > > Numeric return values may cause strange errors line: > exit not allowed from main input shell. > > Signed-off-by: Pali Rohár > --- > cmd/mmc.c | 18 +- > 1 file changed, 13 insertions(+), 5 deletions(-) > > diff --git

Re: [PATCH v2 11/12] efi: Support showing tables

2023-03-19 Thread Simon Glass
Hi Heinrich, On Mon, 20 Mar 2023 at 05:43, Heinrich Schuchardt wrote: > > On 3/10/23 21:49, Simon Glass wrote: > > Add a command (for the app and payload) to display the tables provided > > by EFI. > > > > Signed-off-by: Simon Glass > > --- > > > &

Re: [PATCH 2/2] efi_loader: fix device-path for USB devices

2023-03-19 Thread Simon Glass
> > Reported-by: Patrick Delaunay > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_device_path.c | 45 +++- > 1 file changed, 33 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass [..] > > diff --git a/lib/efi_loader/efi_de

<    1   2   3   4   5   6   7   8   9   10   >