Re: [RFC PATCH v2 00/48] Make U-Boot memory reservations coherent

2024-07-22 Thread Tom Rini
On Mon, Jul 22, 2024 at 11:58:18AM +0530, Sughosh Ganu wrote: > On Mon, 8 Jul 2024 at 19:32, Tom Rini wrote: > > > > On Thu, Jul 04, 2024 at 01:04:56PM +0530, Sughosh Ganu wrote: > > > > > The aim of this patch series is to fix the current state of > > > in

Re: [PATCH 1/1] Squashed 'dts/upstream/' changes from 7e08733c96c8..20e0f0897ea2

2024-07-21 Thread Tom Rini
On Thu, Jul 18, 2024 at 12:49:12PM -0600, Tom Rini wrote: > 20e0f0897ea2 Merge tag 'v6.10-dts-raw' [snip] I've now pushed the v6.10-dts sync to master. -- Tom signature.asc Description: PGP signature

Re: [PATCH] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.10

2024-07-20 Thread Tom Rini
On Fri, Jul 19, 2024 at 11:21:54PM +0100, Andre Przywara wrote: > Hi Tom, > Sorry for top posting, am on the road. > > First: The Allwinner drivers in U-Boot work with mainline kernel DTs for > ages, so there are no code changes required. > We manually sync the DTs from the kernel for years, but

Re: [PATCH v4 08/29] hash: integrate hash on mbedtls

2024-07-20 Thread Tom Rini
On Sat, Jul 20, 2024 at 01:36:02PM +0100, Simon Glass wrote: > Hi Tom, > > On Fri, 19 Jul 2024 at 16:25, Tom Rini wrote: > > > > On Fri, Jul 19, 2024 at 04:05:09PM +0100, Simon Glass wrote: > > > Hi Raymond, > > > > > > On Thu, 18 Jul 2024 at 17:

Re: [PATCH] board: beagle: convert to CONFIG_DM_I2C

2024-07-20 Thread Tom Rini
On Fri, Jul 19, 2024 at 11:51:23PM +0200, Anatolij Gustschin wrote: > Rework to remove use of legacy I2C API. > > Signed-off-by: Anatolij Gustschin > Cc: Tom Rini > --- > board/beagle/beagle/beagle.c | 41 +- > configs/omap3_

Re: [PATCH 1/1] doc: define html_context in conf.py

2024-07-20 Thread Tom Rini
On Fri, 19 Jul 2024 23:23:26 +0200, Heinrich Schuchardt wrote: > The dictionary html_context is not passed into conf.py but must be created > there. See > https://dev.readthedocs.io/en/latest/design/theme-context.html#customizing-the-context > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/1] test/py/requirements.txt: Bump setuptools to 70.3.0

2024-07-20 Thread Tom Rini
On Wed, 17 Jul 2024 11:41:18 -0600, Tom Rini wrote: > There is some potential security issue resolved by upgrading to v70.0.0 > here and the latest is now v70.3.0. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] cmd: move CMD_DHCP6 options beneath CMD_DHCP6

2024-07-20 Thread Tom Rini
On Wed, 17 Jul 2024 16:54:46 +0200, Heinrich Schuchardt wrote: > All Kconfig options that depend on CONFIG_CMD_DHCP6 should immediately > follow it. > > Applied to u-boot/master, thanks! -- Tom

Re: [v2] zlib: Fix big performance regression

2024-07-20 Thread Tom Rini
On Tue, 16 Jul 2024 08:35:46 -0600, Tom Rini wrote: > Commit 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot") > brings a big performance regression in inflate_fast(), which leads > to watchdog timer reset on powerpc 8xx. > > It looks like that commit does m

Re: [PATCH v2 1/1] boot: provide CONFIG_BOOTMETH_QFW Kconfig parameter

2024-07-20 Thread Tom Rini
On Tue, 16 Jul 2024 10:35:34 +0200, Heinrich Schuchardt wrote: > U-Boot is often used conjunction with QEMU to boot via EFI or syslinux. > Here the QFW boot method is not needed. > > At least for qemu-riscv64_smode_defconfig the kernel parameter is used > to specify the U-Boot binary. Trying to

Re: [PATCH] cmd: correct ELF-related commands dependencies

2024-07-20 Thread Tom Rini
On Mon, 15 Jul 2024 23:01:10 +0300, Maxim Moskalets wrote: > Enable BOOTM_ELF by default for all configs with LIB_ELF selected. > Use OF_LIBFDT as dependency for CMD_ELF_FDT_SETUP. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-20 Thread Tom Rini
On Mon, 15 Jul 2024 23:13:01 +0530, Udit Kumar wrote: > Increase malloc size to 32 MB to align with other J7 > family devices. > > Applied to u-boot/master, thanks! -- Tom

