Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Jens Maus
Hi, > Am 19.01.2024 um 06:29 schrieb Ivan T. Ivanov : > > On 01-18 18:18, Jens Maus wrote: >> >>> I am afraid you will have to connect that UART debug cable and share >>> what is the memory map on your device :-) >> >> No problem. > > Thanks, but could you apply attached patch and send me >

Re: [PATCH] Add Phytec i.MX93 support

2024-01-18 Thread Yannic Moog
Hello Mathieu As a heads-up: you need to rebase as am62 (doc) got applied by Tom. On Wed, 2024-01-17 at 08:52 +0100, Mathieu Othacehe wrote: > Add support for the Phytec i.MX93 Segin evaluation kit. The SoM consists > of an NXP i.MX93 dual A55 CPU. The SoM is mounted on a Phytec Segin SBC. > >

Re: [Upstream] [PATCH] Add Phytec i.MX93 support

2024-01-18 Thread Yannic Moog
Hi Mathieu On Thu, 2024-01-18 at 12:04 +0100, Mathieu Othacehe wrote: > > Hi, > > Thanks for the review! > > > s/imx93_phycore/phycore_imx93 > > > > To fit into existing PHYTEC boards already in tree. > > I deliberately picked that order so that it is aligned with most imx > boards already

[PATCH] test/py: gpio: Add gpio pins generic test

2024-01-18 Thread Love Kumar
Add gpio pins generic test for the set of gpio pin list to test various gpio related functionality, such as the input, set, clear, and toggle, it also tests the input and output functionality for shorted gpio pins. This test depends on boardenv* configuration to define gpio pins names.

[PATCH] test/py: zynqmp_rpu: Add test for loading RPU apps

2024-01-18 Thread Love Kumar
Add testcases for loading RPU applications in split and lockstep mode including the negative one for AMD's ZynqMP SoC. Signed-off-by: Love Kumar --- test/py/tests/test_zynqmp_rpu.py | 208 +++ 1 file changed, 208 insertions(+) create mode 100644

[PATCH v2] mtd: nand: arasan: Print warning for unsupported ecc modes

2024-01-18 Thread Venkatesh Yadav Abbarapu
Currently only hw ecc is supported in U-Boot. If any other ecc mode is given in DT, it simply ignores and switches to hw ecc. So better print what is being done. Revert this patch once soft ecc support is fixed in future. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Ivan T. Ivanov
On 01-18 18:18, Jens Maus wrote: > > > I am afraid you will have to connect that UART debug cable and share > > what is the memory map on your device :-) > > No problem. Thanks, but could you apply attached patch and send me the logs when there is HDMI monitor connected to the board and one

[PATCH] wdt: add HiSilicon watchdog driver support

2024-01-18 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen This watchdog core is found on many HiSilicon SoCs. Add support for it. Signed-off-by: Yang Xiwen --- drivers/watchdog/Kconfig| 10 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/hisi_wdt.c | 196 3 files changed,

[PATCH v3 3/3] efi_loader: return immediately in UCLASS_EFI_LOADER removal

2024-01-18 Thread Masahisa Kojima
In case of UCLASS_EFI_LOADER, EFI handles are managed by EFI application/driver, we must not delete EFI handles. Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_disk.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/efi_loader/efi_disk.c

[PATCH v3 2/3] efi_loader: create common function to free struct efi_disk_obj

2024-01-18 Thread Masahisa Kojima
Current error handling of creating raw disk/partition has following issues. - duplicate free for EFI handle, EFI handle is already freed in efi_delete_handle() - missing free for struct efi_device_path and struct efi_simple_file_system_protocol in some error paths To address those issues,

[PATCH v3 1/3] efi_loader: avoid pointer access after calling efi_delete_handle

2024-01-18 Thread Masahisa Kojima
efi_delete_handle() calls efi_purge_handle(), then it finally frees the EFI handle. Both diskobj and handle variables in efi_disk_remove() have the same pointer, we can not access diskobj->dp after calling efi_delete_handle(). This commit saves the struct efi_device_path pointer before calling

[PATCH v3 0/3] fix and refactoring of efi_disk.c

2024-01-18 Thread Masahisa Kojima
This series fixes the memory leak issue in lib/efi_loader/efi_disk.c and refactor the efi_disk_remove() implementation. [Changelog] v2 -> v3 - remove unnecessary NULL check v1 -> v2 - remove already merged patch - remove container_of() calls - add TODO comments - return immediately in

[PATCH] ARM: imx: Configure GIC clock parent on Data Modul i.MX8M Plus eDM SBC

2024-01-18 Thread Marek Vasut
The CONFIG_SPL_BOARD_INIT lets SPL common code call spl_board_init() during the SPL start up. On this particular system, spl_board_init() is used to reconfigure GIC clock parent to PLL2 500M, which is the configuration expected by the Linux kernel. Enable SPL_BOARD_INIT and fill in the GIC clock

