Understanding how .config for uboot is generated in buildroot

2023-10-16 Thread Ignatius Rivaldi
Hi all, When I edit the config file in BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE in a buildroot recipe, how does the config statements from that file got converted into .config file in u-boot? The background is that we're using a custom buildroot config file at here:

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Masahisa Kojima
Hi Heinrich, On Mon, 16 Oct 2023 at 23:52, Heinrich Schuchardt wrote: > > On 16.10.23 15:00, Masahisa Kojima wrote: > > On Mon, 16 Oct 2023 at 21:46, Heinrich Schuchardt > > wrote: > >> > >> On 16.10.23 14:31, Ilias Apalodimas wrote: > >>> Hi Heinrich, > >>> > >>> On Mon, 16 Oct 2023 at 10:06,

[PATCH] board: siemens: iot2050: Fix M.2 detection

2023-10-16 Thread Jan Kiszka
From: Jan Kiszka The "simpler" the logic, the higher the probability to not test and get things wrong, again: The absence of a "-PG2" suffix is not sufficient to derive that we are on PG1. There is also "IOT2050-ADVANCED-M2". Finally fix that by exactly matching against the two PG1 device

RE: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-10-16 Thread KuanLim . Lee
Hi maintainers, Could anyone of you help to review the patch? > -Original Message- > From: KuanLim.Lee > Sent: Tuesday, October 3, 2023 3:23 PM > To: u-boot@lists.denx.de > Cc: Yuklin Soo ; WeiLiang Lim > ; Kuan Lim Lee > ; KuanLim.Lee > > Subject: [PATCH] mmc: sdhci-cadence: Add

RE: [PATCH] timer: starfive: Add Starfive timer support

2023-10-16 Thread KuanLim . Lee
Hi Simon, Please be reminded that to give some review if it still has some issues. > -Original Message- > From: KuanLim.Lee > Sent: Wednesday, October 4, 2023 5:49 PM > To: 'Simon Glass' > Cc: u-boot@lists.denx.de; WeiLiang Lim > Subject: RE: [PATCH] timer: starfive: Add Starfive timer

RE: [PATCH] spl: mmc: Resolve emmc not load image after switched hw partition

2023-10-16 Thread KuanLim . Lee
Hi maintainers, Could anyone of you help to review the patch? > -Original Message- > From: KuanLim.Lee > Sent: Tuesday, October 3, 2023 12:17 PM > To: u-boot@lists.denx.de > Cc: Cheehong Ang ; WeiLiang Lim > ; KuanLim.Lee > > Subject: [PATCH] spl: mmc: Resolve emmc not load image after

Re: [PATCH 1/3] arm64: Use FEAT_HAFDBS to track dirty pages when available

2023-10-16 Thread Chris Packham
On Tue, Oct 17, 2023 at 12:21 AM Marc Zyngier wrote: > > On Mon, 16 Oct 2023 02:42:08 +0100, > Chris Packham wrote: > > > > On Sun, Oct 15, 2023 at 10:29 AM Chris Packham > > wrote: > > > > > > > > > > > > On Sat, 14 Oct 2023, 11:04 am Marc Zyngier, wrote: > > >> > > >> On 2023-10-13 03:40,

[PATCH v2 6/6] spi: zynq_qspi: Add parallel memories support in QSPI driver

2023-10-16 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynq_qspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those commands

[PATCH v2 4/6] spi: spi-uclass: Read chipselect and restrict capabilities

2023-10-16 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Read chipselect properties from DT which are populated using 'reg' property and save it in plat->cs[] array for later use. Also read multi chipselect capability which is used for parallel-memories and return errors if they are passed on using DT but driver is not capable

[PATCH v2 5/6] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2023-10-16 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynqmp_gqspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those

[PATCH v2 3/6] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2023-10-16 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed,

[PATCH v2 2/6] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2023-10-16 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1

[PATCH v2 1/6] mtd: spi-nor: Add parallel and stacked memories support

2023-10-16 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode should be identical. During each operation SPI-NOR

[PATCH v2 0/6] spi-nor: Add parallel and stacked memories support

2023-10-16 Thread Venkatesh Yadav Abbarapu
This series adds support for Xilinx qspi parallel and stacked memeories. In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode

[PATCH] arm64: zynqmp: Introduce kria SOM defconfig

