Please pull u-boot-tegra staging

2023-11-29 Thread Svyatoslav Ryhel
Dear Tom, The following changes since commit acae7eb5fe063dcfe2dbdb1e1804cf3e12cc2f3f: i2c: Bugfix in i2c_get_chip_by_phandle() (2023-11-27 18:54:56 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging for you to fetch changes up

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

2023-11-29 Thread Sumit Garg
Hi Dennis, On Wed, 29 Nov 2023 at 22:32, Dennis Gilmore wrote: > > A big benefit of using the full dtb in u-boot means it can be used to > boot the system without the need to load a replacement file from disk > or elsewhere, which, AFAIK is required for the System Ready standards > and it

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

2023-11-29 Thread Sumit Garg
On Wed, 29 Nov 2023 at 22:06, Neil Armstrong wrote: > > On 29/11/2023 16:34, Caleb Connolly wrote: > > > > > > On 23/11/2023 07:04, Sumit Garg wrote: > >> On Wed, 22 Nov 2023 at 21:34, Caleb Connolly > >> wrote: > >>> > >>> > >>> > >>> On 22/11/2023 14:27, Tom Rini wrote: > On Wed, Nov 22,

Re: [RFT PATCH 0/2] mmc: meson-gx: improve MMC reliabilty

2023-11-29 Thread Da Xue
On Thu, Nov 23, 2023 at 8:54 AM Neil Armstrong wrote: > > On 15/09/2023 18:01, Jerome Brunet wrote: > > Amlogic MMC on the GX (and later) SoCs has been problematic for years, > > especially with u-boot. > > > > Linux has been fairly stable for a few years. It is using a fixed phase > > setting

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

2023-11-29 Thread Dragan Simic
On 2023-11-29 23:13, Szőke Kálmán Benjamin wrote: https://wiki.yoctoproject.org/wiki/GroupsMigration It seems to me, you should take little more time to understand the benefits. In Yocto wiki site there is an overview about why was they migrate mailing list to Groups.io some years ago from

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

2023-11-29 Thread Ilias Apalodimas
Hi Simon, [...] > Changes since v1: > > - Tokenize the DT node entry and use the appropriate value instead of > > the entire string > > - Removed Peters tested/reviewed-by tags due to the above > > lib/smbios.c | 94 +--- > > 1 file changed, 90

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

2023-11-29 Thread Ilias Apalodimas
Hi Simon, On Thu, 30 Nov 2023 at 04:46, Simon Glass wrote: > Hi Ilias, > > On Mon, 27 Nov 2023 at 10:11, Ilias Apalodimas > wrote: > > > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > > set that to "Unknown Product" and "Unknown" for the product and > >

Re: [PATCH v3 4/5] lib: membuff: fix readline not returning line in case of overflow

2023-11-29 Thread Simon Glass
Hi, On Tue, 21 Nov 2023 at 21:16, Heinrich Schuchardt wrote: > > On 11/21/23 19:40, Simon Glass wrote: > > Hi Svyatoslav, > > > > On Tue, 21 Nov 2023 at 11:35, Svyatoslav Ryhel wrote: > >> > >> From: Ion Agorria > >> > >> If line overflows readline it will not be returned, fix this behavior, >

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

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

Re: [PATCH 0/7] efi: Partial attempt at a test for EFI bootmeth

2023-11-29 Thread Simon Glass
Hi Heinrich, On Tue, 21 Nov 2023 at 04:36, Simon Glass wrote: > > The test coverage for the EFI bootmeth is incomplete since it does not > actually boot the application. > > This series makes an attempt at this. > > However there are at least two problems: > 1. The test does not set up the

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-29 Thread Simon Glass
Hi Andrew, On Mon, 6 Nov 2023 at 11:05, Andrew Davis wrote: > > On 11/6/23 11:47 AM, Simon Glass wrote: > > Hi Andrew, > > > > On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: > >> > >> On 11/6/23 9:31 AM, Tom Rini wrote: > >>> On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: >

Re: [PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-11-29 Thread Simon Glass
Hi Sughosh, On Wed, 22 Nov 2023 at 00:40, Sughosh Ganu wrote: > > hi Ilias, > > On Wed, 22 Nov 2023 at 13:06, Ilias Apalodimas > wrote: > > > > Hi all, > > > > On Wed, 22 Nov 2023 at 07:23, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 22 Nov 2023 at 03:42, Simon Glass wrote:

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

2023-11-29 Thread Simon Glass
Hi Ilias, On Mon, 27 Nov 2023 at 10:11, Ilias Apalodimas wrote: > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > set that to "Unknown Product" and "Unknown" for the product and > manufacturer respectively. It's cleaner if we move the checks insisde >

Re: [PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-11-29 Thread Simon Glass
Hi Sughosh, On Tue, 21 Nov 2023 at 22:23, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 22 Nov 2023 at 03:42, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Tue, 21 Nov 2023 at 00:02, Sughosh Ganu wrote: > > > > > > Add support for specifying the parameters needed for capsule > > >

Re: [PATCH] watchdog: Correct watchdog timeout print message

2023-11-29 Thread Simon Glass
On Sun, 26 Nov 2023 at 18:06, Chanho Park wrote: > > The wdt_start function takes timeout_ms as a parameter and starts the > watchdog with this value. However, when you output the message, it shows > the default timeout value for the watchdog device. > So this patch fixes that part to output the

Re: [PATCH 09/11] display_options: Clean up headers

2023-11-29 Thread Simon Glass
On Wed, 22 Nov 2023 at 06:14, Tom Rini wrote: > > In include/display_options.h we cannot include ourself, but do need > directly. Then in lib/display_options.c we further clean > the list to remove common.h. > > Signed-off-by: Tom Rini > --- > include/display_options.h | 3 ++- >

Re: [PATHv11 01/43] submodule: add lwIP as git submodule

2023-11-29 Thread Simon Glass
Hi Tom, On Mon, 27 Nov 2023 at 11:16, Tom Rini wrote: > > On Mon, Nov 27, 2023 at 06:56:44PM +0600, Maxim Uvarov wrote: > > > add external lwIP library as a git submodule. > > Use STABLE-2_2_0_RELEASE tag. > > > > Signed-off-by: Maxim Uvarov > > And just for the record, we'll re-visit

Re: [PATCH 03/11] sandbox: Add to asm/global_data.h and asm/io.h

2023-11-29 Thread Simon Glass
On Wed, 22 Nov 2023 at 06:12, Tom Rini wrote: > > We need in these files as we reference Linux types. > > Signed-off-by: Tom Rini > --- > Cc: Simon Glass > --- > arch/sandbox/include/asm/global_data.h | 2 ++ > arch/sandbox/include/asm/io.h | 2 ++ > 2 files changed, 4 insertions(+)

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

2023-11-29 Thread Simon Glass
Hi Ilias, On Mon, 27 Nov 2023 at 10:11, Ilias Apalodimas wrote: > > In order to fill in the SMBIOS tables U-Boot currently relies on a > "u-boot,sysinfo-smbios" compatible node. This is fine for the boards > that already include such nodes. However with some recent EFI changes, > the majority

Re: [PATHv11 19/43] sandbox: eth-raw-os: successful return code is 0

2023-11-29 Thread Simon Glass
On Mon, 27 Nov 2023 at 06:05, Maxim Uvarov wrote: > > all network drivers return 0 on the successful > transmission. > > Signed-off-by: Maxim Uvarov > --- > arch/sandbox/cpu/eth-raw-os.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-29 Thread Simon Glass
Hi Manorit, On Tue, 28 Nov 2023 at 02:32, Manorit Chawdhry wrote: > > Hi Simon, > > On 12:05-20231106, Andrew Davis wrote: > > On 11/6/23 11:47 AM, Simon Glass wrote: > > > Hi Andrew, > > > > > > On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: > > > > > > > > On 11/6/23 9:31 AM, Tom Rini

Re: OrangePI Zero3 memory timing testing

2023-11-29 Thread Siarhei Siamashka
Hello, Please try to insert udelay() calls in addition to dsb() in the mctl_mem_matches() and see if this helps. I suspect that there's just no way to do perfectly reliable synchronization all the way from the CPU to DRAM and back in this particular scenario (which involves wacky things, such as

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
Is the attached patch file going in the right direction? On 2023-11-29 3:57 p.m., Andre Przywara wrote: Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the console log from trying to use mtd_debug write. It returned immediately with a strange success message.

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
Thank you for the update Andre. The flashcp worked. I rebooted without an SD card and the new u-boot started properly. Now as to making a patch file, I will give it a try. Keep in mind that when I started my working career the concept of patching was to shuffle a deck of IBM 80 column

Re: OrangePI Zero3 memory timing testing

2023-11-29 Thread Andre Przywara
Hi Stephen, On 29/11/2023 18:45, Stephen Graf wrote: Some testing results: With the default DRAM timing of 30x24=720, most often when my system boots it comes up with DRAM 2G, but I have a 1G system. Once in a while the boot shows 1G.  When it shows 2G the linux OS also shows 2G and

Re: mdt_debug write

2023-11-29 Thread Andre Przywara
Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the consol log from trying to use mtd_debug write. It returned immediately with a strange success message. root@orangepizero3:~# mtd_debug write /dev/mtd0 0 0xf /home/sysadmin/u-boot-sunxi-with-spl.bin file_to_flash: fread,

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2023-11-29 Thread Simon Glass
Hi, On Thu, 16 Nov 2023 at 10:29, Simon Glass wrote: > > Add a compatible string for binman, so we can extend fixed-partitions > in various ways. > > Signed-off-by: Simon Glass > --- > > (no changes since v5) Is there any movement on this series, please? > > Changes in v5: > - Add

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

2023-11-29 Thread Szőke Kálmán Benjamin
https://wiki.yoctoproject.org/wiki/GroupsMigrationIt seems to me, you should take little more time to understand the benefits. In Yocto wiki site there is an overview about why was they migrate mailing list to Groups.io some years ago from legacy and outdated Mailman. Eredeti levél

[PATCH v1] gpio: dw: Drop unused headers

2023-11-29 Thread Maksim Kiselev
Drop headers which are not used or needed in this file. Signed-off-by: Maksim Kiselev --- drivers/gpio/dwapb_gpio.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index e6e919444f..7a6eae9ba1 100644 ---

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

2023-11-29 Thread Dragan Simic
On 2023-11-29 22:12, Szőke Kálmán Benjamin wrote: https://lists.yoctoproject.org/g/main Ah, I already used the same mailing list system. I saw no benefits, though. Eredeti levél Feladó: Dragan Simic Dátum: 2023 november 29 05:47:55 Tárgy: Re: [PATCH 1/1] pico-imx7d:

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

2023-11-29 Thread Szőke Kálmán Benjamin
https://lists.yoctoproject.org/g/main  Eredeti levél Feladó: Dragan Simic Dátum: 2023 november 29 05:47:55Tárgy: Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detectCímzett: Szőke Kálmán Benjamin On 2023-11-29 00:35, Szőke Kálmán Benjamin wrote: > Sorry i can not fix

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
Hi, > > Overall I think it's a worthwhile endeavour to get this sorted for at > least one ARM platform as a starting point. So, do you know are there any ARM platforms having ACPI enabled? Le mer. 29 nov. 2023 à 20:45, Moritz Fischer a écrit : > Hi, > > On Wed, Nov 29, 2023 at 11:28 AM Simon

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

2023-11-29 Thread Ahmad Fatoum
Hi Simon, On 29.11.23 20:00, Simon Glass wrote: > On Wed, 29 Nov 2023 at 11:35, Ahmad Fatoum wrote: >> Doesn't hardcoding a load address and entry address here defeat the point >> of having FIT as generic portable image format? >> >> At least barebox will try to place the kernel image at

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
> > Sort-of...the refactoring to allow ACPI tables on ARM is completed, > but I don't think any U-Boot board uses this. Can you give me the link to this topic? I can not find it. I think that if U-Boot can not use this, EDK2 may be a solution. Firstly I wonder why you want ACPI? For this

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

2023-11-29 Thread Tom Rini
On Wed, Nov 29, 2023 at 08:16:20PM +0100, Ahmad Fatoum wrote: > Hello Tom, > > On 29.11.23 20:02, Tom Rini wrote: > > On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: > >> Hi, > >> > >> a few more comments after decompiling the FIT image: > >> > >> On 29.11.23 18:21, Simon Glass

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

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 20:44, Simon Glass wrote: > Hi Ahmad, > > On Wed, 29 Nov 2023 at 12:33, Ahmad Fatoum wrote: >> >> On 29.11.23 20:27, Simon Glass wrote: >>> On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: On 29.11.23 20:02, Simon Glass wrote: > On Wed, 29 Nov 2023 at 11:59,

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Moritz Fischer
Hi, On Wed, Nov 29, 2023 at 11:28 AM Simon Glass wrote: > > +Heinrich Schuchardt > > Hi, > > On Wed, 29 Nov 2023 at 08:29, Ba Gia Bao Phan > wrote: > > > > Hello everyone, > > > > I am a trainee at STMicroelectronics France. I am working on a project > > "Setting up a boot chain ACPI" for

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

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 12:33, Ahmad Fatoum wrote: > > On 29.11.23 20:27, Simon Glass wrote: > > On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: > >> On 29.11.23 20:02, Simon Glass wrote: > >>> On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum > >>> wrote: > The specification says

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

2023-11-29 Thread Ahmad Fatoum
On 29.11.23 20:27, Simon Glass wrote: > On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: >> On 29.11.23 20:02, Simon Glass wrote: >>> On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: The specification says that this is the root U-Boot compatible, which I presume to mean the top-level

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Simon Glass
+Heinrich Schuchardt Hi, On Wed, 29 Nov 2023 at 08:29, Ba Gia Bao Phan wrote: > > Hello everyone, > > I am a trainee at STMicroelectronics France. I am working on a project > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . > The objective of my project is to add

Re: [PATCH v2 1/1] bootm: Fix flags used for bootargs string substitution

2023-11-29 Thread Simon Glass
On Fri, 24 Nov 2023 at 09:35, Piotr Kubik wrote: > > Commit 51bb33846ad2 ("bootm: Support string substitution in > bootargs") introduced a feature of bootargs string substitution > and changed a flag used in bootm_process_cmdline_env() call > to be either true or false. With this flag value, >

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

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: > > Hello Simon, > > On 29.11.23 20:02, Simon Glass wrote: > > Hi Ahmad, > > > > On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: > >> > >> Hi, > >> > >> a few more comments after decompiling the FIT image: > >> > >> On 29.11.23

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

2023-11-29 Thread Ahmad Fatoum
Hello Tom, On 29.11.23 20:02, Tom Rini wrote: > On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: >> Hi, >> >> a few more comments after decompiling the FIT image: >> >> On 29.11.23 18:21, Simon Glass wrote: >>> +with fsw.add_node('kernel'): >>> +

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

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 20:02, Simon Glass wrote: > Hi Ahmad, > > On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: >> >> Hi, >> >> a few more comments after decompiling the FIT image: >> >> On 29.11.23 18:21, Simon Glass wrote: >>> +with fsw.add_node('kernel'): >>> +

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

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: > > Hi, > > a few more comments after decompiling the FIT image: > > On 29.11.23 18:21, Simon Glass wrote: > > +with fsw.add_node('kernel'): > > +fsw.property_string('description', args.name) > > +

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

2023-11-29 Thread Tom Rini
On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: > Hi, > > a few more comments after decompiling the FIT image: > > On 29.11.23 18:21, Simon Glass wrote: > > +with fsw.add_node('kernel'): > > +fsw.property_string('description', args.name) > > +

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

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 11:35, Ahmad Fatoum wrote: > > Hello Simon, > > On 29.11.23 18:21, Simon Glass wrote: > > 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

[RK3568] Default kernel_comp_addr_r can be too narrow

2023-11-29 Thread MichaIng
Hey guys, for our PINE64 Quartz64 images, I am working on moving from an older U-Boot fork (by Peter Geis', but rebased until v2022.07: https://gitlab.com/MichaIng/u-boot) to upstream U-Boot. But I was running into an error on boot: ERROR: Did not find a cmdline Flattened Device Tree It

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

2023-11-29 Thread Ahmad Fatoum
Hi, a few more comments after decompiling the FIT image: On 29.11.23 18:21, Simon Glass wrote: > +with fsw.add_node('kernel'): > +fsw.property_string('description', args.name) > +fsw.property_string('type', 'kernel_noload') The specification only says no loading done, but

OrangePI Zero3 memory timing testing

2023-11-29 Thread Stephen Graf
Some testing results: With the default DRAM timing of 30x24=720, most often when my system boots it comes up with DRAM 2G, but I have a 1G system. Once in a while the boot shows 1G. When it shows 2G the linux OS also shows 2G and continuing does not make much sense. On one boot where

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

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 18:21, Simon Glass wrote: > 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. Thanks for working on this.

Re: [PATCH v2 1/3] efi_var_file: refactor to move buffer functions

2023-11-29 Thread Shantur Rathore
Hi Heinrich, On Wed, Nov 29, 2023 at 5:41 PM Heinrich Schuchardt wrote: > > On 24.11.23 12:35, Shantur Rathore wrote: > > Currently efi_var_file.c has functions to store/read > > EFI variables to/from memory buffer. These functions > > can be used with other EFI variable stores so move > > them

Re: [PATCH] arm: dts: imx8mp-venice-gw72xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm: dts: imx8mm-venice-gw72xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm64: imx8mp: Enable TCP, IPv6, wget on Data Modul i.MX8M eDM SBC

2023-11-29 Thread Fabio Estevam
On Wed, Nov 22, 2023 at 8:38 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH] tqma6: Fix DDR configuration

2023-11-29 Thread Fabio Estevam
On Fri, Nov 17, 2023 at 1:50 PM Miquel Raynal wrote: > > Initially investigating a Linux network issue causing a lot of drop and > poor network performances on a custom system based on a TQMA6A module > (based on an iMX6Q), [1st link below]. > > I eventually correlated my observations with a

Re: [PATCH 2/2] board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support

2023-11-29 Thread Fabio Estevam
On Thu, Nov 9, 2023 at 1:44 PM Hiago De Franco wrote: > > This commit adds support for Fastboot boot commands by checking both Just a nit: use imperative mood - "Add support for Fastboot". > CONFIG_CMD_USB_SDP and CONFIG_USB_FUNCTION_FASTBOOT. If either of these > configurations is set, it

Re: [PATCH 1/2] apalis/colibri imx6/imx6ull/imx7: defconfig: Enable fastboot support

2023-11-29 Thread Fabio Estevam
On Thu, Nov 9, 2023 at 2:44 PM Hiago De Franco wrote: > > Add fastboot support for Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and > Colibri iMX7 boards. Remove CONFIG_FASTBOOT_BUF_SIZE from > colibri_imx7_emmc_defconfig to get the default value of 0x700 instead > of 0x1000, to make it

Re: [PATCH] arm64: imx8mp: Inhibit DTC warning on DH i.MX8MP DHCOM rev.100 DTO

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 9:04 PM Marek Vasut wrote: > > Inhibit DTC warning in imx8mp-dhcom-pdk3-overlay-rev100.dts: > " > arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dtbo: Warning (reg_format): > /fragment@0/__overlay__:reg: property has invalid length (4 bytes) > (#address-cells == 2,

Re: [PATCH 2/2] arm64: imx8mp: Enable TCP, IPv6, wget on DH i.MX8MP DHCOM

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH 1/2] arm: imx6: Enable TCP, IPv6, wget on DH i.MX6 DHCOM

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH 0/2] librem5: allow using distroboot w/ extlinux files

2023-11-29 Thread Fabio Estevam
On Fri, Oct 27, 2023 at 10:41 AM Arnaud Ferraris wrote: > > The Librem 5 currently can't boot from `extlinux.conf` files due to > undefined environment variables: > * `fdtfile` is missing, preventing the kernel from selecting the > appropriate device-tree > * the lack of `kernel_comp_addr_r`

Re: [PATCH] imx8mn_var_som: Add myself to MAINTAINERS

2023-11-29 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 4:42 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > I would like to help maintaining the imx8mn_var_som symphony board. > > Add myself to MAINTAINERS. > > Signed-off-by: Hugo Villeneuve Reviewed-by: Fabio Estevam

Re: [PATCH v2] arm: mxs: Clear CPSR V bit to activate low vectors

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:52 PM Marek Vasut wrote: > > The MXS starts with CPSR V bit set, which makes the CPU jump to high vectors > in case of an exception. Those high vectors are located at 0x, which > is where the BootROM exception table is located as well. U-Boot should handle >

Re: [PATCH] arm: dts: imx8mp-venice-gw73xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm: dts: imx8mm-venice-gw73xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] board: gateworks: venice: add fixup for GW73xx-F+

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > GW73xx-F board revision switched back to the original PCIe switch due to > part availability. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] imx8mn-var-som: add manufacturer to target description

