Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-19 Thread Marek Vasut
On 11/20/23 00:17, Shantur Rathore wrote: On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote: On 10/27/23 01:16, Hector Martin wrote: This series is the first of a few bundles of USB fixes we have been carrying downstream on the Asahi U-Boot branch for a few months. Most importantly, this

Re: [PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200

2023-11-19 Thread Neha Malcom Francis
Hi Tom, On 17/11/23 19:37, Tom Rini wrote: On Fri, Nov 17, 2023 at 02:00:43PM +0530, Neha Malcom Francis wrote: Hi Tom On 17/11/23 00:10, Tom Rini wrote: On Thu, Nov 16, 2023 at 11:43:50AM +0530, Neha Malcom Francis wrote: Hi Tom, Trying to bring back this series here. On 03/10/23 20:40,

Re: [PATCH v2 2/2] usb: fastboot: Add missing newline in pr_err

2023-11-19 Thread Marek Vasut
On 11/20/23 01:08, Simon Holesch wrote: Add missing newline in pr_err. Signed-off-by: Simon Holesch Reviewed-by: Marek Vasut --- Changes in v2: - add commit message body Thanks for the review! Thanks for V2, now it's up to Mattijs to sort this out.

Re: bootstd: Support for distro specific EFI folders

2023-11-19 Thread Ilias Apalodimas
Hi Mark, On Sun, 19 Nov 2023 at 19:38, 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, > > > > > > On Fri, Nov 17, 2023 at 3:12 PM Heinrich Schuchardt > > > wrote:

Re: [PATCH v2 1/1] cmd: eficonfig: create shortened boot options

2023-11-19 Thread Ilias Apalodimas
On Sat, 18 Nov 2023 at 13:40, Heinrich Schuchardt wrote: > > The boot options created by eficonfig should use shortened device-paths to > avoid problems if drives are enumerated in a different sequence. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > Correctly handle the case that

[PATCH] starfive: visionfive2: add device tree overlay support

2023-11-19 Thread John Clark
device tree overlay support requires fdtoverlay_addr_r to be set before ~~ Invalid fdtoverlay_addr_r for loading overlays after ~ Retrieving file: /boot/overlay/rtc-ds3231.dtbo Signed-off-by: John Clark --- include/configs/starfive-visionfive2.h | 1 + 1 file changed, 1 insertion(+)

[PATCH 3/7] tools: Keep test_util and patman test files in the pip release

2023-11-19 Thread Simon Glass
The test_util module is actually imported by some tools, e.g. binman so include it in the pip release. The patman tool uses its test code when starting up, so keep that too. Show a list of deleted files so it is clear what is happening. Signed-off-by: Simon Glass --- scripts/make_pip.sh | 12

[PATCH 0/7] doc: tools: Tidy up toml files for a new release

2023-11-19 Thread Simon Glass
This series corrects a few problems with the generation of pip packages which showed up during a recent tools release. A new release has been completed for all tools with a new version number of 0.0.6 so this series reflects the changes there. It also updates the documentation URL to use the

Re: [PATCH v3 3/4] bootm: Move arm64-image processing later

2023-11-19 Thread Tom Rini
On Sun, Nov 19, 2023 at 07:43:33AM -0700, Simon Glass wrote: > If the image is compressed, then the existing check fails, since the > header is wrong. > > Move the check later in the boot process, after the kernel is > decompressed. This allows use of bootm with compressed kernels, while > still

Re: [PATCH 1/5] cyclic: Disable in SPL builds

2023-11-19 Thread Tom Rini
On Sun, Nov 19, 2023 at 07:46:39AM -0700, Simon Glass wrote: > The cyclic subsystem is currently enabled in all build phases or none. > So far it doesn't have any purpose within SPL builds, so adjust the > rules to prevent it being built in that case. > > Signed-off-by: Simon Glass > --- > >

[PATCH v4 2/4] bootflow: bootmeth_efi: set bflow->fname from bootfile name

2023-11-19 Thread Shantur Rathore
We need to set boot->fname before calling efi_set_bootdev otherwise this crashes as bflow->fname is null. Reviewed-by: Simon Glass Signed-off-by: Shantur Rathore --- (no changes since v1) boot/bootmeth_efi.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH v4 4/4] bootflow: bootmeth_efi: don't free buffer