2023-10-16 Thread Venkatesh Yadav Abbarapu
Enable the initial kria SOM specific configurations like pinctrl, pinconf etc. Also add the environment file. Signed-off-by: Venkatesh Yadav Abbarapu --- board/xilinx/zynqmp/zynqmp_kria.env | 71 + configs/xilinx_zynqmp_kria_defconfig | 230 +++ 2 files

[PULL] u-boot-sh/master

2023-10-16 Thread Marek Vasut
RZ/G2L part 1, except for two serial port patches which I had to drop as they broke R2Dplus, they will come later via subsequent PR. The following changes since commit 3c3f1626919cd93cbe6c56e3849937de5be18dbb: Merge tag 'dm-pull-13oct23' of https://source.denx.de/u-boot/custodians/u-boot-dm

Re: [PATCH 3/3] ARM: imx: Add support for detecting primary/secondary bmode on MX8M

2023-10-16 Thread Marek Vasut
On 10/16/23 08:44, Stefano Babic wrote: Hi Fedor, Marek, On 29.07.23 17:09, Marek Vasut wrote: From: Fedor Ross Implement the 'getprisec' subcommand of 'bmode' command for i.MX8M by reading out the ROM log events. This event is set by the BootROM if it switched to the secondary copy due to

Re: [PATCH v3 21/32] efi: Rearrange the Kconfig for CMD_BOOTEFI_BOOTMGR

2023-10-16 Thread AKASHI Takahiro
Hi Simon, Thank you for taking my idea here. On Mon, Oct 16, 2023 at 04:28:12PM -0600, Simon Glass wrote: > The command should not be used to enable library functionality. Add a > new BOOTEFI_BOOTMGR Kconfig for that. Adjust the conditions so that the > same code is built. > > Signed-off-by:

Re: Pull request: please pull u-boot-imx-20231016

2023-10-16 Thread Tom Rini
dians/u-boot-dm (2023-10-14 10:50:20 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20231016 > > for you to fetch changes up to b0eef7326920ff55ec22dfb86812033d84737839: > >

[PATCH] mbr: Test tweaks

2023-10-16 Thread Simon Glass
Rather than do another review on [1] I thought it better to add a patch showing changes. This is intended to be squashed in, if acceptable. With the patch as is, various bootstd tests fail. This is because the test adds a new mmc6 device. There is nothing really wrong with adding new devices, but

[PATCH v3 32/32] sandbox: Add a test for disabling CONFIG_CMDLINE

2023-10-16 Thread Simon Glass
Now that everything is working, add a test to make sure that this builds correctly. Signed-off-by: Simon Glass --- Changes in v3: - Rebase on Tom's LONGHELP series - Correct 'of' typo test/py/tests/test_sandbox_opts.py | 20 1 file changed, 20 insertions(+) create mode

[PATCH v3 29/32] arm: x86: Drop discarding of command linker-lists

2023-10-16 Thread Simon Glass
Since we can now cleanly disable CMDLINE when needed, drop the rules which discard the command code. It will not be built in the first place. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add new patch to drop discarding of command linker-lists

[PATCH v3 31/32] treewide: Tidy up semicolon after command macros

2023-10-16 Thread Simon Glass
The U_BOOT_CMD_COMPLETE() macro has a semicolon at the end, perhaps inadvertently. Some code has taken advantage of this. Tidy this up by dropping the semicolon from the macro and adding it to macro invocations as required. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to tidy

[PATCH v3 30/32] mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

2023-10-16 Thread Simon Glass
The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef condition from the code it calls. Use the same condition to avoid a build warning if CONFIG_CMD_SAVEENV is disabled. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add new patch to unify the

[PATCH v3 28/32] sandbox: Avoid requiring cmdline

2023-10-16 Thread Simon Glass
Use 'imply' rather than 'select' for command-related options, so that it is possible to build sandbox without CONFIG_CMDLINE enabled. Signed-off-by: Simon Glass --- Changes in v3: - Reorder the Kconfig options a little arch/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v3 24/32] Add a new Kconfig for command-line entry

2023-10-16 Thread Simon Glass
At present EXPO requires CMDLINE since it uses cli_readline, which is enabled by CMDLINE. It should be possible to enter lines of text to an expo without having CMDLINE available. Fix this dependency by creating a new Kconfig for cli_readline Signed-off-by: Simon Glass --- Changes in v3: - Add