Re: [RESEND PATCH] soc: ti: k3-socinfo: Add support for J721E SR2.0

2024-07-20 Thread Tom Rini
On Mon, 15 Jul 2024 16:45:50 +0530, Neha Malcom Francis wrote: > Add support for identifying J721E SR2.0 > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/1] drivers/mtd/nvmxip: nvmxip.h is a global include

2024-07-20 Thread Tom Rini
On Mon, 15 Jul 2024 15:19:50 +0200, Heinrich Schuchardt wrote: > include/nvmxip.h is a global and not a local include. > So we should use angle brackets. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v3] bootstash: Do not provide a default address for all

2024-07-20 Thread Tom Rini
On Mon, 15 Jul 2024 12:42:00 +0100, Simon Glass wrote: > A valid memory location to stash bootstage information at will be > architecture dependent. Move the existing defaults to the main Kconfig > file for this option and set 0x0 as the default only for sandbox. > > Applied to u-boot/master,

Re: [PATCH] env: mmc: Fix env loading with CONFIG_SYS_MMC_ENV_PART

2024-07-19 Thread Tom Rini
ON) > str = CONFIG_ENV_MMC_PARTITION; > Nice catch. I did a little poking around with: rg -g Kconfig -U '^config ([A-Z0-9_]+)\n[[:blank:]]+(int|hex)' -o -r \ '$1' -NI | sort -u > syms And then for SYM in `cat syms`;do rg "IS_ENABLED\(CONFIG_${SYM}\)";done The only other place we use IS_ENABLED like this is a debug print where a value of zero on the symbol would be invalid usage. Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Pull request efi-2024-10-rc1-3

2024-07-19 Thread Tom Rini
On Fri, Jul 19, 2024 at 04:26:43PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 45956736ac7c9c8b04522789c20fb45ff95a: > > Merge patch series "bootstd: Add Android support" (2024-07-18 > 17:03:47 -0600) > > are available in the Git repository at: >

Re: [PATCH v4 08/29] hash: integrate hash on mbedtls

2024-07-19 Thread Tom Rini
On Fri, Jul 19, 2024 at 04:05:09PM +0100, Simon Glass wrote: > Hi Raymond, > > On Thu, 18 Jul 2024 at 17:46, Raymond Mao wrote: > > > > Hi Simon, > > > > On Fri, 5 Jul 2024 at 04:36, Simon Glass wrote: > >> > >> Hi, > >> > >> On Wed, Jul 3, 2024, 09:56 Ilias Apalodimas > >> wrote: > >> > > >>

Re: [PATCH] tools: Add script to update git subtree projects

2024-07-19 Thread Tom Rini
On Fri, Jul 19, 2024 at 07:12:43AM -0700, Raymond Mao wrote: > Recently we are introducing multiple git subtree projects and > it is the right time to have a universal script to update > various subtrees and replace the dts/update-dts-subtree.sh. > > update-subtree.sh is a wrapper of git subtree

Re: [PATCH v3 0/5] bootstd: Add Android support

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 10:40:01 +0200, Mattijs Korpershoek wrote: > Android boot flow is a bit different than a regular Linux distro. > Android relies on multiple partitions in order to boot. > > A typical boot flow would be: > 1. Parse the Bootloader Control Block (BCB, misc partition) > 2. If BCB

Re: [PATCH v2 0/5] finish using .dtso for overlay source files

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 09:16:07 +0200, Rasmus Villemoes wrote: > This is a followup to the patches that landed in 2024.01 and nearly > made sure that source files for producing .dtbo files use the .dtso > extension. In the same release, a few new .dts files snuck in, and > there was also some test

[PATCH 1/1] Squashed 'dts/upstream/' changes from 7e08733c96c8..20e0f0897ea2

2024-07-18 Thread Tom Rini
20e0f0897ea2 Merge tag 'v6.10-dts-raw' 9881d733059f Merge tag 'v6.10-rc7-dts-raw' 63c31204aa11 Merge tag 'sunxi-fixes-for-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes 23e9298c3dde Merge tag 'qcom-drivers-fixes-for-6.10' of

Re: Pull request: u-boot-rockchip-20240718

2024-07-18 Thread Tom Rini
On Thu, Jul 18, 2024 at 04:33:41PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the updates for rockchip platform: > - Add boards: > rk3328: Radxa ROCK Pi E v3; > rk3588s: FriendlyElec NanoPi R6C/S; > - Remove board: Theobroma Systems RK3368 Lion; > - Add rk3588 pcie support; > - Misc