2023-11-19 Thread Shantur Rathore
bootmeth_efi doesn't allocate any buffer to load efi in any case. enable static buffer flag for all cases. Reviewed-by: Simon Glass Signed-off-by: Shantur Rathore --- (no changes since v1) boot/bootmeth_efi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH v4 3/4] bootflow: bootmeth_efi: Handle fdt not available.

2023-11-19 Thread Shantur Rathore
While booting with efi, if fdt isn't available externally, just use the built-in one. Reviewed-by: Simon Glass Signed-off-by: Shantur Rathore --- Changes in v4: - Update code to use BUILT_IN_FDT flag as suggested boot/bootmeth_efi.c | 19 +-- include/bootflow.h | 2 ++ 2

Re: [PATCH 2/3] configs: rzg2_beacon: Realign ENV location and offset

2023-11-19 Thread Marek Vasut
On 10/31/23 16:13, Adam Ford wrote: On Wed, Oct 25, 2023 at 6:13 PM Adam Ford wrote: The ENV size and offset were changed to different values in Beacon's downstream release. Change them to the same values as the downstream for consistent behavior. Signed-off-by: Adam Ford Marek, I know

Re: [PATCH 5/5] sysreset: Support reset via Renesas RAA215300 PMIC

2023-11-19 Thread Marek Vasut
On 11/15/23 18:40, Paul Barker wrote: This patch allows us to reset the RZ/G2L board via the RAA215300 PMIC. Note that the RAA215300 documentation names the available reset types differently to u-boot: - A "warm" reset via the RAA215300 PMIC will fully reset the SoC (CPU & GPIOs), so

Re: [PATCH 3/5] i2c: rzg2l: Add I2C driver for RZ/G2L family