[PATCH v3 23/32] cli: Split command-line-editing into its own file

2023-10-16 Thread Simon Glass
This features has buffers and code which is behind an #ifdef at present. Move it into its own file, exporting functions as needed. Drop add_idx_minus_one() since it is not used. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 3 +- common/Makefile | 7

[PATCH v3 25/32] Add a new Kconfig for command-line history

2023-10-16 Thread Simon Glass
At present EXPO requires CMDLINE since it uses cli_readline, which needs history enabled. It should be possible to enter lines of text into an expo without having history available. Fix this dependency by creating a new Kconfig for cmdline history. Adjust the code to use the correct condiition.

[PATCH v3 26/32] sandbox: Disable CONFIG_DISTRO_DEFAULTS

2023-10-16 Thread Simon Glass
This is not used for sandbox, so drop it. Enable the things that it controls to avoid dstrastic changes in the config settings for sandbox builds. The end result is that these are enabled: BOOTMETH_DISTRO BOOTSTD_DEFAULTS and these are disabled: USE_BOOTCOMMAND BOOTCOMMAND (was

[PATCH v3 27/32] cmd: Make all commands depend on CMDLINE

2023-10-16 Thread Simon Glass
If this option is disabled, commands should not be available. Convert the CMDLINE option into a menuconfig and make every command in cmd/Kconfig depend on it. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Kconfig | 31 +-- 1 file changed, 9

[PATCH v3 16/32] net: Depend on CONFIG_CMDLINE

2023-10-16 Thread Simon Glass
At present it isn't possible to use networking without the command line enabled. Add this as a condition. Signed-off-by: Simon Glass Reviewed-by: Ramon Fried --- (no changes since v1) cmd/Kconfig | 1 + net/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/Kconfig

[PATCH v3 18/32] video: Allow use without CONFIG_CMDLINE

2023-10-16 Thread Simon Glass
Provide a fallback for when CONFIG_SYS_CBSIZE is not provided, so that the console can still be used. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/console_truetype.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/console_truetype.c

[PATCH v3 10/32] Move bootmenu_conv_key() into its own file

2023-10-16 Thread Simon Glass
This conversion function is used by expo which does not require CMDLINE. The menu feature does require CMDLINE. Move the function into a separate file so that it can be used even when CMDLINE is not enabled. Signed-off-by: Simon Glass --- (no changes since v1) common/Makefile| 2 +-

[PATCH v3 17/32] log: Allow use without CONFIG_CMDLINE

2023-10-16 Thread Simon Glass
When CONFIG_SYS_CBSIZE is not used we need an alternative. For logging it seems that CONFIG_SYS_PBSIZE is a better choice anyway, so update this. Signed-off-by: Simon Glass --- (no changes since v1) common/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 21/32] efi: Rearrange the Kconfig for CMD_BOOTEFI_BOOTMGR

2023-10-16 Thread Simon Glass
The command should not be used to enable library functionality. Add a new BOOTEFI_BOOTMGR Kconfig for that. Adjust the conditions so that the same code is built. Signed-off-by: Simon Glass Suggested-by: AKASHI Takahiro --- Changes in v3: - Add new patch to rearrange the Kconfig for

[PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-16 Thread Simon Glass
Since efi_device_path.c calls eth_get_dev() and assumes that Ethernet is available, add it as an explicit dependency. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add new patch to update EFI_LOADER to depend on DM_ETH lib/efi_loader/Kconfig | 1 + 1 file changed, 1

[PATCH v3 20/32] efi: Make commands depend on CMDLINE

2023-10-16 Thread Simon Glass
Most of the EFI functionality requires the command line, so make this explicit. Future work could adjust this, but it needs effort within the booting support first, like the bootm command. Signed-off-by: Simon Glass Suggested-by: AKASHI Takahiro --- (no changes since v2) Changes in v2: -

[PATCH v3 19/32] video: Dont require the font command

2023-10-16 Thread Simon Glass
While it is nice to have the font command, using 'select' makes it impossible to build the console code without it. Change this to use 'imply' instead. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 15/32] fdt: Move working_fdt into fdt_support

2023-10-16 Thread Simon Glass
This can be accessed even when commands are not enabled. Move it into the fdt_support.c file, which is where most of the FDT helpers are. Signed-off-by: Simon Glass --- (no changes since v1) boot/fdt_support.c | 5 + cmd/fdt.c | 5 - 2 files changed, 5 insertions(+), 5