Re: [PATCH] ARM: dts: remove leftover Amlogic GX/G12 bindings headers

2024-07-18 Thread Tom Rini
On Thu, 18 Jul 2024 10:28:37 +0200, Neil Armstrong wrote: > Remove the leftover Amlogic GX/G12 bindings headers that > maked the v6.10 upstream DT fail to build. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v2 00/21] Universal Payload initial series

2024-07-18 Thread Tom Rini
On Thu, Jul 18, 2024 at 10:23:21AM +0200, Heinrich Schuchardt wrote: > On 16.07.24 21:08, Tom Rini wrote: > > On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote: > > > > > > > > > Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis

Re: [PATCH 00/18] New CI image and fixes

2024-07-18 Thread Tom Rini
On Wed, Jul 17, 2024 at 10:29:11PM +0800, Jiaxun Yang wrote: > Hi all, > > This series build a new CI image based on Ubuntu focal with LoongArch64 > support, fixed various python scripts for python 3.12, fixed various > problems popped up when testing againt latest software. > > Last two

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-18 Thread Tom Rini
On Wed, Jul 17, 2024 at 03:32:00PM -0300, Walter Lozano wrote: > > > On 7/17/24 12:44, Tom Rini wrote: > > On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote: > > > On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: > > > > > > > > On Tue,

Re: [PATCH v4] bloblist: fix bloblist convention check.

2024-07-18 Thread Tom Rini
On Wed, 10 Jul 2024 14:53:20 +0100, Levi Yun wrote: > According to recently firmware handsoff spec [1]'s "Register usage at handoff > boundary", Transfer List's signature value was changed from 0x40_b10b > (3 bytes) to 4a0f_b10b (4 bytes). > > As updating of TL's signature, register value of

Re: [PATCH] test/py/requirements.txt: Bump zipp to current release

2024-07-18 Thread Tom Rini
On Tue, 09 Jul 2024 17:07:09 -0600, Tom Rini wrote: > A security issue exists with zipp before v3.19.1, and the current > release is now v3.19.2. While the change in versions numbers is large, a > manual inspection of the changelog shows that it's not as big as might > be implied. &g

Re: [PATCH] driver: rng: Do not check ARM_SMCCC_TRNG_VERSION

2024-07-18 Thread Tom Rini
On Tue, 09 Jul 2024 17:23:09 +0100, Leo Yan wrote: > As described in the document SMC Calling Convention (ARM DEN 0028 1.5 F), > section 7 "Arm Architecture Calls", the SMC call SMCCC_ARCH_FEATURES is > not expected to support the function ID ARM_SMCCC_TRNG_VERSION. Trusted > Firmware-A follows

Re: [PATCH] ti: omap: am3517evm: Move environment definition to env file

2024-07-18 Thread Tom Rini
On Mon, 08 Jul 2024 21:38:57 -0500, Adam Ford wrote: > Instead of cluttering up a header file with a bunch of defines, > move the default environmental variables to a file called > am3517evm.env and reference it from the defconfig. Also > remove dead comments. > > Applied to u-boot/master,

Re: [PATCH] timer: mtk: skip setting parent with dummy fixed-clock

2024-07-18 Thread Tom Rini
On Sat, 06 Jul 2024 18:13:02 +0200, Christian Marangi wrote: > Skip setting parent with dummy fixed-clock. Upstream linux might declare > an additional clock for the mtk timer and that additional clock might > also be a fixed-clock defined in DT. Setting parent of a dummy fixed-clock > resulta in

Re: [PATCH v2 0/2] Respin bootstd cros patch into a series of two

2024-07-18 Thread Tom Rini
On Wed, 03 Jul 2024 13:37:54 +0200, Vincent Stehlé wrote: > This is a respin of this patch [1] after discussion [2]. Thanks to > Simon and Heinrich for their reviews. > > To use the guidcmp() function, as suggested by Heinrich, we need to > make it available to bootmeth_cros.c and I think that

Re: [PATCH v1] verdin-am62: add DFU, USB and UUU fastboot support

2024-07-18 Thread Tom Rini
On Thu, 04 Jul 2024 16:49:32 +0100, Vitor Soares wrote: > Enable USB host as well as USB gadget and DFU support for a53 and r5 > configs. Also, enable UUU fastboot support to download files with > the UUU tool from a53. > > Additionally, configure usb0 to peripheral mode and add extra >

Re: [PATCH] b4-config: configure `b4` for U-Boot