2023-11-29 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 11:25 AM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > Add Variscite manufacturer to the IMX8MN_VAR_SOM target menu label as > the majority of targets include the manufacturer as part of their menu > description/label and it helps when looking for a particular >

Re: [PATCH v5 2/5] fdt: kaslr seed from RNG device

2023-11-29 Thread Ilias Apalodimas
On Wed, 29 Nov 2023 at 19:47, Simon Glass wrote: > Hi Sean, > > On Thu, 16 Nov 2023 at 19:02, wrote: > > > > From: Dhananjay Phadke > > > > Add support for KASLR seed from the RNG device. Invokes dm_rng_read() > > API to read 8-bytes of random bytes. Performs the FDT fixup using event > >

[PATCH] x86: coreboot: Show a coreboot logo if booted from coreboot

2023-11-29 Thread Simon Glass
U-Boot shows its own logo when starting up, if a display is active. Add a coreboot logo too, for when U-Boot is booted from coreboot. Note that the logo's license applies: https://coreboot.org/Logo#coreboot_Logo_License Signed-off-by: Simon Glass Signed-off-by: Nico Huber ---

Re: [PATCH v2] pci: Enable dm_pci_map_bar() for 64-bit BARs

2023-11-29 Thread Simon Glass
On Tue, 28 Nov 2023 at 17:49, Moritz Fischer wrote: > > Allow dm_pci_map_bar() usage on systems with CONFIG_SYS_PCI_64BIT. > > Reviewed-by: Philip Oberfichtner > Signed-off-by: Moritz Fischer > --- > Changes from v1: > - Fixed commit message > --- > drivers/pci/pci-uclass.c | 11 +++ >

