Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-04 Thread Simon Glass
Hi Tom, On Tue, 4 Apr 2023, 02:17 Tom Rini, wrote: > On Mon, Apr 03, 2023 at 12:56:49PM +0300, Ilias Apalodimas wrote: > > On Sat, Apr 01, 2023 at 07:31:49PM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 1 Apr 2023 at 07:02, Tom Rini wrote: > > > > > > > > On Fri, Mar 31, 2023 at

[PATCH v2 2/2] Load option with short device path for boot vars

2023-04-04 Thread Raymond Mao
The boot variables automatically generated for removable medias should be with short form of device path without device nodes. This is a requirement for the case that a removable media is plugged into a different port but is still able to work with the existing boot variables. Signed-off-by: Raymo

[PATCH v2 1/2] Boot var automatic management for removable medias

2023-04-04 Thread Raymond Mao
Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Related APIs are renamed and moved from cmd to lib for re-use between e

Re: [PATCH 1/2] Boot var automatic management for removable medias

2023-04-04 Thread Raymond Mao
Hi Ilias, I can reproduce this issue. r = 14 (EFI_NOT_FOUND) returns from efi_bootmgr_update_media_device_boot_option when there is no boot option scanned. This happens when no removable media are probed. In this case we shall still let the caller return with EFI_SUCCESS. I will send a v2 patch to

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Tom Rini
On Wed, Apr 05, 2023 at 01:09:35AM +0200, Pali Rohár wrote: > On Wednesday 05 April 2023 01:03:49 Marek Vasut wrote: > > On 4/5/23 00:44, Pali Rohár wrote: > > > On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote: > > > > On 4/5/23 00:16, Pali Rohár wrote: > > > > > On Wednesday 05 April 2023 00

[PATCH] doc: arch: m68k: fix maintainer email

2023-04-04 Thread Angelo Dureghello
Fix email with currently used address. Signed-off-by: Angelo Dureghello --- doc/arch/m68k.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/arch/m68k.rst b/doc/arch/m68k.rst index a9180fd785..8474ece62c 100644 --- a/doc/arch/m68k.rst +++ b/doc/arch/m68k.rst @@ -5,7 +5,7

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Pali Rohár
On Wednesday 05 April 2023 01:03:49 Marek Vasut wrote: > On 4/5/23 00:44, Pali Rohár wrote: > > On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote: > > > On 4/5/23 00:16, Pali Rohár wrote: > > > > On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: > > > > > On 4/4/23 21:25, Pali Rohár wrote:

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Marek Vasut
On 4/5/23 00:44, Pali Rohár wrote: On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote: On 4/5/23 00:16, Pali Rohár wrote: On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: On 4/4/23 21:25, Pali Rohár wrote: On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: The eMMC HW partition 0

[PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-04 Thread Angelo Dureghello
Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 + configs/M5235EVB_Flash32_defconfig| 1 + configs/M5235EVB_defconfig| 1 + configs/M5253DEMO_defconfig | 5 + configs/M5

[PATCH 5/6] m68k: dts: add i2c nodes

2023-04-04 Thread Angelo Dureghello
Add all the i2c nodes for each family, and add specific i2c overwrites in the related board-specific dts. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/M5208EVBE.dts | 6 +++ arch/m68k/dts/M5253DEMO.dts | 5 +++ arch/m68k/dts/M5275EVB.dts| 6 +++ arch/m68k

[PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition

2023-04-04 Thread Angelo Dureghello
Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/speed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index eb73da68c6..5c78eb9834 100

[PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

2023-04-04 Thread Angelo Dureghello
This driver is actually used for powerpc and m68k/ColdFire. On ColdFire SoC's, interrupt flag get not set if IIEN flag (mbcr bit6, interrupt enabled) is not set appropriately before each transfert. As a result, the transfert hangs forever waiting for IIEN. This patch set IIEN before each transfert

[PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration

2023-04-04 Thread Angelo Dureghello
Add CFG option to enable proper pinmux pad setting for i2c0. Signed-off-by: Angelo Dureghello --- include/configs/stmark2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index ffc47c8076..af5da096b7 100644 --- a/include/configs/stmark

[PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace

2023-04-04 Thread Angelo Dureghello
Move CONFIG_SYS_I2C_X to CFG_ namespace. This is a preliminary step to move to dm i2c. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Pali Rohár
On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote: > On 4/5/23 00:16, Pali Rohár wrote: > > On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: > > > On 4/4/23 21:25, Pali Rohár wrote: > > > > On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: > > > > > The eMMC HW partition 0 and 7 both m

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Marek Vasut
On 4/5/23 00:16, Pali Rohár wrote: On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: On 4/4/23 21:25, Pali Rohár wrote: On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: The eMMC HW partition 0 and 7 both mean USER HW partition. This is not truth! Can you please provide further det

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Pali Rohár
On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: > On 4/4/23 21:25, Pali Rohár wrote: > > On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: > > > The eMMC HW partition 0 and 7 both mean USER HW partition. > > > > This is not truth! > > Can you please provide further details to back your

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Marek Vasut
On 4/4/23 21:25, Pali Rohár wrote: On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: The eMMC HW partition 0 and 7 both mean USER HW partition. This is not truth! Can you please provide further details to back your claim ? This kind of screaming feedback with zero additional information

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-04-04 Thread Angelo Dureghello
Hi Tom, On 02/04/23 4:36 PM, Tom Rini wrote: On Sun, Apr 02, 2023 at 07:37:29AM +0200, Angelo Dureghello wrote: Hi Marek, On 26/03/23 4:33 PM, Tom Rini wrote: On Mon, 20 Mar 2023 20:46:47 +0100, Marek Vasut wrote: Add m68k M5208EVBE machine configured to test U-Boot m68k support. Applie

Re: [PATCH 2/2] thermal: imx_tmu: Move architecture code into driver

2023-04-04 Thread Fabio Estevam
On Tue, Apr 4, 2023 at 4:25 PM Marek Vasut wrote: > > Stop polluting the architecture directory with driver specific code, > move it into driver where it should be. Split the code slightly so > the MX8MM/MX8MN fuse readout and programming and MX8MP fuse readout > and programming are in their separ

Re: [PATCH 1/2] thermal: imx_tmu: Clean up all prints

2023-04-04 Thread Fabio Estevam
On Tue, Apr 4, 2023 at 4:25 PM Marek Vasut wrote: > > Use dev_(dev, ...) for all printing and debug logging, since this > already includes the device name. Drop device name where duplicate. > > Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

[PATCH u-boot] mmc: spl: Add comments for default_spl_mmc_emmc_boot_partition()

2023-04-04 Thread Pali Rohár
Add documentation what is default_spl_mmc_emmc_boot_partition() function doing, what each return value from this function means and why there is magic conversion from 7 to 0. Also add FIXME comment for future fixes. All information is based on the JEDEC eMMC JESD84-A441 specification. Signed-off-

Re: [RFC PATCH v1] arm: lib: add __gnu_thumb1_case_si

2023-04-04 Thread Tony Dinh
Hi Francis, On Sun, Apr 2, 2023 at 3:17 AM Pali Rohár wrote: > > On Saturday 01 April 2023 15:17:59 Tony Dinh wrote: > > Hi Francis, > > > > On Sat, Apr 1, 2023 at 2:55 PM Francis Laniel > > wrote: > > > > > > The assembly for __gnu_thumb1_case_si was taken from upstream gcc and > > > adapted >

Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Pali Rohár
On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: > The eMMC HW partition 0 and 7 both mean USER HW partition. This is not truth! > Use this as > a mean of propagating A/B copy selection within USER HW partition. The > spl_mmc_get_uboot_raw_sector() can detect that a USER HW partition is > in

[PATCH 2/2] thermal: imx_tmu: Move architecture code into driver

2023-04-04 Thread Marek Vasut
Stop polluting the architecture directory with driver specific code, move it into driver where it should be. Split the code slightly so the MX8MM/MX8MN fuse readout and programming and MX8MP fuse readout and programming are in their separate functions, and called in case of matching SoC. Signed-of

[PATCH 1/2] thermal: imx_tmu: Clean up all prints

2023-04-04 Thread Marek Vasut
Use dev_(dev, ...) for all printing and debug logging, since this already includes the device name. Drop device name where duplicate. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Andrejs Cainikovs Cc: Fabio Estevam Cc: Fedor Ross Cc: Marek Vasut Cc: Peng Fan Cc: Stefano Bab

Re: [PATCH v2 00/18] Migration to using binman to generate

2023-04-04 Thread Andrew Davis
On 4/4/23 7:13 AM, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo that was plumbed into the U-Boot build flow to generate boot images for TI K3 platform devices. And instead, we move towards using

HI

2023-04-04 Thread Neuber Sousa
I

Re: [PATCH 2/2] linker_lists: Rework start/end macros to not rely on undefined behavior

2023-04-04 Thread Tom Rini
On Tue, Mar 28, 2023 at 02:54:51PM -0400, Tom Rini wrote: > Per the GCC bug listed below, the way we do linker lists is relying on > undefined behavior that seems to work in gcc, but doesn't always work in > clang. Andrew suggests rewriting our start/end macros in a different way > (as implemented

Re: [PATCH 1/2] smartweb: Enable LTO

2023-04-04 Thread Tom Rini
On Tue, Mar 28, 2023 at 02:54:50PM -0400, Tom Rini wrote: > In order to prepare for slight size growth due to reworking linker list > support, enable LTO here to save more space again. > > Signed-off-by: Tom Rini > Reviewed-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signat

Re: [v2 2/2] Dockerfile: Populate a pip cache

2023-04-04 Thread Tom Rini
On Thu, Mar 23, 2023 at 02:57:58PM -0400, Tom Rini wrote: > Given the number of jobs in CI we have which use python and pip install > packages, we should do this once in the Dockerfile, in order to populate > the cache. We let each job continue to create and use the virtual > environments they nee

Re: [v2 1/2] pytest: Update requirements to match sphinx versions

2023-04-04 Thread Tom Rini
On Thu, Mar 23, 2023 at 02:57:57PM -0400, Tom Rini wrote: > In order to better make use of pip caches, and also for better overall > consistency, we should use the same versions of packages in each of our > python requirements files. Update pytest to use the newer versions of > packages we use in

Re: [PATCH] CI: Move to clang-16

2023-04-04 Thread Tom Rini
On Tue, Mar 21, 2023 at 03:07:45PM -0400, Tom Rini wrote: > As this is now the stable release, move to using that now for our tests. > > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Pull request: please pull u-boot-imx/next: u-boot-imx-next-20230404

2023-04-04 Thread Tom Rini
t; (2023-04-03 > 10:43:37 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-next-20230404 > > for you to fetch changes up to ab53bd43dbde4dc8895a9f419e018d219eb4dc20: > > arm64: imx:

[PATCH] binman: Use unsigned long over typedef ulong

2023-04-04 Thread Andrew Davis
The header binman_sym.h depends on ulong typedef but does not include types.h. This means the header must be included after including types.h or a header that includes it. We could include types.h but instead let's just switch from ulong to directly using unsigned long. This removes the need for t

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

2023-04-04 Thread Neha Malcom Francis
Hi Andrew On 04/04/23 22:50, Andrew Davis wrote: On 4/4/23 7:13 AM, Neha Malcom Francis wrote: 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.

Re: [PATCH v2 02/18] binman: ti-secure: Add support for TI signing

2023-04-04 Thread Neha Malcom Francis
Hi Andrew, On 04/04/23 22:41, Andrew Davis wrote: On 4/4/23 7:13 AM, Neha Malcom Francis wrote: 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. Su

[PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through

2023-04-04 Thread Marek Vasut
The eMMC HW partition 0 and 7 both mean USER HW partition. Use this as a mean of propagating A/B copy selection within USER HW partition. The spl_mmc_get_uboot_raw_sector() can detect that a USER HW partition is in use and based on whether it is 0 or 7, select appropriate sector to load from. Sign

[PATCH v3 1/2] spl: mmc: Pass eMMC HW partition and SW partition to spl_mmc_get_uboot_raw_sector()

2023-04-04 Thread Marek Vasut
Pass both eMMC HW partition and software partition numbers to spl_mmc_get_uboot_raw_sector() so the function can better decide which offset within the partition to load payload from. Signed-off-by: Fedor Ross Signed-off-by: Marek Vasut --- Cc: Jaehoon Chung Cc: Peng Fan --- V2: No change V3: U

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

2023-04-04 Thread Andrew Davis
On 4/4/23 7:13 AM, Neha Malcom Francis wrote: 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 w

Re: [PATCH v2 02/18] binman: ti-secure: Add support for TI signing

2023-04-04 Thread Andrew Davis
On 4/4/23 7:13 AM, Neha Malcom Francis wrote: 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 necess

Re: [PATCH v2 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-04-04 Thread Francesco Dolcini
+Stefano On Mon, Feb 06, 2023 at 06:17:31PM -0500, Tom Rini wrote: > On Mon, Feb 06, 2023 at 11:48:36PM +0100, Francesco Dolcini wrote: > > > From: Francesco Dolcini > > > > Fixup #size-cells value when updating the MTD partitions, this is > > required to prevent issues in case the MTD parent s

Re: [PATCH] doc: ti: Add switch setting for boot modes on AM62 SK

2023-04-04 Thread Tom Rini
On Tue, Apr 04, 2023 at 03:59:56PM +0200, Heinrich Schuchardt wrote: > On 3/31/23 22:36, Judith Mendez wrote: > > List some common boot modes and their corresponding switch > > settings for AM62 SK. > > > > Signed-off-by: Judith Mendez > > --- > > > > Changes from v1: Change table format from as

[PATCH v4 5/5] phy: rockchip-inno-usb2: add initial support for rk3588 PHY

2023-04-04 Thread Eugen Hristev
Add initial support for the rk3588 PHY variant. The lookup for the host-port reg inside the struct now does a do {} while() instead of a while() {} in order to allow a first check for reg == 0. Co-developed-by: Frank Wang Signed-off-by: Frank Wang Signed-off-by: Eugen Hristev --- Changes in v4:

[PATCH v4 4/5] phy: remove phy-supply related code

2023-04-04 Thread Eugen Hristev
phy-supply is now handled at uclass level. Remove it from the drivers that implement it at the driver level. Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev --- drivers/phy/meson-g12a-usb2.c | 48 --- drivers/phy/meson-gxbb-usb2.c | 38 --

[PATCH v4 3/5] phy: add support for phy-supply

2023-04-04 Thread Eugen Hristev
Some phys require a phy-supply property that is a phandle to a regulator that needs to be enabled for phy operations. Implement basic supply lookup, enable and disabling, if DM_REGULATOR is available. Signed-off-by: Eugen Hristev --- drivers/phy/phy-uclass.c | 22 ++ 1 file c

[PATCH v4 2/5] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-04-04 Thread Eugen Hristev
Enable USB command, USB drivers, PHY and regulators, for USB host operations. Signed-off-by: Eugen Hristev --- configs/rock5b-rk3588_defconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig index f3026c7ea1

[PATCH v4 1/5] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add USB 2.0 host

2023-04-04 Thread Eugen Hristev
Add USB 2.0 host nodes and PHYs. Co-developed-by: William Wu Signed-off-by: William Wu Signed-off-by: Eugen Hristev --- Changes in v4: - removed u-boot,dm-spl on regulator which was useless - moved usb nodes to rk3588s-u-boot-dtsi Changes in v2,v3: - none arch/arm/dts/rk3588-rock-5b-u-boot.d

Re: [PATCH] doc: ti: Add switch setting for boot modes on AM62 SK

2023-04-04 Thread Heinrich Schuchardt
On 3/31/23 22:36, Judith Mendez wrote: List some common boot modes and their corresponding switch settings for AM62 SK. Signed-off-by: Judith Mendez --- Changes from v1: Change table format from ascii-art to list-table doc/board/ti/am62x_sk.rst | 36 1

Re: [PATCH 00/17] rockchip: eMMC fixes for RK3568 and support for RK3588

2023-04-04 Thread Jonas Karlman
Hi Kever, On 2023-04-04 12:11, Kever Yang wrote: > Hi Jonas, > >     If there is part of the source code in patch come from vendor > U-Boot, it will be better to add "signed-off-by" > > for original author, eg. you can reference the patch from Eugen Hristev [1] > Sure, this code has been ins

[PATCH V6 12/13] include: Enable video related global data variable and splash at SPL

2023-04-04 Thread Nikhil M Jain
To include video related global data variables and splash functions at SPL and u-boot proper, use CONFIG_IS_ENABLED. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - Fix commit

[PATCH V6 10/13] drivers: video: Enable necessary video functions at SPL

2023-04-04 Thread Nikhil M Jain
To support video driver at SPL use CONFIG_IS_ENABLED and CONFIG_VAL, which checks for stage specific configs and thus enables video support at respective stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - No change. V5: - Add Reviewed-By tag. - Use COFIG_IS_ENABLED in co

[PATCH V6 09/13] common: Makefile: Rule to compile bmp.c

2023-04-04 Thread Nikhil M Jain
Add rule to compile bmp.c at SPL and u-boot proper when CONFIG_SPL_BMP and CONFIG_BMP are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - Add Reviewed-by tag. V5: - Remove obj-y+= read.o. V4: - No change. V3 (patch introduced): - Rule to compile common/bmp. comm

[PATCH V6 13/13] board: ti: am62x: evm: OSPI support for splash screen

2023-04-04 Thread Nikhil M Jain
Add ospi boot media support to load splash image from OSPI memory, add offset to read image from ospi and necessary flags defininig type of storage and storage device. Use CONFIG_IS_ENBALED to use the splash locations at SPL and u-boot proper. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glas

[PATCH V6 05/13] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL

2023-04-04 Thread Nikhil M Jain
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS video driver. CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if CONFIG_VIDEO_TIDSS is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --

[PATCH V6 07/13] common: Kconfig: Add BMP configs

2023-04-04 Thread Nikhil M Jain
Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- V6: - Added Reviewed-by tag. V5: - Added Reviewed-by tag. V4: - No change. V3 (patch introduced): - Add CONFIG

[PATCH V6 08/13] cmd: bmp: Split bmp commands and functions

2023-04-04 Thread Nikhil M Jain
To enable splash screen at SPL, need to compile cmd/bmp.c which also includes bmp commands, since SPL doesn't use commands split bmp.c into common/bmp.c which includes all bmp functions and cmd/bmp.c which only contains bmp commands. Add function delclaration for bmp_info in video.h. Signed-off-b

[PATCH V6 11/13] common: Enable splash functions at SPL

2023-04-04 Thread Nikhil M Jain
To support splash screen at both u-boot proper and SPL use CONFIG_IS_ENABLED and CONFIG_VAL to check for video related Kconfigs at respective stages. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Devar

[PATCH V6 06/13] common: Makefile: Add rule to compile splash and splash_source at SPL

2023-04-04 Thread Nikhil M Jain
To enable splash screen and loading bmp from boot media, add rules to compile splash.c and splash_source.c at SPL stage only when CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_SPLASH_SOURCE are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - Add Reviewed-by tag. V5: - No

[PATCH V6 04/13] drivers: video: Makefile: Rule to compile necessary video driver files

2023-04-04 Thread Nikhil M Jain
To enable video driver at SPL, need to compile video-uclass, vidconsole-uclass, backlight-uclass, panel-uclass, simple-panel, add rules to compile them at SPL and u-boot proper. To support splash_display at SPL, need to compile video-bmp, add rule to compile at SPL and u-boot proper. Signed-off-by

[PATCH V6 01/13] drivers: video: Kconfig: Add configs for enabling video at SPL

2023-04-04 Thread Nikhil M Jain
Add Kconfigs which enable the video driver and splash screen at SPL stage only and not at u-boot proper. The existing Kconfigs from u-boot proper were not used to make SPL splash screen independent to them. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - Replace CMD_BMP with

[PATCH V6 02/13] drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL

2023-04-04 Thread Nikhil M Jain
To enable tidss display driver only at SPL stage, add necessary config, CONFIG_SPL_VIDEO_TIDSS. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- V6: - Fix commit message. - Add Reviewed-By tag. V5: - No change V4: - Add Reviewed-By tag V3: - No change V

[PATCH V6 03/13] drivers: Makefile: Add rule to compile video driver

2023-04-04 Thread Nikhil M Jain
Compile video driver at SPL using CONFIG_SPL_VIDEO. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - Add Reviewed-by tag - Commit message updated. V5: - Add rule to build video at SPL using CONFIG_SPL_VIDEO and retain obj-y +=video for u-boot proper. V4: - No change V3 (p

[PATCH V6 00/13] Add splash screen support at u-boot SPL

2023-04-04 Thread Nikhil M Jain
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. Changes in V6 - Fix commit messages. - Fix compile rules for video related files in patch drivers: video: Makef

[PATCH v2 04/18] j721e: schema: yaml: Add general schema and J721E board config files

2023-04-04 Thread Neha Malcom Francis
Schema file in YAML must be provided in board/ti/common for validating input config files and packaging system firmware. The schema includes entries for rm-cfg, board-cfg, pm-cfg and sec-cfg. Board config file must be provided in board/ti/ in YAML. These can then be consumed for generation of bina

[PATCH v2 14/18] am62: yaml: Add board config for AM62

2023-04-04 Thread Neha Malcom Francis
Added YAML config for AM62 Signed-off-by: Neha Malcom Francis --- board/ti/am62x/board-cfg.yaml | 36 ++ board/ti/am62x/pm-cfg.yaml| 12 + board/ti/am62x/rm-cfg.yaml| 1088 + board/ti/am62x/sec-cfg.yaml | 375 board/ti/am65x/rm-cfg.yaml

[PATCH v2 15/18] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for AM62 tiboot3.bin, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, tispl.bin_unsigned, u-boot.img_unsigned: For GP devices It is to be noted that the bootflow followed by AM62 requires: tiboot3.bin: * R5 SPL * R5 SPL dtb

[PATCH v2 13/18] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for J721S2. tiboot3.bin, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, tispl.bin_unsigned, u-boot.img_unsigned: For GP devices It is to be noted that the bootflow followed by J721S2 requires: tiboot3.bin: * R5 SPL * R5 SP

[PATCH v2 10/18] config: am64x: Add board config for AM64x

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 | 378 + 4 files changed, 1827 insert

[PATCH v2 18/18] k3: tools: config.mk: Update makefile and remove scripts

2023-04-04 Thread Neha Malcom Francis
Since binman is used to package bootloader images for all K3 devices, we do not have to rely on the earlier methods to package them. config.mk has been edited to only have binman required make commands. Scripts that were used to generate x509 certificate for tiboot3.bin and generate tispl.bin hav

[PATCH v2 16/18] am62a: yaml: Add board config for AM62ax

2023-04-04 Thread Neha Malcom Francis
Added YAML config for AM62ax Signed-off-by: Neha Malcom Francis --- board/ti/am62ax/board-cfg.yaml | 36 + board/ti/am62ax/pm-cfg.yaml| 12 + board/ti/am62ax/rm-cfg.yaml| 1151 board/ti/am62ax/sec-cfg.yaml | 375 +++ 4 files changed, 1574 i

[PATCH v2 12/18] j721s2: yaml: Add board config for J721S2

2023-04-04 Thread Neha Malcom Francis
Added YAML config for J721S2 Signed-off-by: Neha Malcom Francis --- board/ti/j721s2/board-cfg.yaml | 37 + board/ti/j721s2/pm-cfg.yaml| 12 + board/ti/j721s2/rm-cfg.yaml| 2901 board/ti/j721s2/sec-cfg.yaml | 375 + 4 files changed, 3325 inserti

[PATCH v2 11/18] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for AM64x. tiboot3.bin, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, tispl.bin_unsigned, u-boot.img_unsigned: For GP devices Note that the bootflow followed by AM64x requires: tiboot3.bin: * R5 SPL * R5 SPL dtbs

[PATCH v2 17/18] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for AM62ax. tiboot3.bin, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, tispl.bin_unsigned and u-boot.img_unsigned: For GP devices It is to be noted that the bootflow followed by AM62ax requires: tiboot3.bin: * R5 SPL * R5

[PATCH v2 08/18] am65x: yaml: Add AM65x board config files

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 | 375 ++ 4 files changed, 2491 insertions

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

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for AM65x. tiboot3.bin, sysfw.itb, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, sysfw.itb, tispl.bin_unsigned, u-boot.img_unsigned: For GP devices Note that the bootflow followed by AM65x requires: tiboot3.bin: * R5 SPL

[PATCH v2 06/18] j7200: yaml: Add J7200 board config files

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 | 378 + 4 files changed

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

2023-04-04 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 th

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

2023-04-04 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for J7200. tiboot3.bin, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, tispl.bin_unsigned and u-boot.img_unsigned: For GP devices It is to be noted that the bootflow followed by J7200 requires: tiboot3.bin: * R5 SPL * R5 S

[PATCH v2 02/18] binman: ti-secure: Add support for TI signing

2023-04-04 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: N

[PATCH v2 03/18] ti: sysfw: tiboot3: Add support for packaging sysfw.itb and tiboot3.bin

2023-04-04 Thread Neha Malcom Francis
Board config binary artifacts must be populated in the R5 output directory to be used by binman to package sysfw.itb and tiboot3.bin. 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 p

[PATCH v2 01/18] binman: Add support for generating TI Board config binaries

2023-04-04 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 generated binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst

[PATCH v2 00/18] Migration to using binman to generate

2023-04-04 Thread Neha Malcom Francis
This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo that was plumbed into the U-Boot build flow to generate boot images for TI K3 platform devices. And instead, we move towards using binman that aligns better with the community sta

Pull request: please pull u-boot-imx/next: u-boot-imx-next-20230404

2023-04-04 Thread Stefano Babic
.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-next-20230404 for you to fetch changes up to ab53bd43dbde4dc8895a9f419e018d219eb4dc20: arm64: imx: Add support for imx8mp-beacon-kit (2023-04-04 09:40:25 +0200) u-boot-imx-nex

[PATCH v2 2/3] configs: tqma6: enable DM for MDIO / PHY

2023-04-04 Thread sbabic
> Since this works with current device trees, enabled these. > Signed-off-by: Markus Niebel Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,Managing Director: Erika

[PATCH v2 5/5] board: verdin-imx8mp: change prints in spl_dram_init function

2023-04-04 Thread sbabic
> From: Emanuele Ghidoli > change prints to show which DDR configuration (single/dual rank) is used > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- =

[PATCH v2 1/5] board: verdin-imx8mp: update ddrc config for different lpddr4 memories

2023-04-04 Thread sbabic
> From: Emanuele Ghidoli > Add support to Verdin IMX8MP V1.1B SKU which uses > MT53E1G32D2FW-046 WT:B memory. > Compared to the 8 GB memory (MT53E2G32D4NQ-046 WT:A) used on > Verdin IMX8MP V1.0A it has 16 row addresses instead of 17. > In fact, the new memory, is a 2 GB/rank memory. The 8 GB memor

[PATCH V5] arm64: imx: Add support for imx8mp-beacon-kit

2023-04-04 Thread sbabic
> Beacon Embedded has an i.MX8M Plus development kit which consists > of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC, > and one Ethernet PHY. The baseboard includes audio, HDMI, USB-C Dual > Role port, USB Hub with five ports, a PCIe slot, and a second Ethernet > PHY. The devi

[PATCH v2 2/5] board: verdin-imx8mp: fix lpddr4 refresh timing

2023-04-04 Thread sbabic
> From: Emanuele Ghidoli > Change tRFCmin (tRFCab) from 280 ns to 380 ns to be compliant with > current and futures memories. > Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, next, th

[PATCH 2/2] ARM: imx: Enable SDP download in SPL on DH i.MX6 DHSOM

2023-04-04 Thread sbabic
> Enable SDP protocol support in SPL for DH i.MX6 DHSOM, now that those > components fit into the SPL due to LTO. > To start U-Boot via SDP upload on i.MX6 DHSOM based board, proceed as follows: > - Compile imx_usb [1] . > - Power off the i.MX6 DHSOM based board. > - Connect both USB-serial console

[PATCH v2 3/5] board: verdin-imx8mp: update lpddr4 configuration and training

2023-04-04 Thread sbabic
> From: Emanuele Ghidoli > Update LPDDR4 configuration and training using updated spreadsheet and > tools from NXP using data from previous spreadsheet and verified > toward datasheet: > - MX8M_Plus_LPDDR4_RPA_v9.xlsx > - mscale_ddr_tool_v3.30.exe > From: > https://community.nxp.com/t5/i-MX-Proc

[PATCH v2 3/3] configs: tqma6: enable DM_THERMAL

2023-04-04 Thread sbabic
> Enabling this gives some informal output at boot time. > Signed-off-by: Markus Niebel Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,Managing Director: Erika Unte

[PATCH v3] ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM

2023-04-04 Thread sbabic
> Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform > to reboot via WDT in U-Boot. These are custom U-Boot bindings, > hence they are placed in -u-boot.dtsi . > Reviewed-by: Fabio Estevam > Signed-off-by: Marek Vasut Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babi

[PATCH 1/2] ARM: imx: Enable LTO for DH electronics i.MX6 DHCOM

2023-04-04 Thread sbabic
> Enable LTO to reduce the size of SPL, which with SPL SDP > support may be close to the limit. > Signed-off-by: Marek Vasut Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH] arm: imx: add u-boot-nand.imx to boot from NAND without SPL

2023-04-04 Thread sbabic
> U-Boot can be booted from NAND without SPL by prepending the DCD header to > the actual U-Boot binary. However this requires prepending 1024 bytes to > u-boot.imx (DCD + u-boot.bin). > There is already a similar target to build spl/u-boot-nand-spl.imx, add the > same option for no-SPL boot. > Tes

[PATCH v2 4/5] board: verdin-imx8mp: compact slight different lpddr4 configuration

2023-04-04 Thread sbabic
> From: Emanuele Ghidoli > Deduplicate similar DDRC configurations and LPDDR4 training patterns > by patching a single configuration. > The aim is to reduce the SPL memory footprint and simplify maintenance > of lpddr4_timing.c > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Marcel Ziswiler A

[PATCH v3] ARM: dts: imx: Add support for Data Modul i.MX8M Plus eDM SBC

2023-04-04 Thread sbabic
> Add support for Data Modul i.MX8M Plus eDM SBC board. This is an > evaluation board for various custom display units. Currently > supported are serial console, ethernet, eMMC, SD, SPI NOR, USB. > Signed-off-by: Marek Vasut Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- =

[PATCH v2 1/3] configs: tqma6: switch to DM_SERIAL

2023-04-04 Thread sbabic
> Usage without DM_SERIAL is deprecated. Fix this. > Signed-off-by: Markus Niebel Applied to u-boot-imx, next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,Managing Director: Erika Unter HR

Re: [PATCH 00/17] rockchip: eMMC fixes for RK3568 and support for RK3588

2023-04-04 Thread Kever Yang
Hi Jonas,     If there is part of the source code in patch come from vendor U-Boot, it will be better to add "signed-off-by" for original author, eg. you can reference the patch from Eugen Hristev [1] Thanks, - Kever [1] https://patchwork.ozlabs.org/project/uboot/patch/20230403104446.2223

Re: [PATCH 13/17] mmc: rockchip_sdhci: Add support for RK3588

2023-04-04 Thread Kever Yang
Add Shawn and Yifeng. Please help review this patch. Thanks, - Kever On 2023/4/4 04:48, Jonas Karlman wrote: Add support for RK3588 to the sdhci driver. RK3588 has the inverter flag in TXCLK reg instead of RXCLK and also make use of a new CMDOUT reg. Add and use a quirks field to support such

  1   2   >