[PATCH] ARM: imx: Enable SPL_BOARD_INIT on DH i.MX8M Plus DHCOM

2024-01-18 Thread Marek Vasut
The CONFIG_SPL_BOARD_INIT lets SPL common code call spl_board_init() during the SPL start up. On this particular system, spl_board_init() is used to reconfigure GIC clock parent to PLL2 500M, which is the configuration expected by the Linux kernel. Enable SPL_BOARD_INIT . Signed-off-by: Marek

Re: [PATCH v2 RESEND 2/2] nvme: Update nvme_scan_namespace to keep trying on busy

2024-01-18 Thread Moritz Fischer
On Tue, Jan 9, 2024 at 9:05 PM Moritz Fischer wrote: > > A busy controller shouldn't be game-over for all controllers, > so keep trying on hitting -EBUSY. > > This change brings the actual behavior of the routine in line > with what the descriptions says. > > Fixes: 982388eaa991 ("nvme: Add NVM

Re: [PATCH v2 RESEND 2/2] nvme: Update nvme_scan_namespace to keep trying on busy

2024-01-18 Thread Tom Rini
On Thu, Jan 18, 2024 at 02:29:11PM -0800, Moritz Fischer wrote: > On Tue, Jan 9, 2024 at 9:05 PM Moritz Fischer wrote: > > > > A busy controller shouldn't be game-over for all controllers, > > so keep trying on hitting -EBUSY. > > > > This change brings the actual behavior of the routine in line

Re: [PATCH 0/2] rockchip: Fix ethernet on Radxa ROCK Pi E v1.21

2024-01-18 Thread Trevor Woerner
Hi Jonas, On Thu 2024-01-18 @ 07:19:44 AM, Jonas Karlman wrote: > Ethernet on a Radxa ROCK Pi E v1.21 with a RTL8211F ethernet PHY > currently fails with the following message: > > Could not get PHY for ethernet@ff54: addr -1 > > This happens because the ethernet PHY is never reset before

Re: [PATCH v1 4/4] board: verdin-am62: set cpu core voltage depending on speed grade

2024-01-18 Thread Francesco Dolcini
On Thu, Jan 18, 2024 at 05:31:20PM +0100, Max Krummenacher wrote: > On Thu, Jan 18, 2024 at 10:50:07AM +0100, Max Krummenacher wrote: > > On Wed, Jan 17, 2024 at 11:16:49AM +0100, Max Krummenacher wrote: > > > From: Max Krummenacher > > > > > > Speed grade T requires the VDD_CORE voltage to be

Re: [PATCH] headers: don't depend on errno.h being available

2024-01-18 Thread Francesco Dolcini
On Thu, Jan 18, 2024 at 07:10:47PM +0100, max.oss...@gmail.com wrote: > From: Max Krummenacher > > These headers follow the pattern: > > | #if CONFIG_IS_ENABLED(FANCY_FEATURE) > | void foo(void); > | #else > | static inline void foo(void) { return -ENOSYS; } > | #endif > > In the #else

Re: [PATCH 2/2] arm: imx: imx8m: Enable the SError exception

2024-01-18 Thread Fabio Estevam
On Thu, Jan 18, 2024 at 4:08 PM Marek Vasut wrote: > > On 1/18/24 16:06, Fabio Estevam wrote: > > From: Ye Li > > > > To work with commit 2f3c92060dcd ("imx8m: workaround ROM serror") > > we need to enable the SError exception and install vector in SPL. > > This really does need better commit

Re: [PATCH v3 07/11] lib: vsprintf: enable '%pbl' format specifier

2024-01-18 Thread Tom Rini
On Wed, Jan 10, 2024 at 10:10:33AM +0100, lukas.funke-...@weidmueller.com wrote: > From: Lukas Funke > > The commit enables vsprintf() to handle the '%pbl' format specifier > in order to print bitmaps and its derivatives such as cpumask and > nodemask [1]. This can be used to derive kernel boot

Re: [PATCH v2 06/32] serial: msm: add debug UART

2024-01-18 Thread Ramon Fried
On Tue, Dec 19, 2023 at 6:04 PM Caleb Connolly wrote: > > Introduce support for early debugging. > > Signed-off-by: Caleb Connolly > --- > drivers/serial/Kconfig | 8 > drivers/serial/serial_msm.c | 32 > 2 files changed, 40 insertions(+) > > diff

Re: [PATCH v2 03/32] mmc: msm_sdhci: use modern clock handling

2024-01-18 Thread Ramon Fried
On Tue, Dec 19, 2023 at 6:04 PM Caleb Connolly wrote: > > Use the clk_* helper functions and the correct property name for clocks. > > Signed-off-by: Caleb Connolly > --- > drivers/mmc/msm_sdhci.c | 69 > - > 1 file changed, 46 insertions(+), 23