[PATCH v3 11/32] pxe: Depend on CMDLINE

2023-10-16 Thread Simon Glass
We cannot use PXE or sysboot commands without CONFIG_CMDLINE so add the required condition. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 00a7f84bce99..18be3da972d2 100644 ---

[PATCH v3 14/32] bootm: Allow building when cleanup functions are missing

2023-10-16 Thread Simon Glass
There are two cleanup functions needed during boot which depend on CMD_BOOTM: bootm_disable_interrupts() and board_quiesce_devices() Provide static inline versions of these for when commands are not enabled. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/lib/bootm.c | 2 ++

[PATCH v3 12/32] env: Split out non-command code into a new file

2023-10-16 Thread Simon Glass
It is not possible to set environment variables without having CONFIG_CMD_NVEDIT enabled. When CONFIG_CMDLINE is disabled, we need a way to set variables. Split the setting code out into its own file, so that env_set() is available even when CONFIG_CMDLINE is not. If it is never called, the code

[PATCH v3 13/32] console: Move SYS_PBSIZE into common/

2023-10-16 Thread Simon Glass
This relates to printing output and does not need a command line. Move it next to the other console-related options. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Kconfig| 5 - common/Kconfig | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v3 09/32] cmd: Use an #ifdef around run_commandf()

2023-10-16 Thread Simon Glass
This is not available if CMDLINE is disabled, so add an #ifdef to correct this. Signed-off-by: Simon Glass --- (no changes since v1) common/cli.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cli.c b/common/cli.c index 3916a7b10a7d..4d0fea4387f2 100644 --- a/common/cli.c +++

[PATCH v3 06/32] sifive: Drop an unnecessary #ifdef

2023-10-16 Thread Simon Glass
This code is normally compiled for sifive, but sandbox can also compile it. We should not use UNIT_TEST as a synonym for SANDBOX, since it is possible to disable UNIT_TEST for sandbox. Drop the condition since it isn't needed. Signed-off-by: Simon Glass Suggested-by: Sean Anderson --- Changes

[PATCH v3 08/32] cli: Always build cli_getch

2023-10-16 Thread Simon Glass
This module is used for user input with menus, not just with the command line. Compile it always, so it is available even when CMDLINE is disabled. Signed-off-by: Simon Glass --- (no changes since v1) common/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v3 04/32] cmd: Add a few more dependencies on CMDLINE

2023-10-16 Thread Simon Glass
Add this to some more commands to avoid build errors with sandbox. Note that this is a temporary solution to expose more problems. A later patch puts these behind an 'if CMDLINE' Signed-off-by: Simon Glass --- Changes in v3: - Add an explation as to why this patch is here cmd/Kconfig | 6

[PATCH v3 07/32] fastboot: Declare a dependency on CMDLINE

2023-10-16 Thread Simon Glass
When CMDLINE is not enabled, this code fails to build. Correct this by adding a condition. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Change this to use a Kconfig dependency instead of code failing drivers/fastboot/Kconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH v3 05/32] test: Make UNIT_TEST depend on CMDLINE

2023-10-16 Thread Simon Glass
Many tests make some use of the command line, so require it for all test code. This could be teased apart, perhaps with a test flag indicating that it uses the command line. Leave that for later. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: - Fix 'ut' typo

[PATCH v3 03/32] autoboot: Correct dependencies on CMDLINE

2023-10-16 Thread Simon Glass
Make AUTOBOOT depend on CMDLINE since it is mostly meaningless without it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v2) Changes in v2: - Move AUTOBOOT_USE_MENUKEY under AUTOBOOT boot/Kconfig | 29 +++-- 1 file changed, 19 insertions(+),

[PATCH v3 02/32] bootstd: Correct dependencies on CMDLINE

2023-10-16 Thread Simon Glass
With recent changes over the last few years in boot/Kconfig it is no-longer possible to disable CMDLINE. It results in various link errors because some options which require CMDLINE are enabled regardless of whether it is available. Add the necessary conditions to fix this. Note that it would be

[PATCH v3 01/32] buildman: Use oldconfig when adjusting the config

2023-10-16 Thread Simon Glass
We cannot be sure that the new config is consistent, particularly when changing a major item like CONFIG_CMDLINE. Use 'make oldconfig' to check that and avoid any such problems. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builder.py | 2 +-