2023-11-19 Thread Marek Vasut
On 11/15/23 18:40, Paul Barker wrote: This driver supports the I2C module on the Renesas RZ/G2L (R9A07G044) SoC, also known as the RIIC module. This patch is based on both the u-boot driver in the Renesas RZ BSP 3.0.5 release [1] (commit 7fcc1fdc2534), and the Linux v6.6 driver (commit

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-19 Thread Fabio Estevam
Hi Benjamin, [Please do not top-post] On Sun, Nov 19, 2023 at 6:08 PM Szőke Kálmán Benjamin wrote: > (void)(devno); is need because devno arguments is an unused variable, need to > use this solution to suppress any potential warnings. No, devno is a function parameter. There is no warning if

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-19 Thread Shantur Rathore
Hi Simon, On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote: > > When a USB device is unbound, it causes any bootflows attached to it to > be removed, via a call to bootdev_clear_bootflows() from > bootdev_pre_unbind(). This obviously makes it impossible to boot the > bootflow. > > However, when

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-19 Thread Fabio Estevam
On Sun, Nov 19, 2023 at 8:47 PM Szőke Kálmán Benjamin wrote: > > It will warn, if warning levels is set correctly. I will do not remove it. How can it happen if U-Boot uses warning-1 := -Wextra -Wunused -Wno-unused-parameter ?

[PATCH 3/5] video: Use cyclic to handle video sync

2023-11-19 Thread Simon Glass
At present U-Boot flushes the cache after every character written to ths display. This makes the command-line slower, to the point that pasting in long strings can fail. Add a cyclic function to sync the display every 10ms. Enable this by default. Allow much longer times for sandbox, since the

[PATCH 4/5] sandbox: Increase cyclic CPU-time limit

2023-11-19 Thread Simon Glass
Now that sandbox is using cyclic for video, it trips the 1us time limit. Updating the sandbox display often takes 20ms or more. Increase the limit to 100ms to avoid a warning. Signed-off-by: Simon Glass --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Kconfig

Re: [PATCH 02/29] mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

2023-11-19 Thread Simon Glass
Hi Heinrich, On Wed, 15 Nov 2023 at 03:02, Heinrich Schuchardt wrote: > > On 11/12/23 01:08, Simon Glass wrote: > > 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

[PATCH 5/5] sandbox: Drop video-sync in serial driver

2023-11-19 Thread Simon Glass
With sandbox, when U-Boot is waiting for input it syncs the video display, since presumably the user has finished typing. Now that cyclic is used for video syncing, we can drop this. Cyclic will automatically call the video_idle() function when idle. Signed-off-by: Simon Glass ---

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

2023-11-19 Thread Simon Glass
Add a script which produces a Flat Image Tree (FIT), a single file containing the built kernel and associated devicetree files. Compression defaults to gzip which gives a good balance of size and performance. The files compress from about 86MB to 24MB using this approach. The FIT can be used by

[PATCH v6 0/2] arm64: Add a build target for Flat Image Tree

2023-11-19 Thread Simon Glass
Flat Image Tree (FIT) is a widely used file format for packaging a kernel and associated devicetree files[1]. It is not specific to any one bootloader, as it is supported by U-Boot, coreboot, Linuxboot, Tianocore and Barebox. This series adds support for building a FIT as part of the kernel

[PATCH v6 1/2] kbuild: arm64: Add BOOT_TARGETS variable

2023-11-19 Thread Simon Glass
Add a new variable containing a list of possible targets. Mark them as phony. This matches the approach taken for arch/arm Signed-off-by: Simon Glass --- Changes in v6: - Drop the unwanted .gz suffix arch/arm64/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-19 Thread Simon Glass
Hi Mark, On Wed, 15 Nov 2023 at 08:46, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Tue, 14 Nov 2023 17:48:25 -0700 > > > > Hi, > > > > On Tue, 14 Nov 2023 at 17:44, Bin Meng wrote: > > > > > > Hi Tom, > > > > > > On Wed, Nov 15, 2023 at 12:22 AM Tom Rini wrote: > > > > > > > > On

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-19 Thread Marek Vasut
On 10/27/23 01:16, Hector Martin wrote: This series is the first of a few bundles of USB fixes we have been carrying downstream on the Asahi U-Boot branch for a few months. Most importantly, this related set of patches makes xHCI error/stall recovery more robust (or work at all in some cases).

Re: [PATCH 5/5] sysreset: Support reset via Renesas RAA215300 PMIC

2023-11-19 Thread Paul Barker
On Sun, Nov 19, 2023 at 09:17:40PM +0100, Marek Vasut wrote: > On 11/15/23 18:40, Paul Barker wrote: > > This patch allows us to reset the RZ/G2L board via the RAA215300 PMIC. > > > > Note that the RAA215300 documentation names the available reset types > > differently to u-boot: > > > >- A

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-11-19 Thread Shantur Rathore
On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote: > > On 10/27/23 01:16, Hector Martin wrote: > > This series is the first of a few bundles of USB fixes we have been > > carrying downstream on the Asahi U-Boot branch for a few months. > > > > Most importantly, this related set of patches makes

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

2023-11-19 Thread Shantur Rathore
On Sun, Nov 19, 2023 at 11:03 PM Shantur Rathore wrote: > > Hi Marek, > > On Sun, Nov 19, 2023 at 8:53 PM Marek Vasut wrote: > > > > On 11/10/23 15:13, Shantur Rathore wrote: > > > Currently when a hub is turned on, all the ports are powered on. > > > This works well for hubs which have

[PATCH v3 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-19 Thread Simon Glass
This little series corrects a problem I noticed with arm64 images, where the kernel is not recognised if compression is used: U-Boot> tftp image.fit Using ethernet@7d58 device TFTP from server 192.168.4.7; our IP address is 192.168.4.147 Filename 'image.fit'. Load address:

[PATCH v3 2/4] image: Show the load address when decompressing

2023-11-19 Thread Simon Glass
The destination address for decompression (or copying) is useful information. Show this to the user while booting, e.g.: Uncompressing Kernel Image (no loading done) to 208 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v1) boot/image.c | 13 + 1

[PATCH v3 1/4] image: Correct load_bug typo

2023-11-19 Thread Simon Glass
Correct a typo in the function comment for image_decomp(). Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v1) include/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.h b/include/image.h index b89912a50f98..bd2f6c6d9339 100644

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