Re: [PATCH v2 13/32] board: dragonboard410c: import board code from mach-snapdragon

2024-01-18 Thread Ramon Fried
On Tue, Dec 19, 2023 at 6:04 PM Caleb Connolly wrote: > > Some of the db410c board support code was written to be generic and > placed in mach-snapdragon. However, as the db410c is the only board > using this, move the code out of mach-snapdragon. This makes is more > obvious what code is

Re: [PATCH v2 00/32] Qualcomm generic board support

2024-01-18 Thread Ramon Fried
On Tue, Jan 9, 2024 at 1:33 PM Caleb Connolly wrote: > > > > On 09/01/2024 06:07, Sumit Garg wrote: > > On Fri, 5 Jan 2024 at 19:15, Caleb Connolly > > wrote: > >> > >> > >> > >> On 05/01/2024 13:14, Sumit Garg wrote: > >>> Hi Caleb, > >> > >> Hi Sumit, > >> > >> [snip] > >> > --- > I

Bootflows produce gibberish instead of readable output

2024-01-18 Thread Heinrich Schuchardt
Hello Simon, The output below is taken from the sandbox. It seems somebody intended to write a table. But with all these messages that don't belong into the table the output is not very helpful. Scanning for bootflows in all bootdevs Seq Method State UclassPart Name

Re: [PATCH 2/2] arm: imx: imx8m: Enable the SError exception

2024-01-18 Thread Marek Vasut
On 1/18/24 16:06, Fabio Estevam wrote: From: Ye Li To work with commit 2f3c92060dcd ("imx8m: workaround ROM serror") we need to enable the SError exception and install vector in SPL. This really does need better commit message, sorry. Details, please. What does trigger the SError ?

Re: [PATCH 1/2] imx8m: Enable LTO by default