[PATCH v3 00/32] Tidy up use of CONFIG_CMDLINE

2023-10-16 Thread Simon Glass
It should be possible to disable CONFIG_CMDLINE and have all commands and related functionality dropped from U-Boot. This is useful when trying to reduce the size of U-Boot. Recent changes have stopped this from working. This series repairs the feature for sandbox and adds a test to stop it

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-16 Thread Simon Glass
Hi Rob, On Mon, 16 Oct 2023 at 10:50, Rob Herring wrote: > > On Fri, Oct 13, 2023 at 4:09 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Fri, 13 Oct 2023 at 13:42, Rob Herring wrote: > > > > > > On Fri, Oct 6, 2023 at 7:03 PM Simon Glass wrote: > > > > > > > > Hi Ard, > > > > > > > > On

Re: [PATCH v2 2/2] serial: introduce CONFIG_CONSOLE_FLUSH_ON_NEWLINE

2023-10-16 Thread Simon Glass
On Mon, 16 Oct 2023 at 02:36, Rasmus Villemoes wrote: > > When debugging, one sometimes only gets partial output lines or > nothing at all from the last printf, because the uart has a largish > buffer, and the code after the printf() may cause the CPU to hang > before the uart IP has time to

Re: [PATCH v4 4/8] rockchip: block: blk-uclass: disable bounce buffer support for rkmtd

2023-10-16 Thread Simon Glass
Hi Johan, On Sun, 15 Oct 2023 at 16:33, Johan Jonker wrote: > > Disable bounce buffer support for rkmtd. > > Signed-off-by: Johan Jonker > Reviewed-by: Kever Yang > --- > > Changed V3: > New patch > --- > drivers/block/blk-uclass.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: [PATCH v5 2/6] cmd: Add a sysinfo command

2023-10-16 Thread Simon Glass
Hi Detlev, On Mon, 16 Oct 2023 at 08:21, Detlev Casanova wrote: > > On Monday, October 2, 2023 2:56:28 P.M. EDT Simon Glass wrote: > > On Mon, 2 Oct 2023 at 09:21, Detlev Casanova > > > > wrote: > > > The command is able to show different information for the running > > > system: > > > * Model

Re: [PATCH v4 2/8] rockchip: dm: prepare rkmtd UCLASS

2023-10-16 Thread Simon Glass
On Sun, 15 Oct 2023 at 16:32, Johan Jonker wrote: > > Prepare a rkmtd UCLASS in use for writing Rockchip boot blocks > in combination with existing userspace tools and rockusb command. > > Signed-off-by: Johan Jonker > Reviewed-by: Kever Yang > --- > disk/part.c| 4 >

[PATCH 1/1] config: qemu: relax print and console buffer size

2023-10-16 Thread Heinrich Schuchardt
QEMU print and console buffer sizes have been restricted on QEMU below their default values. One of the side effects of the print buffer size restriction is output truncation of the 'efidebug dh' command. As QEMU does not have special memory size restrictions remove the settings from the

Re: [PATCH v7 1/2] schemas: memory: Add ECC properties

2023-10-16 Thread Simon Glass
Hi Rob, On Mon, 16 Oct 2023 at 13:57, Rob Herring wrote: > > On Tue, Sep 26, 2023 at 01:42:38PM -0600, Simon Glass wrote: > > Some memories provide ECC detection and/or correction. For software which > > wants to check memory, it is helpful to see which regions provide this > > feature. > > > >

Re: Please pull u-boot-marvell/master

2023-10-16 Thread Tom Rini
On Mon, Oct 16, 2023 at 04:50:26PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this first batch of Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] cmd/ti: Update Kconfig logic and Makefile recursion logic

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:36:58PM -0400, Tom Rini wrote: > - Add some dependencies to CMD_DDR3 as this is only valid on some > platforms (which tend to select it as well). > - The proper gate for going in to cmd/ti is not > CONFIG_TI_COMMON_CMD_OPTIONS as nothing under there is controlled by

Pull request: please pull u-boot-imx-20231016

2023-10-16 Thread Stefano Babic
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20231016 for you to fetch changes up to b0eef7326920ff55ec22dfb86812033d84737839: imx8mp-evk: Add USB0 OTG support (2023-10-16 18:52:20 +0200) u-boot-imx-20231016