Re: [PATCH v5 3/5] cmd: kaslrseed: Use common API to fixup FDT

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > Use the newly introduced common API fdt_fixup_kaslr_seed() in the > kaslrseed command. > > Signed-off-by: Sean Edmond > --- > cmd/kaslrseed.c | 22 -- > 1 file changed, 8 insertions(+), 14 deletions(-) >

Re: [PATCH v5 2/5] fdt: kaslr seed from RNG device

2023-11-29 Thread Simon Glass
Hi Sean, On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Dhananjay Phadke > > Add support for KASLR seed from the RNG device. Invokes dm_rng_read() > API to read 8-bytes of random bytes. Performs the FDT fixup using event > spy. To enable use CONFIG_KASLR_RNG_SEED > > Signed-off-by: Dhananjay

Re: [PATCH v5 1/5] fdt: common API to populate kaslr seed

2023-11-29 Thread Simon Glass
Hi Sean, On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Dhananjay Phadke > > fdt_fixup_kaslr_seed() will update given ofnode with random seed value. > Source for random seed can be TPM or RNG driver in u-boot or sec > firmware (ARM). > > Signed-off-by: Dhananjay Phadke > Signed-off-by: Sean

Re: [PATCH v5 4/5] dm: core: Modify default for OFNODE_MULTI_TREE

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > There is a preference to use the "ofnode" API for FDT fixups > moving forward. The FDT fixup will usually be for the kernel FDT. To > fixup the kernel FDT with the ofnode API, it's required to set the > OFNODE_MULTI_TREE option. >