2024-07-17 Thread Tom Rini
On Thu, Jul 18, 2024 at 12:44:03AM +0800, Jiaxun Yang wrote: > > > 在2024年7月17日七月 下午11:26,Quentin Schulz写道: > > Hi Juaxun, > > > > On 7/17/24 5:12 PM, Jiaxun Yang wrote: > >> `b4` is a commandline tool to make patch-based development easier[1] > >> > >> Provide a .b4-config file to match

Re: [PATCH 1/4] lib: sha256: add feature sha256_hmac

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 07:08:27PM +0200, Philippe REYNES wrote: > Hi Peter, > > Le 16/07/2024 à 18:56, Peter Robinson a écrit : > > This Mail comes from Outside of SoftAtHome: Do not answer, click links or > > open attachments unless you recognize the sender and know the content is > > safe. >

Re: [PATCH] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.10

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 03:34:15PM +0100, Andre Przywara wrote: > Sync the devicetree files from the official Linux kernel tree, v6.10. > This is covering Allwinner SoCs with 32-bit and 64-bit ARM cores. > > Besides mostly cosmectic changes, this adds cpufreq support to H616 > boards, Nothing

[PATCH 1/1] test/py/requirements.txt: Bump setuptools to 70.3.0

2024-07-17 Thread Tom Rini
There is some potential security issue resolved by upgrading to v70.0.0 here and the latest is now v70.3.0. Reported-by: GitHub dependabot Suggested-by: Sebastian Kropatsch Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote: > On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: > > > > On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano wrote: > > > > > ARM and Aarch64 have different restrictions and trying to accommodate >

Re: [PATCH v3 0/4] Fix fdtfile for j722s and am62p

2024-07-16 Thread Tom Rini
On Tue, 02 Jul 2024 10:50:00 +0530, Manorit Chawdhry wrote: > fdtfile wasn't being populated in these boards in legacy boot using > bootcmd_ti_mmc, migrate these platforms to ti_set_fdt_env. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/4] configs: phycore_am62x_a53: Add more commands

2024-07-16 Thread Tom Rini
On Sun, 30 Jun 2024 23:20:47 -0700, Daniel Schultz wrote: > Add i2c and rtc commands with all dependencies which are > required for testing. > > Additionally, add smc and cache commands to boot Zephyr on the A53. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v4 0/3] drivers: bootcount: Add support for ANY filesystem

2024-07-16 Thread Tom Rini
On Fri, 28 Jun 2024 19:35:40 +0200, Vasileios Amoiridis wrote: > Changes in v4: > - Add bootcount.rst in doc/api/index.rst > - Fix typo in documentation > > Changes in v3: > - Remove specific CONFIGs for filesystems > - Add message to prompt user to enable required write

Re: [PATCH] firmware: psci: register PSCI power domains to stub driver

2024-07-16 Thread Tom Rini
On Fri, 28 Jun 2024 11:54:47 +0200, Neil Armstrong wrote: > On some SoCs, like Qualcomm SoCs, the PSCI cluster power domain > is used by system-wide firmware interfaces to make sure none > of the CPUs are suspended before submitting requests. > > While on U-boot we only use the first core and we

Re: [PATCH v2 00/21] Universal Payload initial series

2024-07-16 Thread Tom Rini
On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote: > > > Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis > : > >> From: Simon Glass > >> Date: Sat, 13 Jul 2024 08:00:34 +0100 > >> > >> Universal Payload (UPL) is an Industry Standard for firmware > >> components[1]. > >

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 10:14:26PM +0200, Heinrich Schuchardt wrote: > On 7/16/24 22:01, Tom Rini wrote: > > On Tue, Jul 16, 2024 at 09:35:18PM +0200, Heinrich Schuchardt wrote: > > > On 7/16/24 21:13, Tom Rini wrote: > > > > On Thu, Jun 20, 2024 at 04:35:39

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 09:35:18PM +0200, Heinrich Schuchardt wrote: > On 7/16/24 21:13, Tom Rini wrote: > > On Thu, Jun 20, 2024 at 04:35:39PM -0500, Nishanth Menon wrote: > > > Hi Team, > > > > > > We have briefly discussed this topic on IRC[1]. I would like

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-07-16 Thread Tom Rini
On Thu, Jun 20, 2024 at 04:35:39PM -0500, Nishanth Menon wrote: > Hi Team, > > We have briefly discussed this topic on IRC[1]. I would like to > propose a new boot-firmware repository similar to the Linux-firmware > repository under the aegis of u-boot hosting. > > In addition to TI, it looks

Re: [PATCH 0/9] Generalize PHYTEC Overlay Handling

