Re: bootstd: Support for distro specific EFI folders

2023-12-09 Thread Ilias Apalodimas
Hi Shantur [...] > > > > > > > > > > > > > Also the information is very limited, e.g. it does not show the Ubuntu > > > > version, kernel version, etc. > > > > > > The length of the labels is only limited by available storage. It is the > > > OS'es choice to opt for a such a short label. > > > >

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Shantur Rathore
On Sat, Dec 9, 2023 at 10:20 PM Shantur Rathore wrote: > > On Sat, Dec 9, 2023 at 10:05 PM Marek Vasut wrote: > > > > On 12/9/23 18:57, Shantur Rathore wrote: > > > Hi Marek, > > > > > > On Sat, Dec 9, 2023 at 5:31 PM Marek Vasut wrote: > > >> > > >> On 12/8/23 01:09, Shantur Rathore wrote: > >

Re: [PATCH v12 00/24] Modernize U-Boot shell

2023-12-09 Thread Tom Rini
On Fri, Dec 08, 2023 at 11:30:01PM +0100, Francis Laniel wrote: > Hi. > > > During 2021 summer, Sean Anderson wrote a contribution to add a new shell, > based > on LIL, to U-Boot [1, 2]. > While one of the goals of this contribution was to address the fact actual > U-Boot shell, which is based

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Dragan Simic
On 2023-12-09 23:13, Tom Rini wrote: On Sat, Dec 09, 2023 at 10:43:35PM +0100, Dragan Simic wrote: On 2023-12-09 22:21, Tom Rini wrote: > On Sat, Dec 09, 2023 at 10:02:09PM +0100, Dragan Simic wrote: > > On 2023-12-09 21:43, Tom Rini wrote: > > > On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan

Re: bootstd: Support for distro specific EFI folders

2023-12-09 Thread Shantur Rathore
On Sat, Dec 9, 2023 at 4:26 PM Shantur Rathore wrote: > > Hi Peter, > > On Wed, Dec 6, 2023 at 12:16 PM Peter Robinson wrote: > > > > On Sun, Nov 19, 2023 at 6:55 PM Mark Kettenis > > wrote: > > > > > > > Date: Sat, 18 Nov 2023 23:52:11 +0100 > > > > From: Heinrich Schuchardt > > > > > > Hi

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Shantur Rathore
On Sat, Dec 9, 2023 at 10:05 PM Marek Vasut wrote: > > On 12/9/23 18:57, Shantur Rathore wrote: > > Hi Marek, > > > > On Sat, Dec 9, 2023 at 5:31 PM Marek Vasut wrote: > >> > >> On 12/8/23 01:09, Shantur Rathore wrote: > >>> USB port regulators should be controlled by phys > >> > >> PHYs > >> >

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-09 Thread Shantur Rathore
On Sat, Dec 9, 2023 at 8:56 PM Tom Rini wrote: > > On Fri, Dec 08, 2023 at 01:59:26PM +, Shantur Rathore wrote: > > Hi Peter, > > > > On Fri, Dec 8, 2023 at 12:59 PM Peter Robinson wrote: > > > > > > On Fri, Dec 8, 2023 at 12:52 PM Shantur Rathore wrote: > > > > > > > > Hi Jagan, > > > > >

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 10:43:35PM +0100, Dragan Simic wrote: > On 2023-12-09 22:21, Tom Rini wrote: > > On Sat, Dec 09, 2023 at 10:02:09PM +0100, Dragan Simic wrote: > > > On 2023-12-09 21:43, Tom Rini wrote: > > > > On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan Simic wrote: > > > > > On

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Marek Vasut
On 12/9/23 18:57, Shantur Rathore wrote: Hi Marek, On Sat, Dec 9, 2023 at 5:31 PM Marek Vasut wrote: On 12/8/23 01:09, Shantur Rathore wrote: USB port regulators should be controlled by phys PHYs so we remove always-on property and let phy manage the regulator. Typec port has

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-09 Thread Tom Rini
On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: [snip] > But currently u-boot doesn't have a proper way to validate those DTS > against DT bindings (maintained in Linux kernel). Although there are > Devicetree schema tools available here [2], there isn't a versioned > release package

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Dragan Simic
On 2023-12-09 22:21, Tom Rini wrote: On Sat, Dec 09, 2023 at 10:02:09PM +0100, Dragan Simic wrote: On 2023-12-09 21:43, Tom Rini wrote: > On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan Simic wrote: > > On 2023-12-09 21:34, Tom Rini wrote: > > > On Wed, Dec 06, 2023 at 04:24:43PM +, Andre

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 10:02:09PM +0100, Dragan Simic wrote: > On 2023-12-09 21:43, Tom Rini wrote: > > On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan Simic wrote: > > > On 2023-12-09 21:34, Tom Rini wrote: > > > > On Wed, Dec 06, 2023 at 04:24:43PM +, Andre Przywara wrote: > > > > > On

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Dragan Simic
On 2023-12-09 21:43, Tom Rini wrote: On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan Simic wrote: On 2023-12-09 21:34, Tom Rini wrote: > On Wed, Dec 06, 2023 at 04:24:43PM +, Andre Przywara wrote: > > On Mon, 4 Dec 2023 00:59:52 + > > Andre Przywara wrote: > > > > Hi, > > > > > Add