Re: [PATCH v5 5/5] fdt: Fix compile error for !OFNODE_MULTI_TREE

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > Required to fix the following compile error when building sandbox: > /tmp/cci9ibby.ltrans21.ltrans.o: In function `do_cedit_load': > :(.text+0x601d): undefined reference to `oftree_dispose' > > Signed-off-by: Sean Edmond > --- >

Re: [PATCH v2 1/3] efi_var_file: refactor to move buffer functions

2023-11-29 Thread Heinrich Schuchardt
On 24.11.23 12:35, Shantur Rathore wrote: Currently efi_var_file.c has functions to store/read EFI variables to/from memory buffer. These functions can be used with other EFI variable stores so move them out to efi_var_common.c The moved functions relate to filling the memory buffer of

[PATCH] bootflow: Allow setting a cmdline arg with no value

2023-11-29 Thread Simon Glass
This is supposed to be supported by the 'bootflow cmd' command, at least according to the help. There is a 'bootflow cmd clear' but it is often more intuitive to use 'bootcmd cmd set' with an empty value. Update the command to pass BOOTFLOWCL_EMPTY in this case. Signed-off-by: Simon Glass ---

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

2023-11-29 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 v7 1/2] arm64: Add BOOT_TARGETS variable

2023-11-29 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 v7: - Drop the kbuild tag Changes in v6: - Drop the unwanted .gz suffix arch/arm64/Makefile | 6 +- 1 file changed, 5

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