2024-07-16 Thread Tom Rini
On Tue, Jul 02, 2024 at 10:41:53PM -0700, Daniel Schultz wrote: > The overlays are specified in the bootenv.txt file that is loaded into > the environment. Then these overlays get loaded and applied via a script. > These scripts for loading and applying devicetree overlays are identical > for

Re: [PATCH 1/1] doc: enable ReadTheDocs addon management

2024-07-16 Thread Tom Rini
; # If extensions (or modules to document with autodoc) are in another > directory, > # add these directories to sys.path here. If the directory is relative to the Thanks for taking care of this! Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

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

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 01:24:05PM +0100, Andre Przywara wrote: > Hi Tom, > > please pull the sunxi/master branch, containing the first part of the > 2024.10 changes. > Nothing really major here, some rework of the SPL PMIC drivers, adding > support for the AXP717 on the way, which is showing up

Re: Various Integer Overflows in dlmalloc

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 11:16:27AM +0200, Richard Weinberger wrote: > Hi! > > While inspecting various security aspects of U-Boot I noticed some > issues around dlmalloc and asking for your feedback, especially for the > first issue. > I'm CC'ing Barebox folks since Barebox seems to be based on

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano wrote: > ARM and Aarch64 have different restrictions and trying to accommodate > larger kernels like the ones used in distros can be challenging. For this > reason, separate the layout and rearrange the map for Aarch64 to support > kernels

Re: [RFC PATCH v2 41/48] efi_memory: add an event handler to update memory map

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 11:55:10AM +0530, Sughosh Ganu wrote: > On Tue, 16 Jul 2024 at 00:35, Tom Rini wrote: > > > > On Mon, Jul 15, 2024 at 12:39:32PM +0100, Simon Glass wrote: > > > Hi Sughosh, > > > > > > On Mon, 15 Jul 2024 at 10:39, Sughosh Ga

Re: [PATCH 02/13] doc: Move bootstd into its own directory

2024-07-16 Thread Tom Rini
On Tue, Jul 16, 2024 at 08:04:38AM +0100, Simon Glass wrote: > Hi Heinrich, > > On Mon, 15 Jul 2024 at 22:58, Heinrich Schuchardt wrote: > > > > On 7/15/24 12:13, Simon Glass wrote: > > > Before adding more files, move the bootstd docs into a new directory, > > > with an index. > > > > > >

[v2] zlib: Fix big performance regression

2024-07-16 Thread Tom Rini
ementation as it is the initial purpose of said commit. Fixes: 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot") [trini: Combine assorted patches in to this one, just restoring the performance commit] Signed-off-by: Tom Rini Signed-off-by: Christophe Leroy --- Given that in master

Re: [PATCH 01/45] api: Remove duplicate newlines

2024-07-15 Thread Tom Rini
On Sat, 13 Jul 2024 15:18:52 +0200, Marek Vasut wrote: > Drop all duplicate newlines. No functional change. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v3 08/19] test: Introduce the concept of a role

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 08:11:28AM +0100, Simon Glass wrote: > Hi Tom, > > On Sat, 13 Jul 2024 at 17:57, Tom Rini wrote: > > > > On Sat, Jul 13, 2024 at 04:13:55PM +0100, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 3 Jul 2024 at 00:12,

[PATCH 3/5] arm: ti: Remove omap4 platform support

2024-07-15 Thread Tom Rini
There are no longer any OMAP4 platforms in U-Boot, remove the related functionality. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap4/clock.h | 250 -- arch/arm/include/asm/arch-omap4/cpu.h | 109 - arch/arm/include/asm/arch-omap4/ehci.h| 38

[PATCH 5/5] arm: Remove omap3_beagle board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- Cc: Robert Nelson --- arch/arm/dts/Makefile | 5 - arch/arm/dts/omap3-beagle-u-boot.dtsi | 14 - arch/arm/dts/omap3-beagle-xm-ab-u-boot.dtsi | 14 - arch

[PATCH 4/5] arm: Remove devkit3250 board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- Cc: Vladimir Zapolskiy --- arch/arm/mach-lpc32xx/Kconfig | 4 -- board/timll/devkit3250/Kconfig | 12 board/timll/devkit3250/MAINTAINERS | 6 -- board/timll

[PATCH 1/5] arm: Remove omap4_panda board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- arch/arm/dts/Makefile| 4 - arch/arm/dts/omap4-panda-common.dtsi | 573 --- arch/arm/dts/omap4-panda-es.dts | 82 arch/arm/dts/omap4