Re: [PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:13:07PM -0400, Tom Rini wrote: > In order to be able to discard unused long help texts without further > linker lists, add a macro for defining the long help messages which uses > __maybe_unused. This allows us to discard them as unreferenced as part > of the link. >

Re: [PATCH 2/2] cmd: Convert existing long help messages to the new macro

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:13:08PM -0400, Tom Rini wrote: > - Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines > and use U_BOOT_LONGHELP to declare the same variable name as before > - In a few places, either rename the variable to follow convention or > introduce the

Re: [PATCH 6/6] eeprom: starfive: add 'mac raw' command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:47PM +0200, Heinrich Schuchardt wrote: > Add a sub-command to print a hexdump of the EEPROM content. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/6] eeprom: starfive: re-implement mac command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:45PM +0200, Heinrich Schuchardt wrote: > The different implementations of the mac command have board or vendor > specific sub-commands. > > Add the command definition specific to the VisionFive 2 board. > > Don't call cmd_usage() directly but return CMD_RET_USAGE

Re: [PATCH 5/6] eeprom: starfive: raw dump if unsupported data version

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:46PM +0200, Heinrich Schuchardt wrote: > If the data version field of the EEPROM is not supported, provide a hexdump > of the data. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/6] eeprom: SiFive Unmatched: re-implement mac command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:44PM +0200, Heinrich Schuchardt wrote: > The different implementations of the mac command have board or vendor > specific sub-commands. > > Add the command definition specific to the SiFive HiFive Unmatched board. > > Don't call cmd_usage() directly but return

Re: [PATCH 2/6] freescale: fix long help handling in mac command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:43PM +0200, Heinrich Schuchardt wrote: > CONFIG_SYS_LONGHELP=n we want to reduce the size of the U-Boot binary. > The long text should be reduced to and empty string in this case. > > There is not need to call cmd_usage() directly. It is sufficient to > return

Re: [PATCH 1/6] cmd: move mac command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:42PM +0200, Heinrich Schuchardt wrote: > Board specific implementations of the 'mac' command differ concerning the > supported sub-commands. > > Move the Freescale specific mac command definition to the board code. > > Signed-off-by: Heinrich Schuchardt Applied

Re: [GIT PULL] Please pull u-boot-amlogic-20231015

2023-10-16 Thread Tom Rini
On Mon, Oct 16, 2023 at 08:48:06AM +0200, Neil Armstrong wrote: > Hi Tom, > > A set of changes mostly concerning Amlogic A1 & S4 SoCs for USB, Secure > Monitor > and RNG bringup. > > > The CI job is at > https://source.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/18138 > > Thanks, >

[PATCH] mxs: Kconfig: Remove TARGET_XFI3 symbol

2023-10-16 Thread sbabic
> From: Fabio Estevam > The xfi3 target has been removed by commit 539fba2c10e7 ("arm: > Remove xfi3 board"), but it missed to remove an entry from the > mxs Kconfig. > Remove it. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2] pico-pi-imx7d: Unselect CONFIG_CONSOLE_MUX

2023-10-16 Thread sbabic
> From: Fabio Estevam > Unselect CONFIG_CONSOLE_MUX to fix the following > error for the input, output and error interfaces: > U-Boot 2023.10 (Oct 03 2023 - 21:23:18 -0300) > ... > In:No input devices available! > Out: No output devices available! > Err: No error devices available! > Net:

[PATCH] arm64: dts: imx8mp: Make GPIO3 available early in U-Boot proper on i.MX8MP DHCOM

2023-10-16 Thread sbabic
> The GPIO3 has to be available early during U-Boot proper start up for > DRAM size detect to work correctly. The GPIO3 is currently available in > SPL and late in U-Boot proper, which is insufficient. Add the missing > bootph-all to make the GPIO3 available also early in U-Boot proper. >

[PATCH v4] imx8mp-evk: Add USB0 OTG support

2023-10-16 Thread sbabic
> From: Fabio Estevam > Add USB0 OTG support. > Currently, the USB0 OTG nodes are not enabled in the Linux kernel > devicetree. > For this reason, enable the USB0 OTG nodes inside imx8mp-evk-u-boot.dtsi > for now. > Also select several useful options such as USB gadget and fastboot. > Tested by

