[PATCH v3 8/9] clocks: qcom: Add clock driver for QCS404 SoC

2022-07-12 Thread Sumit Garg
Currently this clock driver initializes clocks for UART and eMMC. Along with this import "qcom,gcc-qcs404.h" header from Linux mainline to support DT bindings. Signed-off-by: Sumit Garg --- arch/arm/mach-snapdragon/clock-qcs404.c | 79 arch/arm/mach-snapdragon/clock-snapdragon.c

[PATCH v3 3/9] clocks: sdm845: Import qcom,gcc-sdm845.h

2022-07-12 Thread Sumit Garg
Rather than using magic numbers as clock ids for peripherals import qcom,gcc-sdm845.h from Linux to be used standard macros for clock ids. So start using corresponding clk-id macro for debug UART. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/dts/sdm845.dtsi

[PATCH v3 6/9] mmc: msm_sdhci: Add SDCC version 5.0.0 support

2022-07-12 Thread Sumit Garg
For SDCC version 5.0.0, MCI registers are removed from SDCC interface and some registers are moved to HC. So add support to use the new compatible string "qcom,sdhci-msm-v5". Based on this new msm variant, pick the relevant variant data and use it to detect MCI presence thereby configuring

[PATCH v3 5/9] board: qualcomm: Add support for dragonboard845c

2022-07-12 Thread Sumit Garg
Add support for 96Boards Dragonboard 845C aka Robotics RB3 development platform. This board complies with 96Boards Open Platform Specifications. Features: - Qualcomm Snapdragon SDA845 SoC - 4GiB RAM - 64GiB UFS drive U-boot is chain loaded by ABL in 64-bit mode as part of boot.img. For detailed

[PATCH v3 7/9] pinctrl: qcom: Add pinctrl driver for QCS404 SoC

2022-07-12 Thread Sumit Garg
Currently this pinctrl driver only supports BLSP UART2 specific pin configuration. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/mach-snapdragon/Makefile | 1 + arch/arm/mach-snapdragon/pinctrl-qcs404.c | 55 +++

[PATCH v3 2/9] arm64: dts: sdm845: Remove redundant u-boot DT properties

2022-07-12 Thread Sumit Garg
According to u-boot DT recomendation, u-boot specific DT properties belong to *-uboot.dtsi. Also for starqltechn board (which is the only current consumer of sdm845.dtsi), the properties are already included in starqltechn-uboot.dtsi, so remove corresponding redundant properties. Signed-off-by:

[PATCH v3 0/9] New boards support: db845c and qcs404-evb

2022-07-12 Thread Sumit Garg
Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC. Both these platforms have one thing in common that u-boot is chain-loaded in 64-bit mode

[PATCH v3 1/9] board: starqltechn: Align DT node overrides with sdm845.dtsi

2022-07-12 Thread Sumit Garg
Currently there is a mismatch among DT node overrides in starqltechn board DTS file and the actual DT nodes in the sdm845.dtsi. So fix that to align with DT nodes in sdm845.dtsi. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/dts/starqltechn-uboot.dtsi | 18 --

[PATCH v3 4/9] uart: sdm845: Fix debug UART pinmux

2022-07-12 Thread Sumit Garg
Configure debug UART pins as function: "qup9" rather than being regular gpios. It fixes a hang seen during pinmux setting. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/dts/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v8 2/9] eficonfig: menu-driven addition of UEFI boot option

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 03:55, Takahiro Akashi wrote: On Sun, Jul 10, 2022 at 11:03:43AM +0200, Heinrich Schuchardt wrote: On 6/19/22 06:56, Masahisa Kojima wrote: This commit add the "eficonfig" command. The "eficonfig" command implements the menu-driven UEFI boot option maintenance feature. This commit

Re: [RFC PATCH 3/3] eficonfig: add "Delete Key" menu entry

2022-07-12 Thread Masahisa Kojima
Hi Heinrich, Takahiro, On Sun, 10 Jul 2022 at 19:10, Heinrich Schuchardt wrote: > > On 6/19/22 07:20, Masahisa Kojima wrote: > > This commit add the menu-driven interface to delete the > > signature database entry. > > EFI Signature Lists can contain the multiple signature > > entries, this menu

[PATCH v3 9/9] board: qualcomm: Add support for QCS404 EVB

2022-07-12 Thread Sumit Garg
Add support for Qualcomm QCS404 SoC based evaluation board. Features: - Qualcomm Snapdragon QCS404 SoC - 1GiB RAM - 8GiB eMMC, uSD slot U-boot is chain loaded by ABL in 64-bit mode as part of boot.img. For detailed build and boot instructions, refer to doc/board/qualcomm/qcs404.rst.

Re: [PATCH v8 3/9] eficonfig: add "Edit Boot Option" menu entry