Re: [RFC PATCH v2 41/48] efi_memory: add an event handler to update memory map

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:39:32PM +0100, Simon Glass wrote: > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:39, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:38, Sughosh Ganu wrote: > > >

[PATCH] test/py/requirements.txt: Bump setuptools to 70.0.0

2024-07-15 Thread Tom Rini
There is some potential security issue resolved by upgrading to the latest here. Reported-by: GitHub dependabot Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index

Re: [RFC PATCH v2 13/48] lmb: make LMB memory map persistent and global

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:39:35PM +0100, Simon Glass wrote: > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:48, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:36, Sughosh Ganu wrote: > > >

Re: Please pull u-boot-marvell/master

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:59:03PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this small batch of Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Pull request efi-2024-10-rc1-2

2024-07-15 Thread Tom Rini
On Sun, Jul 14, 2024 at 12:53:43PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > >

Re: [PATCH v3] bootstash: Do not provide a default address for all

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:42:00PM +0100, Simon Glass wrote: > From: Tom Rini > > A valid memory location to stash bootstage information at will be > architecture dependent. Move the existing defaults to the main Kconfig > file for this option and set 0x0 as the default o

Re: [PATCH v2 0/2] a little RPi watchdog cleanup

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 02:24:48PM +0100, Peter Robinson wrote: > > > I can't find these patches (and v1) in patchworks. Do you have an > > > idea, why this is the case? > > > > > > > Perhaps because they (v2) have already been merged to master via a PR from > > Peter? commit 1ca216522d4. > >

Re: [PULL] u-boot-sh/master

2024-07-15 Thread Tom Rini
On Sat, Jul 13, 2024 at 09:35:07PM +0200, Marek Vasut wrote: > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > >

Re: [PULL] u-boot-usb/master

2024-07-15 Thread Tom Rini
On Sat, Jul 13, 2024 at 09:33:49PM +0200, Marek Vasut wrote: > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > > git://source.denx.de/u-boot-usb.git

Re: [PATCH v3 08/19] test: Introduce the concept of a role

2024-07-13 Thread Tom Rini
On Sat, Jul 13, 2024 at 04:13:55PM +0100, Simon Glass wrote: > Hi Tom, > > On Wed, 3 Jul 2024 at 00:12, Tom Rini wrote: > > > > On Thu, Jun 27, 2024 at 09:37:18AM +0100, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 26 Jun 2024 at 15:29,

Re: [v2] bootstash: Do not provide a default address for all

2024-07-13 Thread Tom Rini
On Sat, Jul 13, 2024 at 04:13:50PM +0100, Simon Glass wrote: > Hi Tom, > > On Thu, 11 Jul 2024 at 22:27, Tom Rini wrote: > > > > A valid memory location to stash bootstage information at will be > > architecture dependent. Move the existing defaults to the main Kconf

Re: [PATCH] turris_1x: Normalize Kconfig usage

2024-07-13 Thread Tom Rini
On Sat, 13 Jul 2024 08:38:38 -0600, Tom Rini wrote: > We don't set many options in the board Kconfig entry file but instead > use defconfigs, select in some cases on the target itself, or update the > "default" options of the main entries when needed. In this case w

Re: [PATCH 0/6] Add Turris 1.x board

2024-07-13 Thread Tom Rini
On Thu, 06 Jun 2024 18:33:20 +0200, Marek Mojík wrote: > this is a continuation of previous work by Pali to add support for the > Turris 1.x board. As the patches were based on u-boot v2022.04, a > nontrivial rebasing was needed. > > Some notes: > - Some options that are in SD defconfig are

[PATCH] turris_1x: Normalize Kconfig usage

2024-07-13 Thread Tom Rini
onfig like other platforms. Signed-off-by: Tom Rini --- I'd be open to someone else taking this patch and doing a v2 that has one of the defconfig's #include the other and then make the required changes (see other defconfigs which use #include for the constraints however) as an alternative. Cc: &q

Re: Pull request: rpi-2024.10 rc1

2024-07-12 Thread Tom Rini
On Fri, Jul 12, 2024 at 12:36:32PM +0100, Peter Robinson wrote: > Hi Tom, > > Please pull the updates for the Raspberry Pi: > > Updates for RPi for 2024.10: > - board: rpi: remove leftover CONFIG_HW_WATCHDOG block > - arm: bcm283x: remove unused empty hw_watchdog_disable > - board: raspberrypi:

Re: [PATCH uboot] dt-bindings: clock: rcar-gen2: Remove obsolete header files

