[PATCH 1/5] brppt1: Remove unused board variants

2022-08-24 Thread Bernhard Messerklinger
The SPI and NAND board variants never went into production. Drop those board variants. Signed-off-by: Bernhard Messerklinger --- arch/arm/dts/Makefile | 2 - arch/arm/dts/am335x-brppt1-nand.dts | 374 --- arch/arm/dts/am335x-brppt1-spi.dts | 377

[PATCH 0/5] Fix, update and cleanup brppt1 board

2022-08-24 Thread Bernhard Messerklinger
Drop board variants that were never produced, fix the SPL loader, and update environment. Bernhard Messerklinger (5): brppt1: Remove unused board variants brppt1: Fix SPL boot stage brppt1: Cleanup device tree include: configs: brppt1: Fix commit 0ea4fc4dcf90 brppt1: Update environmen

[PATCH 3/5] brppt1: Cleanup device tree

2022-08-24 Thread Bernhard Messerklinger
* Remove unnecessary device tree nodes which are not needed in U-Boot directly. * Move all U-Boot specific device tree properties to u-boot dtsi. Signed-off-by: Bernhard Messerklinger --- arch/arm/dts/am335x-brppt1-mmc-u-boot.dtsi | 32 arch/arm/dts/am335x-brppt1-mmc.dts | 201 -

[PATCH 5/5] brppt1: Update environment to support new boot concept

2022-08-24 Thread Bernhard Messerklinger
* Drop legacy /boot/PPTImage.md5 check * Update device tree naming * Update t30args#0 root cmd line property to support latest kernel versions (root=/dev/mmcblk0p2 for linux < 4 and root=/dev/mmcblk1p2 for linux >= 4) * Add custom bootloader version string * Destroy invalid dtb at ${dtbaddr} an

[PATCH 2/5] brppt1: Fix SPL boot stage

2022-08-24 Thread Bernhard Messerklinger
Commit 6337d53fdf45 ("arm: dts: sync am33xx with Linux 5.9-rc7") syncs the am335x device tree with the latest linux kernel am335x device tree. That causes problems with device tree in SPL stage. To fix the issues CONFIG_SPL_OF_TRANSLATE must be set to handle the synced bus addresses correctly. A cu

[PATCH 4/5] include: configs: brppt1: Fix commit 0ea4fc4dcf90

2022-08-24 Thread Bernhard Messerklinger
Commit 0ea4fc4dcf90 ("board/BuR: invalidate ${dtbaddr} before cfgscr") destroys the boot targets b_t30lgcy#0 and b_t30lgcy#1. The reason behind this is, that b_t30lgcy#0 and b_t30lgcy#1 both load the for booting needed device trees from mmc and the cfgscr script patches those. Because of this, cfgs

[PATCH 2/2] tests: Do not hardcode sudo tool

2022-08-24 Thread Michal Suchanek
In some situations it may be needed to pass parameters to sudo or to use a different tool to gain root access. Add SUDO variable to specify the sudo tool. Signed-off-by: Michal Suchanek --- doc/develop/testing.rst | 5 +++-- test/fs/fat-noncontig-test.sh | 9 + test/fs/fs

[PATCH 1/2] patman: do not hardcode coverage tool

2022-08-24 Thread Michal Suchanek
The coverage tool name varies across distributions. Add COVERAGE variable to specify the tool name. Also there is one place where prefix is prepended to the tool path, remove the prefix. Signed-off-by: Michal Suchanek --- doc/develop/testing.rst | 3 +++ tools/patman/test_util.py | 18 +

[PATCH 4/4] microblaze: add arch_print_bdinfo() implementation

2022-08-24 Thread Ovidiu Panait
Allow bdinfo command to print icache/dcache information: U-Boot-mONStR> bdinfo boot_params = 0x DRAM bank = 0x -> start= 0x0400 -> size = 0x0400 flashstart = 0x flashsize = 0x flashoffset = 0x baudrate= 9600 bps relocaddr = 0x07f760

[PATCH 3/4] cmd: bdinfo: introduce bdinfo_print_size() helper