2022-07-12 Thread Masahisa Kojima
On Sun, 10 Jul 2022 at 18:08, Heinrich Schuchardt wrote: > > On 6/19/22 06:56, Masahisa Kojima wrote: > > This commit adds the menu entry to edit the existing > > BOOT variable contents. > > User selects the item from the boot option list, then > > user can edit the description, file path and

[PATCH v1 2/2] ARM: dts: npcm7xx: add npcm750 full function node

2022-07-12 Thread Jim Liu
add npcm750 BMC full function node Signed-off-by: Jim Liu --- arch/arm/dts/nuvoton-common-npcm7xx.dtsi | 3 + arch/arm/dts/nuvoton-npcm750-evb.dts | 63 - arch/arm/dts/nuvoton-npcm750.dtsi| 1 + arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi | 287 +++ 4 files

[PATCH v1 1/2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

2022-07-12 Thread Jim Liu
Add add full function config for nuvoton npcm750 Signed-off-by: Jim Liu --- configs/poleg_evb_defconfig | 55 + 1 file changed, 55 insertions(+) diff --git a/configs/poleg_evb_defconfig b/configs/poleg_evb_defconfig index 16f6215148..ae463fd5d3 100644 ---

Re: [PATCH] configs: stm32m15: support STM32MP_BOARD_EXTRA_ENV for st boards

2022-07-12 Thread Patrick Delaunay
On Mon, 11 Jul 2022 19:45:50 +0200, Patrick Delaunay wrote: > Correctly handle STM32MP_BOARD_EXTRA_ENV define in stm32mp15_st_common.h; > the STM32MP_BOARD_EXTRA_ENV is added in CONFIG_EXTRA_ENV_SETTINGS > definition, as it is done "stm32mp15_st_common.h" > > Without this patch, the content of

[PATCH v1 0/2] add npcm750 function config and dts node

2022-07-12 Thread Jim Liu
Add Nuvoton BMC npcm750 function config and dts node Jim Liu (2): ARM: configs: npcm7xx: add full function for nuvoton npcm750 ARM: dts: npcm7xx: add npcm750 full function node arch/arm/dts/nuvoton-common-npcm7xx.dtsi | 3 + arch/arm/dts/nuvoton-npcm750-evb.dts | 63 -

[PATCH 1/1] MAINTAINERS: add Ilias Apalodimas to EFI PAYLOAD as co-maintainer

2022-07-12 Thread Heinrich Schuchardt
Ilias has since long been reviewing UEFI patches. Now he has volunteered to assist me in maintaining the sub-system. Cc: Ilias Apalodimas Signed-off-by: Heinrich Schuchardt --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] console: Add option to keep it silent until env is loaded

2022-07-12 Thread Simon Glass
Hi Harald, On Wed, 6 Jul 2022 at 05:19, Harald Seiler wrote: > > Add a config-option which forces the console to stay silent until the > proper environment is loaded from flash. > > This is important when the default environment does not silence the > console but no output must be printed when

Re: [PATCH 3/3] fdt: introduce apply_all command

2022-07-12 Thread Simon Glass
Hi Andre, On Tue, 5 Jul 2022 at 11:14, Andre Przywara wrote: > > Explicitly specifying the exact filenames of devicetree overlays files > on a U-Boot command line can be quite tedious for users, especially > when it should be made persistent for every boot. > > To simplify the task of applying

Re: [PATCH 1/1] dm: avoid NULL dereference in add_item()

2022-07-12 Thread Simon Glass
On Sun, 10 Jul 2022 at 07:40, Heinrich Schuchardt wrote: > > acpi_add_other_item() passes dev = NULL. Instead of dev->name write the > string "other" to the debug log: > > ACPI: Writing ACPI tables at 1fd3000 > 0base: writing table '' > * other: Added type 3, 11fd4000, size

Re: [PATCH v6 2/7] tpm: rng: Add driver model interface for TPM RNG device

2022-07-12 Thread Simon Glass
Hi Sughosh, On Tue, 5 Jul 2022 at 11:23, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 5 Jul 2022 at 15:17, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Mon, 4 Jul 2022 at 07:35, Sughosh Ganu wrote: > > > > > > The TPM device has a builtin random number generator(RNG) > > > functionality.

Re: [PATCH 1/3] cmd: fdt: move: Use map_sysmem to convert pointers

2022-07-12 Thread Simon Glass
On Tue, 5 Jul 2022 at 11:14, Andre Przywara wrote: > > The "fdt move" subcommand was using the provided DTB addresses directly, > without trying to "map" them into U-Boot's address space. This happened > to work since on the vast majority of "real" platforms there is a simple > 1:1 mapping of VA

Re: [PATCH] board_init: Convert CONFIG_MALLOC_F_ADDR to Kconfig

2022-07-12 Thread Simon Glass
On Fri, 8 Jul 2022 at 19:08, Marek Vasut wrote: > > Convert CONFIG_MALLOC_F_ADDR to Kconfig. > > The CL IoT gate board used MALLOC_F_ADDR 0x912000 on i.MX8M Mini unlike > all the other platforms which use 0x93 . This has been aligned with > the other i.MX8M Mini platforms. > > Signed-off-by:

Re: u-boot and IPv6

2022-07-12 Thread Chris Packham
Hi Sean and Dhananjay, Adding U-Boot ML to the Cc On Tue, Jul 12, 2022, 08:45 Sean Edmond wrote: > Hi Chris, > > I’m looking to add IPv6 to our version of u-boot. > > I found your patch series which looks like a solid initial effort: > [U-Boot] [RFC PATCH v3 00/11] IPv6 support - Chris Packham

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-12 Thread Pali Rohár
On Monday 11 July 2022 19:23:26 Tom Rini wrote: > On Sun, Jul 10, 2022 at 01:42:56PM +0200, Pali Rohár wrote: > > > CONFIG_PREBOOT just cause putting "preboot=CONFIG_PREBOOT" into env list. > > Value CONFIG_PREBOOT="run preboot" in defconfig is just nonsense and does > > not do anything useful

[PATCH v4] imx: support i.MX8QM DMSSE20 a1 board

2022-07-12 Thread Oliver Graute
Add i.MX8QM DMSSE20 a1 board support U-Boot 2022.07-00033-g2a5cf8e9e7 (Jul 12 2022 - 11:29:05 +0200) Model: Advantech iMX8QM DMSSE20 Board: DMS-SE20A1 8GB Build: SCFW 549b1e18, SECO-FW c9de51c0, ATF 5782363 Boot: USB DRAM: 8 GiB Core: 100 devices, 19 uclasses, devicetree: separate MMC:

Re: [PATCH v8 2/9] eficonfig: menu-driven addition of UEFI boot option

2022-07-12 Thread Masahisa Kojima
On Sun, 10 Jul 2022 at 18:03, Heinrich Schuchardt wrote: > > On 6/19/22 06:56, Masahisa Kojima wrote: > > This commit add the "eficonfig" command. > > The "eficonfig" command implements the menu-driven UEFI boot option > > maintenance feature. This commit implements the addition of > > new boot

Re: [PATCH v17 2/2] net: Add wget application

2022-07-12 Thread Simon Glass
On Fri, 8 Jul 2022 at 12:02, Ying-Chun Liu (PaulLiu) wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > This commit adds a simple wget command that can download files > from http server. > > The command syntax is > wget ${loadaddr} > > Signed-off-by: Duncan Hare > Signed-off-by: Ying-Chun Liu

Re: [PATCH 2/3] cmd: fdt: allow standalone "fdt move"

2022-07-12 Thread Simon Glass
On Tue, 5 Jul 2022 at 11:14, Andre Przywara wrote: > > At the moment every subcommand of "fdt", except "addr" itself, requires > the DT address to be set first. We explicitly check for that before even > comparing against the subcommands' string. > This early bailout also affects the "move"

Re: [PATCH 3/4] dm: avoid NULL dereference in lists_bind_fdt()

2022-07-12 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > If parameter drv of lists_bind_fdt() is specified, we want to bind to this > specific driver even if its field of_match is NULL. > > If entry->of_match is NULL, we should not dereference it in a debug > statement. > > Fixes:

Re: [gitdm PATCH 2/2] logparser.py: Try and be more robust with unicode handling

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 04:58:46AM -0600, Simon Glass wrote: > On Thu, 7 Jul 2022 at 13:22, Tom Rini wrote: > > > > Given the sometimes oddly formatted data that can come through when > > removing code, we need to be as flexible as possible when handling it. > > Set our encoding to unicode_escape

Re: [PATCH] rockchip: rk3399: boot_devices: fix eMMC node name