2024-07-12 Thread Tom Rini
On Fri, Jul 12, 2024 at 03:17:38PM +0200, Geert Uytterhoeven wrote: > The clock definitions in were > superseded by those in a long > time ago. > > In fact U-Boot never used . > The unused headers, their replacements, and the corresponding > r8a779?.dtsi files were introduced together in U-Boot

Re: [PATCH] fat: fat2rtc: Sanitize timestamps

2024-07-12 Thread Tom Rini
On Fri, Jul 12, 2024 at 11:51:06AM +0200, Richard Weinberger wrote: > Am Freitag, 12. Juli 2024, 11:46:08 CEST schrieb 'Heinrich Schuchardt' via > upstream: > > Am 12. Juli 2024 10:24:54 MESZ schrieb Richard Weinberger : > > >Make sure that tm_mday and tm_mon are within the expected > > >range.

Re: [PATCH 1/2] ext4: Fix integer overflow in ext4fs_read_symlink()

2024-07-12 Thread Tom Rini
On Fri, Jul 12, 2024 at 01:26:35PM +0200, Richard Weinberger wrote: > Am Freitag, 12. Juli 2024, 13:19:32 CEST schrieb Heinrich Schuchardt: > > > Hm, I see man built-ins in the U-Boot source. > > > Why is this one special? > > > > See the definition of COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW in > >

Re: env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

2024-07-12 Thread Tom Rini
On Fri, Jul 12, 2024 at 10:14:27AM +0200, Rasmus Villemoes wrote: > Tony Dinh writes: > > > Hi Tom, > > > > I'm trying to move some envs from a board header file to the default > > env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are > > appended to the envs in CFG_EXTRA_ENV_SETTINGS.

Re: adding fdt-overlay function - help needed

2024-07-12 Thread Tom Rini
On Thu, Jul 11, 2024 at 01:23:32PM +0200, Frank Wunderlich wrote: > Hi, > > i got a bit further and noticed, that required command is not available in > uboot...this is normally part of the dtc package [1], so why is it missing in > u-boot? > I guess later added or dropped to reduce compile

Re: [PATCH RFC 0/3] ARM64: add symbol name lookup and print a backtrace on exception

2024-07-12 Thread Tom Rini
On Wed, Jul 10, 2024 at 06:26:17PM +0200, Caleb Connolly wrote: > U-Boot already emits frame pointers on ARM64, but lacks the code to > parse them, as well as a mechanism for looking up symbol names at > runtime. > > There was some (seemingly?) leftover code for symbols lookups in >

Re: [PATCH RFC 3/3] arm64: unwind stack on exception

2024-07-12 Thread Tom Rini
On Wed, Jul 10, 2024 at 06:26:20PM +0200, Caleb Connolly wrote: > We already build arm64 images with frame pointers. Let's finally make > use of them in tandem with the new symbol lookup support by unwinding > the stack when an exception occurs, producing a backtrace similar to > those emitted by

Re: [PATCH RFC 2/3] add support for symbol lookups

2024-07-12 Thread Tom Rini
On Wed, Jul 10, 2024 at 06:26:19PM +0200, Caleb Connolly wrote: > This is mostly a port of the Xen hypervisor implementation. The U-Boot > binary is built as normal, then its symbol table is fed into > tools/symbols to generate an optimised lookup table. U-Boot is rebuilt > with the symbol table

Re: [PATCH RFC 1/3] drop unused kallsyms support

2024-07-12 Thread Tom Rini
On Wed, Jul 10, 2024 at 06:26:18PM +0200, Caleb Connolly wrote: > There was some very old code floating around for decoding symbols, it's > incomplete and is never built. Remove it so we can add a new > implementation. > > Signed-off-by: Caleb Connolly Reviewed-by: Tom

Re: [GIT PULL] Please pull u-boot-dfu-20240711

2024-07-12 Thread Tom Rini
On Thu, Jul 11, 2024 at 03:09:58PM +0200, Mattijs Korpershoek wrote: > Hi Tom, > > Please find some new developments for master: > > Usb gadget: > - A welcome cleanup: epautoconf workaround is dropped to use > .match_ep() instead > - Introduce handle_interrupts() op for USB_GADGET_GENERIC,

Re: env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

2024-07-11 Thread Tom Rini
On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote: > Hi Tom, > > I'm trying to move some envs from a board header file to the default > env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are > appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here > before: > >

Re: [PATCH] test/py/tests/test_fpga.py: Correct check for legacy image format support

2024-07-11 Thread Tom Rini
On Wed, 03 Jul 2024 15:19:09 -0600, Tom Rini wrote: > The build option to support images of type 'IMAGE_FORMAT_LEGACY' is > CONFIG_LEGACY_IMAGE_FORMAT so update the pytest to check for the correct > option. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v1] mmc: am654_sdhci: Add the quirk to set TESTCD bit