2022-08-24 Thread Ovidiu Panait
Add bdinfo_print_size() helper to display size variables (such as cache sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB", "xxx MiB", "xxx GiB", etc as needed; Signed-off-by: Ovidiu Panait --- cmd/bdinfo.c | 7 +++ include/init.h | 13 + 2 files changed,

[PATCH 2/4] cpu: microblaze: remove unused ret variable

2022-08-24 Thread Ovidiu Panait
Drop the unused ret variable from microblaze_cpu_get_desc(). Signed-off-by: Ovidiu Panait --- drivers/cpu/microblaze_cpu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/cpu/microblaze_cpu.c b/drivers/cpu/microblaze_cpu.c index 969a1047e5..4eae06a8a6 100644 -

[PATCH 1/4] microblaze: drop CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE

2022-08-24 Thread Ovidiu Panait
These macros don't seem to be used by microblaze code anymore, so remove them. Signed-off-by: Ovidiu Panait --- include/configs/microblaze-generic.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 8eaac4

Re: [PATCH v2 0/2] Initial step for Linux DT sync on Qcom SoCs

2022-08-24 Thread Sumit Garg
On Tue, 16 Aug 2022 at 13:32, Sumit Garg wrote: > > Hi Tom, > > On Thu, 4 Aug 2022 at 20:09, Sumit Garg wrote: > > > > Hi, > > > > On Wed, 27 Jul 2022 at 13:52, Sumit Garg wrote: > > > > > > This is an initial step towards achieving complete Linux DT sync on Qcom > > > SoCs/boards. It syncs up D

[PATCH] mtd: nand: pxa3xx: simplify ECC hardware parameters

2022-08-24 Thread Chris Packham
Replace the if/else chain in pxa_ecc_init() with a lookup table. This makes the code more concise and hopefully easier to follow. Remove the unused ecc_layout tables and replace it with a single dummy one (the pxa3xx driver has never used this but the mtd subsystem expects it to be provided). Test

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-24 Thread Masahisa Kojima
On Wed, 24 Aug 2022 at 23:17, Ilias Apalodimas wrote: > > Hi Kojima-san, > > Apologies for doing the review ad-hoc, but the patchset is huge. > I'll try to send a more complete email tomorrow No problem, thank you for your review. > > [...] > > #endif > > > > diff --git a/cmd/eficonfig.c b/cmd/

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-24 Thread Masahisa Kojima
On Wed, 24 Aug 2022 at 22:25, Ilias Apalodimas wrote: > > Hi Kojima-san > > On Wed, Aug 24, 2022 at 03:37:36PM +0900, Masahisa Kojima wrote: > > UEFI specification requires booting from removal media using > > a architecture-specific default image name such as BOOTAA64.EFI. > > This commit adds th

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

2022-08-24 Thread Masahisa Kojima
On Wed, 24 Aug 2022 at 23:19, Ilias Apalodimas wrote: > > Kojima-san, > > [...] > > > + > > +/** > > + * eficonfig_init() - do required initialization for eficonfig command > > + * > > + * Return: status code > > + */ > > +static efi_status_t eficonfig_init(void) > > +{ > > + efi_status_t re

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

2022-08-24 Thread Masahisa Kojima
On Wed, 24 Aug 2022 at 20:15, Ilias Apalodimas wrote: > > Hi Kojima-san, > > [...] > > > + * eficonfig_destroy() - destroy efimenu > > + * > > + * @efi_menu:pointer to the efimenu structure > > + * @flag:flag to free the allocated data > > + */ > > +static void eficonfig_destroy(struct

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-24 Thread Chris Packham
Hi Pali, On 23/08/22 11:00, Pali Rohár wrote: > On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: >> On 10.08.22 14:46, Pali Rohár wrote: >>> mbus driver is initialized from arch_cpu_init() callback which is called >>> before relocation. This driver stores lot of functions and structure >>>

Re: [PATCH v13 6/9] eficonfig: add "Change Boot Order" menu entry

2022-08-24 Thread Masahisa Kojima
On Thu, 25 Aug 2022 at 09:11, Takahiro Akashi wrote: > > On Wed, Aug 24, 2022 at 03:37:37PM +0900, Masahisa Kojima wrote: > > This commit adds the menu entry to update UEFI BootOrder variable. > > User moves the entry with UP/DOWN key, changes the order > > with PLUS/MINUS key, press SPACE to acti

Re: [PATCH v13 8/9] doc:eficonfig: add documentation for eficonfig command

2022-08-24 Thread Masahisa Kojima
Hi Ilias, On Wed, 24 Aug 2022 at 18:14, Ilias Apalodimas wrote: > > Hi Kojima-san > > On Wed, 24 Aug 2022 at 09:37, Masahisa Kojima > wrote: > > > > Add documentation for eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > --- > > Changes in v13: > > - describe how to auto boot accord

Re: [PATCH v3 6/7] test: py: fru: add a test for the fru command

2022-08-24 Thread Simon Glass
Hi, On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: > > Add a simple test for the 'fru' command. > > Signed-off-by: Jae Hyun Yoo > --- > Changes from v2: > * Added CONFIG_CMD_FRU=y only into the sandbox_defconfig. (Simon) > > Changes from v1: > * Newly added in v2. (Heinrich) > > configs/sa

Re: [PATCH v3 7/7] test: cmd: fru: add unit test for the fru command

2022-08-24 Thread Simon Glass
On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: > > Add test cases for the fru command. > > Signed-off-by: Jae Hyun Yoo > --- > Changes from v2: > * Newly added in v3. (Simon) > > include/test/suites.h | 1 + > test/cmd/Makefile | 1 + > test/cmd/fru.c| 84 ++

Re: [PATCH v4 1/8] binman: add support for skipping file concatenation for mkimage

2022-08-24 Thread Simon Glass
Hi Quentin, On Wed, 24 Aug 2022 at 09:29, Quentin Schulz wrote: > > Hi Simon, > > On 8/18/22 10:17, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 3 Aug 2022 at 06:19, Quentin Schulz wrote: > >> > >> From: Quentin Schulz > >> > >> Some image types handled by mkimage require the datafiles to

Re: [PATCH v3 4/7] cmd: fru: add product info area parsing support

2022-08-24 Thread Simon Glass
Hi Jae, On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: > > Add product info area parsing support. Custom board fields can be > added dynamically using linked list so that each board support can > utilize them in their own custom way. > > Signed-off-by: Jae Hyun Yoo > --- > Changes from v2: >

Re: [PATCH] cmd: xxd: add new command

2022-08-24 Thread Simon Glass
On Wed, 24 Aug 2022 at 04:20, Roger Knecht wrote: > > Add xxd command to print file content as hexdump to standard out > > Signed-off-by: Roger Knecht > --- > The 'xxd' code has a lot in common with my ealier patch for 'cat'. > > Example: > ``` > => xxd mmc 0:1 hello > : 68 65 6c 6c 6f 20

Re: [PATCH] fdt_support: add optional board_rng_seed() hook

2022-08-24 Thread Simon Glass
Hi Rasmus, On Tue, 23 Aug 2022 at 23:57, Rasmus Villemoes wrote: > > On 23/08/2022 16.35, Simon Glass wrote: > > Hi Rasmus, > > > > On Tue, 23 Aug 2022 at 07:06, Rasmus Villemoes > > wrote: > >> > >> On 23/08/2022 15.38, Simon Glass wrote: > >> > +/** > + * board_rng_seed() - Provide a

Re: [PATCH] patman: do not hardcode coverage tool

2022-08-24 Thread Simon Glass
Hi Michal, On Wed, 24 Aug 2022 at 00:43, Michal Suchanek wrote: > > The coverage tool name varies across distributions. > > Add COVERAGE variable to specify the tool name. > > Also there is one place where prefix is prepended to the tool path, > remove the prefix. > > Signed-off-by: Michal Suchan

Re: [PATCH] post: memory: Fix format strings

2022-08-24 Thread Simon Glass
On Tue, 23 Aug 2022 at 12:11, Sean Anderson wrote: > > This fixes numerous cases of format strings not matching their > arguments. Also keep the format strings on one line for easier grepping. > > Signed-off-by: Sean Anderson > --- > > post/drivers/memory.c | 30 -- >

Re: [PATCH] tests: Do not hardcode sudo tool

2022-08-24 Thread Simon Glass
Hi Michal, On Wed, 24 Aug 2022 at 00:48, Michal Suchanek wrote: > > In some situations it may be needed to pass parameters to sudo or to use > a different tool to gain root access. Add SUDO variable to specify the > sudo tool. > > Signed-off-by: Michal Suchanek > --- > test/fs/fat-noncontig-tes

Re: [PATCH] kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle

2022-08-24 Thread Simon Glass
On Wed, 24 Aug 2022 at 01:37, Heiko Thiery wrote: > > When compiling executables from a single.c file, the linker is also > invoked. Pass the flags like the other linker commands. > > cherry-pick kbuild change from Linux: > > 63185b46cdb3 (kbuild: use HOSTLDFLAGS for single .c executables) > > Sig

Re: [PATCH v13 6/9] eficonfig: add "Change Boot Order" menu entry

2022-08-24 Thread Takahiro Akashi
On Wed, Aug 24, 2022 at 03:37:37PM +0900, Masahisa Kojima wrote: > This commit adds the menu entry to update UEFI BootOrder variable. > User moves the entry with UP/DOWN key, changes the order > with PLUS/MINUS key, press SPACE to activate or deactivate > the entry, then finalizes the order by ENTE

Re: [PATCH] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-08-24 Thread Grzegorz Szymaszek
Hi, On Wed, Aug 24, 2022 at 05:06:59PM +0200, Patrice Chotard wrote: > SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz > by default by bootrom. s/1MHz/1GHz/, it seems. Otherwise: Reviewed-by: Grzegorz Szymaszek All the best -- Grzegorz signature.asc Description: PGP signatu

Re: [PATCH v4 1/8] binman: add support for skipping file concatenation for mkimage

2022-08-24 Thread Quentin Schulz
Hi Simon, On 8/18/22 10:17, Simon Glass wrote: Hi Quentin, On Wed, 3 Aug 2022 at 06:19, Quentin Schulz wrote: From: Quentin Schulz Some image types handled by mkimage require the datafiles to be passed independently (-d data1:data2) for specific handling of each. A concatenation of datafil

[PATCHv2 1/2] i2c: stm32f7: fix clearing the control register

2022-08-24 Thread Jorge Ramirez-Ortiz
Bits should be set to 0, not 1. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Patrice Chotard --- drivers/i2c/stm32f7_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index bf2a6c9b4b..3a727e68ac 100644 --- a/driv

Re: [PATCHv2 1/2] i2c: stm32f7: fix clearing the control register

2022-08-24 Thread Patrice CHOTARD
Hi Jorge On 8/15/22 16:52, Jorge Ramirez-Ortiz wrote: > Bits should be set to 0, not 1. > > Signed-off-by: Jorge Ramirez-Ortiz > --- > drivers/i2c/stm32f7_i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c > inde

Re: [PATCH] ARM: stm32: Switch DHSOM to FMC2 EBI driver

2022-08-24 Thread Patrice CHOTARD
Hi Marek On 8/23/22 19:27, Marek Vasut wrote: > Perform long overdue conversion of ad-hoc FMC2 EBI bus initialization > to upstream FMC2 EBI driver. No functional change. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > .../dts/stm32mp15xx-dhcom-picoitx-u-bo

Re: [PATCH v2 1/2] timer: sti: convert sti-timer to arm a9 global timer

2022-08-24 Thread Patrice CHOTARD
Hi William On 8/24/22 06:44, William Zhang wrote: > STI timer is actually ARM Cortex A9 global timer. Convert the driver to > use generic global timer name and make it consistent with Linux kernel > global timer driver. This also allows any A9 based device to use this > driver. > > Signed-off-by:

[PATCH] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-08-24 Thread Patrice Chotard
SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz by default by bootrom. Signed-off-by: Patrice Chotard --- include/configs/stih410-b2260.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index b

Using SYS_FLASH_AUTOPROTECT_LIST

2022-08-24 Thread Sergei Antonov
Hello! Should CONFIG_SYS_FLASH_AUTOPROTECT_LIST be added to scripts/config_whitelist.txt ? I am trying to use it to auto-protect a critical area of flash and 'make' fails on config check: Error: You must add new CONFIG options using Kconfig The following new ad-hoc CONFIG options were detected: C

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

2022-08-24 Thread Ilias Apalodimas
Kojima-san, [...] > + > +/** > + * eficonfig_init() - do required initialization for eficonfig command > + * > + * Return: status code > + */ > +static efi_status_t eficonfig_init(void) > +{ > + efi_status_t ret; You need to initialize ret here to something. > + static bool init; > +

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-24 Thread Ilias Apalodimas
Hi Kojima-san, Apologies for doing the review ad-hoc, but the patchset is huge. I'll try to send a more complete email tomorrow [...] > #endif > > diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c > index 537f3f2bbc..92171c4894 100644 > --- a/cmd/eficonfig.c > +++ b/cmd/eficonfig.c > @@ -1786,6

Re: [PATCH] spi: stm32_spi: Fix GPIO chipselect polarity handling

2022-08-24 Thread Patrice CHOTARD
Hi Marek On 8/23/22 19:07, Marek Vasut wrote: > The GPIO chipselect signal polarity is handled by the GPIO core code, > the driver code is only responsible for asserting and deasserting the > GPIO. Do not invert the GPIO polarity in the driver code. > > For example, In case CS GPIO is active low,

[PATCH v3 19/19] imx: kontron-sl-mx8mm: Prepare for I2C display detection in environment script

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Enable the I2C bus and set a env variable for the reset GPIO of the touch controller. This allows us to probe the panel in a script. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * new patch --- arch/arm/dts/imx8mm-

[PATCH v3 18/19] imx: kontron-sl-mx8mm: Add support for Kontron Electronics SoM SL i.MX8MM OSM-S

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This adds support for the Kontron Electronics SoM SL i.MX8MM OSM-S and the matching baseboard BL i.MX8MM OSM-S. The SoM hardware complies to the Open Standard Module (OSM) 1.0 specification, size S (https://sget.org/standards/osm). The existing board configuration for the

[PATCH v3 17/19] imx: kontron-sl-mx8mm: Simplify code in spl.c

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Refactor the code a bit without any functional changes. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * fix printing of RAM size Changes in v2: * fix printf warning * remove unused pinmux definitions --- board/kontron/sl-mx8mm/spl.c | 31

[PATCH v3 16/19] imx: kontron-sl-mx8mm: Use voltage rail names from schematic for PMIC regulator-names

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Improve the naming of the regulators to contain the voltage rail names from the schematic. Suggested-by: Heiko Thiery Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- arch/arm/dts/imx8mm-kontron-sl.dtsi | 2

[PATCH v3 14/19] imx: kontron-sl-mx8mm: Adjust devicetree names, compatibles and model strings

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This adjusts the names of the boards and SoMs to the official naming used by Kontron marketing. These changes also affect devicetree names and compatibles. The same changes have been submitted to the Linux kernel. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam

[PATCH v3 15/19] imx: kontron-sl-mx8mm: Use the VSELECT signal to switch SD card IO voltage

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf It turns out that it is not necessary to declare the VSELECT signal as GPIO and let the PMIC driver set it to a fixed high level. This switches the voltage between 3.3V and 1.8V by setting the PMIC register for LDO5 accordingly. Instead we can do it like other boards alrea

[PATCH v3 13/19] imx: kontron-sl-mx8mm: Prepare for other i.MX8MM SoM types

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This sets an env variable 'som_type' from the board code. It can later be used by environment scripts, e. g. to select the proper devicetree for the board. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * use "sl" instead of deprected "n801

[PATCH v3 10/19] imx: kontron-sl-mx8mm: lpddr4_timing.c: Add spaces for proper alignment

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Fix the spaces and alignment for easier tracking of changes and comparing with configs generated by the tools. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- board/kontron/sl-mx8mm/lpddr4_timing.c | 2076 +

[PATCH v3 12/19] imx: kontron-sl-mx8mm: Use new LPDDR4 config parameters

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf These parameters are needed for stable performance on new hardware with Nanya LPDDR4 chips. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- board/kontron/sl-mx8mm/lpddr4_timing.c | 184 +++--

[PATCH v3 11/19] imx: kontron-sl-mx8mm: Remove 100mt DDR setpoint

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf The new stable configuration is missing the 100mt setpoint, remove it before updating the config to make sure the changes are separated cleanly. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- arch/arm/dts/

[PATCH v3 09/19] imx: kontron-sl-mx8mm: Enable bootaux command

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Enable the bootaux command in order to be able to load a binary into the M4 core when needed. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- configs/kontron-sl-mx8mm_defconfig | 1 + 1 file changed, 1 inse

[PATCH v3 08/19] imx: kontron-sl-mx8mm: Migrate to use CONFIG_EXTRA_ENV_TEXT

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Move the environment from the board header to a separate text file and also drop those variables that are already set in env_default.h from the Kconfig options. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --

[PATCH v3 07/19] imx: kontron-sl-mx8mm: Enable environment in MMC

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf In case we boot from SD card or eMMC, we also want to load the environment from the according boot device. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * none --- board/kontron/sl-mx8mm/sl-mx8mm.c | 31 +++

[PATCH v3 06/19] imx: kontron-sl-mx8mm: Add redundant environment and SPI NOR partitions

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Enable the redundant environment feature to allow falling back in case of storage corruption. The partition layout for the SPI NOR device is added to the devicetree. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * fix hex numbers and unit

[PATCH v3 05/19] imx: kontron-sl-mx8mm: Enable MTD command

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Enable the MTD command to be used for the SPI NOR on the SoM. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * new patch --- configs/kontron-sl-mx8mm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/conf

[PATCH v3 04/19] imx: kontron-sl-mx8mm: Increase CONFIG_SYS_CBSIZE to 2K

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This allows using the command line with longer lines like large scripts in env variables. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * new patch --- configs/kontron-sl-mx8mm_defconfig | 2 +- 1 file changed, 1 in

[PATCH v3 03/19] imx: kontron-sl-mx8mm: Remove custom board_boot_order() workaround

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf Nowadays detecting the SPI NOR as boot device from the ROMAPI is fixed and works even if the SPI NOR is used as fallback boot device. Therefore we don't need this workaround anymore. Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none C

[PATCH v3 02/19] imx: kontron-sl-mx8mm: Add support for loading from SPI NOR in SPL

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This was initially enabled, but got accidentally dropped while migrating Kconfig options and resyncing the defconfig in: commit 9802154a94d6 ("configs: Resync with savedefconfig") Let's enable this again to be able to boot from SPI NOR. Signed-off-by: Frieder Schrempf R

[PATCH v3 01/19] imx: kontron-sl-mx8mm: Remove LVDS board type and devicetrees

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf The display isn't and won't be used in U-Boot. Also the display setup is not yet supported in mainline Linux, so even for cases where the U-Boot devicetree is passed to the kernel there is currently no use for this configuration. Selecting the proper configuration in the k

[PATCH v3 00/19] imx: kontron-sl-mx8mm: Improvements and OSM board support

2022-08-24 Thread Frieder Schrempf
From: Frieder Schrempf This set contains several improvements for the kontron-sl-mx8mm board configuration (patches 1-17, 19) and support for a new SoM (patch 18, including baseboard) that complies to the Open Standard Module (OSM) 1.0 hardware specification, size S (https://sget.org/standards/os

Re: Please pull u-boot-marvell/master

2022-08-24 Thread Tom Rini
On Tue, Aug 23, 2022 at 05:09:56PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this next batch of mostly Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH] configs: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco

2022-08-24 Thread Patrice Chotard
Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR") backlight was broken with the following message at boot: stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply stm32_display display-controller@40016800: panel panel enable backlight error -38 DM_REGULATOR

[PATCH] ARM: dts: stm32: Fix display-timings settings for stm32f746-disco

2022-08-24 Thread Patrice Chotard
Since commit ef4ce6df3289 "video: stm32: stm32_ltdc: fix data enable polarity" The panel display output wasn't functional anymore. Device tree display-timings de-active property value must be updated to 1. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +- 1 fil

Re: [PATCH] vbe: Enable command only with BOOTSTD_FULL

2022-08-24 Thread Ilias Apalodimas
On Tue, 23 Aug 2022 at 20:14, Simon Glass wrote: > > Avoid enabling this command by default. This saves about 1KB of code > space. > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 211eb

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-24 Thread Ilias Apalodimas
Hi Kojima-san On Wed, Aug 24, 2022 at 03:37:36PM +0900, Masahisa Kojima wrote: > UEFI specification requires booting from removal media using > a architecture-specific default image name such as BOOTAA64.EFI. > This commit adds the removable media entries into bootmenu, > so that user can select t

RE: [RFC PATCH 1/1] net: xilinx: handle internal PHY/PCS

2022-08-24 Thread Katakam, Harini
Hi Nikita, > -Original Message- > From: Simek, Michal > Sent: Thursday, August 11, 2022 1:16 PM > To: Nikita Shubin ; Agarwal, Swati > ; Pandey, Radhey Shyam > > Cc: li...@yadro.com; Nikita Shubin ; Joe > Hershberger ; Ramon Fried > ; u-boot@lists.denx.de > Subject: Re: [RFC PATCH 1/1] n

Re: [PATCH v2] arm: bcmbca: add bcm63138 SoC support

2022-08-24 Thread Philippe REYNES
Hi William, Le 06/08/2022 à 03:25, William Zhang a écrit : BCM63138 is an ARM A9 based DSL Broadband SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family so it's added under ARCH_BCMBCA platform. This initial support includes a bare-bone implementation and dts with CPU su

Re: [PATCH v3 5/5] arm: bcmbca: make reset_cpu function weak

2022-08-24 Thread Philippe REYNES
Hi William Le 22/08/2022 à 20:19, William Zhang a écrit : BCM63158 carries the CONFIG_SYSRESET from the original configuration. It provide reset_cpu function already so need to define weak version of the dummy reset_cpu for other BCMBCA SoCs to avoid linking error. Signed-off-by: William Zhang

Re: [PATCH v3 4/5] MAINTAINERS: Add BCM63158 maintainer to BCMBCA entry

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:19, William Zhang a écrit : Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158 maintainer Philippe to bcmbca maintainer list. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- (no changes since v1) MAINTAINERS | 1 +

Re: [PATCH v3 3/5] arm: bcmbca: replace ARCH_BCM63158 symbols in Kconfig with BCM63158

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:19, William Zhang a écrit : As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the Kconfig to use the new config symbol. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- Changes in v3: -Update subject line to be more clear

Re: [PATCH v3 2/5] arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:19, William Zhang a écrit : Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate configuration settings. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- (no chan

Re: [PATCH v3 1/5] arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:19, William Zhang a écrit : BCM63158 is a Broadcom B53 based DSL Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other Broadband SoC, this patch adds it under CONFIG_BCM63158 chip config and CONFIG_ARCH_BCMBCA platform con

Re: [PATCH v2 3/3] arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:49, William Zhang a écrit : As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- Changes in v2: - Update subject line to be more cle

Re: [PATCH v2 2/3] arm: bcmbca: remove bcm6753 support under CONFIG_ARCH_BCM6753

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:49, William Zhang a écrit : BCM6753 is essentially same as the main chip BCM6855 but with different SKU number. Now that BCM6855 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6855, remove the original ARCH_BCM6753 support and migrate its configuration and dt

Re: [PATCH v2 1/3] arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:49, William Zhang a écrit : BCM6855 is a Broadcom ARM A7 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other broadband SoC, this patch adds it under CONFIG_BCM6855 chip config and CONFIG_ARCH_BCMBCA platform con

Re: [PATCH v2 3/3] arm: bcmbca: replace ARCH_BCM6858 symbols in Kconfig with BCM6858

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:39, William Zhang a écrit : As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- Changes in v2: -Update subject line to be more clea

Re: [PATCH v2 2/3] arm: bcmbca: remove bcm6858 support under CONFIG_ARCH_BCM6858

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:39, William Zhang a écrit : Now that BCM6858 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6858, remove the original ARCH_BCM6858 support and migrate its configuration and dts settings. This includes: - Remove the bcm968580xref board folder. It is replaced b

Re: [PATCH v2 1/3] arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:39, William Zhang a écrit : BCM6858 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other broadband SoC, this patch adds it under CONFIG_BCM6858 chip config and CONFIG_ARCH_BCMBCA platform confi

Re: [PATCH v4 3/3] arm: bcmbca: replace ARCH_BCM68360 symbols in Kconfig with BCM6856

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:31, William Zhang a écrit : As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- Changes in v4: -Update subject line to be more cle

Re: [PATCH v4 2/3] arm: bcmbca: remove bcm68360 support under CONFIG_ARCH_BCM68360

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:31, William Zhang a écrit : BCM68360 is a variant within the BCM6856 chip family. Now that BCM6856 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6856, remove the original ARCH_BCM68360 support and migrate its configuration and dts settings. This includes:

Re: [PATCH v4 1/3] arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA

2022-08-24 Thread Philippe REYNES
Hi William, Le 22/08/2022 à 20:31, William Zhang a écrit : BCM6856 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other Broadband SoC, this patch adds it under CONFIG_BCM6856 chip config and CONFIG_ARCH_BCMBCA platform confi

Re: [PATCH v2 3/3] arm: bcmbca: make bcm68360 driver depending on CONFIG_BCM6856

2022-08-24 Thread Philippe REYNES
Hi William, Le 15/08/2022 à 20:55, William Zhang a écrit : As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the driver Kconfig to use the new config symbol Signed-off-by: William Zhang Reviewed-by: Philippe Reynes --- (no changes since v1) drivers/gpio/Kconfig

Re: [PATCH v2 2/3] arm: bcmbca: remove bcm68360 support under CONFIG_ARCH_BCM68360

2022-08-24 Thread Philippe REYNES
Hi William, Le 15/08/2022 à 20:55, William Zhang a écrit : BCM68360 is a variant within the BCM6856 chip family. Now that BCM6856 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6856, remove the original ARCH_BCM68360 support and migrate its configuration and dts settings. This includes:

Re: [PATCH v2 1/3] arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA

2022-08-24 Thread Philippe REYNES
Hi William, Le 15/08/2022 à 20:55, William Zhang a écrit : BCM6856 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other Broadband SoC, this patch adds it under CONFIG_BCM6856 chip config and CONFIG_ARCH_BCMBCA platform confi

Re: [PATCH v2 00/19] imx: kontron-sl-mx8mm: Improvements and OSM board support

2022-08-24 Thread Fabio Estevam
Hi Frieder, On Mon, Aug 1, 2022 at 7:30 AM Frieder Schrempf wrote: > > From: Frieder Schrempf > > This set contains several improvements for the kontron-sl-mx8mm board > configuration (patches 1-17, 19) and support for a new SoM (patch 18, > including baseboard) that complies to the Open Standar

[PATCH] firmware: zynqmp: Skip loading config object for Versal

2022-08-24 Thread Ashok Reddy Soma
SET_CONFIGURATION is not yet implemented for Versal platforms. Skip loading config object for Versal until support is added and load it only for ZYNQMP platforms. Signed-off-by: Ashok Reddy Soma --- drivers/power/domain/zynqmp-power-domain.c | 5 - 1 file changed, 4 insertions(+), 1 deletio

Re: [RESEND PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-08-24 Thread Antoine Mazeas
Hi Simon, Le 23/08/2022 à 15:38, Simon Glass a écrit : Hi Antoine, On Mon, 22 Aug 2022 at 16:00, Antoine Mazeas wrote: Thanks Simon, Can I ask you to clarify what you meant by "drop the private firmware"? Replace the private binary with a full U-Boot implementation. I hope that the vendor

[tom.r...@gmail.com: Fwd: New Defects reported by Coverity Scan for Das U-Boot]

2022-08-24 Thread Tom Rini
And here's the most recent one. - Forwarded message from Tom Rini - Date: Wed, 24 Aug 2022 07:38:55 -0400 From: Tom Rini To: tr...@konsulko.com Subject: Fwd: New Defects reported by Coverity Scan for Das U-Boot -- Forwarded message - From: Date: Mon, Aug 22, 2022 at 7:

[tom.r...@gmail.com: Fwd: New Defects reported by Coverity Scan for Das U-Boot]

2022-08-24 Thread Tom Rini
A bit behind on forwarding these along. - Forwarded message from Tom Rini - Date: Wed, 24 Aug 2022 07:38:46 -0400 From: Tom Rini To: tr...@konsulko.com Subject: Fwd: New Defects reported by Coverity Scan for Das U-Boot -- Forwarded message - From: Date: Mon, Aug 8, 202

[PATCH 3/3] spi: cadence-qspi: Use priv instead of plat across the driver

2022-08-24 Thread Ashok Reddy Soma
As per driver model we should enumerate plat structure only in of_to_plat() and should be used only in probe(). Copy required plat structure info into priv structure in probe() and use priv structure across the driver. So replace plat with priv structure across the driver. Signed-off-by: Ashok Red

[PATCH 2/3] spi: cadence_qspi: Call read_setup for STIG_READ

2022-08-24 Thread Ashok Reddy Soma
In cadence_spi_read_id we are using STIG mode to read flash id's. Call cadence_qspi_apb_command_read_setup() to setup cmd, addr and data bus width properly before cadence_qspi_apb_command_read(). Signed-off-by: Ashok Reddy Soma --- drivers/spi/cadence_qspi.c | 7 ++- 1 file changed, 6 inser

[PATCH 1/3] spi: cadence-qspi: Correct flash reset function name

2022-08-24 Thread Ashok Reddy Soma
In cadence_spi_probe, cadence_qspi_versal_flash_reset() is called to reset the flash device. Looks like there is a mistake in previous series of patches where it is defined as cadence_spi_versal_flash_reset() but called as cadence_qspi_versal_flash_reset. Since there is a weak function defined with

[PATCH 0/3] cadence_qspi driver updates

2022-08-24 Thread Ashok Reddy Soma
In this patch series - Change driver to use plat data structure only in of_to_plat() and probe(). In probe, copy plat structure members to priv structure. Replace plat with priv across the driver. - Fix function name issue in flash reset - Add a call to read_setup in cadence_spi_read_id()

RE: [UBOOT PATCH v2] firmware: zynqmp: Skip loading config object for Versal

2022-08-24 Thread Soma, Ashok Reddy
Apologies, send this patch my mistake. Please ignore this patch. Thanks, Ashok -Original Message- From: Ashok Reddy Soma Sent: Wednesday, August 24, 2022 5:05 PM To: u-boot@lists.denx.de Cc: ja...@amarulasolutions.com; Simek, Michal ; g...@xilinx.com; Ashok Reddy Soma ; Soma, Ashok Re

[UBOOT PATCH v2] firmware: zynqmp: Skip loading config object for Versal

2022-08-24 Thread Ashok Reddy Soma
SET_CONFIGURATION is not yet implemented for Versal platforms. Skip loading config object for Versal until support is added. Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Call zynqmp_pmufw_node only for ZynqMP platform. CR-1136452 branch: master-next-test Signed-off-by: Ashok Reddy Soma

[PATCH] xilinx: Enable CMD_GREPENV/SETEXPR by default

2022-08-24 Thread Michal Simek
Enable both of these commands in Xilinx SoCs to be able to use them in boot scripts. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 2 +- configs/xilinx_versal_virt_defconfig | 1 + configs/xilinx_zynq_virt_defconfig | 2 +- configs/xilinx_zynqmp_virt_defconfig | 1 +

[PATCH] xilinx: Add env redund offset

2022-08-24 Thread Michal Simek
From: T Karthik Reddy ENV_OFFSET_REDUND config is by default set to 0 for flashes. Saving the env variables is overwriting data at 0 offset, which is wrong. So add default redund env offset for Zynq, ZynqMP, Versal and microblaze platforms. Configured ENV_OFFSET_REDUND offsets by ENV_OFFSET + (2

  1   2   >