2024-01-18 Thread Marek Vasut
On 1/18/24 16:06, Fabio Estevam wrote: From: Fabio Estevam In an attempt to select ARMV8_SPL_EXCEPTION_VECTORS, the SPL size could not fit into the internal SRAM of some imx8m targets: aarch64: + imx8mm_phg +aarch64-linux-ld.bfd: u-boot-spl section `__u_boot_list' will not fit in

Re: [PATCH RFC 4/6] efi_selftest: Add international characters test

2024-01-18 Thread Heinrich Schuchardt
On 1/17/24 23:24, Janne Grunau via B4 Relay wrote: From: Andre Przywara UEFI relies entirely on unicode output, which actual fonts displayed on the screen might not be ready for. Add a test displaying some international characters, to reveal missing glyphs, especially in our builtin fonts.

Re: [PATCH RFC 3/6] lib/charset: Map cp437 low chars (0x01 - 0x1f) from unicode

2024-01-18 Thread Heinrich Schuchardt
On 1/17/24 23:24, Janne Grunau via B4 Relay wrote: From: Janne Grunau Add mappings for code points 1 - 31 as those code points in code page 437 are graphics. Thios fixes rendering issues of various EFI boot loaders (grub2, %s/Thios/This/ sd-boot, ...) using EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.

Re: [PATCH RFC 2/6] video: console: Parse UTF-8 character sequences

2024-01-18 Thread Heinrich Schuchardt
On 1/18/24 14:57, Andre Przywara wrote: On Wed, 17 Jan 2024 23:24:28 +0100 Janne Grunau via B4 Relay wrote: Hi, From: Janne Grunau efi_console / UEFI applications (grub2, sd-boot, ...) pass UTF-8 character sequences to vidconsole which results in wrong glyphs for code points outside of

[PATCH] headers: don't depend on errno.h being available

2024-01-18 Thread max . oss . 09
From: Max Krummenacher These headers follow the pattern: | #if CONFIG_IS_ENABLED(FANCY_FEATURE) | void foo(void); | #else | static inline void foo(void) { return -ENOSYS; } | #endif In the #else path ENOSYS is used, however linux/errno.h is not included. If errno.h has not been included

Re: [PATCH RFC 1/6] lib: charset: Fix utf8_to_utf32_stream() return value doc string

2024-01-18 Thread Heinrich Schuchardt
On 1/17/24 23:24, Janne Grunau via B4 Relay wrote: From: Janne Grunau The comment appears to be copied from utf8_to_cp437_stream() but was not updated. Fixes: e91789e2f661 ("lib/charset: UTF-8 stream conversion") Signed-off-by: Janne Grunau --- include/charset.h | 2 +- 1 file

[PATCH 1/1] test: enhance unicode_test_utf8_to_utf32_stream()

2024-01-18 Thread Heinrich Schuchardt
Additionally test a UTF-8 string where each code point translates to three UTF-8 bytes. Signed-off-by: Heinrich Schuchardt --- test/unicode_ut.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/unicode_ut.c b/test/unicode_ut.c index 1d0d90c2d7..47c3f52774

Re: [PATCH v2] configs: Transpeed 8K618-T: Add Transpeed 8K618-T board support

2024-01-18 Thread Andre Przywara
On Thu, 18 Jan 2024 11:45:08 -0500 Nick Alilovic wrote: Hi Nick, > This is a Chinese TV box based on Allwinner H618 SoC. > > The DRAM parameters were derived from the values found in a firmware update. > > Signed-off-by: Nick Alilovic Thanks for the fixes, looks good now: Reviewed-by:

Re: [PATCH RFC 0/6] video: Add UTF-8 support for UEFI applications

2024-01-18 Thread Janne Grunau
Hej Heinrich, On Thu, Jan 18, 2024, at 17:47, Heinrich Schuchardt wrote: > On 1/17/24 23:24, Janne Grunau via B4 Relay wrote: >> Andre submitted 2 years ago DM_VIDEO improvements for UEFI applications >> using UEFI's EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL but did not follow with >> suggested changes.

[PATCH 1/1] lib: add comment in utf8_to_utf32_stream()

2024-01-18 Thread Heinrich Schuchardt
The logic of utf8_to_utf32_stream() is not easy to understand. Add a comment. Signed-off-by: Heinrich Schuchardt --- lib/charset.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/charset.c b/lib/charset.c index 89057ef7ce..2b43175b1d 100644 --- a/lib/charset.c +++ b/lib/charset.c @@

Re: [PATCH 1/1] boot: boot_flow_iter_set() called with uninitialized methods_flag

2024-01-18 Thread Tom Rini
On Sun, Jan 07, 2024 at 09:56:07AM +0100, Heinrich Schuchardt wrote: > Some code paths do not initialize methods_flag before using it. > Initialize it to 0 in the definition line. > > Addresses-Coverity-ID: ("467057 Uninitialized scalar variable") > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Jens Maus
Hi, > Am 18.01.2024 um 09:33 schrieb Ivan T. Ivanov : > >> I actually just did that. Installed a fresh Tumbleweed on a microSD card, >> booted it up with a rpi4 and after installing all necessary build tools I >> applied your patches to u-boot 2024.01 sources, and then executed these two >>

[PATCH] docker: Add tools/buildman/requirements.txt to the cache

2024-01-18 Thread Tom Rini
As we have had this file for a while now, we should include installing and populating our pip cache from here as well. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile

[PATCH v2] configs: Transpeed 8K618-T: Add Transpeed 8K618-T board support

2024-01-18 Thread Nick Alilovic
This is a Chinese TV box based on Allwinner H618 SoC. The DRAM parameters were derived from the values found in a firmware update. Signed-off-by: Nick Alilovic --- This defconfig relies on the synced sun50i-h618-transpeed-8k618-t.dts file. configs/transpeed-8k618-t_defconfig | 27

Re: [PATCH RFC 0/6] video: Add UTF-8 support for UEFI applications

2024-01-18 Thread Heinrich Schuchardt
On 1/17/24 23:24, Janne Grunau via B4 Relay wrote: Andre submitted 2 years ago DM_VIDEO improvements for UEFI applications using UEFI's EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL but did not follow with suggested changes. This series takes care of the UTF-8 support which required to draw symbol and box

Re: [PATCH v1 4/4] board: verdin-am62: set cpu core voltage depending on speed grade

2024-01-18 Thread Max Krummenacher
On Thu, Jan 18, 2024 at 10:50:07AM +0100, Max Krummenacher wrote: > On Wed, Jan 17, 2024 at 11:16:49AM +0100, Max Krummenacher wrote: > > From: Max Krummenacher > > > > Speed grade T requires the VDD_CORE voltage to be 0.85V if using > > the maximum core frequency. > > > > Speed grades G, K, S

Re: [PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-18 Thread Tom Rini
On Wed, Jan 03, 2024 at 02:31:48PM +0100, Enrico Leto wrote: > This serie depends on the serie: > [PATCH 0/6] siemens,am335x: clean up the draco board family Is this not applied already? If not, where is it? Can you please repost it? > > The common folder was initialially created for

Re: [PATCH v2] boot: add support for button commands

2024-01-18 Thread Dragan Simic
On 2024-01-18 16:11, Michael Walle wrote: Using CONFIG_EXTRA_ENV_SETTINGS should be good enough to provide the fallback defaults. However, the users can still mess the things up, but again, they can do that already in many places. I disagree. In my case that is a last resort recovery. And

Re: [PATCH v2] boot: add support for button commands

2024-01-18 Thread Michael Walle
Using CONFIG_EXTRA_ENV_SETTINGS should be good enough to provide the fallback defaults. However, the users can still mess the things up, but again, they can do that already in many places. I disagree. In my case that is a last resort recovery. And it should work in any case. Even if the user

[PATCH 2/2] arm: imx: imx8m: Enable the SError exception

2024-01-18 Thread Fabio Estevam
From: Ye Li To work with commit 2f3c92060dcd ("imx8m: workaround ROM serror") we need to enable the SError exception and install vector in SPL. Signed-off-by: Ye Li Reviewed-by: Peng Fan Reported-by: Thomas Schaefer Reviewed-by: Fabio Estevam Signed-off-by: Fabio Estevam ---

[PATCH 1/2] imx8m: Enable LTO by default

2024-01-18 Thread Fabio Estevam
From: Fabio Estevam In an attempt to select ARMV8_SPL_EXCEPTION_VECTORS, the SPL size could not fit into the internal SRAM of some imx8m targets: aarch64: + imx8mm_phg +aarch64-linux-ld.bfd: u-boot-spl section `__u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region