2023-11-29 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

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

2023-11-29 Thread Heinrich Schuchardt
On 20.10.21 14:37, Andy Shevchenko wrote: The dsdt.asl is usually combined out of several files that are included in the main one. Whenever we change the content of any of such files, build system is not able to recognize them. Hence the easiest way is to force DSDT rebuild each time we run

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

2023-11-29 Thread Dennis Gilmore
A big benefit of using the full dtb in u-boot means it can be used to boot the system without the need to load a replacement file from disk or elsewhere, which, AFAIK is required for the System Ready standards and it definitely helps in cases like EFI booting. Dennis On Wed, Nov 29, 2023 at

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Andy Shevchenko
On Wed, Nov 29, 2023 at 6:25 PM Andy Shevchenko wrote: > On Wed, Nov 29, 2023 at 5:29 PM Ba Gia Bao Phan > wrote: > > > > Hello everyone, > > > > I am a trainee at STMicroelectronics France. I am working on a project > > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Andy Shevchenko
On Wed, Nov 29, 2023 at 5:29 PM Ba Gia Bao Phan wrote: > > Hello everyone, > > I am a trainee at STMicroelectronics France. I am working on a project > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . > The objective of my project is to add a way of booting (with

Re: [PATCH] xen: pvblock: fix the maximum io size in one operation

2023-11-29 Thread Tom Rini
On Wed, Nov 15, 2023 at 10:53:45AM +0900, AKASHI Takahiro wrote: > The current implementation may cause BUG_ON() in blkfront_aio() > BUG_ON(n > BLKIF_MAX_SEGMENTS_PER_REQUEST); > > In pvblock_iop(), a read/write operation will be split into smaller > chunks of data so that the size in one

Re: [PATCH] timer-uclass: Always use "clock-frequency" property as fallback

2023-11-29 Thread Tom Rini
On Tue, Nov 14, 2023 at 10:11:27PM +0100, Alex Bee wrote: > Currently the "clock-frequency" DT property is only being considered as an > fallback if either there is no clock driver, the clock driver implements > the request-op correctly or there is no clock defined for the timer at all. > > This

Re: [PATCH] lib/slre: Fix memory leak if regex compilation fails

2023-11-29 Thread Tom Rini
On Sun, Nov 12, 2023 at 08:16:50PM +0100, Francois Berder wrote: > Signed-off-by: Francois Berder Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Fix stack-protector for powerpc

2023-11-29 Thread Tom Rini
On Wed, Nov 15, 2023 at 07:36:36PM +0100, Christophe Leroy wrote: > On powerpc, stack protector expects a function called > __stack_chk_fail_local() instead of __stack_chk_fail() > > And some versions of GCC for powerpc default to TLS canary > instead of global canary, so always force GCC to use

Re: [PATCH 3/3] ARM: keystone2: Remove unneeded inclusions of common.h

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:29PM -0600, Andrew Davis wrote: > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] configs: keystone2: Do not include hardware.h

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote: > This is a hacky way to have this file included in all source files that > include common.h, instead just include from the files that need it. > > Signed-off-by: Andrew Davis Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH 1/3] configs: keystone2: Remove unused SPL_MALLOC_F_SIZE and KEYSTONE_SPL_STACK_SIZE

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:27PM -0600, Andrew Davis wrote: > These are leftover definitions. While here cleanup some leftover comments. > > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [UBOOT PATCH v3] test/py: net: Add a TFTP put test