2024-07-11 Thread Tom Rini
On Tue, 02 Jul 2024 21:54:29 +0200, Emanuele Ghidoli wrote: > The ARASAN MMC controller on Keystone 3 class of devices need the SDCD > line to be connected for proper functioning. > > In cases where this can't be connected, add a quirk to force the > controller into test mode and set the TESTCD

Re: [PATCH] board: phytec: k3: k3_ddrss_patch: Add ddr phy reg count

2024-07-11 Thread Tom Rini
On Tue, 02 Jul 2024 11:22:40 +0200, Dominik Haller wrote: > Add and use the correct number of ddr phy registers to update the > corresponding settings. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] omap3: igep0x00: Switch to the I2C driver model

2024-07-11 Thread Tom Rini
On Sat, 29 Jun 2024 01:17:04 +0200, Javier Martinez Canillas wrote: > When building with the igep00x0_defconfig, the following warning is shown: > > $ make -j $(nproc) > ... > LD spl/u-boot-spl > OBJCOPY spl/u-boot-spl-nodtb.bin > SYM spl/u-boot-spl.sym > CAT

Re: [PATCH] cmd: add resize for FDT in bootelf

2024-07-11 Thread Tom Rini
On Fri, 28 Jun 2024 11:34:11 +0300, Maxim Moskalets wrote: > In some FDTs, there is not enough free memory to add nodes, so this > operation fails. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] gpt: allow spaces in partition list

2024-07-11 Thread Tom Rini
On Thu, 27 Jun 2024 14:29:04 +0300, Mikhail Kshevetskiy wrote: > This allows spliting partition list to several lines in environment file > > ex: > > gpt_partition_list= > name=boot1,size=5MiB,start=0x10; > name=boot2,size=5MiB; >

[v2] bootstash: Do not provide a default address for all

2024-07-11 Thread Tom Rini
A valid memory location to stash bootstage information at will be architecture dependent. Move the existing defaults to the main Kconfig file for this option and set 0x0 as the default only for sandbox. Signed-off-by: Tom Rini --- Changes in v2: - Seeing that BOOTSTAGE_STASH_ADDR did not depend

Re: [PATCH 2/2] ext4: Fix zalloc()

2024-07-11 Thread Tom Rini
On Tue, Jul 02, 2024 at 09:42:23PM +0200, Richard Weinberger wrote: > The zalloc() function suffers from two problems. > 1. If memalign() fails it will return NULL and memset() will use a NULL > pointer. > 2. memalign() itself seems to crash when more than 2^32 bytes are requested. > > So,

Re: [PATCH] buildman: Show board list with -x

2024-07-11 Thread Tom Rini
is. > > Signed-off-by: Simon Glass Tested-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] test/py/requirements.txt: Bump zipp to current release

2024-07-09 Thread Tom Rini
A security issue exists with zipp before v3.19.1, and the current release is now v3.19.2. While the change in versions numbers is large, a manual inspection of the changelog shows that it's not as big as might be implied. Reported-by: GitHub dependabot Signed-off-by: Tom Rini --- test/py

Re: [PATCH v4 01/21] linux/bitmap.h: add bitmap_empty helper

2024-07-09 Thread Tom Rini
On Tue, Jul 09, 2024 at 11:34:29AM +0200, Caleb Connolly wrote: > Import this function from Linux as of 6.10-rc6 > > Signed-off-by: Caleb Connolly Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [EXTERNAL] Re: [PATCH 1/6] sound: ti: Add sound support for am625 board in Uboot

2024-07-09 Thread Tom Rini
On Tue, Jul 09, 2024 at 04:56:45PM +0530, Scaria Kochidanadu wrote: > > > On 08/07/24 21:16, Tom Rini wrote: > > On Mon, Jul 08, 2024 at 01:22:02PM +0530, Scaria Kochidanadu wrote: > > > >> Add a UCLASS_SOUND driver for Texas Instruments SoCs which ties togethe

Re: [PATCH v3 07/10] configs: am62: Add configs for enabling ETHBOOT in R5SPL

2024-07-09 Thread Tom Rini
On Tue, Jul 09, 2024 at 12:29:15PM +0530, Chintan Vankar wrote: > > > On 05/07/24 21:07, Tom Rini wrote: > > On Fri, Jul 05, 2024 at 10:20:27AM +0530, Chintan Vankar wrote: > > > > > From: Kishon Vijay Abraham I > > > > > > Add configs for en

  1   2   3   4   5   6   7   8   9   10   >