2023-11-19 Thread Shantur Rathore
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: bootmeth_efi: set bflow->fname from bootfile name bootflow: bootmeth_efi:

[PATCH v4 1/4] bootflow: bootmeth_efi: Set bootp_arch as hex

2023-11-19 Thread Shantur Rathore
bootmeth_efi sets up bootp_arch which is read later in bootp.c Currently bootp_arch is being set as integer string and being read in bootp.c as hex, this sends incorrect arch value to dhcp server which in return sends wrong file for network boot. For ARM64 UEFI Arch value is 0xb (11), here we set

Re: [PATCH 1/2] global: Clean up arch/*/dts/Makefile

2023-11-19 Thread Tom Rini
On Sun, Nov 19, 2023 at 12:09:07PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 17 Nov 2023 at 15:52, Tom Rini wrote: > > > > With commit 3609e1dc ("dts: automatically build necessary .dtb files") > > we now have logic that will ensure that all device trees needed in the > > binary are built

Re: [PATCH 3/5] video: Use cyclic to handle video sync

2023-11-19 Thread Tom Rini
On Sun, Nov 19, 2023 at 11:23:59AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 19 Nov 2023 at 08:59, Tom Rini wrote: > > > > On Sun, Nov 19, 2023 at 07:46:41AM -0700, Simon Glass wrote: > > > At present U-Boot flushes the cache after every character written to > > > ths display. This makes

[PATCH v2 1/2] usb: ci: Fix gadget reinit

2023-11-19 Thread Simon Holesch
The ChipIdea device controller wasn't properly cleaned up when disabled. So enabling it again left it in a broken state. The problem occurred for example when the host unbinds the driver and binds it again. During the first setup, when the out request is queued, the endpoint is primed

[PATCH 0/5] video: Improve syncing performance with cyclic

2023-11-19 Thread Simon Glass
Now that U-Boot has a background-processing feature, it is possible to reduce the amount of 'foreground' syncing of the display. At present this happens quite often. Foreground syncing blocks all other processing, sometimes for 10ms or more. When pasting commands into U-Boot over the UART, this

[PATCH 2/5] video: Move last_sync to private data

2023-11-19 Thread Simon Glass
Rather than using a static variable, use the video device's private data to remember when the last video sync was completed. This allows each display to have its own sync and avoids using static data in SPL. Signed-off-by: Simon Glass --- drivers/video/video-uclass.c | 10 +++---

[PATCH 1/5] cyclic: Disable in SPL builds

2023-11-19 Thread Simon Glass
The cyclic subsystem is currently enabled in all build phases or none. So far it doesn't have any purpose within SPL builds, so adjust the rules to prevent it being built in that case. Signed-off-by: Simon Glass --- common/Makefile | 2 +- include/cyclic.h | 6 -- 2 files changed, 5

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

2023-11-19 Thread Shantur Rathore
Rockchip SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default. Reviewed-by: Simon Glass Signed-off-by: Shantur Rathore --- (no changes since v1) arch/arm/Kconfig | 1 + 1 file changed, 1

Re: bootstd: Support for distro specific EFI folders

2023-11-19 Thread Mark Kettenis
> 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, > > > > On Fri, Nov 17, 2023 at 3:12 PM Heinrich Schuchardt > > wrote: > >> > >> On 11/16/23 19:45, Shantur Rathore wrote: > >>> On Thu, Nov 16, 2023

Re: [PATCH 1/5] cyclic: Disable in SPL builds

2023-11-19 Thread Simon Glass
Hi Tom, On Sun, 19 Nov 2023 at 08:59, Tom Rini wrote: > > On Sun, Nov 19, 2023 at 07:46:39AM -0700, Simon Glass wrote: > > > The cyclic subsystem is currently enabled in all build phases or none. > > So far it doesn't have any purpose within SPL builds, so adjust the > > rules to prevent it

Re: [PATCH v2 2/4] bootflow: bootmeth_efi: Don't set bootdev again

2023-11-19 Thread Simon Glass
Hi Shantur, On Sun, 19 Nov 2023 at 10:01, Shantur Rathore wrote: > > Hi Simon, > > On Sun, Nov 19, 2023 at 12:44 AM Simon Glass wrote: > > > > Hi Shantur, > > > > On Sat, 18 Nov 2023 at 14:17, Shantur Rathore wrote: > > > > > > Hi Simon, > > > > > > On Sat, Nov 18, 2023 at 5:11 PM Simon Glass

Re: [PATCH 3/5] video: Use cyclic to handle video sync

2023-11-19 Thread Simon Glass
Hi Tom, On Sun, 19 Nov 2023 at 08:59, Tom Rini wrote: > > On Sun, Nov 19, 2023 at 07:46:41AM -0700, Simon Glass wrote: > > At present U-Boot flushes the cache after every character written to > > ths display. This makes the command-line slower, to the point that > > pasting in long strings can

[PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-19 Thread Simon Glass
When a USB device is unbound, it causes any bootflows attached to it to be removed, via a call to bootdev_clear_bootflows() from bootdev_pre_unbind(). This obviously makes it impossible to boot the bootflow. However, when booting a bootflow that relies on USB, usb_stop() is called, which unbinds

[PATCH v5 09/12] x86: Enable SSE in 64-bit mode

2023-11-19 Thread Simon Glass
This is needed to support Truetype fonts. In any case, the compiler expects SSE to be available in 64-bit mode. Provide an option to enable SSE so that hardware floating-point arithmetic works. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Suggested-by: Bin Meng --- (no changes since v4)

[PATCH v5 12/12] x86: qemu: Enable truetype fonts

2023-11-19 Thread Simon Glass
Enable this feature to provide a larger font choice and more attractive menus. Expand the ROM for x86_64 to 2MB to make space for the font. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to enable truetype fonts in qemu-x86 and qemu-x86_64

[PATCH v5 07/12] video: Correct setting of cursor position

2023-11-19 Thread Simon Glass
The ANSI codes are not correctly handled at present, in that the requested X position is added to the current one. Correct this and also call vidconsole_entry_start() to start a new text line. Signed-off-by: Simon Glass Reviewed-by: Anatolij Gustschin --- (no changes since v1)

[PATCH v5 10/12] x86: coreboot: Enable truetype fonts

2023-11-19 Thread Simon Glass
Truetype fonts look better in the menu, so enable them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to enable truetype fonts in coreboot arch/x86/dts/coreboot.dts| 10 ++ configs/coreboot64_defconfig | 1 + configs/coreboot_defconfig |

Re: [PATCH 3/5] i2c: rzg2l: Add I2C driver for RZ/G2L family

2023-11-19 Thread Paul Barker
On Sun, Nov 19, 2023 at 09:15:36PM +0100, Marek Vasut wrote: > On 11/15/23 18:40, Paul Barker wrote: > > This driver supports the I2C module on the Renesas RZ/G2L (R9A07G044) > > SoC, also known as the RIIC module. > > > > This patch is based on both the u-boot driver in the Renesas RZ BSP > >

Re: [PATCH 1/2] global: Clean up arch/*/dts/Makefile