Re: [GIT PULL] u-boot-riscv/master

2023-12-09 Thread Tom Rini
On Thu, Dec 07, 2023 at 09:46:23PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit 2f0282922b2c458eea7f85c500a948a587437b63: > > Prepare v2024.01-rc4 (2023-12-04 13:46:56 -0500) > > are available in the Git repository at: > >

Re: [PATCH] test/py: Disable error E0611 in two cases for pylint

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 03:01:28PM -0500, Tom Rini wrote: > Recently pylint has started to complain about: > No name 'fs_helper' in module 'tests' (no-name-in-module) > > Due to: > from tests import fs_helper > > However, we have: > test/py/tests/fs_helper.py > > And since we do not want to

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-09 Thread Tom Rini
On Fri, Dec 08, 2023 at 01:59:26PM +, Shantur Rathore wrote: > Hi Peter, > > On Fri, Dec 8, 2023 at 12:59 PM Peter Robinson wrote: > > > > On Fri, Dec 8, 2023 at 12:52 PM Shantur Rathore wrote: > > > > > > Hi Jagan, > > > > > > On Fri, Dec 8, 2023 at 11:13 AM Jagan Teki > > > wrote: > > >

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 07:49:04PM +, Shantur Rathore wrote: > On Sat, Dec 9, 2023 at 7:18 PM Tom Rini wrote: > > > > On Fri, Dec 08, 2023 at 10:52:02AM +, Shantur Rathore wrote: > > > > > Hi Tom / Kever > > > > > > On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore wrote: > > > > > > > >

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 09:37:28PM +0100, Dragan Simic wrote: > On 2023-12-09 21:34, Tom Rini wrote: > > On Wed, Dec 06, 2023 at 04:24:43PM +, Andre Przywara wrote: > > > On Mon, 4 Dec 2023 00:59:52 + > > > Andre Przywara wrote: > > > > > > Hi, > > > > > > > Add support for the zBIT

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Dragan Simic
On 2023-12-09 21:34, Tom Rini wrote: On Wed, Dec 06, 2023 at 04:24:43PM +, Andre Przywara wrote: On Mon, 4 Dec 2023 00:59:52 + Andre Przywara wrote: Hi, > Add support for the zBIT ZB25VQ128 (128M-bit) SPI NOR flash memory chip, > as used on the Xunlong Orange Pi Zero 3 board. does