2023-11-29 Thread Tom Rini
On Wed, Nov 08, 2023 at 12:40:31PM +0530, Love Kumar wrote: > Execute tftpput command for uploading files to a server and validate its > size & CRC32. > > Signed-off-by: Love Kumar > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

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

2023-11-29 Thread Neil Armstrong
On 29/11/2023 16:34, Caleb Connolly wrote: On 23/11/2023 07:04, Sumit Garg wrote: On Wed, 22 Nov 2023 at 21:34, Caleb Connolly wrote: On 22/11/2023 14:27, Tom Rini wrote: On Wed, Nov 22, 2023 at 07:44:09PM +0530, Sumit Garg wrote: On Wed, 22 Nov 2023 at 19:31, Tom Rini wrote: On

Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
Hello everyone, I am a trainee at STMicroelectronics France. I am working on a project "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . The objective of my project is to add a way of booting (with ACPI) besides Device Tree available on STM32MPU. I found that ACPI was

Re: [PATCH v2 6/6] led: add TI LP5562 LED driver

2023-11-29 Thread Rasmus Villemoes
On 29/11/2023 16.23, Tom Rini wrote: > On Fri, Nov 17, 2023 at 12:38:11PM +0100, Rasmus Villemoes wrote: > >> --- >> doc/device-tree-bindings/leds/leds-lp5562.txt | 63 ++ >> drivers/led/Kconfig | 8 + >> drivers/led/Makefile | 1 + >>

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

