Re: [PATCH v3 10/15] efi_loader: net: add support to send http requests and parse http headers

2024-11-13 Thread Adriano Córdova
El mar, 12 nov 2024 a las 10:51, Heinrich Schuchardt () escribió: > On 11.11.24 22:09, Adriano Cordova wrote: > > Add network-stack agnostic way to send an http request and > > parse http headers from efi drivers. This uses wget as a > > backend and communicates with it via efi_wget_info. > > > >

Re: [PATCH v2 1/4] lib: provide function hextoull()

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 06:39:43AM -0700, Simon Glass wrote: > Hi Heinrich, > > On Sun, 3 Nov 2024 at 15:42, Heinrich Schuchardt > wrote: > > > > We often convert hexadecimal strings to hextoull(). Provide a wrapper > > function to simple_strtoull() that does not require specifying the radix. > >

Re: [PATCH v3 0/6]

2024-11-13 Thread Tom Rini
On Sun, 10 Nov 2024 10:28:36 +0200, Ilias Apalodimas wrote: > This is a respin of [1] adding https support to wget. In short > > patch#1 enables the crypto algorithms we need in mbedTLS > patches#2, #3 enable anf fix the lwIP part we need > patch#4 is adding https:// parsing support in our wget >

Re: [PATCH 2/2] efi_loader: remove non vital devices first

2024-11-13 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 13 Nov 2024 07:39:22 -0700 > > Hi, Hi Simon, > On Wed, 13 Nov 2024 at 05:52, Heinrich Schuchardt wrote: > > > > On 11/1/24 21:29, Mark Kettenis wrote: > > >> From: Janne Grunau > > >> Date: Thu, 31 Oct 2024 23:48:02 +0100 > > >> > > >> DM_FLAG_VITAL marks devi

Re: [PATCH v3 4/6] net: lwip: Enable https:// support for wget

2024-11-13 Thread Simon Glass
Hi Ilias, On Wed, 13 Nov 2024 at 08:11, Ilias Apalodimas wrote: > > On Wed, 13 Nov 2024 at 17:09, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 13 Nov 2024 at 07:46, Ilias Apalodimas > > wrote: > > > > > > On Wed, 13 Nov 2024 at 15:39, Simon Glass wrote: > > > > > > > > HI Ilias, > > >

Re: [PATCH v3 3/8] bootstd: Avoid depending on BLK

2024-11-13 Thread Simon Glass
Hi Tom, On Wed, 13 Nov 2024 at 08:24, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 07:39:53AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 18 Oct 2024 at 12:48, Simon Glass wrote: > > > > > > Hi Tom, > > > > > > On Fri, 18 Oct 2024 at 12:29, Tom Rini wrote: > > > > > > > > On Fri, Oct 1

Re: [PATCH 8/9] buildman: Propose a format for extra boards

2024-11-13 Thread Simon Glass
Hi Tom, On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > On Fri, Nov 08, 2024 at 08:23:49AM -0700, Simon Glass wrote: > > > It has become more common to use config fragments to extend or adjust > > the functionality of boards in U-Boot. > > > > Propose a format for how to deal with this. It is n

Re: [PATCH 1/1] efi_loader: run bootdev_hunt() to find ESP

2024-11-13 Thread Ilias Apalodimas
Hi Heinrich On Wed, 13 Nov 2024 at 21:55, Heinrich Schuchardt wrote: > > Some hard devices need specific routines to scan for block devices, > e.g. NVMe (nvme scan), SCSI (scsi start). > > Invoke bootdev_hunt() to find all block devices. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_l

Re: [PATCH v2 0/8] led: update LED boot/activity to new property implementation

2024-11-13 Thread Christian Marangi
On Wed, Nov 13, 2024 at 12:00:59PM -0600, Tom Rini wrote: > On Sun, Nov 10, 2024 at 12:50:19PM +0100, Christian Marangi wrote: > > > This series is split in 2 part. > > > > While adapting the LED boot and activity code to the new property > > accepted by Rob in dt-schema repository, a big BUG was

