Re: [PATCH v2 03/10] arm: K3: Add basic support for J784S4 SoC definition

2023-05-08 Thread Vignesh Raghavendra
[...] On 21/03/23 19:40, Hari Nagalla wrote: > default 0x43c3f290 if SOC_K3_AM62A7 && CPU_V7R > @@ -172,7 +175,7 @@ config K3_ATF_LOAD_ADDR > > config K3_DM_FW > bool "Separate DM firmware image" > - depends on SPL && CPU_V7R && (SOC_K3_J721E || SOC_K3_J721S2 || > SOC_K3_AM625

Re: [PATCH 05/13] x86: coreboot: Collect the address of the ACPI tables

2023-05-08 Thread Bin Meng
Hi Simon, On Tue, May 9, 2023 at 5:23 AM Simon Glass wrote: > > Hi Bin, > > On Sat, 6 May 2023 at 00:05, Bin Meng wrote: > > > > Hi Simon, > > > > On Fri, Mar 24, 2023 at 1:55 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Mon, 20 Mar 2023 at 20:44, Bin Meng wrote: > > > > > > > >

Re: [PATCH v2 08/10] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2023-05-08 Thread Vignesh Raghavendra
On 21/03/23 19:40, Hari Nagalla wrote: > Add support for J784S4 SoC Identification. > > Signed-off-by: Hari Nagalla > --- > drivers/soc/soc_ti_k3.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c > index 8af0ac7051..caf8db9574

Re: [PATCH v3 12/17] x86: Return mtrr_add_request() to its old purpose

2023-05-08 Thread Simon Glass
Hi Bin, On Mon, 8 May 2023 at 08:51, Bin Meng wrote: > > On Mon, May 8, 2023 at 10:48 PM Bin Meng wrote: > > > > Hi Simon, > > > > On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > > > > > This function used to be for adding a list of requests to be actioned on > > > relocation. Revert it

Re: [PATCH v5 08/10] board: schneider: add RZN1 board support

2023-05-08 Thread Marek Vasut
On 5/8/23 20:23, Ralph Siemsen wrote: On Sun, May 07, 2023 at 06:06:40PM +0200, Marek Vasut wrote: On 4/24/23 03:15, Ralph Siemsen wrote: Add support for Schneider Electronics RZ/N1D and RZ/N1S boards, which are based on the Reneasas RZ/N1 SoC devices. The intention is to support both boards

Re: [PATCH v5 09/10] tools: spkgimage: add Renesas SPKG format

2023-05-08 Thread Marek Vasut
On 5/8/23 19:50, Ralph Siemsen wrote: On Sun, May 07, 2023 at 06:08:33PM +0200, Marek Vasut wrote: [...] +static int spkgimage_parse_config_file(char *filename) +{ +    FILE *fcfg; +    char line[256]; +    size_t line_num = 0; + +    fcfg = fopen(filename, "r"); +    if (!fcfg) +   

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-08 Thread Tony Dinh
On Mon, May 8, 2023 at 3:53 PM Tony Dinh wrote: > > Hi Simon, > > On Mon, May 8, 2023 at 2:23 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Sun, 7 May 2023 at 22:25, Tony Dinh wrote: > > > > > > Hi Tom, > > > > > > On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > > > > > > > On Mon, Apr

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-08 Thread Tony Dinh
Hi Simon, On Mon, May 8, 2023 at 2:23 PM Simon Glass wrote: > > Hi Tony, > > On Sun, 7 May 2023 at 22:25, Tony Dinh wrote: > > > > Hi Tom, > > > > On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > > > > > On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote: > > > > > > > Use

Re: [PATCH 05/13] x86: coreboot: Collect the address of the ACPI tables

2023-05-08 Thread Simon Glass
Hi Bin, On Sat, 6 May 2023 at 00:05, Bin Meng wrote: > > Hi Simon, > > On Fri, Mar 24, 2023 at 1:55 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Mon, 20 Mar 2023 at 20:44, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Tue, Feb 21, 2023 at 3:49 AM Simon Glass wrote: > > > > > > > >

Re: [ANN] U-Boot v2023.07-rc2 released

2023-05-08 Thread Simon Glass
Hi Tom, On Mon, 8 May 2023 at 12:18, Tom Rini wrote: > > Hey all, > > It's the scheduled day for -rc2, and I've pulled in a few more changes > before putting this out. I think my queue is in good shape, and overall > I'm hoping for more PRs against the next branch than master branch. If >

Re: [RFC PATCH 0/5] LWIP stack integration

2023-05-08 Thread Simon Glass
Hi Maxim, On Fri, 5 May 2023 at 04:50, Maxim Uvarov wrote: > > Greetings, > > This RFC patchset is an attempt to try to use an already existing IP network > stack inside U-boot. > U-Boot recently got basic TCP/IP support, implementing wget, but in order to > get a full IP stack > with new

Re: [PATCH v2 2/3] X86: Add support for distro boot

2023-05-08 Thread Simon Glass
Hi, On Fri, 5 May 2023 at 02:23, Mittelstaedt Thomas (XC-CT/EBV3) wrote: > > Hi Simon, > > U-Boot can't start with boot script boot.scr, if BOOTSTD_DEFAULT is set. With > this setting "bootflow scan -lb" is not supported. > Booting with extlinux.conf works somehow. > > = Bootlog

Re: [PATCH 3/3] bootstd: Require HUSH_PARSER for script booting

2023-05-08 Thread Simon Glass
Hi Jonas, On Sat, 6 May 2023 at 10:03, Jonas Karlman wrote: > > Hi Simon, > > On 2023-05-06 04:03, Simon Glass wrote: > > Armbian uses a script which needs the HUSH parser. It is likely that > > other distros will do the same. Enable it by default, just in case. > > > > Signed-off-by: Simon

Re: [PATCH] cmd: fs: document where 'size' stores its result

2023-05-08 Thread Simon Glass
On Sun, 7 May 2023 at 04:48, Baruch Siach wrote: > > Make it a little bit easier for the user to utilize the 'size' command. > > Signed-off-by: Baruch Siach > --- > cmd/fs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass > diff --git a/cmd/fs.c b/cmd/fs.c

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-08 Thread Simon Glass
Hi Tony, On Sun, 7 May 2023 at 22:25, Tony Dinh wrote: > > Hi Tom, > > On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > > > On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote: > > > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > > stdin/stdout/stder must be

Re: How should I build u-boot for qemu_arm64_defconfig and run it on arm64 qemu virt machine?

2023-05-08 Thread Simon Glass
Hi Chan, On Mon, 8 May 2023 at 03:41, Chan Kim wrote: > > Hello experts, > > > > Today I tried this test from scratch. > > In my environment, CROSS_COMPILE=aarch64-none-elf. > > Under u-boot directory, when I do 'make CROSS_COMPILE=aarch64-none-elf- > qemu_arm64_defconfig' and 'make -j28', I see

Re: [PATCH 1/6] net: split IP_TCP header into separate IP/IP6 and TCP headers

2023-05-08 Thread Paul Liu
Hi Dmitrii, It seems to me that this series of patches breaks the unittest of TCP stack in sandbox. I'll see if I have some time to fix the unittest too. The unittest can be built by the following commands. 1. "make sandbox64_defconfig" 2. turn on the options that need to be tested. For

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

2023-05-08 Thread Tom Rini
Here's the latest defect report: -- Forwarded message - From: Date: Mon, May 8, 2023, 2:29 PM 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 with Coverity Scan. 5 new

Re: [PATCH v5 08/10] board: schneider: add RZN1 board support

2023-05-08 Thread Ralph Siemsen
On Sun, May 07, 2023 at 06:06:40PM +0200, Marek Vasut wrote: On 4/24/23 03:15, Ralph Siemsen wrote: Add support for Schneider Electronics RZ/N1D and RZ/N1S boards, which are based on the Reneasas RZ/N1 SoC devices. The intention is to support both boards using a single defconfig, and to handle

[ANN] U-Boot v2023.07-rc2 released

2023-05-08 Thread Tom Rini
Hey all, It's the scheduled day for -rc2, and I've pulled in a few more changes before putting this out. I think my queue is in good shape, and overall I'm hoping for more PRs against the next branch than master branch. If there's long-standing substantive changes out there, please speak up so

Re: [PATCH v5 09/10] tools: spkgimage: add Renesas SPKG format

2023-05-08 Thread Ralph Siemsen
On Sun, May 07, 2023 at 06:08:33PM +0200, Marek Vasut wrote: [...] +static int spkgimage_parse_config_file(char *filename) +{ + FILE *fcfg; + char line[256]; + size_t line_num = 0; + + fcfg = fopen(filename, "r"); + if (!fcfg) + return -EINVAL; + +

Re: Please pull u-boot-marvell/master

2023-05-08 Thread Tom Rini
On Mon, May 08, 2023 at 10:47:54AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell MVEBU related patches into next: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] board: ti: am64x: Add support for AM64B SK

2023-05-08 Thread Tom Rini
On Thu, 06 Apr 2023 11:49:01 +0530, Vignesh Raghavendra wrote: > The AM64x SR2.0 SK board uses "AM64B-SKEVM" as the EEPROM identifier. > This board is similar to the AM64x SKEVM except that it has a new > PMIC that will be enabled in the future and consequently could use a > different device tree

Re: [PATCH U-BOOT v2] btrfs: fix offset when reading compressed extents

2023-05-08 Thread Tom Rini
On Tue, 18 Apr 2023 15:41:55 +0900, Dominique Martinet wrote: > btrfs_read_extent_reg correctly computed the extent offset in the > BTRFS_COMPRESS_NONE case, but did not account for the 'offset - key.offset' > part correctly in the compressed case, making the function read > incorrect data. > >

[PATCH 6/6] net: update net_ip6 from link_local address when eth device is changed

2023-05-08 Thread Dmitrii Merkurev
Current active eth device may be changed (due to ethprime), so make sure current net_ip6 is updated as a reaction. Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried --- net/net.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 5/6] net: add fastboot TCP documentation and IP6-only mode

2023-05-08 Thread Dmitrii Merkurev
Command to start IP6 only TCP fastboot: fastboot tcp -ipv6 Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried --- cmd/fastboot.c | 29 + doc/android/fastboot.rst | 8 +++- 2 files

[PATCH 4/6] net: add fastboot TCP6 support

2023-05-08 Thread Dmitrii Merkurev
fastboot tcp command remains the same, but started listening IP6 in case it's enabled. Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried --- include/net/fastboot_tcp.h | 2 +- net/fastboot_tcp.c | 72

[PATCH 3/6] net: introduce TCP/IP6 support

2023-05-08 Thread Dmitrii Merkurev
Add TCP/IP6 related headers and reuse refactored TCP/IP implementation Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried --- include/net/tcp6.h | 103 + include/net6.h | 14 ++

[PATCH 2/6] net: prepare existing TCP stack to be reused by IP6

2023-05-08 Thread Dmitrii Merkurev
Changes: 1. Separate reusable part from net_set_tcp_header to net_set_tcp_header_common 2. Make TCP signatures reusable by receiving particular IP agnostic TCP headers 3. Extract net_send_ip_packet6 from net_send_udp_packet6 to reuse the code 4. Expose TCP state machine related functions This

[PATCH 1/6] net: split IP_TCP header into separate IP/IP6 and TCP headers

2023-05-08 Thread Dmitrii Merkurev
This allows us to reuse TCP logic between IP and IP6 stack. Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried --- include/net/tcp.h | 50 ++--- net/tcp.c | 70

Re: [PATCH] pci: ecm generic: use dev_read_() interface

2023-05-08 Thread Tom Rini
On Mon, May 08, 2023 at 08:30:15PM +0530, Mayuresh Chitale wrote: > On Thu, May 4, 2023 at 2:04 AM Tom Rini wrote: > > > > On Sat, Feb 18, 2023 at 05:55:25PM +0530, Mayuresh Chitale wrote: > > > > > Use dev_read_() api instead of the fdtdec API to fetch the host > > > controller's reg property

Re: [PATCH] pci: ecm generic: use dev_read_() interface

2023-05-08 Thread Mayuresh Chitale
On Thu, May 4, 2023 at 2:04 AM Tom Rini wrote: > > On Sat, Feb 18, 2023 at 05:55:25PM +0530, Mayuresh Chitale wrote: > > > Use dev_read_() api instead of the fdtdec API to fetch the host > > controller's reg property value. This is similar to the other host > > controller drivers such as Sifive,

Re: [PATCH v3 14/17] spl: Commit MTRRs only in board_init_f_r()

2023-05-08 Thread Bin Meng
On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > We don't need to commit the SPI-flash MTRR change immediately, since it is > now done in the board_init_f_r(). Also this causes chromebook_link64 to > hang, presumably since we are still running from CAR (Cache-as-RAM) in > SPL. Coral handles

Re: [PATCH v3 12/17] x86: Return mtrr_add_request() to its old purpose

2023-05-08 Thread Bin Meng
On Mon, May 8, 2023 at 10:48 PM Bin Meng wrote: > > Hi Simon, > > On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > > > This function used to be for adding a list of requests to be actioned on > > relocation. Revert it back to this purpose, to avoid problems with boards > > which need

Re: [PATCH v3 12/17] x86: Return mtrr_add_request() to its old purpose

2023-05-08 Thread Bin Meng
Hi Simon, On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > This function used to be for adding a list of requests to be actioned on > relocation. Revert it back to this purpose, to avoid problems with boards > which need control of their MTRRs (i.e. those which don't use FSP). > > The

Re: [RFC PATCH 1/5] add lwip-external submodule

2023-05-08 Thread Simon Glass
Hi Maxim, On Fri, 5 May 2023 at 04:50, Maxim Uvarov wrote: > > Signed-off-by: Maxim Uvarov > --- > .gitmodules| 3 +++ > lib/lwip/lwip-external | 1 + > 2 files changed, 4 insertions(+) > create mode 100644 .gitmodules > create mode 16 lib/lwip/lwip-external > Please no

Re: [[PATCH v2] 4/4] cmd: tlv_eeprom: enable 'dev' subcommand before 'read'

2023-05-08 Thread Simon Glass
Hi, On Fri, 5 May 2023 at 02:22, Josua Mayer wrote: > > Move the handler for "tlv_eeprom dev X" command to the beginning of > do_tlv_eeprom, to allow using it before issuing a "read" command for > currently selected eeprom. > > Also remove the check if eeprom exists, since that can only work

Re: [UBOOT PATCH 0/3] Port the usb reset patches from linux

2023-05-08 Thread Marek Vasut
On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote: Port the usb reset patches from linux kernel. What kind of patches are these ? What sort of problem are those patches attempting to address ? Venkatesh Yadav Abbarapu (3): usb: dwc3: core: improve reset sequence usb: dwc3: gadget: Don't

Booting verdin-imx8mm_defconfig fails

2023-05-08 Thread Manuel Traut
Hi, I am not able to run u-boot for the Toradex Verdin i.MX8MMini. I am not sure if I built/using u-boot as intended for this platform. DDR firmware used from: https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.19.bin and arm-trusted-firmware 2.8.0 u-boot was built with the following

Re: [PATCH 1/1] fwu: fix config FWU_MULTI_BANK_UPDATE

2023-05-08 Thread Ilias Apalodimas
On Sun, 7 May 2023 at 09:39, Heinrich Schuchardt wrote: > > Symbol CONFIG_EFI_SETUP_EARLY does not exist anymore. > > CONFIG_FWU_MULTI_BANK_UPDATE without CONFIG_FWU_MDATA results in > > lib/fwu_updates/fwu.c:49: undefined reference to `fwu_get_mdata' > > Fixes: 86794052418b ("FWU: Add

Re: [PATCH v5 1/4] efi_loader: get version information from device tree

2023-05-08 Thread Heinrich Schuchardt
On 5/8/23 10:15, Masahisa Kojima wrote: Hi Heinrich, On Thu, 27 Apr 2023 at 15:09, Heinrich Schuchardt wrote: On 4/10/23 11:07, Masahisa Kojima wrote: Current FMP->GetImageInfo() always return 0 for the firmware version, user can not identify which firmware version is currently running

How should I build u-boot for qemu_arm64_defconfig and run it on arm64 qemu virt machine?

2023-05-08 Thread Chan Kim
Hello experts, Today I tried this test from scratch. In my environment, CROSS_COMPILE=aarch64-none-elf. Under u-boot directory, when I do 'make CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig' and 'make -j28', I see this error at the end. aarch64-none-elf-ld.bfd: invalid length

Re: [[PATCH v2] 1/4] cmd: tlv_eeprom: remove use of global variable current_dev

2023-05-08 Thread Stefan Roese
On 5/5/23 10:20, Josua Mayer wrote: Make tlv_eeprom command device selection an explicit parameter of all function calls. Signed-off-by: Josua Mayer Cc: Stefan Roese Cc: Baruch Siach Cc: Heinrich Schuchardt All patches: Applied to u-boot-marvell/master Thanks, Stefan ---

Please pull u-boot-marvell/master

2023-05-08 Thread Stefan Roese
Hi Tom, please pull the following Marvell MVEBU related patches into next: - cmd: tlv_eeprom: Misc cleanups & improvements (Josua) Here the Azure build, without any

Re: [PATCH v5 1/4] efi_loader: get version information from device tree

2023-05-08 Thread Masahisa Kojima
Hi Heinrich, On Thu, 27 Apr 2023 at 15:09, Heinrich Schuchardt wrote: > > On 4/10/23 11:07, Masahisa Kojima wrote: > > Current FMP->GetImageInfo() always return 0 for the firmware > > version, user can not identify which firmware version is currently > > running through the EFI interface. > > >

Re: [PATCH v3 0/6] Add video drivers for endeavoru and p880/p895

2023-05-08 Thread Anatolij Gustschin
On Tue, 25 Apr 2023 10:51:41 +0300 Svyatoslav Ryhel clamo...@gmail.com wrote: ... > --- > Changes from v2: > - added comments to panel drivers > - fixed typo in ssd2825 driver > > Changes from v1: > - used lower-case hex for command sequences > - ssd2825 switched to dm_spi_xfer > - used log_*