2023-11-29 Thread Caleb Connolly
On 23/11/2023 07:04, Sumit Garg wrote: > On Wed, 22 Nov 2023 at 21:34, Caleb Connolly > wrote: >> >> >> >> On 22/11/2023 14:27, Tom Rini wrote: >>> On Wed, Nov 22, 2023 at 07:44:09PM +0530, Sumit Garg wrote: On Wed, 22 Nov 2023 at 19:31, Tom Rini wrote: > > On Wed, Nov 22, 2023

Re: [PATCH v2 6/6] led: add TI LP5562 LED driver

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 12:38:11PM +0100, Rasmus Villemoes wrote: > From: Doug Zobel > > Driver for the TI LP5562 4 channel LED controller. Supports > independent on/off control of all 4 channels. Supports LED_BLINK on 3 > independent channels: blue/green/red. The white channel can blink, but >

Re: [PATCH v2 2/4] arm: mach-k3: Do not map ATF and OPTEE regions in MMU

2023-11-29 Thread Andrew Davis
On 11/29/23 2:00 AM, Manorit Chawdhry wrote: Hi Andrew, On 28/11/23 22:35, Andrew Davis wrote: ATF and OPTEE regions may be firewalled from non-secure entities. To prevent access to this area we leave a hole there in the MMU map. This is the same idea as [0] but we complete that patch by

Intermitten Azure CI failures

2023-11-29 Thread Tom Rini
Hey all, If you see a failure in CI that looks like the one in: filenamehttps://dev.azure.com/u-boot/u-boot/_build/results?buildId=7436=logs=6ebe5bb0-481f-5026-b4e6-2d4192a94e80=66c5926e-2461-580f-927d-c0d0a6120549=524 Which is: "FAT: illegal filename (.)" being printed instead of "Unable to

  1   2   >