[PATCH 21/22] disk: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI

2022-10-31 Thread Samuel Holland
This provides a unified configuration across all sunxi boards, regardless of CPU architecture. Signed-off-by: Samuel Holland --- disk/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disk/Kconfig b/disk/Kconfig index c9b9dbaf1a..b9d3625dc2 100644 --- a/disk/Kcon

[PATCH 22/22] spl: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI

2022-10-31 Thread Samuel Holland
This provides a unified configuration across all sunxi boards, regardless of CPU architecture. Signed-off-by: Samuel Holland --- common/spl/Kconfig | 12 ++-- scripts/Makefile.spl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/K

[PATCH 20/22] drivers: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI

2022-10-31 Thread Samuel Holland
This provides a unified configuration across all sunxi boards, regardless of CPU architecture. Signed-off-by: Samuel Holland --- drivers/clk/sunxi/Kconfig | 2 +- drivers/fastboot/Kconfig | 13 ++--- drivers/gpio/Kconfig | 2 +- drivers/mmc/Kconfig | 2 +-

[PATCH 19/22] env: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI

2022-10-31 Thread Samuel Holland
This ensures the same environment layout will be used across all sunxi boards, regardless of CPU architecture. Signed-off-by: Samuel Holland --- env/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/env/Kconfig b/env/Kconfig index 24111dfaf4..ae28e4e3e6 10

[PATCH 18/22] sunxi: Move most board options to the board Kconfig

2022-10-31 Thread Samuel Holland
This excludes options that are inherently ARM-specific or are specific to legacy non-DM drivers. Some help text is cleaned up along the way. Signed-off-by: Samuel Holland --- arch/arm/mach-sunxi/Kconfig | 71 board/sunxi/Kconfig | 72 +++

[PATCH 17/22] sunxi: Move TEXT_BASE to the board Kconfig

2022-10-31 Thread Samuel Holland
This is how the vast majority of platforms provided TEXT_BASE. sunxi was the exception here. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 6 ++ boot/Kconfig| 4 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig i

[PATCH 15/22] sunxi: Move SPL_TEXT_BASE to the board Kconfig

2022-10-31 Thread Samuel Holland
It makes sense to put this near the definition of SUNXI_SRAM_ADDRESS. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 5 + common/spl/Kconfig | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 1abb3e1816..b561dd46

[PATCH 16/22] sunxi: Move SYS_LOAD_ADDR to the board Kconfig

2022-10-31 Thread Samuel Holland
This will provide a default value for RISC-V when that is added, and it makes sense to put this option next to the other DRAM layout options. Signed-off-by: Samuel Holland --- Kconfig | 3 --- board/sunxi/Kconfig | 5 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --gi

[PATCH 14/22] sunxi: Move SPL_BSS_START_ADDR to the board Kconfig

2022-10-31 Thread Samuel Holland
This provides a default value for RISC-V when that is added, and it makes sense to put this option next to the other DRAM layout options. While at it, provide sensible values for platforms with less DRAM. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 6 ++ common/spl/Kconfig | 3

[PATCH 13/22] sunxi: Move PRE_CON_BUF_ADDR to the board Kconfig

2022-10-31 Thread Samuel Holland
This provides a default value for RISC-V when that is added, and it makes sense to put this option next to the other DRAM layout options. While at it, provide sensible values for platforms with less DRAM. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 6 ++ common/Kconfig | 2

[PATCH 12/22] sunxi: Clean up the SPL_STACK_R_ADDR defaults

