[PATCH v5 10/23] am64x: yaml: Add board configs for AM64x

2023-07-07 Thread Neha Malcom Francis
Added YAML configs for AM64xx Signed-off-by: Neha Malcom Francis --- board/ti/am64x/board-cfg.yaml | 37 + board/ti/am64x/pm-cfg.yaml| 12 + board/ti/am64x/rm-cfg.yaml| 1400 + board/ti/am64x/sec-cfg.yaml | 380 + 4 files changed, 1829

[PATCH v5 09/23] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-07 Thread Neha Malcom Francis
Support has been added for both HS-SE(SR 2.0) and GP(SR 2.0) images. HS-SE: * tiboot3-am65x_sr2-hs-evm.bin * sysfw-am65x_sr2-hs-evm.itb * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-am65x_sr2-gp-evm.bin * sysfw.itb -->

[PATCH v5 08/23] am65x: yaml: Add AM65x board config files

2023-07-07 Thread Neha Malcom Francis
Added YAML configs for AM65x Signed-off-by: Neha Malcom Francis --- board/ti/am65x/board-cfg.yaml | 36 + board/ti/am65x/pm-cfg.yaml| 12 + board/ti/am65x/rm-cfg.yaml| 2068 + board/ti/am65x/sec-cfg.yaml | 379 ++ 4 files changed, 2495

[PATCH v5 07/23] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-07-07 Thread Neha Malcom Francis
Support has been added for both HS-SE(SR 2.0), HS-FS(SR 2.0) and GP images. HS-SE: * tiboot3-j7200_sr2-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-j7200_sr2-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin -->

[PATCH v5 06/23] j7200: yaml: Add J7200 board config files

2023-07-07 Thread Neha Malcom Francis
Added YAML configs for J7200 Signed-off-by: Neha Malcom Francis --- board/ti/j721e/board-cfg_j7200.yaml | 36 + board/ti/j721e/pm-cfg_j7200.yaml| 12 + board/ti/j721e/rm-cfg_j7200.yaml| 2065 +++ board/ti/j721e/sec-cfg_j7200.yaml | 380 + 4 files

[PATCH v5 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-07 Thread Neha Malcom Francis
By providing entries in the binman node of the device tree, binman will be able to find and package board config artifacts generated by TIBoardConfig with sysfw.bin and generate the final image sysfw.itb. It will also pick out the R5 SPL and sign it with the help of TI signing entry and generate

[PATCH v5 03/23] arm: dts: k3: Add support for packaging sysfw.itb and tiboot3.bin

2023-07-07 Thread Neha Malcom Francis
Board config binary artifacts must be generated to be used by binman to package sysfw.itb and tiboot3.bin for all K3 devices. For devices that follow combined flow, these board configuration binaries must again be packaged into a combined board configuration blobs to be used by binman to package

[PATCH v5 02/23] binman: ti-secure: Add support for TI signing

2023-07-07 Thread Neha Malcom Francis
The ti-secure entry contains certificate for binaries that will be loaded or booted by system firmware whereas the ti-secure-rom entry contains certificate for binaries that will be booted by ROM. Support for both these types of certificates is necessary for booting of K3 devices. Signed-off-by:

[PATCH v5 01/23] binman: ti-board-config: Add support for TI board config binaries

2023-07-07 Thread Neha Malcom Francis
The ti-board-config entry loads and validates a given YAML config file against a given schema, and generates the board config binary. K3 devices require these binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass ---

[PATCH v5 00/23] Migration to using binman for bootloader

2023-07-07 Thread Neha Malcom Francis
This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 Security Development Tools) that was plumbed into the U-Boot build flow to generate boot images for TI K3 platform devices. And instead, we move towards

[WIP] AXP313A(for Mango Pi MQ-Quad) support

2023-07-07 Thread SASANO Takayoshi
Hello, Now I am trying to run U-Boot on Mango Pi MQ-Quad board. This board requires AXP313A driver and it is implemented. The diff is at GitHub, https://github.com/u-boot/u-boot/compare/master...jg1uaa:u-boot:mq Before submitting the diff, I want to know board configuration

Re: [PATCH v2] lib: sparse: allocate FASTBOOT_MAX_BLK_WRITE instead of small number

2023-07-07 Thread qianfan
在 2023/7/7 16:13, Mattijs Korpershoek 写道: Commit 62649165cb02 ("lib: sparse: Make CHUNK_TYPE_RAW buffer aligned") fixed cache alignment for systems with a D-CACHE. However it introduced some performance regressions [1] on system flashing huge images, such as Android. On AM62x SK EVM, we

[PATCH v1 2/5] riscv: dts: jh7110: Add PLL clock controller node

2023-07-07 Thread Hal Feng
From: Xingyu Wu Add child node about PLL clock controller in sys_syscon node. Signed-off-by: Xingyu Wu Signed-off-by: Hal Feng --- arch/riscv/dts/jh7110.dtsi | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi

[PATCH v1 1/5] clk: starfive: jh7110: Separate the PLL driver

2023-07-07 Thread Hal Feng
From: Xingyu Wu Drop the PLL part in SYSCRG driver and separate to be a single PLL driver of which the compatible is "starfive,jh7110-pll". Signed-off-by: Xingyu Wu Signed-off-by: Hal Feng --- drivers/clk/starfive/clk-jh7110-pll.c | 86 +--

[PATCH v1 5/5] clk: starfive: jh7110: Add of_xlate ops and macros for clock id conversion

2023-07-07 Thread Hal Feng
From: Xingyu Wu Modify the drivers to add of_xlate ops and transform clock id. Signed-off-by: Xingyu Wu Signed-off-by: Hal Feng --- drivers/clk/starfive/clk-jh7110-pll.c | 29 ++- drivers/clk/starfive/clk-jh7110.c | 287 +- drivers/clk/starfive/clk.h|

[PATCH v1 4/5] dt-bindings: clock: jh7110: Modify clock id to be same with Linux

2023-07-07 Thread Hal Feng
From: Xingyu Wu The clock id needs to be changed to be consistent with Linux. Signed-off-by: Xingyu Wu Signed-off-by: Hal Feng --- .../dt-bindings/clock/starfive,jh7110-crg.h | 101 +- 1 file changed, 51 insertions(+), 50 deletions(-) diff --git

[PATCH v1 3/5] riscv: dts: jh7110: Add clock source from PLL

2023-07-07 Thread Hal Feng
From: Xingyu Wu Change the PLL clock source from syscrg to sys_syscon child node. Signed-off-by: Xingyu Wu Signed-off-by: Hal Feng --- arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 6 +++--- arch/riscv/dts/jh7110-u-boot.dtsi| 1 - arch/riscv/dts/jh7110.dtsi

[PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux

2023-07-07 Thread Hal Feng
The clock dt-bindings and DT nodes are not consistent with Linux now. Let's sync them with Linux, so the same dtb can work for Linux & U-Boot. To achieve this goal, the PLL clock driver is separated and some clock IDs conversion is needed in clock drivers. For the motivation, please see the

[PATCH] doc: fix typo in README.usb

2023-07-07 Thread Enguerrand de Ribaucourt
Signed-off-by: Enguerrand de Ribaucourt --- doc/README.usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.usb b/doc/README.usb index ef1d6ba36..b4c3ef522 100644 --- a/doc/README.usb +++ b/doc/README.usb @@ -63,7 +63,7 @@ Common USB Commands: Storage USB

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-07 Thread Alexey Romanov
Hello, Simon! On Thu, Jul 06, 2023 at 09:58:02AM -0600, Simon Glass wrote: > Hi Alexey, > > On Thu, 6 Jul 2023 at 14:16, Alexey Romanov wrote: > > > > At the moment, only smc API is a set of functions in > > arch/arm/mach-meson/sm.c. This approach is hard to configure > > and also doesni't

[PATCH] x86: Update docs link in bootparam header

2023-07-07 Thread Paul Barker
After Linux commit ff61f0791ce9, x86 documentation was moved to arch/x86 and the link in bootparam.h was broken. Signed-off-by: Paul Barker --- arch/x86/include/asm/bootparam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/bootparam.h

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

2023-07-07 Thread Anne Macedo
On Thu, Jul 06, 2023 at 11:51:54PM +, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 02:15:43PM -0300, Fabio Estevam wrote: > > On Wed, Jul 5, 2023 at 1:31 PM Anne Macedo wrote: > > > > > I think I'm on the right path :) > > > > > > 1. Included SUNXI_SETUP_REGULATORS=0 to the bl31 make > > >

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

2023-07-07 Thread Jan Kiszka
On 05.07.23 00:14, Simon Glass wrote: > 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

Re: [PATCH] lzma: Fix decompression speed regression

2023-07-07 Thread Stefan Roese
Hi Christophe, On 7/7/23 11:27, Christophe Leroy wrote: Le 07/07/2023 à 11:09, Stefan Roese a écrit : [Vous ne recevez pas souvent de courriers de s...@denx.de. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] Hi Simon, Hi Christophe, On 7/6/23 17:57,

Re: [PATCH] lzma: Fix decompression speed regression

2023-07-07 Thread Christophe Leroy
Le 07/07/2023 à 11:09, Stefan Roese a écrit : > [Vous ne recevez pas souvent de courriers de s...@denx.de. Découvrez > pourquoi ceci est important à > https://aka.ms/LearnAboutSenderIdentification ] > > Hi Simon, > Hi Christophe, > > On 7/6/23 17:57, Simon Glass wrote: >> On Wed, 5 Jul 2023

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-07 Thread AKASHI Takahiro
On Fri, Jul 07, 2023 at 05:19:33PM +0900, Masahisa Kojima wrote: > Hi Akashi-san, > > On Fri, 7 Jul 2023 at 16:16, AKASHI Takahiro > wrote: > > > > On Fri, Jul 07, 2023 at 08:29:12AM +0200, Heinrich Schuchardt wrote: > > > On 7/7/23 06:00, Masahisa Kojima wrote: > > > > This series introduces

Re: [PATCH] lzma: Fix decompression speed regression

2023-07-07 Thread Stefan Roese
Hi Simon, Hi Christophe, On 7/6/23 17:57, Simon Glass wrote: On Wed, 5 Jul 2023 at 09:54, Christophe Leroy wrote: Uncompressing a 1.7Mbytes FIT image on U-boot 2023.04 takes approx 7s on a powerpc 8xx. The same on U-boot 2023.07-rc6 takes approx 28s unless watchdog is disabled. During that

[PATCH v2] dfu: Add proper dependency for CONFIG_DFU_MMC

2023-07-07 Thread Ashok Reddy Soma
When CONFIG_CMD_MMC and CONFIG_MMC are disabled, still some compilation errors are seen as below due to unresolved symbols. drivers/dfu/dfu_mmc.o: in function `mmc_block_op': drivers/dfu/dfu_mmc.c:32: undefined reference to `find_mmc_device' drivers/dfu/dfu_mmc.c:54: undefined reference to

Re: [PATCH] zynqmp: config: Add proper dependency for CONFIG_DFU_MMC

2023-07-07 Thread Michal Simek
Grrr. Patch subject prefix should be fixed. The rest looks good to me. M On 7/7/23 08:59, Ashok Reddy Soma wrote: When CONFIG_CMD_MMC and CONFIG_MMC are disabled, still some compilation errors are seen as below due to unresolved symbols. drivers/dfu/dfu_mmc.o: in function `mmc_block_op':

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-07 Thread Masahisa Kojima
Hi Akashi-san, On Fri, 7 Jul 2023 at 16:16, AKASHI Takahiro wrote: > > On Fri, Jul 07, 2023 at 08:29:12AM +0200, Heinrich Schuchardt wrote: > > On 7/7/23 06:00, Masahisa Kojima wrote: > > > This series introduces the EFI_RAM_DISK_PROTOCOL implementation. > > > The major purpose of this series is

[PATCH v2] lib: sparse: allocate FASTBOOT_MAX_BLK_WRITE instead of small number

2023-07-07 Thread Mattijs Korpershoek
Commit 62649165cb02 ("lib: sparse: Make CHUNK_TYPE_RAW buffer aligned") fixed cache alignment for systems with a D-CACHE. However it introduced some performance regressions [1] on system flashing huge images, such as Android. On AM62x SK EVM, we also observe such performance penalty: Sending

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-07 Thread Masahisa Kojima
Hi Heinrich, On Fri, 7 Jul 2023 at 15:34, Heinrich Schuchardt wrote: > > On 7/7/23 06:00, Masahisa Kojima wrote: > > This series introduces the EFI_RAM_DISK_PROTOCOL implementation. > > The major purpose of this series is a preparation for EFI HTTP(S) boot. > > > > Now U-Boot can download the

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-07 Thread AKASHI Takahiro
On Fri, Jul 07, 2023 at 08:29:12AM +0200, Heinrich Schuchardt wrote: > On 7/7/23 06:00, Masahisa Kojima wrote: > > This series introduces the EFI_RAM_DISK_PROTOCOL implementation. > > The major purpose of this series is a preparation for EFI HTTP(S) boot. > > > > Now U-Boot can download the

[PATCH] zynqmp: config: Add proper dependency for CONFIG_DFU_MMC

2023-07-07 Thread Ashok Reddy Soma
When CONFIG_CMD_MMC and CONFIG_MMC are disabled, still some compilation errors are seen as below due to unresolved symbols. drivers/dfu/dfu_mmc.o: in function `mmc_block_op': drivers/dfu/dfu_mmc.c:32: undefined reference to `find_mmc_device' drivers/dfu/dfu_mmc.c:54: undefined reference to

Re: [PATCH] lib: sparse: allocate blkcnt instead of arbitrary small number

2023-07-07 Thread Mattijs Korpershoek
On jeu., juil. 06, 2023 at 13:00, Tom Rini wrote: > On Thu, Jul 06, 2023 at 11:43:13AM +0200, Mattijs Korpershoek wrote: >> On lun., juin 19, 2023 at 10:21, Mattijs Korpershoek >> wrote: >> >> > Hi Qianfan, >> > >> > Thank you for your review. >> > >> > On lun., juin 19, 2023 at 14:19,

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-07 Thread Heinrich Schuchardt
On 7/7/23 06:00, Masahisa Kojima wrote: This series introduces the EFI_RAM_DISK_PROTOCOL implementation. The major purpose of this series is a preparation for EFI HTTP(S) boot. Now U-Boot can download the distro installer ISO image via wget or tftpboot commands, but U-Boot can not mount the

<    1   2