2023-11-19 Thread Rasmus Villemoes
On 19/11/2023 20.09, Simon Glass wrote: > On Fri, 17 Nov 2023 at 15:52, Tom Rini wrote: >> >> With commit 3609e1dc ("dts: automatically build necessary .dtb files") >> we now have logic that will ensure that all device trees needed in the >> binary are built automatically. Any device tree that

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

2023-11-19 Thread Shantur Rathore
Hi Marek, On Sun, Nov 19, 2023 at 8:53 PM Marek Vasut wrote: > > On 11/10/23 15:13, Shantur Rathore wrote: > > 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

[PATCH v2] sandbox: Fix VPL instructions

2023-11-19 Thread Simon Glass
Fix the devicetree used with sandbox. This is needed because the default (full) devicetree must be used by all phases of boot, with sandbox. Signed-off-by: Simon Glass --- Changes in v2: - Assume a build in the source directory - Add a trace of it running - Add explicit build instructions

Re: [PATCH v2 2/4] bootflow: bootmeth_efi: Don't set bootdev again

2023-11-19 Thread Shantur Rathore
Hi Simon, On Sun, Nov 19, 2023 at 12:44 AM Simon Glass wrote: > > Hi Shantur, > > On Sat, 18 Nov 2023 at 14:17, Shantur Rathore wrote: > > > > Hi Simon, > > > > On Sat, Nov 18, 2023 at 5:11 PM Simon Glass wrote: > > > > > > +Ilias too as this involves a design decision > > > > > > Hi Shantur,