2022-10-31 Thread Samuel Holland
Update this option to be based on SUNXI_MINIMUM_DRAM_MB. This corrects the value used on V3s, which previously was the MACH_SUN8I default, and so relied on addresses wrapping modulo the DRAM size. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 9 ++--- 1 file changed, 2 insertions(

[PATCH 11/22] sunxi: Hide the SUNXI_MINIMUM_DRAM_MB symbol

2022-10-31 Thread Samuel Holland
This option affects the ABI between SPL/U-Boot and U-Boot/scripts, so it should not normally be changed by the user. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 105c9020

[PATCH 10/22] sunxi: Move default values to the board Kconfig

2022-10-31 Thread Samuel Holland
This keeps all of the defaults for sunxi platforms in one place. Most of these only depend on architecture-independent features of the SoC (clock tree or SRAM layout) anyway. No functional change; just some minor help text cleanup. Signed-off-by: Samuel Holland --- arch/arm/mach-sunxi/Kconfig

[PATCH 09/22] sunxi: Enable the I2C driver by default

2022-10-31 Thread Samuel Holland
This is used by quite a large number of boards, for PMIC/regulator or LCD panel control. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index b301ba998e..809cd17f54 100644 --- a/board/sunxi/Kcon

[PATCH 08/22] sunxi: Downgrade driver selections to implications

2022-10-31 Thread Samuel Holland
While not especially likely, it is plausible that someone wants to build U-Boot without GPIO or UART support. Don't force building these drivers. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/sunxi/Kconfig b/b

[PATCH 07/22] sunxi: Globally enable SUPPORT_SPL

2022-10-31 Thread Samuel Holland
This was already supported by every machine type. It is unlikely that any new SoC support will be added without SPL support. Signed-off-by: Samuel Holland --- arch/arm/mach-sunxi/Kconfig | 14 -- board/sunxi/Kconfig | 2 ++ 2 files changed, 2 insertions(+), 14 deletions(-)

[PATCH 06/22] sunxi: Move most Kconfig selections to the board Kconfig

2022-10-31 Thread Samuel Holland
To maintain consistent behavior across architectures, most of the options selected by ARCH_SUNXI should be selected for the D1 SoC as well. To accomplish this, select them from BOARD_SUNXI instead. No functional change here. Lines are only moved and alphabetized. Signed-off-by: Samuel Holland --

[PATCH 05/22] sunxi: Share the board Kconfig across architectures

2022-10-31 Thread Samuel Holland
With the introduction of the Allwinner D1, the sunxi board family now spans multiple architectures (ARM and RISC-V). Since ARCH_SUNXI depends on ARM, it cannot be used to gate architecture-independent options. Specifically, this means the board Kconfig file cannot be sourced from inside the "if ARC

[PATCH 04/22] sunxi: Hide image type selection if SPL is disabled

2022-10-31 Thread Samuel Holland
This choice is meaningless when SPL is disabled. Hide it to avoid any possible confusion. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 084a8b0c6c..42f61df5c5 100644 --- a/board/sunxi/Kco

[PATCH 03/22] sunxi: Add missing dependencies to Kconfig selections

2022-10-31 Thread Samuel Holland
Some of the selected symbols have a user-visible dependency. Make the selections conditional on that dependency to avoid creating invalid configurations. Signed-off-by: Samuel Holland --- arch/arm/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/

[PATCH 02/22] sunxi: Remove unnecessary Kconfig selections

2022-10-31 Thread Samuel Holland
Two of these selections are redundant and have no effect: - DM_KEYBOARD is selected by USB_KEYBOARD - DM_MMC is selected by MMC This selection has no effect by default and is unnecessarily strong: - USB_STORAGE is implied by DISTRO_DEFAULTS Signed-off-by: Samuel Holland --- arch/arm/Kconfig

[PATCH 00/22] sunxi: Prepare platform Kconfig to support multiple architectures

2022-10-31 Thread Samuel Holland
sunxi is getting a new RISC-V platform, D1. We want to share as much of the existing configuration as possible, to provide a familiar environment, DRAM layout, partition layout, etc. Because U-Boot includes all architecture Kconfig files at once, we must use a symbol outside of both CONFIG_ARM and

[PATCH 01/22] sunxi: Fix default-enablement of USB host drivers

2022-10-31 Thread Samuel Holland
We tried to enable USB_EHCI_GENERIC and USB_OHCI_GENERIC by default. This did not work because those symbols depend on USB_EHCI_HCD and USB_OHCI_HCD, which were not enabled. Fix this by implying all four. Signed-off-by: Samuel Holland --- arch/arm/Kconfig | 4 drivers/usb/host/Kcon

[PATCH v1] power: regulator: Add support for NPCM845

2022-10-31 Thread Jim Liu
Add support for setting NPCM845 voltage supply regulator-force-microvolt is npcm proprietary property to set the voltage level. Signed-off-by: Jim Liu --- drivers/power/regulator/Kconfig | 8 ++ drivers/power/regulator/Makefile| 1 + drivers/power/regulator/npcm8xx_r

Re: [PATCH 3/3] tools: mkimage: add cmd-line option '-L' to force legacy images

2022-10-31 Thread Sean Anderson
On 10/31/22 15:27, Simon Glass wrote: Hi, On Mon, 31 Oct 2022 at 08:21, Sean Anderson wrote: On 10/31/22 10:13, Marc Kleine-Budde wrote: If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of putting a Flat Device Tree into a legacy u-boot i

Re: [PATCH 1/1] cli: always show cursor

2022-10-31 Thread Simon Glass
Hi Heinrich, On Mon, 31 Oct 2022 at 15:58, Heinrich Schuchardt wrote: > > > > On 10/31/22 20:27, Simon Glass wrote: > > Hi Heinrich, > > > > On Sat, 29 Oct 2022 at 20:56, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 10/30/22 02:43, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Th

Re: [PATCHv2 1/5] FWU: Add FWU metadata access driver for MTD storage regions

2022-10-31 Thread Jassi Brar
On Fri, Oct 14, 2022 at 2:07 AM Ilias Apalodimas wrote: > > On Sun, Oct 02, 2022 at 06:51:32PM -0500, jassisinghb...@gmail.com wrote: > > + > > +static bool mtd_is_aligned_with_block_size(struct mtd_info *mtd, u64 size) > > +{ > > + return !do_div(size, mtd->erasesize); > > +} > > + > > Can we

Re: [PATCH 1/1] cli: always show cursor

2022-10-31 Thread Heinrich Schuchardt
On 10/31/22 20:27, Simon Glass wrote: Hi Heinrich, On Sat, 29 Oct 2022 at 20:56, Heinrich Schuchardt wrote: On 10/30/22 02:43, Simon Glass wrote: Hi Heinrich, On Thu, 27 Oct 2022 at 10:41, Heinrich Schuchardt wrote: On 10/27/22 17:22, Simon Glass wrote: Hi Heinrich, On Wed, 26 O

Re: [PATCH] usb: Add 1ms delay after first Get Descriptor request

2022-10-31 Thread Marek Vasut
On 10/31/22 20:27, Simon Glass wrote: Hi Marek, Hi, On Sun, 30 Oct 2022 at 16:38, Marek Vasut wrote: Logitech Unifying Receiver 046d:c52b bcdDevice 12.10 seems sensitive about the first Get Descriptor request. If there are any other requests in the same microframe, the device reports bogus

[PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-10-31 Thread Patrick Zacharias
Prior to this commit, the relocations would not get loaded by the efi loader. This lead to none of the relocations being applied. Signed-off-by: Fighter19 <1475802+fighte...@users.noreply.github.com> ---  arch/arm/lib/elf_aarch64_efi.lds | 2 +-  arch/arm/lib/elf_arm_efi.lds | 2 +-  2 files

Re: Requiring SPL_DM for new boards?

2022-10-31 Thread Tom Rini
On Mon, Oct 31, 2022 at 01:27:06PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 30 Oct 2022 at 11:53, Tom Rini wrote: > > > > On Sat, Oct 29, 2022 at 07:44:01PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 21 Oct 2022 at 10:26, Tom Rini wrote: > > > > > > > > On Fri, Oct 14, 20

Re: [PATCH v2 4/4] cmd: source: Support specifying config name

2022-10-31 Thread Tom Rini
On Mon, Oct 31, 2022 at 01:27:08PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 30 Oct 2022 at 08:40, Tom Rini wrote: > > > > On Sat, Oct 29, 2022 at 07:44:00PM -0600, Simon Glass wrote: > > > Hi Sean, > > > > > > On Fri, 21 Oct 2022 at 15:04, Sean Anderson > > > wrote: > > > > > > > > On 10

Re: [PATCH 1/1] cli: always show cursor

2022-10-31 Thread Simon Glass
Hi Heinrich, On Sat, 29 Oct 2022 at 20:56, Heinrich Schuchardt wrote: > > > > On 10/30/22 02:43, Simon Glass wrote: > > Hi Heinrich, > > > > On Thu, 27 Oct 2022 at 10:41, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 10/27/22 17:22, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On We

Re: [PATCH 00/16] video: Enhancements to Truetype console

2022-10-31 Thread Simon Glass
Hi Anatolij, On Mon, 31 Oct 2022 at 07:56, Anatolij Gustschin wrote: > > Hi Simon, > > On Mon, 24 Oct 2022 05:45:34 -0600 > Simon Glass s...@chromium.org wrote: > > > Hi Anatolij, > > > > On Thu, 6 Oct 2022 at 08:36, Simon Glass wrote: > > > > > > This series includes some minor enhancements to

Re: [PATCH 3/3] tools: mkimage: add cmd-line option '-L' to force legacy images

2022-10-31 Thread Simon Glass
Hi, On Mon, 31 Oct 2022 at 08:21, Sean Anderson wrote: > > On 10/31/22 10:13, Marc Kleine-Budde wrote: > > If the user select the image type "flat_dt" a FIT image will be build. > > This breaks the legacy use case of putting a Flat Device Tree into a > > legacy u-boot image. > > > > Add command l

Re: [PATCH] fdt: Fix bounds check in devfdt_get_addr_index

2022-10-31 Thread Simon Glass
On Sun, 30 Oct 2022 at 21:41, Samuel Holland wrote: > > reg must contain enough cells for the entire next address/size pair > after skipping `index` pairs. The previous code allows an out-of-bounds > read when na + ns > 1. > > Fixes: 69b41388ba45 ("dm: core: Add a new api to get indexed device add

Re: [PATCH v2 1/2] tools: mkimage: don't print error message "Success" in case of failure

2022-10-31 Thread Simon Glass
On Mon, 31 Oct 2022 at 08:51, Marc Kleine-Budde wrote: > > In case there's no struct image_type_params::set_header callback, no > "errno" will be set. Don't fail with an error message, followed by > "Success". Remove the printing of the human readable "errno" value. > > Signed-off-by: Marc Kleine-

Re: [PATCH 1/1] console: file should always be non-negative

2022-10-31 Thread Simon Glass
Hi Heinrich, On Sat, 29 Oct 2022 at 20:47, Heinrich Schuchardt wrote: > > > > On 10/30/22 02:43, Simon Glass wrote: > > Hi Heinrich, > > > > On Sat, 22 Oct 2022 at 03:49, Heinrich Schuchardt > > wrote: > >> > >> We use the parameter file in console function to choose from an array after > >> che

Re: [PATCH 13/21] Convert CONFIG_SYS_MMC_MAX_DEVICE to Kconfig

2022-10-31 Thread Simon Glass
On Sun, 30 Oct 2022 at 10:37, Tom Rini wrote: > > On Sat, Oct 29, 2022 at 07:43:36PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 28 Oct 2022 at 18:29, Tom Rini wrote: > > > > > > This converts the following to Kconfig: > > >CONFIG_SYS_MMC_MAX_DEVICE > > > > > > Signed-off-by: Tom Ri

Re: [PATCH v2 4/4] cmd: source: Support specifying config name

2022-10-31 Thread Simon Glass
Hi Tom, On Sun, 30 Oct 2022 at 08:40, Tom Rini wrote: > > On Sat, Oct 29, 2022 at 07:44:00PM -0600, Simon Glass wrote: > > Hi Sean, > > > > On Fri, 21 Oct 2022 at 15:04, Sean Anderson wrote: > > > > > > On 10/21/22 4:17 PM, Simon Glass wrote: > > > > On Thu, 20 Oct 2022 at 13:24, Sean Anderson

Re: Requiring SPL_DM for new boards?

2022-10-31 Thread Simon Glass
Hi Tom, On Sun, 30 Oct 2022 at 11:53, Tom Rini wrote: > > On Sat, Oct 29, 2022 at 07:44:01PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 21 Oct 2022 at 10:26, Tom Rini wrote: > > > > > > On Fri, Oct 14, 2022 at 09:56:44AM -0600, Simon Glass wrote: > > > > > > > Hi, > > > > > > > > What

Re: [PATCH] usb: Add 1ms delay after first Get Descriptor request

2022-10-31 Thread Simon Glass
Hi Marek, On Sun, 30 Oct 2022 at 16:38, Marek Vasut wrote: > > Logitech Unifying Receiver 046d:c52b bcdDevice 12.10 seems > sensitive about the first Get Descriptor request. If there > are any other requests in the same microframe, the device > reports bogus data, first of the descriptor parts is

Re: [PATCH v3 02/43] Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE

2022-10-31 Thread Tom Rini
On Thu, Oct 20, 2022 at 06:22:39PM -0600, Simon Glass wrote: > The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE > and this makes it imposible to use CONFIG_VAL(). > > Rename it to resolve this problem. > > Signed-off-by: Simon Glass For the series, and with a few small

Re: [PATCH v15 10/15] FWU: Add support for the FWU Multi Bank Update feature

2022-10-31 Thread Ilias Apalodimas
Hi Sughosh, Ideally this would be better of as a different FMP, but I understand we are missing some information (the capsule header) on the FMP level. I think we can include it as is for now and have another look when we add support for more boards On Fri, Oct 21, 2022 at 06:16:03PM +0530, Sug

Re: Binman entry 'u-boot-any' not found in list

2022-10-31 Thread Neha Malcom Francis
Hi Roger, Alper, Thank you for the help! On 31/10/22 21:16, Alper Nebi Yasak wrote: On 31/10/2022 15:56, Roger Quadros wrote:> On 31/10/2022 05:40, Neha Malcom Francis wrote: On 30/10/22 07:13, Simon Glass wrote: On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: [Adding Alper - binmam main

Re: Binman entry 'u-boot-any' not found in list

2022-10-31 Thread Alper Nebi Yasak
On 31/10/2022 15:56, Roger Quadros wrote:> On 31/10/2022 05:40, Neha Malcom Francis wrote: >> On 30/10/22 07:13, Simon Glass wrote: >>> On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: [Adding Alper - binmam maintainer and Oliver, who faced the same issue on imx8] (Sorry I've been un

[PATCH v2 2/2] tools: mkimage: add new image type "flat_dt_legacy"

2022-10-31 Thread Marc Kleine-Budde
If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of putting a Flat Device Tree into a legacy u-boot image. Add a new image type "flat_dt_legacy" to build a legacy u-boot image with a "flat_dt" type. Link: https://lore.kernel.org/all/2022102815

[PATCH v2 1/2] tools: mkimage: don't print error message "Success" in case of failure

2022-10-31 Thread Marc Kleine-Budde
In case there's no struct image_type_params::set_header callback, no "errno" will be set. Don't fail with an error message, followed by "Success". Remove the printing of the human readable "errno" value. Signed-off-by: Marc Kleine-Budde --- tools/mkimage.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH v2 0/2] tools: mkimage: cleanups + allow to create legacy image with type flat_dt

2022-10-31 Thread Marc Kleine-Budde
Hello, the first patch cleans up the error message output if struct image_type_params::set_header is set, the other adds support for creating legacy images with type flat_dt. regards, Marc Changes since v1: - introduce new image type (suggested by Sean Anderson) instead of adding new cmd line

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

2022-10-31 Thread Tom Rini
On Tue, Aug 23, 2022 at 09:44:32PM -0700, 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. > > S

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

2022-10-31 Thread Tom Rini
On Mon, Aug 22, 2022 at 11:49:06AM -0700, William Zhang wrote: > 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 pl

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

2022-10-31 Thread Tom Rini
On Mon, Aug 22, 2022 at 11:39:43AM -0700, William Zhang wrote: > 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 platf

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

2022-10-31 Thread Tom Rini
On Mon, Aug 22, 2022 at 11:31:41AM -0700, William Zhang wrote: > 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 platf

Re: [PATCH V3 2/2] dt-bindings: nvmem: u-boot,env: add Broadcom's variant binding

2022-10-31 Thread Rob Herring
On Tue, 18 Oct 2022 17:42:02 +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > Broadcom uses U-Boot for a lot of their bcmbca familiy chipsets. U-Boot > stores its configuration in an environment data block. > > Such blocks are usually stored on flash as a separated partition at > hardcode

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

2022-10-31 Thread Tom Rini
On Mon, Aug 22, 2022 at 11:19:44AM -0700, William Zhang wrote: > 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 pla

Re: [PATCH 1/4] arm: bcmbca: add bcm63146 SoC support

2022-10-31 Thread Tom Rini
On Fri, Aug 05, 2022 at 06:34:00PM -0700, William Zhang wrote: > BCM63146 is a Broadcom B53 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 d

Re: [PATCH V3 1/2] dt-bindings: mtd: partitions: u-boot: allow dynamic subpartitions

2022-10-31 Thread Rob Herring
On Tue, 18 Oct 2022 17:42:01 +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot partition may contain subpartitions. For example Broadcom > includes environment data block in the middle of its U-Boot partition. > > This allows describing Broadcom's U-Boot env data and will allow > re

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

2022-10-31 Thread Tom Rini
On Fri, Aug 05, 2022 at 06:25:13PM -0700, William Zhang wrote: > 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 wi

Re: [PATCH v2 1/5] arm: bcmbca: add bcm63178 SoC support

2022-10-31 Thread Tom Rini
On Mon, Aug 01, 2022 at 11:39:21AM -0700, William Zhang wrote: > BCM63178 is an ARM A7 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 wi

Re: [PATCH v2 1/5] buildman: Handle the MAINTAINERS 'N' tag

2022-10-31 Thread Tom Rini
On Tue, Oct 11, 2022 at 08:15:37AM -0600, Simon Glass wrote: > This is needed for some soon-to-be-applied patches. Scan the configs/ > directory to see if any of the files match. > > Signed-off-by: Simon Glass > Tested-by: Tom Rini > Suggested-by: Tom Rini Applied to u-boot/master, thanks! -

Re: [PATCH 3/3] tools: mkimage: add cmd-line option '-L' to force legacy images

2022-10-31 Thread Sean Anderson
On 10/31/22 10:13, Marc Kleine-Budde wrote: If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of putting a Flat Device Tree into a legacy u-boot image. Add command line options "-L" and "--legacy" to let the user force the creation of a legacy

Re: [PATCH 2/3] tools: mkimage: pass legacy image option to struct image_type_params::check_image_type handlers

2022-10-31 Thread Sean Anderson
On 10/31/22 10:13, Marc Kleine-Budde wrote: This is a preparation patch to allow legacy images with the IH_TYPE_FLATDT ("flat_dt") image type. Signed-off-by: Marc Kleine-Budde --- tools/aisimage.c | 2 +- tools/atmelimage.c| 2 +- tools/default_image.c | 2 +- tools/dumpimage.c

[PATCH 3/3] tools: mkimage: add cmd-line option '-L' to force legacy images

2022-10-31 Thread Marc Kleine-Budde
If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of putting a Flat Device Tree into a legacy u-boot image. Add command line options "-L" and "--legacy" to let the user force the creation of a legacy u-boot image, even if "flat_dt" is selected.

[PATCH 2/3] tools: mkimage: pass legacy image option to struct image_type_params::check_image_type handlers

2022-10-31 Thread Marc Kleine-Budde
This is a preparation patch to allow legacy images with the IH_TYPE_FLATDT ("flat_dt") image type. Signed-off-by: Marc Kleine-Budde --- tools/aisimage.c | 2 +- tools/atmelimage.c| 2 +- tools/default_image.c | 2 +- tools/dumpimage.c | 2 +- tools/fit_common.c| 2 +- tools/fit_

[PATCH 1/3] tools: mkimage: don't print error message "Success" in case of failure

2022-10-31 Thread Marc Kleine-Budde
In case there's no struct image_type_params::set_header callback, no "errno" will be set. Don't fail with an error message, followed by "Success". Remove the printing of the human readable "errno" value. Signed-off-by: Marc Kleine-Budde --- tools/mkimage.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH 0/3] tools: mkimage: cleanups + allow to create legacy image with type flat_dt

2022-10-31 Thread Marc Kleine-Budde
Hello, the first patch cleans up the error message output if struct image_type_params::set_header is set, the remaining 2 add support for creating legacy images with type flat_dt. regards, Marc

Re: [PATCH 00/16] video: Enhancements to Truetype console

2022-10-31 Thread Anatolij Gustschin
Hi Simon, On Mon, 24 Oct 2022 05:45:34 -0600 Simon Glass s...@chromium.org wrote: > Hi Anatolij, > > On Thu, 6 Oct 2022 at 08:36, Simon Glass wrote: > > > > This series includes some minor enhancements to the Truetype console to > > allow it to support multiple fonts and sizes at the same time.

Re: [PATCH 00/16] video: Enhancements to Truetype console

2022-10-31 Thread Anatolij Gustschin
On Thu, 6 Oct 2022 08:36:02 -0600 Simon Glass s...@chromium.org wrote: > This series includes some minor enhancements to the Truetype console to > allow it to support multiple fonts and sizes at the same time. This is > useful for displays where the title needs to be in a larger font than the > r

Re: [PATCH v2] video: dw_mipi_dsi: fix [hv]sync active vs back porch

2022-10-31 Thread Anatolij Gustschin
On Wed, 7 Sep 2022 12:06:32 +0100 John Keeping j...@metanate.com wrote: > The wrong fields are pulled out of the timings here so the values > programmed into the DSI_VID_HSA_LINES/DSI_VID_HBP_LINES and > DSI_VID_VSA_LINES/DSI_VID_VBP_LINES registers are swapped. > > Use the right fields so that

Re: [PATCH v3] video: simplefb: add rotation support

2022-10-31 Thread Anatolij Gustschin
On Tue, 13 Sep 2022 18:32:42 +0900 Takumi Sueda puhit...@gmail.com wrote: > It introduces the way to rotate the screen for boards with rotated screen. > > Signed-off-by: Takumi Sueda > --- > drivers/video/simplefb.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Applied to u-boot

Re: [PATCH v2 0/2] splash: add more options/support

2022-10-31 Thread Anatolij Gustschin
On Mon, 17 Oct 2022 10:33:18 +0200 Julien Masson jmas...@baylibre.com wrote: ... > Changes in v2: > - splash_mmc_read_raw: return -EIO in case of errors > - splash_mmc_read_raw: use IS_ENABLED(CONFIG_CMD_MMC) instead of #ifdef > - rename local var env_splashdevpart_value to devpart > > Julien Mass

Re: Binman entry 'u-boot-any' not found in list

2022-10-31 Thread Roger Quadros
Hi Neha, On 31/10/2022 05:40, Neha Malcom Francis wrote: > Hi Simon, > > On 30/10/22 07:13, Simon Glass wrote: >> Hi Neha, >> >> On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: >>> >>> [Adding Alper - binmam maintainer and Oliver, who faced the same issue on >>> imx8] >>> >>> On Fri, Oct 28,

Re: Please pull u-boot-video

2022-10-31 Thread Tom Rini
On Sun, Oct 30, 2022 at 10:16:06PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull video changes for v2023.01. > > CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/13972 > > Thanks, > Anatolij > > The following changes since commit fb63362c63c7aeacb1dfde330ee8f6

Re: [PATCH] usb: ohci: Use a flexible array member for portstatus

2022-10-31 Thread Marek Vasut
On 10/31/22 05:15, Samuel Holland wrote: The struct is only used to overlay the MMIO region, so the behavior is the same. This obsoletes the Kconfig option for the number of ports. Signed-off-by: Samuel Holland --- configs/arbel_evb_defconfig| 1 - configs/at91sam9260ek

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-10-31 Thread Max Krummenacher
Hi On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár wrote: > > Hello! This is really much better solution! Few comments are below. > > On Friday 28 October 2022 18:18:49 Max Krummenacher wrote: > > From: Max Krummenacher > > > > With LTO enabled the U-Boot initial environment is no longer stored > > i