Re: [PATCH v2 2/3] board: phytec: imx93: Add eeprom-based hardware introspection

2024-11-13 Thread Wadim Egorov
Am 13.11.24 um 19:29 schrieb Fabio Estevam: On Wed, Nov 13, 2024 at 1:16 PM Christoph Stoidner wrote: + + eeprom@50 { + bootph-pre-ram; + bootph-some-ram; + compatible = "atmel,24c32"; + reg = <0x50>; + pagesize = <

[PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO

2024-11-13 Thread Heinrich Schuchardt
The string conversion functions are implemented in lib/strto.c which is only compiled if CONFIG_STRTO=y. Signed-off-by: Heinrich Schuchardt --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 145c952d2c3..efd5ba7acfd 100644 --

[PATCH 1/1] test: unit test for hextoull()

2024-11-13 Thread Heinrich Schuchardt
Provide a unit test for the hextoull() function. Signed-off-by: Heinrich Schuchardt --- test/str_ut.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/test/str_ut.c b/test/str_ut.c index 96e048975d8..1110971d995 100644 --- a/test/str_ut.c +++ b/test/str_ut.c @@ -18,6 +18,8

Re: [PATCH 8/9] buildman: Propose a format for extra boards

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 09:03:35AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > > > On Fri, Nov 08, 2024 at 08:23:49AM -0700, Simon Glass wrote: > > > > > It has become more common to use config fragments to extend or adjust > > > the functionality of

Re: [PATCH v2] cmd: add a fetch utility

2024-11-13 Thread Tony Dinh
Hi Caleb, On Wed, Nov 13, 2024 at 7:22 AM Tom Rini wrote: > > On Wed, Nov 13, 2024 at 03:40:01PM +0100, Heinrich Schuchardt wrote: > > Am 13. November 2024 14:32:57 MEZ schrieb Neil Armstrong > > : > > >On 13/11/2024 05:22, Caleb Connolly wrote: > > >> Add a small utility for displaying some inf

Re: [PATCH v9 00/12] labgrid: Provide an integration with Labgrid

2024-11-13 Thread Tom Rini
On Tue, 12 Nov 2024 07:13:14 -0700, Simon Glass wrote: > Labgrid provides access to a hardware lab in an automated way. It is > possible to boot U-Boot on boards in the lab without physically touching > them. It relies on relays, USB UARTs and SD muxes, among other things. > > By way of backgroun

Re: [PATCH v2 00/20] test: Tidy up the test/ directory

2024-11-13 Thread Tom Rini
On Sat, 02 Nov 2024 13:36:45 -0600, Simon Glass wrote: > Some tests do not use the unit-test framework. Others are in a suite of > their own, for no obvious reason. > > This series tidies this up. > > Changes in v2: > - Leave the bootm rule alone, as the bootm test only runs on sandbox > - Make

Re: [PATCH v3] sandbox: Add a build without CMDLINE

2024-11-13 Thread Tom Rini
On Sat, 02 Nov 2024 13:36:11 -0600, Simon Glass wrote: > Sometimes this breaks, so add a build to keep it working. Since sandbox > enables a lot of options, it is a good board to use. The new config is > created simply by copying the existing sandbox and turning off CMDLINE > > Once we have tests

Re: [PATCH 3/9] buildman: Support #include files in defconfigs

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 07:39:37AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > > > On Fri, Nov 08, 2024 at 08:23:44AM -0700, Simon Glass wrote: > > > > > This is used by some boards in U-Boot and is a convenient way to deal > > > with common settings

Re: [PATCH 1/1] test: str_ut.c depends on CONFIG_STRTO

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 10:06:46PM +0100, Heinrich Schuchardt wrote: > The string conversion functions are implemented in lib/strto.c which is > only compiled if CONFIG_STRTO=y. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] sunxi: pinephone: detect existed magnetometer and fixup dtb

2024-11-13 Thread Andrey Skvortsov
In newer 1.2 PinePhone board revisions LIS3MDL magnetometer was replaced by AF8133J. They use the same PB1 pin in different modes. LIS3MDL uses it as an gpio input to handle interrupt. AF8133J uses it as an gpio output as a reset signal. It wasn't possible at runtime to enable both device tree no

[PATCH 1/1] efi_loader: run bootdev_hunt() to find ESP

2024-11-13 Thread Heinrich Schuchardt
Some hard devices need specific routines to scan for block devices, e.g. NVMe (nvme scan), SCSI (scsi start). Invoke bootdev_hunt() to find all block devices. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_setup.c | 8 1 file changed, 8 insertions(+) diff --git a/lib/efi_lo

Re: [PATCH v2 2/3] board: phytec: imx93: Add eeprom-based hardware introspection

2024-11-13 Thread Fabio Estevam
On Wed, Nov 13, 2024 at 1:16 PM Christoph Stoidner wrote: > + > + eeprom@50 { > + bootph-pre-ram; > + bootph-some-ram; > + compatible = "atmel,24c32"; > + reg = <0x50>; > + pagesize = <32>; > + vcc-supply =

[PATCH v13 00/10] net: tcp: improve tcp support in legacy stack

2024-11-13 Thread Mikhail Kshevetskiy
Legacy TCP stack is bad. Here are some of the known issues: * tcp packet from other connection can break a current one * tcp send sequence always starts from zero * bad tcp options processing * strange assumptions on packet size for selective acknowledge * tcp interface assumes one of the two

[PATCH v13 01/10] net/tcp: fix TCP options processing

2024-11-13 Thread Mikhail Kshevetskiy
Current TCP code may miss an option if TCP_O_NOP option was used before it for proper aligning. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/tcp.c b/net/tcp.c index b0cc8a1fe3e..3e3118de45

Re: [PATCH 1/1] efi_loader: run bootdev_hunt() to find ESP

2024-11-13 Thread Simon Glass
Hi Heinrich, On Wed, 13 Nov 2024 at 12:55, Heinrich Schuchardt wrote: > > Some hard devices need specific routines to scan for block devices, > e.g. NVMe (nvme scan), SCSI (scsi start). > > Invoke bootdev_hunt() to find all block devices. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_l

Re: [PATCH 2/2] efi_loader: remove non vital devices first

2024-11-13 Thread Simon Glass
Hi Heinrich, On Wed, 13 Nov 2024 at 11:45, Heinrich Schuchardt wrote: > > Am 13. November 2024 17:03:03 MEZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Wed, 13 Nov 2024 at 08:17, Heinrich Schuchardt > >wrote: > >> > >> Am 13. November 2024 15:39:22 MEZ schrieb Simon Glass : > >> >Hi, > >> >

Re: [PATCH v3 4/6] net: lwip: Enable https:// support for wget

2024-11-13 Thread Simon Glass
Hi Ilias, On Wed, 13 Nov 2024 at 09:11, Ilias Apalodimas wrote: > > On Wed, 13 Nov 2024 at 18:04, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 13 Nov 2024 at 08:11, Ilias Apalodimas > > wrote: > > > > > > On Wed, 13 Nov 2024 at 17:09, Simon Glass wrote: > > > > > > > > Hi Ilias, > > >

Re: [PATCH v5 1/8] bootstd: Avoid depending on BLK

2024-11-13 Thread Simon Glass
Hi Tom, On Wed, 13 Nov 2024 at 10:47, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 08:09:31AM -0700, Simon Glass wrote: > > > In principle bootstd can work without block devices, even if it does > > require driver model to be enabled in that case. > > > > The use of a 'depends on BLK' for BOOTSTD

RE: [PATCH v11 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-11-13 Thread Abbarapu, Venkatesh
Hi Marek, > -Original Message- > From: Marek Vasut > Sent: Wednesday, November 13, 2024 1:15 AM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de > Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git > (AMD-Xilinx) > Subject: Re: [PATCH v11 3/7] usb: onboard-hub: add support for Microchi

[PATCH v13 04/10] net/tcp: add connection info to tcp_stream structure

2024-11-13 Thread Mikhail Kshevetskiy
Changes: * Avoid use net_server_ip in tcp code, use tcp_stream data instead * Ignore packets from other connections if connection already created. This prevents us from connection break caused by other tcp stream. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net-

[PATCH] arm64: versal: Enable soft reset support for xspi flashes

2024-11-13 Thread Venkatesh Yadav Abbarapu
Activate the xSPI Software Reset support, which will be utilized to transition from octal DTR mode to legacy mode during shutdown and boot (if enabled). Signed-off-by: T Karthik Reddy Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_versal_virt_defconfig | 2 ++ 1 file changed, 2 inse

Re: [PATCH v4 00/13] Support OF_UPSTREAM for StarFive JH7110

2024-11-13 Thread Anand Moon
Hi Hal, On Mon, 11 Nov 2024 at 07:53, Hal Feng wrote: > > This patchset add OF_UPSTREAM support for StarFive JH7110 based boards. > All the JH7110 based boards can use the DT from upstreaming linux kernel. > The v1.3b board device tree is set as the default device tree. Support > CONFIG_MULTI_DTB

Re: [PATCH v4 3/9] docker: Support building for multiple architectures

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 11:53:34AM -0700, Simon Glass wrote: > Add instructions on how to build the file for multiple architectures. > Add a message indicating what is happening. > > Update the documentation as well. > > Signed-off-by: Simon Glass [snip] > Or to use an existing container > >

Re: [PATCH v4 9/9] WIP: CI: Update for arm64

2024-11-13 Thread Tom Rini
On Wed, Nov 13, 2024 at 11:53:40AM -0700, Simon Glass wrote: > Do not apply. > > Switch over to the new multiarch image so we can try a run. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > .gitlab-ci.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [BUG] dhcp fails to download file with CONFIG_NET_LWIP=y

2024-11-13 Thread Tom Rini
On Sat, Nov 09, 2024 at 04:22:26PM +0100, Heinrich Schuchardt wrote: > On 11/9/24 16:12, E Shattow wrote: > > On Sat, Nov 9, 2024 at 6:20 AM Heinrich Schuchardt > > wrote: > > > > > > Hello Jerome, > > > > > > Using the old network stack U-Boot's dhcp command can be used to > > > download via TF

RE: ZDI-CAN-24679: New Vulnerability Report

2024-11-13 Thread zdi-disclosu...@trendmicro.com
Hi, Do you have any updates to share regarding this vulnerability report? Thanks, ZDI -Original Message- From: ZDI Disclosures Mailbox Sent: Thursday, July 18, 2024 4:05 PM To: 'u-boot@lists.denx.de' ; 'tr...@konsulko.com' Subject: ZDI-CAN-24679: New Vulnerability Report ZDI-CAN-24679:

Re: [PATCH v3 4/6] net: lwip: Enable https:// support for wget

2024-11-13 Thread Ilias Apalodimas
On Thu, 14 Nov 2024 at 05:53, Simon Glass wrote: > > Hi Ilias, > > On Wed, 13 Nov 2024 at 09:11, Ilias Apalodimas > wrote: > > > > On Wed, 13 Nov 2024 at 18:04, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Wed, 13 Nov 2024 at 08:11, Ilias Apalodimas > > > wrote: > > > > > > > > On W

[PATCH] arm64: versal: Enable defconfig for Micron octal flashes

2024-11-13 Thread Venkatesh Yadav Abbarapu
The Micron MT35 series octal flashes can be activated through the configuration option CONFIG_SPI_FLASH_MT35XU. To ensure their detection, enable this option in the default defconfig for octal flashes. Signed-off-by: Tejas Bhumkar Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_versa

[PATCH] cadence_qspi: Update the delays for flash reset

2024-11-13 Thread Venkatesh Yadav Abbarapu
Updating the delays for flash reset in the mini u-boot case. These experimental delay values by looking at different flash device vendors datasheets. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/spi/cadence_ospi_versal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

[PATCH v13 03/10] net/tcp: put connection specific data into a tcp_stream structure

2024-11-13 Thread Mikhail Kshevetskiy
no functional changes Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net/tcp.h | 37 +++- net/net.c | 11 ++- net/tcp.c | 231 +++--- net/wget.c| 3 +- 4 files changed, 163 insertions(+), 119 deleti

Re: [PATCH 0/3] teach 'env default' to optionally keep runtime variables

2024-11-13 Thread Rasmus Villemoes
On Wed, Oct 30 2024, Rasmus Villemoes wrote: > Doing bringup of a board, part of my bootstrap logic is in U-Boot. So > when tweaking that logic, I was bitten by a previous completed > bootstrap having left a copy of the environment on the device, which > was imported and thus overrided the new lo

Re: [PATCH v2 0/2] Select CONFIG_64BIT for sandbox64 and x86_64

2024-11-13 Thread Tom Rini
On Wed, Nov 06, 2024 at 12:42:13PM +, Andrew Goodbody wrote: > Picking up a series from Dan Carpenter and applying requested > changes for v2. > > I had previously set CONFIG_64BIT for arm64. This patchset does the > same thing for sandbox64 and x86_64. (Mips and riscv were already > doing

[PATCH v13 02/10] net/tcp: fix selective acknowledge

2024-11-13 Thread Mikhail Kshevetskiy
Current code assume that all (except last) packets are of the same size. This is definitely wrong. Replace SACK code with a new one, that does not rely on this assumption. Also this code uses less memory. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 200 ++

[PATCH v13 05/10] net/tcp: rename ack_edge and seq_init to more common rcv_nxt and irs

2024-11-13 Thread Mikhail Kshevetskiy
Use the names from RFC 9293 Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net/tcp.h | 8 net/tcp.c | 32 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/include/net/tcp.h b/include/net/tcp.h index f224

[PATCH v13 07/10] test/cmd/wget: fix the test

2024-11-13 Thread Mikhail Kshevetskiy
Changes: * update to new tcp stack * fix zero values for ISS and IRS issue (see RFC 9293) Previously this patch also fix incorrect values for tcp_ack & tcp_seq, but the issue was fixed in * dbb6b5a: sandbox: fix wget test failure after fixing wget issue Signed-off-by: Mikhail Kshevetskiy Revi

[PATCH v13 08/10] net/tcp: simplify tcp header filling code

2024-11-13 Thread Mikhail Kshevetskiy
This patch: * remove useless code, * use a special function for pretty printing of tcp flags, * simplify the code The behavior should not be changed. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 66 +++ 1 fil

[PATCH v13 06/10] net/tcp: improve tcp framework, use better state machine

2024-11-13 Thread Mikhail Kshevetskiy
Changes: * Fix initial send sequence always zero issue * Use state machine close to RFC 9293. This should make TCP transfers more reliable (now we can upload a huge array of data from the board to external server) * Improve TCP framework a lot. This should make tcp client code much more

[PATCH v13 10/10] net/net: fix include ordering

2024-11-13 Thread Mikhail Kshevetskiy
fix include ordering to follow https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/net.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/net/net.c b/net/net.

[PATCH] net/netcat: add netcat over tcp support for legacy ip stack

2024-11-13 Thread Mikhail Kshevetskiy
This patch adds downloading/uploading of data with netcat. Client/server mode both supported. It can be treated as an example of new legacy ip stack. How to test: netcat-openbsd=1.219-1 from debian were used for a tests a) Load data from remote host. * U-Boot listen on tcp

[PATCH v13 09/10] net/tcp: define a fallback value for rcv_wnd size

2024-11-13 Thread Mikhail Kshevetskiy
Some driver implements it's own network packet pool, so PKTBUFSRX is zero. This results in zero-size TCP receive window, so data transfer doesn't work. Avoid it by setting a reasonable fallback value. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 6 +- 1 file c

RE: [PATCH] mmc: don't print 'MMC:' if there are no MMC devices

2024-11-13 Thread Jaehoon Chung
Hi, > -Original Message- > From: Caleb Connolly > Sent: Wednesday, November 13, 2024 2:30 PM > To: Caleb Connolly ; Christian Marangi > ; Dragan Simic > ; Ilias Apalodimas ; Jaehoon > Chung > ; Jerome Forissier ; > Jonas Karlman > ; Marek Vasut ; Peng Fan > ; Peter > Robinson ; Rasmus

RE: [PATCH] mmc: don't print 'MMC:' if there are no MMC devices

2024-11-13 Thread Jaehoon Chung
Hi, > -Original Message- > From: Caleb Connolly > Sent: Wednesday, November 13, 2024 11:47 PM > To: Tom Rini > Cc: Christian Marangi ; Dragan Simic > ; Ilias Apalodimas > ; Jaehoon Chung ; Jerome > Forissier > ; Jonas Karlman ; Marek Vasut > ; Peng Fan ; Peter > Robinson ; > Rasmus Vi

Re: [PATCH v2 2/3] board: phytec: imx93: Add eeprom-based hardware introspection

2024-11-13 Thread Yannic Moog
Hi Christoph, On Wed, 2024-11-13 at 17:00 +0100, Christoph Stoidner wrote: > The phyCORE-i.MX 93 is available in various variants. Relevant variant > options for the spl/u-boot are: > - with or without HS400 support for the eMMC > - with 1GB ram chip, or 2GB ram chip > > The phyCORE's eeprom cont

[PATCH] spi: cadence_qspi: Fix OSPI boot issue

2024-11-13 Thread Venkatesh Yadav Abbarapu
Moving the hw_reset function from the controller driver to the NOR framework has caused the OSPI reset not to be triggered in the Cadence driver's probe function. As a result, reading the flash ID during SPI calibration is incorrect, and the CQSPI_REG_RD_DATA_CAPTURE is set with an invalid value.Th

Re: [PATCH v2 3/3] board: phytec: imx93: Add phyCORE-i.MX 93 support for all SOM variants

2024-11-13 Thread Yannic Moog
On Wed, 2024-11-13 at 17:00 +0100, Christoph Stoidner wrote: > The phyCORE-i.MX 93 is available in various variants (e.g. different ram > sizes, eMMC HS400 yes/no). Enable hardware introspection for the > imx93-phyboard-segin_defconfig, so that during startup the SOM module > variant can be detecte

Re: [PATCH v2] Makefile: Fake external blob with BINMAN_ALLOW_MISSING=1

2024-11-13 Thread Yannic Moog
Hi Simon, On Wed, 2024-11-06 at 08:35 -0700, Simon Glass wrote: > This flag was lost by a previous change and has never been restored. > Without it, binman cannot fully handle missing blobs which are > themselves inputs to mkimage. > > Discussion on this at [1] indicated that this was necessary b

Re: [PATCH 1/1] efi_loader: run bootdev_hunt() to find ESP

2024-11-13 Thread Ilias Apalodimas
Hi Simon, On Thu, 14 Nov 2024 at 05:54, Simon Glass wrote: > > Hi Heinrich, > > On Wed, 13 Nov 2024 at 12:55, Heinrich Schuchardt > wrote: > > > > Some hard devices need specific routines to scan for block devices, > > e.g. NVMe (nvme scan), SCSI (scsi start). > > > > Invoke bootdev_hunt() to fi

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-13 Thread Ilias Apalodimas
Hi Simon, On Tue, 12 Nov 2024 at 16:11, Simon Glass wrote: > > The cache-flush function is incorrect which causes a crash in the > remoteproc tests with arm64. > > Fix both problems by using map_sysmem() to convert an address to a > pointer and map_to_sysmem() to convert a pointer to an address.

[PATCH] net: lwip: Change https entropy requests

2024-11-13 Thread Ilias Apalodimas
mbedTLS requires some randomess in order to setup a TLS conection. Since we don't have known APIs -- e.g /dev/urandom, we must define our own function which mbedTLS uses. The crypto library will call that function recursively until it gets all the randomness it needs. Instead of doing it in 8b chun

<    1   2