[RESEND PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-10-16 Thread Tony Dinh
Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size. Rebased to latest master and resend. Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig

Re: [PATCH v7 1/2] schemas: memory: Add ECC properties

2023-10-16 Thread Rob Herring
On Tue, Sep 26, 2023 at 01:42:38PM -0600, Simon Glass wrote: > Some memories provide ECC detection and/or correction. For software which > wants to check memory, it is helpful to see which regions provide this > feature. > > Add this as a property of the /memory nodes, since it presumably follows

Re: [PATCH v2] usb: xhci: Workaround to fix the USB halted endpoint issues

2023-10-16 Thread Tom Rini
On Mon, Oct 16, 2023 at 08:34:16AM +0200, Michal Simek wrote: > > > On 10/13/23 17:15, Tom Rini wrote: > > On Fri, Oct 13, 2023 at 11:11:04AM -0400, Da Xue wrote: > > > On Fri, Oct 13, 2023 at 7:47 AM Marek Vasut wrote: > > > > > > > > On 10/13/23 06:53, Venkatesh Yadav Abbarapu wrote: > > > >

Re: [PATCH v7 7/9] Boot var automatic management for removable medias

2023-10-16 Thread João Marcos Costa
Hello again, Em seg., 16 de out. de 2023 às 09:58, João Marcos Costa < jmcosta...@gmail.com> escreveu: > Hello, > > Em seg., 16 de out. de 2023 às 08:47, Masahisa Kojima < > masahisa.koj...@linaro.org> escreveu: > >> From: Raymond Mao >> >> Changes for complying to EFI spec §3.5.1.1 >>

Re: [PATCH 9/9] cmd: test_enter_suspend: Add test_enter_suspend command

2023-10-16 Thread Heinrich Schuchardt
On 10/16/23 16:11, Thomas Richard wrote: From: Gregory CLEMENT Add test_enter_suspend command using PSCI. This command is only to test suspend sequence from U-Boot. The resume will not work. Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Richard --- cmd/Kconfig | 7

Re: [PATCH v5 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*

2023-10-16 Thread Marek Vasut
On 10/16/23 19:03, Detlev Casanova wrote: On Saturday, October 7, 2023 5:35:27 P.M. EDT Marek Vasut wrote: On 10/2/23 17:20, Detlev Casanova wrote: Expose that information to the sysinfo command to let scripts make decisions based on the board id and revision. Signed-off-by: Detlev Casanova

Re: [PATCH v5 1/6] sysinfo: Add IDs for board id and revision

2023-10-16 Thread Marek Vasut
On 10/16/23 19:37, Heinrich Schuchardt wrote: On 10/2/23 17:20, Detlev Casanova wrote: These IDs will be used by the sysinfo command. The new IDs are:   * SYSINFO_ID_BOARD_ID: The board ID as an integer   * SYSINFO_ID_BOARD_REV_MAJOR: The board major revision as int   *

Re: [PATCH v5 4/6] sysinfo: Add documentation

2023-10-16 Thread Heinrich Schuchardt
On 10/2/23 17:20, Detlev Casanova wrote: Add documentation for the sysinfo command with examples. Reviewed-by: Marek Vasut Signed-off-by: Detlev Casanova --- doc/usage/cmd/sysinfo.rst | 56 +++ Thank you for providing a man-page. Unfortunately this does

Re: [PATCH v5 1/6] sysinfo: Add IDs for board id and revision

2023-10-16 Thread Heinrich Schuchardt
On 10/2/23 17:20, Detlev Casanova wrote: These IDs will be used by the sysinfo command. The new IDs are: * SYSINFO_ID_BOARD_ID: The board ID as an integer * SYSINFO_ID_BOARD_REV_MAJOR: The board major revision as int * SYSINFO_ID_BOARD_REV_MINOR: The board minor revision as int Integers

Re: [PATCH v5 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*

2023-10-16 Thread Detlev Casanova
On Saturday, October 7, 2023 5:35:27 P.M. EDT Marek Vasut wrote: > On 10/2/23 17:20, Detlev Casanova wrote: > > Expose that information to the sysinfo command to let scripts make > > decisions based on the board id and revision. > > > > Signed-off-by: Detlev Casanova > > --- > > > >

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-16 Thread Rob Herring
On Fri, Oct 13, 2023 at 4:09 PM Simon Glass wrote: > > Hi Rob, > > On Fri, 13 Oct 2023 at 13:42, Rob Herring wrote: > > > > On Fri, Oct 6, 2023 at 7:03 PM Simon Glass wrote: > > > > > > Hi Ard, > > > > > > On Fri, 6 Oct 2023 at 17:00, Ard Biesheuvel wrote: > > > > > > > > On Fri, 6 Oct 2023 at

[PATCH 4/4] arm: dts: imx93-evk: remove wrong eqos compatible string

2023-10-16 Thread sbabic
> The correct compatible string for i.MX93 variant of DWC EQoS MAC is now > "nxp,imx93-dwmac-eqos". > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 1/4] clk: imx: add i.MX93 CCF driver

2023-10-16 Thread sbabic
> Add i.MX93 CCF driver support. > Modifed from Linux Kernel v6.5-rc2 and adapted for U-Boot. > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 3/5] arm64: dts: imx8mp: Update i.MX8MP DHCOM SoM DT to production rev.200

2023-10-16 Thread sbabic
> The current imx8mp-dhcom-som.dtsi describes prototype rev.100 SoM, > update the DT to describe production rev.200 SoM which brings the > following changes: > - Fast SoC GPIOs exposed on the SoM edge connector > - Slow GPIOs like component resets moved to I2C GPIO expander > - ADC upgraded from

[PATCH] imx: hab: Use size parameter

2023-10-16 Thread sbabic
> The current code works by sheer coincidence, because (see HABv4 API > documentation, section 3.4) the RVT authenticate_image call updates > the size that is passed in with the actual size ROM code pulls from > IVT/CSF . So if the input size is larger, that is "fine" . Pass in > size instead to

[PATCH 1/4] net: dwc_eth_qos: add i.MX93 support

2023-10-16 Thread sbabic
> Add support for DWC EQoS MAC on i.MX93. > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,Managing Director: Erika Unter

[PATCH 1/5] spl: fit: Add board level function to decide application of DTO

2023-10-16 Thread sbabic
> Add board-specific function used to indicate whether a DTO from fitImage > configuration node 'fdt' property DT and DTO list should be applied onto > the base DT or not applied. > This is useful in case of DTOs which implement e.g. different board revision > details, where such DTO should be

[PATCH 2/3] mx7dsabresd: Convert to watchdog driver model

2023-10-16 Thread sbabic
> From: Fabio Estevam > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > Fix it by switching to the watchdog driver model via sysreset, which > is the preferred method for implementing the watchdog reset. >

[PATCH 4/5] arm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT

2023-10-16 Thread sbabic
> In case the i.MX8MP DHCOM rev.100 has been populated on the PDK3 > carrier board, the on-SoM PHY PHYAD1 signal has been pulled high > by the carrier board and changed the PHY MDIO address from 5 to 7. > This has been fixed on production rev.200 SoM by additional buffer > on the SoM PHYAD/LED

[PATCH 4/4] imx93_evk: defconfig: enable clock driver

2023-10-16 Thread sbabic
> Add clocks nodes in u-boot.dtsi file. > Remove init_uart_clk() call. > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH 3/3] smegw01: Convert to watchdog driver model

