Re: [PATCH] ci: riscv: Update OpenSBI to v1.2

2023-07-04 Thread Leo Liang
On Tue, Jun 20, 2023 at 01:55:00PM +0800, Bin Meng wrote: > Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. > > Signed-off-by: Bin Meng > --- > > .azure-pipelines.yml | 8 > .gitlab-ci.yml | 8 > 2 files changed, 8 insertions(+), 8 deletions(-) >

Re: [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description

2023-07-04 Thread Leo Liang
On Tue, Jul 04, 2023 at 02:14:21AM +0200, Heinrich Schuchardt wrote: > Describe which numeric values can be used for as scratch options for > OpenSBI. > > Signed-off-by: Heinrich Schuchardt > --- > common/spl/Kconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > Reviewed-by:

Re: [PATCH] phy: phy-uclass: Add a missing error handling path

2023-07-04 Thread Bhupesh Sharma
Hi Jonas, On Mon, 3 Jul 2023 at 01:18, Jonas Karlman wrote: > > On 2023-07-02 20:47, Bhupesh Sharma wrote: > > Since function 'phy_get_counts()' can return NULL, > > add handling for that error path inside callers of > > this function. > > Do you have any example where this can/has happened?

Re: [PATCH 2/2] board: ae350: Add missing env variables for booti

2023-07-04 Thread Leo Liang
On Tue, Jul 04, 2023 at 07:13:21PM +0800, Yu Chien Peter Lin wrote: > The 'booti' command is unable to boot Image.gz due to the absence > of required environment variables 'kernel_comp_addr_r' and > 'kernel_comp_size'. > > This commit adds these variables and reorganizes the memory layout > to

Re: [PATCH 1/2] riscv: andes_plicsw: Fix IPI during OpenSBI invocation

2023-07-04 Thread Leo Liang
On Tue, Jul 04, 2023 at 07:13:20PM +0800, Yu Chien Peter Lin wrote: > On some AE350 boards, we need to explicitly initialize the priority > registers to a non-zero value so the boot hart can instruct secondary > harts to jump to OpenSBI. > > This patch also updates the information about PLICSW. >

Re: [PATCH v1 0/4] Fix rtl8169 compile warning and add a new device ID

2023-07-04 Thread Minda Chen
Hi Joe and Ramon Sorry to disturb you. Could you please review this patchset. Thanks On 2023/6/21 17:05, Minda Chen wrote: > StarFive JH7110 uboot support PCIe and using rtl8169 network adapter > PCIe device. But compile warning in rtl8169 driver cause CI test fail. > So commit this patch set

RE: [PATCH v2 1/5] dm: test: Fix partition test to use mmc2

2023-07-04 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Joshua Watt > Sent: Monday, July 3, 2023 10:40 PM > To: u-boot@lists.denx.de > Cc: Joshua Watt ; Simon Glass > Subject: [PATCH v2 1/5] dm: test: Fix partition test to use mmc2 > > d94d9844bc ("dm: part: Update test to use mmc2")

[bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-04 Thread Anne Macedo
Hey! I'm trying to bake Linux images for the Orange Pi One Plus using Yocto. Everything works fine, except for Ethernet. On the u-boot prompt: => dhcp No ethernet found. After adding: CONFIG_SPL_SPI_SUNXI=y CONFIG_SUN8I_EMAC=y to configs/orangepi_one_plus_defconfig, I started seeing this

Re: [PATCH 12/12] binman: Support simple templates

2023-07-04 Thread Simon Glass
Hi Jan, On Mon, 3 Jul 2023 at 20:34, Jan Kiszka wrote: > > Hi Simon, > > On 28.06.23 13:41, Simon Glass wrote: > > Collections can used to collect the contents of other entries into a > > single entry, but they result in a single entry, with the original entries > > 'left behind' in their old

Re: [PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM

2023-07-04 Thread Marek Vasut
On 5/18/23 00:02, Marek Vasut wrote: In case the DHSOM is in suspend state and either reset button is pushed or IWDG2 triggers a watchdog reset, then DRAM initialization could fail as follows: " RAM: DDR3L 32bits 2x4Gb 533MHz DDR invalid size : 0x4, expected 0x4000 DRAM init

Re: [PATCH 1/1] tools: spkgimage: correct printf specifier

2023-07-04 Thread Marek Vasut
On 7/4/23 22:18, Heinrich Schuchardt wrote: Compiling on armv7 results in: tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’: tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’}

[PATCH 1/1] tools: spkgimage: correct printf specifier

2023-07-04 Thread Heinrich Schuchardt
Compiling on armv7 results in: tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’: tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 76 | "config error: unknown

[PATCH v4 2/2] board: rockchip: add Radxa ROCK5A Rk3588 board

2023-07-04 Thread Eugen Hristev
ROCK 5A is a Rockchip RK3588S based SBC (Single Board Computer) by Radxa. There are tree variants depending on the DRAM size : 4G, 8G and 16G. Specifications: Rockchip Rk3588S SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 4/8/16GB memory LPDDR4x Mali G610MC4 GPU MIPI CSI 2

[PATCH v4 1/2] ARM: dts: rockchip: rk3588: Move bootph-all props to common file

2023-07-04 Thread Eugen Hristev
Move bootph-all prop to common SoC dt file, because they are typically used by multiple boards. Unreferenced nodes are removed from the SPL device tree during a normal build. Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev --- Resent with correct mail addresses Changes in v4: - new

[PATCH v4 2/2] board: rockchip: add Radxa ROCK5A Rk3588 board

2023-07-04 Thread Eugen Hristev
ROCK 5A is a Rockchip RK3588S based SBC (Single Board Computer) by Radxa. There are tree variants depending on the DRAM size : 4G, 8G and 16G. Specifications: Rockchip Rk3588S SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 4/8/16GB memory LPDDR4x Mali G610MC4 GPU MIPI CSI 2

[PATCH v4 1/2] ARM: dts: rockchip: rk3588: Move bootph-all props to common file

2023-07-04 Thread Eugen Hristev
Move bootph-all prop to common SoC dt file, because they are typically used by multiple boards. Unreferenced nodes are removed from the SPL device tree during a normal build. Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev --- Changes in v4: - new patch

[PATCH 6/6] configs: am64x_evm_a53_defconfig: Enable I2C GPIO drivers

2023-07-04 Thread Roger Quadros
We need the I2C GPIO drivers to detect expansion cards. Signed-off-by: Roger Quadros --- configs/am64x_evm_a53_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 4589624e96..3a8d2ed3b6 100644 ---

[PATCH 4/6] arm: dts: k3-am642-r5-evm: Add I2C0 and Card detect GPIOs

2023-07-04 Thread Roger Quadros
Card detect GPIOs are on I2C GPIO Expander on I2C0. Enable I2C0 and GPIO Expander for r5-evm. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-r5-evm.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/k3-am642-r5-evm.dts

[PATCH 5/6] arm: dts: k3-am642: Add I2C GPIO Expander

2023-07-04 Thread Roger Quadros
The I2C GPIO expander at address 0x38 is used for card detect GPIOs. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 arch/arm/dts/k3-am642-evm.dts | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi

[PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-04 Thread Roger Quadros
main_i2c0 and pinmux should be in k3-am642-evm.dts. Also add the I2C EEPROM. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 11 --- arch/arm/dts/k3-am642-evm.dts | 20 2 files changed, 20 insertions(+), 11 deletions(-) diff --git

[PATCH 2/6] board: ti: am64x: Add HSE NAND card detection support

2023-07-04 Thread Roger Quadros
Add expansion card detection support. Add NAND card detection support. am64-sk EVM doesn't support daughtercards so let's restrict daughtercard probing to am64-evm. Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 177 +++ 1 file changed, 177

[PATCH 1/6] board: ti: am64x: Recognize AM64-HSEVM

2023-07-04 Thread Roger Quadros
use "am64x_evm" board name in environment for both AM64-GPEVM and AM64-HSEVM. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header" Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[PATCH 0/6] ti: k3-am642: Add daughtercard support

2023-07-04 Thread Roger Quadros
Hi, This series adds daughtercard detection support for am642-evm. NAND card support is added. cheers, -roger Roger Quadros (6): board: ti: am64x: Recognize AM64-HSEVM board: ti: am64x: Add HSE NAND card detection support arm: dts: k3-am642: Sync main_i2c0 with kernel arm: dts:

Re: [PATCH v2] board: stm32mp1: add splash screen on dk2

2023-07-04 Thread Grzegorz Szymaszek
On Tue, Jul 04, 2023 at 07:31:21PM +0200, Dario Binacchi wrote: > Display the STMicroelectronics logo. > > Signed-off-by: Dario Binacchi Reviewed-by: Grzegorz Szymaszek signature.asc Description: PGP signature

[PATCH v2] board: stm32mp1: add splash screen on dk2

2023-07-04 Thread Dario Binacchi
Display the STMicroelectronics logo. Signed-off-by: Dario Binacchi --- Changes in v2: - move "splash.h" and "st_logo_data.h" headers before "syscon.h" in order to keep includes sorted alphabetically. - remove "logo" variable and pass "(ulong)stmicroelectronics_uboot_logo_8bit_rle"

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Fabio Estevam
On 04/07/2023 14:04, Francesco Dolcini wrote: The boards that do not check the return value might start to behave wrongly without an obvious error to help the debugging. Yes, the current implementation of fdt_status_disabled() is fragile, but there's not so much we can do for the upcoming

[PATCH v2] colibri-imx7: Call fdt_increase_size()

2023-07-04 Thread Fabio Estevam
From: Fabio Estevam For changing the USB OTG node status from "okay" to "disabled" more space is needed, so call fdt_increase_size() to avoid the following error: ``` U-Boot 2023.07-rc5-0.0.0-devel+git.580eb31199be (Jun 27 2023 - 13:39:58 +) CPU: Freescale i.MX7S rev1.2 800 MHz (running

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Francesco Dolcini
On Tue, Jul 04, 2023 at 12:57:34PM -0300, Fabio Estevam wrote: > On Tue, Jul 4, 2023 at 12:12 PM Francesco Dolcini > wrote: > > > Now that the situation is pretty much clear I am not overly concerned for > > colibri-imx7s. > > > > Do we consider this something to be worried about for other

Re: [PATCH] colibri-imx7: Call fdt_increase_size()

2023-07-04 Thread Francesco Dolcini
On Tue, Jul 04, 2023 at 01:10:03PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > For changing the USB OTG node status from "okay" to "disabled" more > space is needed, so call fdt_increase_size() to avoid the following > error: > > ``` > U-Boot 2023.07-rc5-0.0.0-devel+git.580eb31199be

[PATCH] colibri-imx7: Call fdt_increase_size()

2023-07-04 Thread Fabio Estevam
From: Fabio Estevam For changing the USB OTG node status from "okay" to "disabled" more space is needed, so call fdt_increase_size() to avoid the following error: ``` U-Boot 2023.07-rc5-0.0.0-devel+git.580eb31199be (Jun 27 2023 - 13:39:58 +) CPU: Freescale i.MX7S rev1.2 800 MHz (running

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Fabio Estevam
On Tue, Jul 4, 2023 at 12:12 PM Francesco Dolcini wrote: > Now that the situation is pretty much clear I am not overly concerned for > colibri-imx7s. > > Do we consider this something to be worried about for other boards? There are only three boards that check the return value from

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Tom Rini
On Tue, Jul 04, 2023 at 05:23:03PM +0200, Francesco Dolcini wrote: > On Tue, Jul 04, 2023 at 11:14:57AM -0400, Tom Rini wrote: > > On Tue, Jul 04, 2023 at 05:12:42PM +0200, Francesco Dolcini wrote: > > > On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > > > > Then for the next

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Francesco Dolcini
On Tue, Jul 04, 2023 at 11:14:57AM -0400, Tom Rini wrote: > On Tue, Jul 04, 2023 at 05:12:42PM +0200, Francesco Dolcini wrote: > > On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > > > Then for the next cycle, we should plan on adding this > > > fdt_increase_size() into the common

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Francesco Dolcini
On Tue, Jul 04, 2023 at 11:09:06AM -0400, Tom Rini wrote: > On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > > Then for the next cycle, we should plan on adding this > > fdt_increase_size() into the common fdt_status_disabled(). > > I'm a little leary of generic changes here

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Tom Rini
On Tue, Jul 04, 2023 at 05:12:42PM +0200, Francesco Dolcini wrote: > On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > > Then for the next cycle, we should plan on adding this > > fdt_increase_size() into the common fdt_status_disabled(). > > > > Does it work? > > Now that the

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Francesco Dolcini
On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > Then for the next cycle, we should plan on adding this > fdt_increase_size() into the common fdt_status_disabled(). > > Does it work? Now that the situation is pretty much clear I am not overly concerned for colibri-imx7s. Do we

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Tom Rini
On Tue, Jul 04, 2023 at 11:39:59AM -0300, Fabio Estevam wrote: > Hi Francesco, > > On Mon, Jul 3, 2023 at 5:49 PM Francesco Dolcini wrote: > > > If I do this small partial revert > > > > --- a/arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi > > +++

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-04 Thread Fabio Estevam
Hi Francesco, On Mon, Jul 3, 2023 at 5:49 PM Francesco Dolcini wrote: > If I do this small partial revert > > --- a/arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi > +++ b/arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi > @@ -15,7 +15,8 @@ > pinctrl-0 = <_lcdif_dat >

Re: [PATCH 2/2] mxs: Don't enable 4P2 reg if MXS is powered only from DCDC_BATT

2023-07-04 Thread Cody Green
On Tue, Jul 4, 2023 at 9:19 AM Lukasz Majewski wrote: Hi Lukasz, > > Hi Marek, Cody, > > > On 7/3/23 18:33, Cody Green wrote: > > > 'mxs_power_enable_4p2()' function call was added to > > > 'mxs_batt_boot()' in 'commit a0f97610757d' to enable DCDC converter > > > when board is powered from 5V and

[PATCH v2 1/2] mxs: Fix VDDx brownout interrupt disable/enable

2023-07-04 Thread Cody Green
Incorrect registers HW_POWER_VDDIOCTRL, HW_POWER_VDDACTRL and HW_POWER_VDDDCTRL are used in the current code to disable/enable brownout interrupts in 'mxs_power_set_vddx()'. Change register to HW_POWER_CTRL which contains brownout interrupt enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and

Re: [PATCH 1/2] mxs: Fix VDDx brownout interrupt disable/enable

2023-07-04 Thread Cody Green
On Mon, Jul 3, 2023 at 5:40 PM Marek Vasut wrote: > > On 7/3/23 18:33, Cody Green wrote: > > HW_POWER_CTRL register contains brownout interrupt > > enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and > > ENIRQ_VDDD_BO. > > So what does this patch do (that is missing in the commit message) ? There are

sipeed maix bit resets every 90 seconds with watchdog enabled

2023-07-04 Thread Jaap Aart
Dear sean, and others, I encountered a small problem running linux on the sipeed maix bit from u-boot. Every 90 seconds (exactly) after boot it resets, if booted into linux, unless I disable the watchdog. This has occurred since this feature was enabled

[PATCH 2/2] mxs: Don't enable 4P2 reg if MXS is powered only from DCDC_BATT

2023-07-04 Thread Cody Green
'mxs_power_enable_4p2()' function call was added to 'mxs_batt_boot()' in 'commit a0f97610757d' to enable DCDC converter when board is powered from 5V and has detected sufficient battery voltage. This involves enabling 4P2 regulator and there is a code in 'mxs_power_enable_4p2()' that disables

[PATCH 1/2] mxs: Fix VDDx brownout interrupt disable/enable

2023-07-04 Thread Cody Green
HW_POWER_CTRL register contains brownout interrupt enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and ENIRQ_VDDD_BO. Signed-off-by: Cody Green Cc: Stefano Babic Cc: Marek Vasut Cc: Fabio Estevam --- arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 8 +--- 1 file changed, 5 insertions(+), 3

[PATCH] tpm: Add TPM2_GetTestResult command support

2023-07-04 Thread Julia Daxenberger
Add TPM2_GetTestResult command support and change the command file and the help accordingly. Add Python tests and sandbox driver functionality. The TPM2_GetTestResult command is performed after the TPM2_SelfTest command and returns manufacturer-specific information regarding the results of the

[PATCH] sysreset: Change Kconfig GPIO dependency

2023-07-04 Thread Michal Simek
DM_GPIO depends on GPIO to be enabled but select will cause that DM_GPIO is selected without GPIO which ends up in compilation error: undefined reference to `dm_gpio_set_value' undefined reference to `dm_gpio_get_value' undefined reference to `dm_gpio_free' undefined reference to

[PATCH] mtd: Add missing MTD dependency for cfi_mtd

2023-07-04 Thread Michal Simek
cfi_mtd requires add_mtd_device() which is available only when MTD is enabled that's why record this dependency. Signed-off-by: Michal Simek --- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index

[PATCH] git-mailrc: add alias for Eugen Hristev

2023-07-04 Thread Eugen Hristev
add my patchwork alias Signed-off-by: Eugen Hristev --- doc/git-mailrc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 96623c3b4ee1..0ceb9eb88b52 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -22,6 +22,7 @@ alias apritzel Andre Przywara

[PATCH 2/2] board: ae350: Add missing env variables for booti

2023-07-04 Thread Yu Chien Peter Lin
The 'booti' command is unable to boot Image.gz due to the absence of required environment variables 'kernel_comp_addr_r' and 'kernel_comp_size'. This commit adds these variables and reorganizes the memory layout to prevent any overlap between binaries and files. Signed-off-by: Yu Chien Peter Lin

[PATCH 1/2] riscv: andes_plicsw: Fix IPI during OpenSBI invocation

2023-07-04 Thread Yu Chien Peter Lin
On some AE350 boards, we need to explicitly initialize the priority registers to a non-zero value so the boot hart can instruct secondary harts to jump to OpenSBI. This patch also updates the information about PLICSW. Signed-off-by: Yu Chien Peter Lin --- arch/riscv/lib/andes_plicsw.c | 25

Re: [PATCH] board: stm32mp1: add splash screen on dk2

2023-07-04 Thread Grzegorz Szymaszek
On Tue, Jul 04, 2023 at 11:14:39AM +0200, Dario Binacchi wrote: > On Tue, Jul 4, 2023 at 10:11 AM Grzegorz Szymaszek > wrote: > > > + ulong logo = > > > + (ulong)stmicroelectronics_uboot_logo_8bit_rle; > > > + bmp_display(logo,

Re: [PATCH v3] board: rockchip: add Radxa ROCK5A Rk3588 board

2023-07-04 Thread Jonas Karlman
On 2023-07-04 10:50, Eugen Hristev wrote: > ROCK 5A is a Rockchip RK3588S based SBC (Single Board Computer) by Radxa. > > There are tree variants depending on the DRAM size : 4G, 8G and 16G. > > Specifications: > > Rockchip Rk3588S SoC > 4x ARM Cortex-A76, 4x ARM Cortex-A55 >

Re: [PATCH] board: stm32mp1: add splash screen on dk2

2023-07-04 Thread Dario Binacchi
Hi all, On Tue, Jul 4, 2023 at 10:11 AM Grzegorz Szymaszek wrote: > > Hi, > > On Mon, Jul 03, 2023 at 06:27:54PM +0200, Dario Binacchi wrote: > > diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c > > -%<- > > #include > > +#include > > +#include > > #include > >

[PATCH v2 3/3] binman: Add tests for etype encrypted

2023-07-04 Thread christian . taedcke-oss
From: Christian Taedcke Add tests to reach 100% code coverage for the added etype encrypted. Signed-off-by: Christian Taedcke --- Changes in v2: - adapt tests for changed entry implementation tools/binman/ftest.py | 52 +++

[PATCH v2 2/3] binman: Allow cipher node as special section

2023-07-04 Thread christian . taedcke-oss
From: Christian Taedcke The new encrypted etype generates a cipher node in the device tree that should not be evaluated by binman, but still be kept in the output device tree. Signed-off-by: Christian Taedcke --- (no changes since v1) tools/binman/etype/section.py | 2 +- 1 file changed, 1

[PATCH v2 1/3] binman: Add support for externally encrypted blobs

2023-07-04 Thread christian . taedcke-oss
From: Christian Taedcke This adds a new etype encrypted that is derived from collection. It creates a new cipher node in the related image similar to the cipher node used by u-boot, see boot/image-cipher.c. Signed-off-by: Christian Taedcke --- Changes in v2: - remove global /cipher node -

[PATCH v2 0/3] binman: Add support for externally encrypted blobs

2023-07-04 Thread christian . taedcke-oss
From: Christian Taedcke This series adds the functionality to handle externally encrypted blobs to binman. It includes the functionality itself and the corresponding unit tests. The following block shows an example on how to use this functionality. In the device tree that is parsed by binman a

Re: [PATCH 1/3] binman: Add support for externally encrypted blobs

2023-07-04 Thread Taedcke, Christian
Hello Simon, Am 30.06.2023 um 16:58 schrieb Simon Glass: Hi Christian, On Fri, 30 Jun 2023 at 11:28, Taedcke, Christian wrote: Hello Simon, Am 30.06.2023 um 10:57 schrieb Simon Glass: Hi Christian, On Fri, 30 Jun 2023 at 09:20, Taedcke, Christian wrote: Hello Simon, thank you for the

[PATCH v3] board: rockchip: add Radxa ROCK5A Rk3588 board

2023-07-04 Thread Eugen Hristev
ROCK 5A is a Rockchip RK3588S based SBC (Single Board Computer) by Radxa. There are tree variants depending on the DRAM size : 4G, 8G and 16G. Specifications: Rockchip Rk3588S SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 4/8/16GB memory LPDDR4x Mali G610MC4 GPU MIPI CSI 2

Re: [PATCH 2/2] mxs: Don't enable 4P2 reg if MXS is powered only from DCDC_BATT

2023-07-04 Thread Lukasz Majewski
Hi Marek, Cody, > On 7/3/23 18:33, Cody Green wrote: > > 'mxs_power_enable_4p2()' function call was added to > > 'mxs_batt_boot()' in 'commit a0f97610757d' to enable DCDC converter > > when board is powered from 5V and has detected sufficient battery > > voltage. This involves enabling 4P2

Re: [PATCH] board: stm32mp1: add splash screen on dk2

2023-07-04 Thread Grzegorz Szymaszek
Hi, On Mon, Jul 03, 2023 at 06:27:54PM +0200, Dario Binacchi wrote: > diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c > -%<- > #include > +#include > +#include > #include These two should be put above syscon.h if you want to keep the includes sorted alphabetically.

[PATCH v1] spi: npcm_pspi: use ACTIVE_LOW flag for cs gpio and set default max_hz

2023-07-04 Thread Jim Liu
If cs gpio is requested with ACTIVE_HIGH flag, it will be pulled low(i.e. active). This is not what we expected. Signed-off-by: Jim Liu --- drivers/spi/npcm_pspi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/spi/npcm_pspi.c b/drivers/spi/npcm_pspi.c

[PATCH v1 4/4] arch: arm: npcm8xx: add cpu version and 4G ram support

2023-07-04 Thread Jim Liu
Add npcm8xx A2 cpu version check and add 4G RAM support Signed-off-by: Jim Liu --- arch/arm/include/asm/arch-npcm8xx/gcr.h | 1 + arch/arm/mach-npcm/npcm8xx/cpu.c| 12 - board/nuvoton/arbel_evb/arbel_evb.c | 70 +++-- 3 files changed, 79 insertions(+), 4

[PATCH v1 3/4] misc: npcm_host_intf: change initialization sequence

2023-07-04 Thread Jim Liu
configuration should be done before release host wait Signed-off-by: Jim Liu --- drivers/misc/npcm_host_intf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/npcm_host_intf.c b/drivers/misc/npcm_host_intf.c index 0244e40457..79f57f57d8 100644 ---

[PATCH v1 2/4] pinctrl: nuvoton: fix reset reason error for poweron

2023-07-04 Thread Jim Liu
In non tip mode, BMC first power on with PORST+CORST. the gpio status will error. Signed-off-by: Jim Liu --- drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c

[PATCH v1 1/4] board: nuvoton: arbel: change uboot load address

2023-07-04 Thread Jim Liu
use new memory layout and change uboot load address. open tpm, tee and more config feature No need to reserve top memory because the reserved space is moved to the bottom area of memory. Signed-off-by: Jim Liu --- board/nuvoton/arbel_evb/Kconfig | 4 ++-- configs/arbel_evb_defconfig | 15

[PATCH v1 0/4] Add NPCM8xx more feature support

2023-07-04 Thread Jim Liu
1. support 4g ram and new memory layout 2. A2 cpu support 3. fix pinctrl, misc driver error Jim Liu (4): board: nuvoton: arbel: change uboot load address pinctrl: nuvoton: fix reset reason error for poweron misc: npcm_host_intf: change initialization sequence arch: arm: npcm8xx: add cpu

[GIT PULL] Please pull u-boot-pmic next

2023-07-04 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-pmic next into u-boot next branch. If there is a problem, let me know, plz. Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/16767 The following changes since commit 67d8b46e6efa306403e45f4c76f24b86a5e63b75: Merge

[PATCH] env: Fix default environment saving issue

2023-07-04 Thread Ashok Reddy Soma
When CONFIG_SYS_REDUNDAND_ENVIRONMENT is enabled, by default env is getting saved to redundant environment irrespective of primary env is present or not. It means even if primary and redundant environment are not present, by default, env is getting stored to redundant environment. Even if primary

Re: [PATCH 07/12] binman: Provide a way to specific the fdt-list directly

2023-07-04 Thread Jan Kiszka
On 28.06.23 13:41, Simon Glass wrote: > Sometimes multiple boards are built with binman and it is useful to > specify a different FDT list for each. At present this is not possible > without providing multiple values of the of-list entryarg (which is not > supported in the U-Boot build system). >