Re: [PATCH v2 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-12-09 Thread Tom Rini
On Wed, Dec 06, 2023 at 04:24:43PM +, Andre Przywara wrote: > On Mon, 4 Dec 2023 00:59:52 + > Andre Przywara wrote: > > Hi, > > > Add support for the zBIT ZB25VQ128 (128M-bit) SPI NOR flash memory chip, > > as used on the Xunlong Orange Pi Zero 3 board. > > does anyone have any

Re: [PATHv11 26/43] configs/tbs2910_defconfig inc limit

2023-12-09 Thread Tom Rini
On Tue, Dec 05, 2023 at 07:25:15PM +0100, Soeren Moch wrote: > > > On 05.12.23 17:25, Maxim Uvarov wrote: [snip] > > The problem is that for many targets the limit is 1MB. > For tbs2910 it is 383kBytes. And there was plenty of free space when I > introduced mainline u-boot support. But yes,

Re: [PATHv11 26/43] configs/tbs2910_defconfig inc limit

2023-12-09 Thread Tom Rini
On Tue, Dec 05, 2023 at 04:49:47PM +0100, Soeren Moch wrote: > On 05.12.23 14:15, Maxim Uvarov wrote: > > I think I solved the size issue on all the boards. > > > > Key changes: > > 1. remove compilation of original ping.c and tftp.c (tftp had also > > server code, so I will partially bring it

[PATCH] CI: update pylint to recent version

2023-12-09 Thread Heinrich Schuchardt
We are missing some Python problems like "Using variable 'varname' before assignment" Switch to a more recent version. Adjust the documentation accordingly. Signed-off-by: Heinrich Schuchardt --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml| 2 +- doc/develop/python_cq.rst

[PATCH] test/py: Disable error E0611 in two cases for pylint

2023-12-09 Thread Tom Rini
Recently pylint has started to complain about: No name 'fs_helper' in module 'tests' (no-name-in-module) Due to: from tests import fs_helper However, we have: test/py/tests/fs_helper.py And since we do not want to add a dummy test/py/tests/__init__.py to silence this warning we instead just

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-09 Thread Tom Rini
On Thu, Dec 07, 2023 at 04:22:42PM +0200, Roger Quadros wrote: > Hi Tom, > > On 26/11/2023 19:35, Tom Rini wrote: > > On Sat, Nov 25, 2023 at 01:16:05PM +0200, Roger Quadros wrote: > > > >> AM335x uses a special driver "am335x_spl_bch.c" as SPL > >> NAND loader. This driver expects 1 sector at a

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-09 Thread Tom Rini
On Fri, Dec 08, 2023 at 10:31:54AM +0200, Roger Quadros wrote: > On 25/11/2023 13:16, Roger Quadros wrote: > > AM335x uses a special driver "am335x_spl_bch.c" as SPL > > NAND loader. This driver expects 1 sector at a time ECC > > and doesn't work well with multi-sector ECC that was implemented in

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-09 Thread Shantur Rathore
On Sat, Dec 9, 2023 at 7:18 PM Tom Rini wrote: > > On Fri, Dec 08, 2023 at 10:52:02AM +, Shantur Rathore wrote: > > > Hi Tom / Kever > > > > On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore wrote: > > > > > > Rockchip SoCs can support wide range of bootflows. > > > Without full bootflow

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-09 Thread Tom Rini
On Fri, Dec 08, 2023 at 10:52:02AM +, Shantur Rathore wrote: > Hi Tom / Kever > > On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore wrote: > > > > Rockchip SoCs can support wide range of bootflows. > > Without full bootflow commands, it can be difficult to > > figure out issues if any, hence

Re: [PATCH 00/18] Complete decoupling of bootm logic from commands

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:26:16PM -0700, Simon Glass wrote: > This series continues refactoring the bootm code to allow it to be used > with CONFIG_COMMAND disabled. The OS-handling code is refactored and > a new bootm_run() function is created to run through the bootm stages. > This completes

[PATCH 2/2] test: vboot: Using variable 'old_dtb' before assignment

2023-12-09 Thread Heinrich Schuchardt
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_vboot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/py/tests/test_vboot.py

[PATCH 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-09 Thread Heinrich Schuchardt
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_fit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/py/tests/test_fit.py

[PATCH 0/2] test: Using variable 'old_dtb' before assignment

2023-12-09 Thread Heinrich Schuchardt
Avoid errors reported by 'make pylint_err. Heinrich Schuchardt (2): test: fit: Using variable 'old_dtb' before assignment test: vboot: Using variable 'old_dtb' before assignment test/py/tests/test_fit.py | 6 +++--- test/py/tests/test_vboot.py | 6 +++--- 2 files changed, 6 insertions(+),

[PATCH 1/1] binman: elf: Using variable 'old_val' before assignment

2023-12-09 Thread Heinrich Schuchardt
old_val can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- tools/binman/elf_test.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/binman/elf_test.py

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-09 Thread Tom Rini
On Wed, Dec 06, 2023 at 06:03:14PM +0200, Ilias Apalodimas wrote: > Hi Simon, > > On Sat, 2 Dec 2023 at 20:28, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 29 Nov 2023 at 23:50, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > [...] > > > > > >> > Changes since v1: > > >> >

Re: [PATCH 09/14] pxe: Refactor to reduce the size of label_boot()

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:31:33PM -0700, Simon Glass wrote: > This function is far too long and complicated. Split out the part > which actually calls the boot commands into a separate function. > > Change a strncpy() to strlcpy() to keep checkpatch happy. > > No functional change is intended.

Re: [PATCH 07/14] bootm: Make cmdline optional with bootm_boot_start()

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:31:31PM -0700, Simon Glass wrote: > Allow the default command line to be used when booting the OS. This is > needed by fastboot. > > Signed-off-by: Simon Glass > --- > > boot/bootm.c| 10 ++ > include/bootm.h | 2 +- > 2 files changed, 7 insertions(+),

Re: [PATCH 03/14] bootm: Make OS booting dependent on BOOTM

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:31:27PM -0700, Simon Glass wrote: > Booting an OS does not require the 'bootm' command, so change the > condition for these options. > > Move them into boot/ so they don't depend on CMDLINE > > Note that CMD_BOOTM_PRE_LOAD has been put directly into the bootm code >

Re: [PATCH 02/14] bootm: Add a Kconfig option for bootm functionality

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:31:26PM -0700, Simon Glass wrote: > Create a separate Kconfig option which enables the bootm logic, > separate from the 'bootm' command. This will eventually allow booting > without CMDLINE enabled. > > Update boards which disable CMD_BOOTM to disable BOOTM instead,

Re: [PATCH 01/14] boot: Reorder FIT and BOOTSTD to be first

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:31:25PM -0700, Simon Glass wrote: > The boot menu shows Android first and then a timestamp option. Move > these later since they are less commonly used. > > Signed-off-by: Simon Glass > --- > > boot/Kconfig | 36 ++-- > 1 file

Re: [PATCH 08/14] fastboot: Remove dependencies on CMDLINE

2023-12-09 Thread Tom Rini
On Mon, Dec 04, 2023 at 10:27:53AM +, Alex Kiernan wrote: > On Mon, Dec 4, 2023 at 1:31 AM Simon Glass wrote: > > > > It is possible to boot a kernel without CMDLINE being enabled. Update > > the implementation to handle this, and drop the condition from the > > FASTBOOT config. > > > >

Re: [PATCH v4 0/4] bootflow: bootmeth_efi: Fix network efi boot.

2023-12-09 Thread Tom Rini
On Sun, 19 Nov 2023 16:54:57 +, Shantur Rathore wrote: > Currently bootmeth_efi crashes while doing a network (dhcp) boot. > This patch series fixes issues and both network and disk boot works. > > Shantur Rathore (4): > bootflow: bootmeth_efi: Set bootp_arch as hex > bootflow:

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Shantur Rathore
Hi Marek, On Sat, Dec 9, 2023 at 5:57 PM Shantur Rathore wrote: > > Hi Marek, > > On Sat, Dec 9, 2023 at 5:31 PM Marek Vasut wrote: > > > > On 12/8/23 01:09, Shantur Rathore wrote: > > > USB port regulators should be controlled by phys > > > > PHYs > > > > > so we remove always-on property and

Re: [PATCH v4 0/4] bootflow: bootmeth_efi: Fix network efi boot.

2023-12-09 Thread Tom Rini
On Tue, Dec 05, 2023 at 08:54:51PM -0700, Simon Glass wrote: > Hi Shantur, > > On Tue, 5 Dec 2023 at 04:13, Shantur Rathore wrote: > > > > Hi Simon, > > > > On Tue, Dec 5, 2023 at 12:52 AM Simon Glass wrote: > > > > > > Hi Shantur, > > > > > > On Mon, 4 Dec 2023 at 05:38, Shantur Rathore

[PATCH v3] common: usb-hub: Reset hub port before scanning

2023-12-09 Thread Shantur Rathore
Currently when a hub is turned on, all the ports are powered on. This works well for hubs which have individual power control. For the hubs without individual power control this has no effect. Mostly in these scenarios the hub port is powered before the USB controller is enabled, this can lead to

[PATCH v3] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Shantur Rathore
USB port regulators should be controlled by PHYs so we remove always-on property and let PHY manage the regulator. Typec port has misconfigured phy-supply in upstream and now that we are removing always-on, we need to fix the phy-supply until its fixed upstream. Signed-off-by: Shantur Rathore

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Shantur Rathore
Hi Marek, On Sat, Dec 9, 2023 at 5:31 PM Marek Vasut wrote: > > On 12/8/23 01:09, Shantur Rathore wrote: > > USB port regulators should be controlled by phys > > PHYs > > > so we remove always-on property and let phy manage the > > regulator. > > > > Typec port has misconfugred > > misconfigured

Re: [PATCH v2 2/2] dts: rockpro64: Disable usb regulators-always-on

2023-12-09 Thread Marek Vasut
On 12/8/23 01:09, Shantur Rathore wrote: USB port regulators should be controlled by phys PHYs so we remove always-on property and let phy manage the regulator. Typec port has misconfugred misconfigured (typo) phy-supply in upstream and now that we are removing always-on, we need to fix

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-12-09 Thread Marek Vasut
On 12/8/23 01:16, Shantur Rathore wrote: Hi Marek, On Tue, Dec 5, 2023 at 5:40 AM Marek Vasut wrote: On 12/4/23 13:10, Shantur Rathore wrote: On Mon, Dec 4, 2023 at 11:05 AM Marek Vasut wrote: On 12/4/23 11:59, Shantur Rathore wrote: Hi Marek, On Sun, Dec 3, 2023 at 10:37 PM Marek

[PATCH 1/1] cmd: check argc for acpi dump

2023-12-09 Thread Heinrich Schuchardt
'acpi dump' without parameter results in a NULL dereference. Check the number of arguments. Signed-off-by: Heinrich Schuchardt --- cmd/acpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/acpi.c b/cmd/acpi.c index 89970417a0..0c14409242 100644 --- a/cmd/acpi.c +++ b/cmd/acpi.c @@

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-09 Thread Fabio Estevam
On Sat, Dec 9, 2023 at 11:12 AM Lisandro Pérez Meyer wrote: > That made it! So the question is: is CONFIG_SPL_DRIVERS_MISC something > that should be pulled in automatically by CONFIG_IMX_HAB or by > something else? Yes, I think we need something like that: diff --git

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-09 Thread Geert Uytterhoeven
Hi Laurent, On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart wrote: > On Sat, Dec 09, 2023 at 10:13:59PM +0900, Chen-Yu Tsai wrote: > > On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart > > wrote: > > > On Thu, Dec 07, 2023 at 10:27:23PM +0800, Chen-Yu Tsai wrote: > > > > On Sun, Dec 03, 2023 at

Re: bootstd: Support for distro specific EFI folders

2023-12-09 Thread Shantur Rathore
Hi Peter, On Wed, Dec 6, 2023 at 12:16 PM Peter Robinson wrote: > > On Sun, Nov 19, 2023 at 6:55 PM Mark Kettenis wrote: > > > > > Date: Sat, 18 Nov 2023 23:52:11 +0100 > > > From: Heinrich Schuchardt > > > > Hi Heinrich, > > > > > On 11/18/23 22:28, Shantur Rathore wrote: > > > > Hi Heinrich,

Re: [PATCH v2 1/9] cmd: bdinfo: Optionally use getopt and implement bdinfo -a

2023-12-09 Thread Tom Rini
On Sat, 07 Oct 2023 23:40:58 +0200, Marek Vasut wrote: > Add optional support for getopt() and in case this is enabled via > GETOPT configuration option, implement support for 'bdinfo -a'. > The 'bdinfo -a' behaves exactly like bdinfo and prints 'all' the > bdinfo information. This is implemented

Re: [PATCH 12/18] bootm: Adjust how the board is reset

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:26:28PM -0700, Simon Glass wrote: > Use reset_cpu() to reset the board, copying the logic from the 'reset' > command. This makes more sense than directly calling the do_reset() > function with the arguments passsed to the bootm command. > > Signed-off-by: Simon Glass

Re: [PATCH 07/18] mips: Add a reset_cpu() function

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:26:23PM -0700, Simon Glass wrote: > The current do_reset() is called from a command context. Add a function > which can be used from anywhere, as is done on ARM. > > Signed-off-by: Simon Glass > --- A consistent API here for all architectures is good, thanks for

Re: [PATCH 06/18] bootm: Drop arguments from boot_selected_os()

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:26:22PM -0700, Simon Glass wrote: > The argc and argv parameters are not used now, so drop them. > > Signed-off-by: Simon Glass This along with patches 1-5 depend on what the answer is about how NetBSD certainly already expects to use things. -- Tom signature.asc

Re: [PATCH 01/18] bootm: netbds: Drop passing of arguments

2023-12-09 Thread Tom Rini
On Tue, Dec 05, 2023 at 08:53:58PM -0700, Simon Glass wrote: > Hi, > > I am replying to this email since it still has the context below. > > On Mon, 4 Dec 2023 at 03:48, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Sun, 3 Dec 2023 17:26:17 -0700 > > > > Hi Simon, > > > > There

Re: [PATCH] doc: Replace examples of MD5 and SHA1 with SHA256

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 02:33:14PM -0500, Sean Anderson wrote: > Both SHA1 and (especially) MD5 are no longer as safe as they once were for > cryptographic use. Replaces examples which use them with examples using > SHA256 instead. This will provide more-secure defaults for users who use >

Re: [PATCH] riscv: sifive: unmatched: migrate to text environment

2023-12-09 Thread Tom Rini
On Tue, Dec 05, 2023 at 11:09:55AM +, Yong-Xuan Wang wrote: > Migrate to the new environment format and drop most of the config.h. > > Signed-off-by: Yong-Xuan Wang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/13] x86: zboot: Separate logic functions from commands

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:29:36PM -0700, Simon Glass wrote: > Move zboot_start() and zboot_info() in with the other logic functions. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 03/13] x86: zboot: Create a separate ZBOOT option for zboot logic

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:29:28PM -0700, Simon Glass wrote: > Most of the functionality of zboot is contained in the logic which > handles a zimage. Create a separate Kconfig for the logic so that it can > (later) be used without the command itself being enabled. > > Enable ZBOOT by default on

Re: [PATCH 06/11] lib/sha*.c: Update header list

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 11:23:13AM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 22 Nov 2023 at 06:12, Tom Rini wrote: > > > > Cleanup the list of headers we include here. For the tools build we only > > need to exclude as that's used by the target build for the > > prototype for schedule(),

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

2023-12-09 Thread Tom Rini
On Thu, Dec 07, 2023 at 04:02:26PM +0100, Neil Armstrong wrote: > Hi Tom, > > A little fix to add the missing DM_USB_GADGET config for the amlogic boards > > The CI job is at > https://source.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/18828 > > Thanks, > Neil > > The following

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 08:33:48AM -0700, Simon Glass wrote: > The cyclic subsystem is currently enabled either in all build phases > or none. For tools this should not be enabled, but since lib/shc256.c > and other files include watchdog.h in the host build, we must make > sure that it is not

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-09 Thread Laurent Pinchart
On Sat, Dec 09, 2023 at 10:13:59PM +0900, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart > wrote: > > > > On Thu, Dec 07, 2023 at 10:27:23PM +0800, Chen-Yu Tsai wrote: > > > On Sun, Dec 03, 2023 at 05:34:01PM +0200, Laurent Pinchart wrote: > > > > Hi Simon, > > > > > > > >

Re: [PATCH 2/2] efi_loader: support FMP versioning for FWU multi bank update

2023-12-09 Thread Heinrich Schuchardt
On 11/14/23 10:25, Masahisa Kojima wrote: Current FMP versioning uses the FMPState UEFI variables Do you mean FmpState? that indicates image_index. When CONFIG_FWU_MULTI_BANK_UPDATE is enabled, U-Boot instances installed in different banks read the same FMPState variable and

Re: [PATCH 1/2] efi_loader: use original image_index for FMP versioning

2023-12-09 Thread Heinrich Schuchardt
On 11/14/23 10:25, Masahisa Kojima wrote: FMP versioning uses the image_index argument of EFI_FIRMWARE_MANAGEMENT_PROTOCOL.SetImage() service. When CONFIG_FWU_MULTI_BANK_UPDATE is enabled, image_index is updated by fwu_get_image_index() function. This commit saves the original image_index

Re: [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT

2023-12-09 Thread Heinrich Schuchardt
On 11/30/23 03:45, Simon Glass wrote: Hi, On Wed, 29 Nov 2023 at 10:17, Heinrich Schuchardt wrote: On 20.10.21 14:37, Andy Shevchenko wrote: The dsdt.asl is usually combined out of several files that are included in the main one. Whenever we change the content of any of such files, build

Re: [PATCH v2] arm: apple: t602x: Add missing MMIO regions to memmap

2023-12-09 Thread Tom Rini
On Fri, 01 Dec 2023 08:12:33 +0100, Janne Grunau wrote: > The memory maps for Apple's M2 Pro/Max/Ultra left MMIO space out which > was not used by any driver at the time. The display out exposed as > simple-framebuffer use a power-domain controlled by a device in an > unmapped region. > Add a map

Re: [PATCH v1 0/8] Convert Tegra pinctrl to DM

2023-12-09 Thread Tom Rini
On Mon, Dec 04, 2023 at 04:45:38PM +0200, Svyatoslav Ryhel wrote: > пн, 4 груд. 2023 р. о 12:26 Thierry Reding пише: > > > > On Mon, Dec 04, 2023 at 10:20:46AM +0200, Svyatoslav Ryhel wrote: > > > Create a DM supported wrapper arround existing Tegra pinmux logic. > > > This implementation is

Re: [u-boot-gitdm PATCH 2/2] Add some more employers

2023-12-09 Thread Tom Rini
On Sat, Dec 09, 2023 at 03:06:05PM +0100, Heinrich Schuchardt wrote: > On 12/3/23 05:46, Simon Glass wrote: > > This looks at the top unknowns: > > > > git log --pretty=%ae v2023.01.. |sed 's/.*@//' |sort |uniq -c | > >sort -nr | > > (while read count email; do > > if !

Re: [u-boot-gitdm PATCH 2/2] Add some more employers

2023-12-09 Thread Heinrich Schuchardt
On 12/3/23 05:46, Simon Glass wrote: This looks at the top unknowns: git log --pretty=%ae v2023.01.. |sed 's/.*@//' |sort |uniq -c | sort -nr | (while read count email; do if ! grep -q $email u-boot-config/domain-map; then echo "$count $email"; fi; done

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-09 Thread Lisandro Pérez Meyer
Hi! On Fri, Dec 8, 2023 at 11:44 PM Fabio Estevam wrote: > > On Fri, Dec 8, 2023 at 10:15 PM Lisandro Pérez Meyer wrote: > > > I added IMX_HAB: > > > > ``` > > $ echo "CONFIG_IMX_HAB=y" >> configs/apalis_imx6_defconfig > > ``` > > Please try like this: > > --- a/configs/apalis_imx6_defconfig >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-09 Thread Chen-Yu Tsai
On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart wrote: > > On Thu, Dec 07, 2023 at 10:27:23PM +0800, Chen-Yu Tsai wrote: > > On Sun, Dec 03, 2023 at 05:34:01PM +0200, Laurent Pinchart wrote: > > > Hi Simon, > > > > > > Thank you for the patch. > > > > > > On Fri, Dec 01, 2023 at 08:54:42PM

Re: [u-boot-gitdm PATCH 1/2] Use Google LLC for Google

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 09:46:57PM -0700, Simon Glass wrote: > The name changed a few years ago, so update it. > > Signed-off-by: Simon Glass Applied to gitdm/u-boot, thanks! Do you want me to do a quick search and replace on the stats pages since v2017.10 onward or just for future releases?

Re: [u-boot-gitdm PATCH 2/2] Add some more employers

2023-12-09 Thread Tom Rini
On Sun, Dec 03, 2023 at 05:44:28PM -0700, Simon Glass wrote: > Hi Tom, > > Would it be worth be resending this as individual patches and copying > the people for each domain? Or perhaps we could have a way to > encourage people to add the details? It's just one table, and entry. So I will add a

Re: [PATCH v2 5/7] riscv: qemu: copy ACPI tables from QEMU

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 11:23:19AM -0700, Simon Glass wrote: > On Tue, 21 Nov 2023 at 08:28, Heinrich Schuchardt > wrote: > > > > If CONFIG_GENERATE_ACPI_TABLES=y, read the ACPI tables provided by QEMU > > and make them available to U-Boot. > > > > Signed-off-by: Heinrich Schuchardt > > --- > >

Re: [PATCH v2 1/9] cmd: bdinfo: Optionally use getopt and implement bdinfo -a

2023-12-09 Thread Tom Rini
On Sat, Dec 02, 2023 at 05:33:34PM +0100, Marek Vasut wrote: > On 10/7/23 23:40, Marek Vasut wrote: > > Add optional support for getopt() and in case this is enabled via > > GETOPT configuration option, implement support for 'bdinfo -a'. > > The 'bdinfo -a' behaves exactly like bdinfo and prints

Re: Pull request: u-boot-sunxi/master for v2024.01

2023-12-09 Thread Tom Rini
On Thu, Dec 07, 2023 at 01:52:40PM +, Andre Przywara wrote: > Hi Tom, > > please pull the hopefully final sunxi changes for this cycle: > > the first four patches are actual fixes. The last three patches add > support for the apparently popular OrangePi Zero 3 board: multiple > people seem

[PATCH] Add imx93-var-som support

2023-12-09 Thread Mathieu Othacehe
Add support for the Variscite VAR-SOM-IMX93 evaluation kit. The SoM consists of an NXP iMX93 dual A55 CPU. The SoM is mounted on a Variscite Symphony SBC. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som-symphony-u-boot.dtsi|

Re: [PATCH 2/2] ARM: imx: Update DRAM timings with inline ECC on Data Modul i.MX8M Plus eDM SBC

2023-12-09 Thread Fabio Estevam
On Thu, Dec 7, 2023 at 2:51 PM Marek Vasut wrote: > > Import DRAM timings generated by the DDR tool 3.31 which introduce assorted > tweaks to the DRAM controller settings. Furthermore, enable DBI to improve > noise resilience of the DRAM bus by reducing the number of bit changes on > the bus. > >

Re: [PATCH 1/2] ARM: imx: Force DRAM regulators into FPWM mode on Data Modul i.MX8M Plus eDM SBC

2023-12-09 Thread Fabio Estevam
On Thu, Dec 7, 2023 at 2:51 PM Marek Vasut wrote: > > In case the Buck5 and Buck6 regulators which supply DRAM Vdd1 and Vdd2/Vddq > respectively operate in automatic PWM/PFM mode, the DRAM EDAC detects more > correctable errors than if the regulators operate in forced PWM only mode. > Force DRAM

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-09 Thread Peter Robinson
On Thu, Dec 7, 2023 at 12:57 PM Ilias Apalodimas wrote: > > In order to fill in the SMBIOS tables U-Boot currently relies on a > "u-boot,sysinfo-smbios" compatible node. This is fine for the boards > that already include such nodes. However with some recent EFI changes, > the majority of boards

Re: [PATCH 1/2 v3] smbios: Simplify reporting of unknown values

2023-12-09 Thread Peter Robinson
On Thu, Dec 7, 2023 at 10:17 PM Ilias Apalodimas wrote: > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > set that to "Unknown Product" and "Unknown" for the product and > manufacturer respectively. It's cleaner if we move the checks insisde > smbios_add_prop_si()

[PATCH v1 1/1] arm64: zynqmp: Add output-enable pins to SOMs

2023-12-09 Thread Neal Frager
Now that the zynqmp pinctrl driver supports the tri-state registers, make sure that the pins requiring output-enable are configured appropriately for SOMs. Without it, all tristate setting for MIOs, which are not related to SOM itself, are using default configuration which is not correct setting.