2022-07-12 Thread Quentin Schulz
Hi Artem, On 7/12/22 05:01, Art Nikpal wrote: Yes ! need to apply this patch dts was changed grep @fe33 arch/arm/dts/*.dtsi arch/arm/dts/rk3399.dtsi:sdhci: mmc@fe33 { same need to change boot_devices in rk3399.c to /mmc@fe32 Already changed in commit

Re: [SPAM] [PATCH 0/4] mtd: spi: arm: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b)

2022-07-12 Thread Xavier Drudis Ferran
El Wed, Jun 22, 2022 at 10:47:31AM +0200, Xavier Drudis Ferran deia: > The Radxa Rock Pi 4 board is sold from revision 1.4 with a soldered > 4Mb SPI NOR Flash. This series allows to use it from U-Boot and boot > from it. > Hello. Is there any interest in this ? This weekend I did a v2 on next.

Re: [PATCH 1/1] net: phy: possible NULL dereference in fixed_phy_create()

2022-07-12 Thread Marek Behún
On Mon, 11 Jul 2022 19:40:13 +0200 Heinrich Schuchardt wrote: > We check if phydev is NULL. Only but if it is non-NULL we set one > component of phydev. But even if it is NULL we set another. We should not > dereference NULL in either case. > > Fixes: e24b58f5ed4f ("net: phy: don't require PHY

Re: [PATCH 1/1] dm: fix logic of lists_bind_fdt()

2022-07-12 Thread Simon Glass
Hi Heinrich, On Mon, 11 Jul 2022 at 00:25, Heinrich Schuchardt wrote: > > If parameter drv of lists_bind_fdt() is specified, we shall bind only to > this very driver and to no other. > > If the driver drv has an of_match property, we shall only bind to the > driver if it matches the compatible

Re: fit_check_sig not hashing everything.

2022-07-12 Thread Simon Glass
Hi Martin, On Fri, 8 Jul 2022 at 01:11, Martin Bonner wrote: > > On Thu, 7 Jul 2022 at 17:29, Martin Bonner > wrote: > > > I have a 30MB FIT image as input, and I have added some debug to > > hash_calculate in rsa-checksum.c to print the amount of data being hashed. > > The answer is a rather

Re: [PATCH 1/2] dm: core: Add functions to read 8/16-bit integers

2022-07-12 Thread Simon Glass
Hi Stefan, On Tue, 14 Jun 2022 at 07:22, Stefan Herbrechtsmeier wrote: > > From: Stefan Herbrechtsmeier > > Add functions to read 8/16-bit integers like the existing functions for > 32/64-bit to simplify read of 8/16-bit integers from device tree > properties. > > Signed-off-by: Stefan

Re: [PATCH 2/4] test: fix log tests

2022-07-12 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > Consider CONFIG_LOG_MAX_LEVEL and gd->default_log_level in > > * do_log_test_helpers() > * log_test_dropped() > * log_test_level_deny() > > Signed-off-by: Heinrich Schuchardt > --- > test/log/log_test.c | 11 +++ > 1 file

Re: [gitdm PATCH 2/2] logparser.py: Try and be more robust with unicode handling

2022-07-12 Thread Simon Glass
On Thu, 7 Jul 2022 at 13:22, Tom Rini wrote: > > Given the sometimes oddly formatted data that can come through when > removing code, we need to be as flexible as possible when handling it. > Set our encoding to unicode_escape and if we still run in to a problem, > it's likely going to be OK to

Re: [PATCH] rockchip: rk3399: boot_devices: fix eMMC node name

2022-07-12 Thread Quentin Schulz
Hi Xavier, On 7/11/22 20:22, Xavier Drudis Ferran wrote: El Mon, Jul 11, 2022 at 04:15:33PM +0200, Quentin Schulz deia: From: Quentin Schulz When idbloader.img is flashed on the eMMC, the SPL still tries to load from SPI-NOR first. This is due to an incorrect look-up in the Device Tree.

Re: [PATCH v2 0/9] New boards support: db845c and qcs404-evb

2022-07-12 Thread Peng Fan
On 7/12/2022 1:53 PM, Sumit Garg wrote: Hi Peng, On Tue, 12 Jul 2022 at 06:27, Peng Fan wrote: On 7/8/2022 9:13 PM, Sumit Garg wrote: Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb

Re: [PATCH v2 0/9] New boards support: db845c and qcs404-evb

2022-07-12 Thread Sumit Garg
On Tue, 12 Jul 2022 at 13:58, Peng Fan wrote: > > > > On 7/12/2022 1:53 PM, Sumit Garg wrote: > > Hi Peng, > > > > On Tue, 12 Jul 2022 at 06:27, Peng Fan wrote: > >> > >> > >> > >> On 7/8/2022 9:13 PM, Sumit Garg wrote: > >>> Add support for two new boards db845c and qcs404-evb: > >>> - db845c

Re: U-Boot SPI DM framework issues

2022-07-12 Thread Simon Glass
Hi Andre, On Mon, 11 Jul 2022 at 09:52, Andre Przywara wrote: > > Hi, > > while trying to debug some nasty SPI flash issue on sunxi, I came > across some oddities in the SPI DM framework, and wanted to check some > things, since I am not sure whether I miss things here: > > - When I do a simple

Re: [PATCH 1/2] Fix usage of CONFIG_PREBOOT

2022-07-12 Thread Simon Glass
Hi Pali, On Sun, 10 Jul 2022 at 05:43, Pali Rohár wrote: > > Due to usage of PREBOOT in Kconfig, macro CONFIG_PREBOOT is always defined > when CONFIG_USE_PREBOOT is enabled. In case CONFIG_PREBOOT is not > explicitly enabled it is set to empty C string and therefore > '#ifdef CONFIG_PREBOOT'

Re: [PATCH v17 1/2] net: Add TCP protocol

2022-07-12 Thread Simon Glass
Hi Ying-Chun, On Fri, 8 Jul 2022 at 12:02, Ying-Chun Liu (PaulLiu) wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > Currently file transfers are done using tftp or NFS both > over udp. This requires a request to be sent from client > (u-boot) to the boot server. > > The current standard is TCP

Re: [PATCH 4/4] configs: sandbox_defconfig: CONFIG_LOG_MAX_LEVEL=9

2022-07-12 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > Without setting CONFIG_LOG_MAX_LEVEL to a value above 6 we will not detect > NULL dereferences and other errors in log_debug() calls. > > Signed-off-by: Heinrich Schuchardt > --- > Resent > --- > configs/sandbox_defconfig | 2 ++ > 1

Re: [PATCH v6 3/7] tpm: Add the RNG child device

2022-07-12 Thread Simon Glass
Hi Ilias, On Fri, 8 Jul 2022 at 02:24, Ilias Apalodimas wrote: > > Hi Simon, > > [...] > > > > + > > > UCLASS_DRIVER(tpm) = { > > > - .id = UCLASS_TPM, > > > - .name = "tpm", > > > - .flags = DM_UC_FLAG_SEQ_ALIAS, > > > + .id

Re: [gitdm PATCH 1/2] Merge branch 'master' into u-boot

2022-07-12 Thread Simon Glass
On Thu, 7 Jul 2022 at 13:22, Tom Rini wrote: > > Bring us up to commit 0b8875225750 ("Allow multiple spaces within an > email address") of the upstream gitdm project. > > Signed-off-by: Tom Rini > > --- > So this isn't a real patch exactly. This shows what the single merge > error would need to

[PATCH] ARM: relocate: Fix Thumb code by using proper label type

2022-07-12 Thread Andre Przywara
The generic ARM relocate_code function was using its own function entry point as a relocation base, and it was obtaining that address by using the "adr" instruction on that entry point label. However that label is not just an ordinary label, instead we explicitly mark it as a function start

[PATCH v2] log: force DEBUG when LOG_DEBUG is activated

2022-07-12 Thread Patrick Delaunay
When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and DEBUG is not defined the trace with debug() macro are not displayed, because the parameter cond : _DEBUG = 0 is checked in debug_cond(). With this patch the define DEBUG, used to force the trace generated by debug() macro, is

Re: [RFC PATCH 3/3] eficonfig: add "Delete Key" menu entry

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 09:13, Masahisa Kojima wrote: Hi Heinrich, Takahiro, On Sun, 10 Jul 2022 at 19:10, Heinrich Schuchardt wrote: On 6/19/22 07:20, Masahisa Kojima wrote: This commit add the menu-driven interface to delete the signature database entry. EFI Signature Lists can contain the multiple

Re: [PATCH 1/1] MAINTAINERS: add Ilias Apalodimas to EFI PAYLOAD as co-maintainer

2022-07-12 Thread Ilias Apalodimas
Hi Heinrich On Tue, 12 Jul 2022 at 13:39, Heinrich Schuchardt wrote: > > Ilias has since long been reviewing UEFI patches. > Now he has volunteered to assist me in maintaining the sub-system. Thanks for the vote of confidence! Acked-by: Ilias Apalodimas > > Cc: Ilias Apalodimas >

Re: [PATCH] py: tests: Bind should run only on sandbox

2022-07-12 Thread Simon Glass
On Thu, 7 Jul 2022 at 04:52, Michal Simek wrote: > > From: Michal Simek > > Disable test to run on any other platform than sandbox. > > Signed-off-by: Michal Simek > Signed-off-by: Michal Simek > --- > > test/py/tests/test_bind.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] cmd: fdt: Add support for reading stringlist property values

2022-07-12 Thread Simon Glass
Hi Marek, On Fri, 8 Jul 2022 at 15:50, Marek Vasut wrote: > > The fdt command currently handles stringlists as strings in 'fdt get value' > subcommand. Since strings in FDT stringlists are separated by '\0', only > the first value gets inserted into the environment variable passed to the > 'fdt

Re: [PATCH] test/py: Run simple dm commands without checking

2022-07-12 Thread Simon Glass
Hi Michal, On Thu, 7 Jul 2022 at 05:00, Michal Simek wrote: > > From: Michal Simek > > Just to make sure that dm commands can operate. > This was the problem on Microblaze in past without fixing manual > relocation. > > Signed-off-by: Michal Simek > Signed-off-by: Michal Simek Make up your

Re: [PATCH] common: image-android: Add signature verification feature

2022-07-12 Thread Simon Glass
Hi, On Thu, 7 Jul 2022 at 05:14, wrote: > > From: qianfan Zhao > > Not all Android tools use the id field for signing the image with sha1, > so make this feature as optional and disabled default. > > Signed-off-by: qianfan Zhao > --- > common/Kconfig.boot| 14 +++ >

Re: [PATCH v11 01/13] fpga: add option for loading FPGA secure bitstreams

2022-07-12 Thread Simon Glass
Hi, On Tue, 5 Jul 2022 at 13:23, Oleksandr Suvorov wrote: > > It allows using this feature without enabling the "fpga loads" > command. > > Signed-off-by: Oleksandr Suvorov > Co-developed-by: Adrian Fiergolski > Signed-off-by: Adrian Fiergolski > Tested-by: Ricardo Salveti > Tested-by:

Re: [PATCH 15/19] gitlab/azure: Use buildman instead of genboardscfg

2022-07-12 Thread Tom Rini
On Mon, Jul 11, 2022 at 07:04:09PM -0600, Simon Glass wrote: > Use the equivalent buildman functionality to check maintainer info. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH v5 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-12 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace v4: -No changes v5: -No changes

[gitdm PATCH] reports.py: Add very basic rST output

2022-07-12 Thread Tom Rini
Add a -R option to gitdm to allow for reStructuredText output and add some very simple table generation. We assume that whatever uses this output will take care of adding a header, so we only concern ourselves with making tables. Given the longest section title is 58 characters, we use 60 as the

[PATCH] RFC: Show what the statistics page would look like for v2022.07

2022-07-12 Thread Tom Rini
These tables are generated by https://patchwork.ozlabs.org/project/uboot/patch/20220712121116.3048662-1-tr...@konsulko.com/ with the header and stats summary added manually. Before I go off and re-create all of the historical stats pages I want to get the output reviewed. Cc: Heinrich Schuchardt

Re: [PATCH 1/2] Fix usage of CONFIG_PREBOOT

2022-07-12 Thread Pali Rohár
On Tuesday 12 July 2022 04:58:51 Simon Glass wrote: > Hi Pali, > > On Sun, 10 Jul 2022 at 05:43, Pali Rohár wrote: > > > > Due to usage of PREBOOT in Kconfig, macro CONFIG_PREBOOT is always defined > > when CONFIG_USE_PREBOOT is enabled. In case CONFIG_PREBOOT is not > > explicitly enabled it is

[PATCH v5 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-12 Thread Mamta Shukla
This series of patch adds support for generating FlexSPI Header file and booting from QSPI on i.MX8m. Changes in v2: -Add check for error in case open() for fspi_fd in imx8mkimage.c fails -Remove extra line in commit message -Remove extra line in imx8mm_evk_fspi_defconfig -New patch in series to

[PATCH v5 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-12 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch ERROR:

Re: [PATCH 1/1] dm: fix logic of lists_bind_fdt()

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 12:58, Simon Glass wrote: Hi Heinrich, On Mon, 11 Jul 2022 at 00:25, Heinrich Schuchardt wrote: If parameter drv of lists_bind_fdt() is specified, we shall bind only to this very driver and to no other. If the driver drv has an of_match property, we shall only bind to the driver

[RESEND PATCH v2] clk: update clk_clean_rate_cache to use private clk struct

2022-07-12 Thread Patrick Delaunay
In clk_clean_rate_cache, clk->rate should update the private clock struct, in particular when CCF is activated, to save the cached rate value. When clk_get_parent_rate is called, the cached information is read from pclk->rate, with pclk = clk_get_parent(clk). As the cached is read from private

Re: [PATCH v6 3/7] tpm: Add the RNG child device

2022-07-12 Thread Rob Herring
On Tue, Jul 12, 2022 at 5:04 AM Simon Glass wrote: > > Hi Ilias, > > On Fri, 8 Jul 2022 at 02:24, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > [...] > > > > > > + > > > > UCLASS_DRIVER(tpm) = { > > > > - .id = UCLASS_TPM, > > > > - .name = "tpm", > > > >

Re: [RFC PATCH 3/3] eficonfig: add "Delete Key" menu entry

2022-07-12 Thread Masahisa Kojima
On Tue, 12 Jul 2022 at 17:02, Heinrich Schuchardt wrote: > > On 7/12/22 09:13, Masahisa Kojima wrote: > > Hi Heinrich, Takahiro, > > > > On Sun, 10 Jul 2022 at 19:10, Heinrich Schuchardt > > wrote: > >> > >> On 6/19/22 07:20, Masahisa Kojima wrote: > >>> This commit add the menu-driven

Re: [PATCH] test/py: Run simple dm commands without checking

2022-07-12 Thread Michal Simek
Hi Simon, On 7/12/22 12:58, Simon Glass wrote: Hi Michal, On Thu, 7 Jul 2022 at 05:00, Michal Simek wrote: From: Michal Simek Just to make sure that dm commands can operate. This was the problem on Microblaze in past without fixing manual relocation. Signed-off-by: Michal Simek

Re: [PATCH] cmd: fdt: Add support for reading stringlist property values

2022-07-12 Thread Marek Vasut
On 7/12/22 12:58, Simon Glass wrote: Hi Marek, On Fri, 8 Jul 2022 at 15:50, Marek Vasut wrote: The fdt command currently handles stringlists as strings in 'fdt get value' subcommand. Since strings in FDT stringlists are separated by '\0', only the first value gets inserted into the

[PATCH v5 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-12 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by:

[PATCH v5 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-12 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle

[PATCH v5 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-12 Thread Mamta Shukla
The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and `"XIP"` to determine the base address of u-boot. For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset of the flattened image tree blob. Although `QSPI0_AMBA_BASE` is used to define CONFIG_SYS_UBOOT_BASE in

[PATCH v5 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-07-12 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2

[PATCH v5 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-12 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes

Re: [PATCH 1/3] board: freescale: p1_p2_rdb_pc: Add workaround for board reset reboot loop

2022-07-12 Thread Pali Rohár
Hello! This change is waiting here since May 01. On Tuesday 05 July 2022 18:39:19 Pali Rohár wrote: > PING? > > On Sunday 01 May 2022 14:23:12 Pali Rohár wrote: > > CPLD's system reset register on P1/P2 RDB boards is not autocleared after > > flipping it. If this register is set to one then CPLD

Re: [PATCH] RFC: Show what the statistics page would look like for v2022.07

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 14:54, Tom Rini wrote: These tables are generated by https://patchwork.ozlabs.org/project/uboot/patch/20220712121116.3048662-1-tr...@konsulko.com/ with the header and stats summary added manually. Before I go off and re-create all of the historical stats pages I want to get the

Re: [PATCH v11 01/13] fpga: add option for loading FPGA secure bitstreams

2022-07-12 Thread Michal Simek
Hi, On 7/12/22 12:58, Simon Glass wrote: Hi, On Tue, 5 Jul 2022 at 13:23, Oleksandr Suvorov wrote: It allows using this feature without enabling the "fpga loads" command. Signed-off-by: Oleksandr Suvorov Co-developed-by: Adrian Fiergolski Signed-off-by: Adrian Fiergolski Tested-by:

Re: [PATCH] console: Add option to keep it silent until env is loaded

2022-07-12 Thread Harald Seiler
Hi Simon, On Tue, 2022-07-12 at 04:58 -0600, Simon Glass wrote: > Hi Harald, > > On Wed, 6 Jul 2022 at 05:19, Harald Seiler wrote: > > > > Add a config-option which forces the console to stay silent until the > > proper environment is loaded from flash. > > > > This is important when the

Re: [PATCH] RFC: Show what the statistics page would look like for v2022.07

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 08:54:29AM -0400, Tom Rini wrote: > These tables are generated by > https://patchwork.ozlabs.org/project/uboot/patch/20220712121116.3048662-1-tr...@konsulko.com/ > with the header and stats summary added manually. > > Before I go off and re-create all of the historical

[PATCH v6 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-12 Thread Mamta Shukla
This series of patch adds support for generating FlexSPI Header file and booting from QSPI on i.MX8m. Changes in v2: -Add check for error in case open() for fspi_fd in imx8mkimage.c fails -Remove extra line in commit message -Remove extra line in imx8mm_evk_fspi_defconfig -New patch in series to

Re: [PATCH] RFC: Show what the statistics page would look like for v2022.07

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 03:55:44PM +0200, Heinrich Schuchardt wrote: > On 7/12/22 14:54, Tom Rini wrote: > > These tables are generated by > > https://patchwork.ozlabs.org/project/uboot/patch/20220712121116.3048662-1-tr...@konsulko.com/ > > with the header and stats summary added manually. > > >

[PATCH] doc: imx: habv4: Add Secure Boot guide for i.MX8M SPL targets

2022-07-12 Thread Marek Vasut
Add HABv4 documentation extension for SPL targets covering the following topics: - How to sign an securely boot an flash.bin container image. - How to extend the root of trust for additional boot images. - Add SPL and fitImage CSF examples. - Add signature generation script example.

[PATCH 2/2] rockchip: rk3399: fix incorrect ifdef check on SPL_GPIO

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz The check to perform is on CONFIG_SPL_GPIO and not SPL_GPIO. Because this was never compiled in, it missed an include of cru.h that was not detected before. Let's include it too. Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init") Cc: Quentin Schulz

[PATCH 0/4] fix missed migration from SPL__SUPPORT to SPL_

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz I guess this is the result of an unfortunate race in the merging of commits using the "old" name and their renaming. Only the first commit has been tested (I'll need it in some upcoming patches). Owners/maintainers of mx7ulp_com or imx8mp_rsb3720a1 should test those changes

[PATCH 2/4] mx7ulp_com: fix incorrect select for SPL options

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz SPL_GPIO_SUPPORT is named SPL_GPIO since commit 83061dbd1c89 ("Rename GPIO_SUPPORT to GPIO"), SPL_MMC_SUPPORT is named SPL_MMC since commit 103c5f180694 ("mmc: Rename MMC_SUPPORT to MMC"), SPL_SERIAL_SUPPORT is named SPL_SERIAL since commit 2a7360666871 ("serial: Rename

[PATCH 3/4] imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz Since commit 103c5f180694 ("mmc: Rename MMC_SUPPORT to MMC"), SPL_MMC_SUPPORT is named SPL_MMC, so let's fix the ifdef. Fixes: fbc6b1414342 ("imx: imx8mp_rsb3720a1: convert to DM_SERIAL") Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 4/4] vpl: fix reference in comment to non-existing SPL_SERIAL_SUPPORT

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz Since commit 2a7360666871 ("serial: Rename SERIAL_SUPPORT to SERIAL") SPL_SERIAL_SUPPORT is named SPL_SERIAL. So let's update the comment to point to the correct Kconfig option in the comment of VPL_SERIAL. Fixes: 747093dd408 ("vpl: Add Kconfig options for VPL") Cc: Quentin

[PATCH 1/4] gpio: fix incorrect depends on for SPL_GPIO_HOG

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz Since commit 83061dbd1c89 ("Rename GPIO_SUPPORT to GPIO"), SPL_GPIO_SUPPORT has been renamed to SPL_GPIO, meaning that SPL_GPIO_HOG can never be enabled. Let's fix this by using the proper name for the Kconfig option. Fixes: 1d99e673c752 ("gpio: Enable hogging support in

Re: [RFCv2 2/2] doc: Add doc/develop/release_cycle.rst

2022-07-12 Thread Sean Anderson
Hi Tom, On 7/12/22 11:33 AM, Tom Rini wrote: > Migrate the RelaseCycle wiki page to Sphinx. In terms of visible > changes, we stop having a dynamic countdown to when the release is. And > we drop the year-based statistics, that were not being kept up to date. > For the moment, we only link to

Re: [RFCv2 1/2] doc: Add statistics page for v2022.07

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 06:01:58PM +0200, Heinrich Schuchardt wrote: > On 7/12/22 17:55, Tom Rini wrote: > > On Tue, Jul 12, 2022 at 05:42:31PM +0200, Heinrich Schuchardt wrote: > > > On 7/12/22 17:32, Tom Rini wrote: > > > > These tables are generated by gitdm, patched to generate an rST .. table

Re: [RFCv2 2/2] doc: Add doc/develop/release_cycle.rst

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 17:48, Sean Anderson wrote: Hi Tom, On 7/12/22 11:33 AM, Tom Rini wrote: Migrate the RelaseCycle wiki page to Sphinx. In terms of visible changes, we stop having a dynamic countdown to when the release is. And we drop the year-based statistics, that were not being kept up to date.

Re: [RFCv2 2/2] doc: Add doc/develop/release_cycle.rst

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 06:14:13PM +0200, Heinrich Schuchardt wrote: > On 7/12/22 17:48, Sean Anderson wrote: > > Hi Tom, > > > > On 7/12/22 11:33 AM, Tom Rini wrote: > > > Migrate the RelaseCycle wiki page to Sphinx. In terms of visible > > > changes, we stop having a dynamic countdown to when

[PATCH v6 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-12 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes v6: -No changes

[RFCv2 1/2] doc: Add statistics page for v2022.07

2022-07-12 Thread Tom Rini
These tables are generated by gitdm, patched to generate an rST .. table directive and then with the header, orphan tag and stats summary added manually. Cc: Heinrich Schuchardt Signed-off-by: Tom Rini --- Changes in v2: - Include :orphan: this time - Use .. table and auto-width as suggested by

[PATCH 1/2] rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR

2022-07-12 Thread Quentin Schulz
From: Quentin Schulz The check to perform is on CONFIG_SPL_DM_REGULATOR and not SPL_DM_REGULATOR. Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init") Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/rk3399/rk3399.c | 2 +- 1 file changed, 1

Re: [RFCv2 2/2] doc: Add doc/develop/release_cycle.rst

2022-07-12 Thread Tom Rini
On Tue, Jul 12, 2022 at 11:48:49AM -0400, Sean Anderson wrote: > Hi Tom, > > On 7/12/22 11:33 AM, Tom Rini wrote: > > Migrate the RelaseCycle wiki page to Sphinx. In terms of visible > > changes, we stop having a dynamic countdown to when the release is. And > > we drop the year-based

Re: [RFCv2 1/2] doc: Add statistics page for v2022.07

2022-07-12 Thread Heinrich Schuchardt
On 7/12/22 17:55, Tom Rini wrote: On Tue, Jul 12, 2022 at 05:42:31PM +0200, Heinrich Schuchardt wrote: On 7/12/22 17:32, Tom Rini wrote: These tables are generated by gitdm, patched to generate an rST .. table directive and then with the header, orphan tag and stats summary added manually.

[PATCH v6 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-12 Thread Mamta Shukla
The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and `"XIP"` to determine the base address of u-boot. For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset of the flattened image tree blob. Although `QSPI0_AMBA_BASE` is used to define CONFIG_SYS_UBOOT_BASE in

  1   2   >