[PATCH v5 02/12] bootstd: Refactor mmc prep to allow a different scan

2023-11-19 Thread Simon Glass
Adjust scan_mmc4_bootdev() and related function so that the caller can do its own 'bootflow scan' command. This allows it to change the flags if needed. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to refactor mmc prep to allow a different scan

[PATCH v5 00/12] Resolve issues with booting distros on x86

2023-11-19 Thread Simon Glass
This little series reprises the EFI-video fix, fixes a USB problem and enables a boot script for coreboot. It also moves to truetype fonts for coreboot and qemu-x86, since the menus look much better and there are no strong size constraints. With these changes it is possible to boot a Linux

[PATCH v5 11/12] x86: qemu: Expand ROM size

2023-11-19 Thread Simon Glass
Expand the ROM for x86_64 to 2MB to make space for the font, as it is already on the edge. Signed-off-by: Simon Glass --- (no changes since v1) board/emulation/qemu-x86/Kconfig | 3 ++- configs/qemu-x86_64_defconfig| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v5 08/12] video: Drop unnecessary truetype operations from SPL

2023-11-19 Thread Simon Glass
Saving and restoring entries is used for expo and for the command line, which we don't use in SPL. Drop these methods. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Anatolij Gustschin --- (no changes since v3) Changes in v3: - Add new patch to drop unnecessary truetype

[PATCH v5 06/12] expo: Correct background colour

2023-11-19 Thread Simon Glass
Use the correct background colour when using white-on-black. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/expo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boot/expo.c b/boot/expo.c index 139d684f8e6e..cadb6a0ad6e3 100644 ---

[PATCH 2/7] u_boot_pylib: Correct readme formatting

2023-11-19 Thread Simon Glass
Correct a heading which is too short in the readme. Fixes: 75554dfac29 ("patman: Add support for building a u_boot_tools...") Signed-off-by: Simon Glass --- tools/u_boot_pylib/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/u_boot_pylib/README.rst

[PATCH 1/7] doc: Update documentation URL

2023-11-19 Thread Simon Glass
Update to use the new docs.u-boot.org URL for documentation. Signed-off-by: Simon Glass --- MAINTAINERS | 2 +- README| 2 +- doc/build/documentation.rst | 2 +- tools/binman/pyproject.toml | 2 +- tools/buildman/pyproject.toml

[PATCH 7/7] tools: Move python tools to version 0.0.6

2023-11-19 Thread Simon Glass
A new release has been done with this version, so update it. Use the version numbers in dependencies also. Signed-off-by: Simon Glass --- tools/binman/pyproject.toml | 4 ++-- tools/buildman/pyproject.toml | 4 ++-- tools/dtoc/pyproject.toml | 4 ++--

[PATCH 6/7] patman: Update the run script

2023-11-19 Thread Simon Glass
Patman now has its main program in a function, so update the toml file to match. Signed-off-by: Simon Glass --- tools/patman/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/pyproject.toml b/tools/patman/pyproject.toml index