Re: [PATCH V4 3/7] rockchip: boot_mode: Allow rockchip_dnl_key_pressed() in SPL

2024-01-18 Thread Chris Morgan
On Thu, Jan 18, 2024 at 03:20:52PM +0800, Kever Yang wrote: > Hi Chris, > > On 2024/1/2 23:46, Chris Morgan wrote: > > From: Chris Morgan > > > > Update the rockchip_dnl_key_pressed() so that it can run in > > SPL. Also change the ADC channel to a define that can be > > overridden by a board

Re: [PATCH V2] board: rockchip: add Powkiddy X55

2024-01-18 Thread Chris Morgan
On Thu, Jan 18, 2024 at 02:37:04PM +0800, Kever Yang wrote: > Hi Chris, > > On 2023/12/15 02:24, Chris Morgan wrote: > > From: Chris Morgan > > > > The Powkiddy X55 is a Rockchip RK3566 based handheld gaming device. > > UART, ADC, eMMC, and SDMMC are tested to work in U-Boot and this > >

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-01-18 Thread Tom Rini
Here's the current set of new issues since I last ran Coverity. -- Forwarded message - From: Date: Thu, Jan 18, 2024 at 9:20 AM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found

Re: [PATCH v2] boot: add support for button commands

2024-01-18 Thread Dragan Simic
On 2024-01-18 08:59, Michael Walle wrote: Using CONFIG_EXTRA_ENV_SETTINGS should be good enough to provide the fallback defaults. However, the users can still mess the things up, but again, they can do that already in many places. I disagree. In my case that is a last resort recovery. And

Re: [UBOOT PATCH v4] test/py: net: Add dhcp abort test

2024-01-18 Thread Michal Simek
On 1/18/24 15:06, Tom Rini wrote: On Thu, Jan 18, 2024 at 09:56:58AM +0100, neil.armstr...@linaro.org wrote: Hi, On 21/11/2023 14:02, Love Kumar wrote: Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar ---

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

2024-01-18 Thread Tom Rini
On Thu, Jan 18, 2024 at 08:05:15AM +0100, Patrice CHOTARD wrote: > > > On 1/17/24 18:39, Francesco Dolcini wrote: > > On Thu, Jan 18, 2024 at 12:30:42AM +0700, Francis Laniel wrote: > >> Le mercredi 17 janvier 2024, 17:05:28 +07 Patrice CHOTARD a écrit : > >>> On 1/16/24 18:25, Francis Laniel

Re: [UBOOT PATCH v4] test/py: net: Add dhcp abort test

2024-01-18 Thread Tom Rini
On Thu, Jan 18, 2024 at 09:56:58AM +0100, neil.armstr...@linaro.org wrote: > Hi, > > On 21/11/2023 14:02, Love Kumar wrote: > > Abort the dhcp request in the middle by pressing ctrl + c on u-boot > > prompt and validate the abort status. > > > > Signed-off-by: Love Kumar > > --- > > Changes in

Re: [PATCH] test: test_trace.py: Have trace-cmd report always use -l

2024-01-18 Thread Tom Rini
On Wed, 17 Jan 2024 17:12:36 -0500, Tom Rini wrote: > With newer versions of trace-cmd the report subcommand will have > different output from before if we do or do not pass -l. However, with > the -l flag passed our put is consistent here. This updates our regular > expressions and comments for

Re: [PATCH] test/py/requirements.txt: Update packaging requirement

2024-01-18 Thread Tom Rini
On Wed, 17 Jan 2024 15:06:54 -0500, Tom Rini wrote: > Update packaging to be version 23.2 to match our Sphinx requirements. > This will let us build a pip cache out of both of our requirements.txt > files. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] CI: Move to latest Ubuntu "Jammy" tag

2024-01-18 Thread Tom Rini
On Wed, 17 Jan 2024 15:04:50 -0500, Tom Rini wrote: > Move to the latest "Jammy" tag from Ubuntu. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/1] docker: build QEMU v8.2.0