2023-10-16 Thread sbabic
> From: Fabio Estevam > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > Fix it by switching to the watchdog driver model via sysreset, which > is the preferred method for implementing the watchdog reset. >

[PATCH 2/5] arm64: dts: imx8mp: Switch to DT overlays for i.MX8MP DHCOM SoM

2023-10-16 Thread sbabic
> Add DT overlays to support additional DH i.MX8MP DHCOM SoM 660-100 > population options with 1x or 2x RMII PHY mounted on PDK2 or PDK3 > carrier boards. > Use SPL DTO support to apply matching SoM specific DTO to cater > for the SoM differences. Remove ad-hoc patching of control DT from >

[PATCH 3/4] serial: lpuart: Enable IPG clock

2023-10-16 Thread sbabic
> From: Ye Li > Current codes only ennable the PER clock. However on iMX8 the LPUART > also needs IPG clock which is an LPCG. Should not depend on the default > LPCG setting. > Signed-off-by: Ye Li > Reviewed-by: Peng Fan > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master,

[PATCH 5/5] arm64: dts: imx8mp: Add DT overlay describing i.MX8MP DHCOM SoM rev.100

2023-10-16 Thread sbabic
> The current imx8mp-dhcom-som.dtsi describes production rev.200 SoM, > add DT overlay which reinstates rev.100 SoM description to permit > prototype rev.100 SoMs to be used until they get phased out. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano

  1   2   3   >