[PATCH 4/7] u_boot_pylib: Correct files used for pip release

2023-11-19 Thread Simon Glass
The files list is incorrect and dates from a time when the script was run from a different directory. Update it to match all the other tools. Signed-off-by: Simon Glass --- tools/u_boot_pylib/pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 5/7] tools/make_pip: Add mention of u_boot_pylib in tool list

2023-11-19 Thread Simon Glass
This is not a tool but it is handled by the script, so update the help to include it. Signed-off-by: Simon Glass --- scripts/make_pip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make_pip.sh b/scripts/make_pip.sh index 25a4049271c9..d2639ffd6e43 100755 ---

Re: Pull request for efi-next-18112023

2023-11-19 Thread Tom Rini
On Sat, Nov 18, 2023 at 10:29:45PM +0200, Ilias Apalodimas wrote: > Hi Tom, > > The following changes since commit ae7ec8b0be41b59ef323f7531c0fe6745e8fef45: > > Merge branch '2023-11-16-assorted-updates' into next (2023-11-17 08:38:05 > -0500) > > are available in the Git repository at: >

Re: [PATCH 3/5] video: Use cyclic to handle video sync

2023-11-19 Thread Tom Rini
On Sun, Nov 19, 2023 at 07:46:41AM -0700, Simon Glass wrote: > At present U-Boot flushes the cache after every character written to > ths display. This makes the command-line slower, to the point that > pasting in long strings can fail. > > Add a cyclic function to sync the display every 10ms.

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

2023-11-19 Thread Tom Rini
On Sat, Nov 18, 2023 at 04:23:17PM +0100, Marek Vasut wrote: > The following changes since commit 17e9db18f17b6cad278694d4a61df95e96bdf4f5: > > Merge tag 'doc-2024-01-rc3' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-11-11 09:22:54 > -0500) > > are available in the Git

Re: [PATCH v2 2/4] bootflow: bootmeth_efi: Don't set bootdev again

2023-11-19 Thread Shantur Rathore
Hi Ilias, On Sun, Nov 19, 2023 at 7:50 AM Ilias Apalodimas wrote: > > Hi Simon, > > Thanks for looping me in > > On Sat, 18 Nov 2023 at 19:11, Simon Glass wrote: > > > > +Ilias too as this involves a design decision > > > > Hi Shantur, > > > > On Fri, 17 Nov 2023 at 14:22, Shantur Rathore

Re: [PATCH 3/3] arm: rmobile: rzg2_beacon: Auto select Linux device tree by SoC

2023-11-19 Thread Marek Vasut
On 10/27/23 04:12, Adam Ford wrote: On Thu, Oct 26, 2023 at 8:44 PM Marek Vasut wrote: On 10/26/23 01:13, Adam Ford wrote: There is a function inside the board file to autodetect which device tree is needed by U-Boot to properly load its own device tree, but it currently defaults to always

Re: [PATCH] scsi: set dma direction to NONE for TEST UNIT READY

2023-11-19 Thread Marek Vasut
On 11/13/23 06:51, Nikita Yushchenko wrote: SCSI device scan code was executing TEST UNIT READY command without explicitly setting dma direction in struct scsi_cmd to NONE, so command was passed to driver with dma direction set to DMA_FROM_DEVICE, inherited from older usage. With WDC

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

2023-11-19 Thread Marek Vasut
On 11/10/23 15:13, Shantur Rathore wrote: 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. OK Mostly in these scenarios the hub port is powered

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-19 Thread Szőke Kálmán Benjamin
Hi,All previouse stage/patches was a "blind alley" solution because finally i found, many code parts are ready from freesacle sources. So needed to refactor the full codes, which seems now a totally new code/solution for it.So, I don't see the point in describing them in a changelog, useless to

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-19 Thread Szőke Kálmán Benjamin
It will warn, if warning levels is set correctly. I will do not remove it.https://stackoverflow.com/questions/3599160/how-can-i-suppress-unused-parameter-warnings-in-cbtwSorry for "top-post" i am using an e-mail servicer which is not prepared to following the 1990s styles which is need for