2024-01-18 Thread Tom Rini
On Fri, 12 Jan 2024 03:17:57 +0100, Heinrich Schuchardt wrote: > ACPI support for RISC-V requires a recent QEMU. > > Upgrade the used QEMU to v8.2.0. > > QEMU commit 0c7ffc977195 ("hw/net: cadence_gem: Fix MDIO_OP_xxx values") > is needed to fix the Ethernet PHY driver used by the emulated

Re: [PATCH RFC 1/6] lib: charset: Fix utf8_to_utf32_stream() return value doc string

2024-01-18 Thread Andre Przywara
On Wed, 17 Jan 2024 23:24:27 +0100 Janne Grunau via B4 Relay wrote: > From: Janne Grunau > > The comment appears to be copied from utf8_to_cp437_stream() but was not > updated. > > Signed-off-by: Janne Grunau Reviewed-by: Andre Przywara Cheers, Andre > --- > include/charset.h | 2 +- >

Re: [PATCH RFC 2/6] video: console: Parse UTF-8 character sequences

2024-01-18 Thread Andre Przywara
On Wed, 17 Jan 2024 23:24:28 +0100 Janne Grunau via B4 Relay wrote: Hi, > From: Janne Grunau > > efi_console / UEFI applications (grub2, sd-boot, ...) pass UTF-8 > character sequences to vidconsole which results in wrong glyphs for code > points outside of ASCII. The truetype console expects

[PATCH v5 6/6] rockchip: rk3128: remove noop file

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz arch_cpu_init is already returning 0 in its weak definition in common/board_f.c so let's just remove the file entirely since nothing else is done in it. Cc: Quentin Schulz Reviewed-by: Kever Yang Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/rk3128/Makefile |

[PATCH v5 2/6] rockchip: px30: simplify logic for getting SPL boot medium DT node

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz In preparation of moving spl_perform_fixups to spl-boot-order.c, let's simplify the logic around mapping the BOOT_DEVICE_x enum index to a DT node by using an instantiated array of chars instead of creating a new data structure on the fly. This will make it easier to factor