[PATCH v2 2/2] usb: fastboot: Add missing newline in pr_err

2023-11-19 Thread Simon Holesch
Add missing newline in pr_err. Signed-off-by: Simon Holesch Reviewed-by: Marek Vasut --- Changes in v2: - add commit message body Thanks for the review! drivers/usb/gadget/f_fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_fastboot.c

[PATCH v3 3/4] bootm: Move arm64-image processing later

2023-11-19 Thread Simon Glass
If the image is compressed, then the existing check fails, since the header is wrong. Move the check later in the boot process, after the kernel is decompressed. This allows use of bootm with compressed kernels, while still permitting an uncompressed kernel to be used. Signed-off-by: Simon Glass

[PATCH v3 4/4] bootm: Support kernel_noload with compression

2023-11-19 Thread Simon Glass
It is not currently possible to execute the kernel in-place without loading it. Use lmb to allocate memory for it. Co-developed-by: Tom Rini Signed-off-by: Tom Rini Signed-off-by: Simon Glass Suggested-by: Tom Rini --- Changes in v3: - Rebase on to bootm-refactoring series - Support

Re: [PATCH v5 2/3] arm: boot: Move the single quotes for image name

2023-11-19 Thread Simon Glass
Hi Masahiro, On Thu, 16 Nov 2023 at 04:19, Masahiro Yamada wrote: > > On Sat, Nov 11, 2023 at 9:29 AM Simon Glass wrote: > > > > Add quotes where UIMAGE_NAME is used, rather than where it is defined. > > This allows the UIMAGE_NAME variable to be set by the user. > > > > Signed-off-by: Simon

[PATCH v5 03/12] bootstd: Add a return code to bootflow menu

2023-11-19 Thread Simon Glass
Return an error when the user does not select an OS, so we know whether to boot or not. Move calling of bootflow_menu_run() into a separate function so we can call it from other places. Expand the test to cover these cases. Add some documentation also, while we are here. Signed-off-by: Simon

Re: [PATCH 1/2] global: Clean up arch/*/dts/Makefile

2023-11-19 Thread Simon Glass
Hi Tom, On Fri, 17 Nov 2023 at 15:52, Tom Rini wrote: > > With commit 3609e1dc ("dts: automatically build necessary .dtb files") > we now have logic that will ensure that all device trees needed in the > binary are built automatically. Any device tree that the developer needs > while working can

[PATCH v5 01/12] efi: Correct handling of frame buffer

2023-11-19 Thread Simon Glass
The efi_gop driver uses private fields from the video uclass to obtain a pointer to the frame buffer. Use the platform data instead. Check the VIDEO_COPY setting to determine which frame buffer to use. Once the next stage is running (and making use of U-Boot's EFI boot services) U-Boot does not

[PATCH v5 04/12] x86: coreboot: Add a boot script

2023-11-19 Thread Simon Glass
Provide the user with a list of available boot options. Selecting one causes it to be booted. Pressing causes U-Boot to return to the command-line prompt. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v3) Changes in v3: - Clear the screen before booting Changes in

Re: [PATCH 2/5] arm: dts: rzg2l: Sync with Linux v6.6

2023-11-19 Thread Marek Vasut
On 11/15/23 18:40, Paul Barker wrote: Pull in the recent changes to the RZ/G2L device tree and related dtsi files so that we're aligned with Linux v6.6 (commit ffc253263a13). Signed-off-by: Paul Barker Reviewed-by: Marek Vasut

Re: [PATCH 1/5] clk: renesas: Confirm all clock & reset changes on RZ/G2L

2023-11-19 Thread Marek Vasut
On 11/15/23 18:40, Paul Barker wrote: When enabling/disabling a clock or reset signal, confirm that the change has completed before returning from the function. A somewhat arbitrary 100ms timeout is defined to ensure that the system doesn't lock up in the case of an error. Since we need to