[PATCH v5 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz BOOT_DEVICE_* is set by spl_node_to_boot_device() depending on the block device number associated with the MMC device the SPL used to load U-Boot proper from. It is NOT related to the mmc alias in the Device Tree. For SPI flashes, all SPI flashes will return BOOT_DEVICE_SPI

[PATCH v5 5/6] rockchip: remove unused global data ptr

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz Remove leftover import and global data ptr from files since they aren't used anymore. Cc: Quentin Schulz Reviewed-by: Kever Yang Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/board.c | 3 --- arch/arm/mach-rockchip/rk3128/rk3128.c | 3 ---

[PATCH v5 3/6] rockchip: factor out spl_perform_fixups into common spl-boot-order

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz All SoCs are susceptible to wanting to know which storage medium was used to load U-Boot SPL. So instead of reimplementing the same functions in SoCs over and over again (here just rk3399 and px30 but rk3588 is coming), let's just put all this in common into spl-boot-order.c

[PATCH v5 0/6] rockchip: add vendor-wide support for detecting U-Boot proper boot medium

2024-01-18 Thread Quentin Schulz
check on BLK symbol to fix build issues on some Aarch32 Rockchip platforms, - Link to v4: https://lore.kernel.org/r/20240118-rk3588-spl-boot-dev-v4-0-23a97c82c...@theobroma-systems.com Changes in v4: - use spl_image_fdt_addr() instead of accessing (possibly non-existing) fdt_addr member

[PATCH v5 1/6] rockchip: rk3399: simplify logic for getting SPL boot medium DT node

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz In preparation of moving spl_perform_fixups to spl-boot-order.c, let's simplify the logic around mapping the BOOT_DEVICE_x enum index to a DT node by using an instantiated array of chars instead of creating a new data structure on the fly. This will make it easier to factor

Re: [PATCH RFC 0/6] video: Add UTF-8 support for UEFI applications

2024-01-18 Thread Andre Przywara
On Wed, 17 Jan 2024 23:24:26 +0100 Janne Grunau via B4 Relay wrote: Hi Janne, > Andre submitted 2 years ago DM_VIDEO improvements for UEFI applications > using UEFI's EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL but did not follow with > suggested changes. This series takes care of the UTF-8 support which >

Re: [PATCH] arm: imx: imx8m: Enable the SError exception

2024-01-18 Thread Fabio Estevam
On Fri, Jan 12, 2024 at 3:00 PM Fabio Estevam wrote: > > Hi Ye Li, > > On Fri, Jan 12, 2024 at 4:07 AM Ye Li wrote: > > > > To work with commit 2f3c920(imx8m: workaround ROM serror), > > we need to enable the SError exception and install vector in SPL. > > > > Signed-off-by: Ye Li > >

AW: [PATCH] arm: imx: imx8m: Enable the SError exception

2024-01-18 Thread Thomas Schaefer
Hi Ye Li, I can confirm that our i.MX8MNano LPD4 EVK with field return fuse blown can boot to u-boot prompt after applying your patch. Thank you for your support. Best regards, Thomas -Ursprüngliche Nachricht- Von: Fabio Estevam Gesendet: Freitag, 12. Januar 2024 19:01 An: Ye Li Cc:

Re: [PATCH v2 2/4] cmd: provide command to display SMBIOS information

2024-01-18 Thread Ilias Apalodimas
On Thu, 18 Jan 2024 at 14:54, Heinrich Schuchardt wrote: > > On 1/18/24 13:39, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > A few nits below > > > > On Wed, Jan 17, 2024 at 04:33:45PM +0100, Heinrich Schuchardt wrote: > >> U-Boot can either generated an SMBIOS table or copy it from a prior

Re: [PATCH v2 2/4] cmd: provide command to display SMBIOS information

2024-01-18 Thread Heinrich Schuchardt
On 1/18/24 13:39, Ilias Apalodimas wrote: Hi Heinrich, A few nits below On Wed, Jan 17, 2024 at 04:33:45PM +0100, Heinrich Schuchardt wrote: U-Boot can either generated an SMBIOS table or copy it from a prior boot stage, e.g. QEMU. Provide a command to display the SMBIOS information.

Re: [PATCH] Add Phytec i.MX93 support

2024-01-18 Thread Mathieu Othacehe
Hi, Thanks for the review! > s/imx93_phycore/phycore_imx93 > > To fit into existing PHYTEC boards already in tree. I deliberately picked that order so that it is aligned with most imx boards already supported by u-boot. The supported imx93 boards follow that pattern: - imx93_var_som -

Re: Could you please help me in resolving the "arch/arm/lib/vectors.S:87: Error: no such instruction: `b reset' ?"

2024-01-18 Thread Liu Wang
Hi Fabio, Thank you. Will do. Sincerely, Liu Wang > On Jan 17, 2024, at 5:33 PM, Fabio Estevam wrote: > > [CAUTION: External Mail] > >> On Wed, Jan 17, 2024 at 10:26 PM Liu Wang wrote: >> >> Hi Fabio, >> >> Thank you for your help. >> >> Switching to

Re: [PATCH v2 2/4] cmd: provide command to display SMBIOS information

2024-01-18 Thread Ilias Apalodimas
Hi Heinrich, A few nits below On Wed, Jan 17, 2024 at 04:33:45PM +0100, Heinrich Schuchardt wrote: > U-Boot can either generated an SMBIOS table or copy it from a prior boot > stage, e.g. QEMU. > > Provide a command to display the SMBIOS information. > > Currently only type 1 and 2 are

Re: [PATCH v2 4/4] test: unit test for smbios command

2024-01-18 Thread Ilias Apalodimas
On Thu, Jan 18, 2024 at 01:33:15PM +0100, Heinrich Schuchardt wrote: > On 1/18/24 12:51, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > On Wed, 17 Jan 2024 at 17:34, Heinrich Schuchardt > > wrote: > > > > > > Provide a unit test for the smbios command. > > > > > > Provide different test

Re: [PATCH v2 4/4] test: unit test for smbios command

2024-01-18 Thread Heinrich Schuchardt
On 1/18/24 12:51, Ilias Apalodimas wrote: Hi Heinrich, On Wed, 17 Jan 2024 at 17:34, Heinrich Schuchardt wrote: Provide a unit test for the smbios command. Provide different test functions for QEMU, sandbox, and other systems. Signed-off-by: Heinrich Schuchardt --- v2: for

Re: [PATCH v1 1/1] net: ti: am65-cpsw-nuss: Remove incorrect RGMII_ID bit functionality

2024-01-18 Thread Roger Quadros
Hi Ken, On 16/01/2024 22:01, Ken Sloat wrote: > The CPSW implementations on the AM6x platforms do not support the > selectable RGMII TX clk delay functionality via the RGMII_ID_MODE bit as > the earlier platforms did. According to various TI datasheets, reference > manuals, hardware design guides

Re: [PATCH v2 4/4] test: unit test for smbios command

2024-01-18 Thread Ilias Apalodimas
Hi Heinrich, On Wed, 17 Jan 2024 at 17:34, Heinrich Schuchardt wrote: > > Provide a unit test for the smbios command. > > Provide different test functions for QEMU, sandbox, and other systems. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > for generic boards we only can assume

[PATCH v4 2/6] rockchip: px30: simplify logic for getting SPL boot medium DT node

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz In preparation of moving spl_perform_fixups to spl-boot-order.c, let's simplify the logic around mapping the BOOT_DEVICE_x enum index to a DT node by using an instantiated array of chars instead of creating a new data structure on the fly. This will make it easier to factor

[PATCH v4 6/6] rockchip: rk3128: remove noop file

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz arch_cpu_init is already returning 0 in its weak definition in common/board_f.c so let's just remove the file entirely since nothing else is done in it. Cc: Quentin Schulz Reviewed-by: Kever Yang Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/rk3128/Makefile |

[PATCH v4 3/6] rockchip: factor out spl_perform_fixups into common spl-boot-order

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz All SoCs are susceptible to wanting to know which storage medium was used to load U-Boot SPL. So instead of reimplementing the same functions in SoCs over and over again (here just rk3399 and px30 but rk3588 is coming), let's just put all this in common into spl-boot-order.c

[PATCH v4 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz BOOT_DEVICE_* is set by spl_node_to_boot_device() depending on the block device number associated with the MMC device the SPL used to load U-Boot proper from. It is NOT related to the mmc alias in the Device Tree. For SPI flashes, all SPI flashes will return BOOT_DEVICE_SPI

[PATCH v4 5/6] rockchip: remove unused global data ptr

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz Remove leftover import and global data ptr from files since they aren't used anymore. Cc: Quentin Schulz Reviewed-by: Kever Yang Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/board.c | 3 --- arch/arm/mach-rockchip/rk3128/rk3128.c | 3 ---

[PATCH v4 0/6] rockchip: add vendor-wide support for detecting U-Boot proper boot medium

2024-01-18 Thread Quentin Schulz
It is possible to boot U-Boot proper from a different storage medium than the one used by the BOOTROM to load the SPL. This information is stored in the u-boot,spl-boot-device Device Tree property and is accessible from U-Boot proper so that it has knowledge at runtime where it was loaded from.

[PATCH v4 1/6] rockchip: rk3399: simplify logic for getting SPL boot medium DT node

2024-01-18 Thread Quentin Schulz
From: Quentin Schulz In preparation of moving spl_perform_fixups to spl-boot-order.c, let's simplify the logic around mapping the BOOT_DEVICE_x enum index to a DT node by using an instantiated array of chars instead of creating a new data structure on the fly. This will make it easier to factor

Re: [PATCH] Add Phytec i.MX93 support

2024-01-18 Thread Primoz Fiser
Hi Mathieu, I already gave my review on the kernel mailing list. As first step, naming scheme is not compatible with PHYTEC naming convention. Please fix it across the entire patch. Maybe reference downstream u-boot for that? Please also use "phyBOARD-Segin-i.MX93" when referencing the board as

Re: [PATCH v3 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-18 Thread Kever Yang
Hi Quentin, On 2024/1/18 01:22, Quentin Schulz wrote: From: Quentin Schulz BOOT_DEVICE_* is set by spl_node_to_boot_device() depending on the block device number associated with the MMC device the SPL used to load U-Boot proper from. It is NOT related to the mmc alias in the Device Tree. For

Re: [PATCH v1 4/4] board: verdin-am62: set cpu core voltage depending on speed grade

2024-01-18 Thread Max Krummenacher
On Wed, Jan 17, 2024 at 11:16:49AM +0100, Max Krummenacher wrote: > From: Max Krummenacher > > Speed grade T requires the VDD_CORE voltage to be 0.85V if using > the maximum core frequency. > > Speed grades G, K, S allow the VDD_CORE voltage to be 0.75V up to the > maximum core frequency but

Re: [UBOOT PATCH v4] test/py: net: Add dhcp abort test

2024-01-18 Thread neil . armstrong
Hi, On 21/11/2023 14:02, Love Kumar wrote: Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- Changes in v2: - Mark CMD_MII command dependency Changes in v3: - Skip the test if PHY device not present

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Ivan T. Ivanov
Hi, > On 18 Jan 2024, at 1:06, Jens Maus wrote: > > Hi, > >> Am 17.01.2024 um 17:45 schrieb Ivan T. Ivanov : >> >> I have aarch64 based machine at hand running openSUSE, >> thus I am building U-boot “natively”, no cross-compiling. >> >> $ make rpi_arm64_defconfig >> $ make > >> I just

Re: [PATCH v2 1/2] configs: rockchip: Use dwc3-generic driver on RK3328 and RK3399

2024-01-18 Thread Kever Yang
On 2023/11/13 01:48, Jonas Karlman wrote: Complete the transition away from xhci-dwc3 and dwc3-of-simple drivers and change to use the dwc3-generic driver on remaining RK3328 and RK3399 boards. MISC, USB_DWC3 and USB_DWC3_GENERIC is enabled on boards that used to enable USB_XHCI_DWC3.

Re: [PATCH v2 2/2] rockchip: board: Remove dwc3 usb init and gadget handler functions

2024-01-18 Thread Kever Yang
On 2023/11/13 01:48, Jonas Karlman wrote: Remove board_usb_init() and dm_usb_gadget_handle_interrupts() functions related to dwc3, they use e.g. a hard-coded reg address for RK3399 and are obsolete with use of DM_USB_GADGET. Use of DM_USB_GADGET, USB_DWC3_GENERIC and USB_DWC3_GADGET have