Add support for DH electronics i.MX8MP DHCOM SoM on DRC02 carrier board.
This system is populated with two ethernet ports, two CANs, RS485 and RS232,
USB, capacitive buttons and an OLED display.
Signed-off-by: Marek Vasut
---
Cc: "NXP i.MX U-Boot Team"
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: T
U-Boot is currently unable to automatically enable regulators which
contain DT property regulator-always-on or regulator-boot-on. There
is an ongoing work to add this functionality to regulator core code,
but until the proper solution lands, add this awful workaround code
to force these regulators
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
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.
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 ++
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
This patch adds downloading/uploading of data with netcat.
Client/server mode both supported.
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 port 3456
* PC connects
u-boot: netcat loa
The wget test seriously broken:
* Uses zero values for ISS and IRS values (see RFC 9293).
* Writes incorrect values to Sequence and Acknowledgment numbers fields
of tcp packets. In the real life such packets will break the tcp stream.
* The test should fail (see above), but due to buggy old t
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
fix include ordering to follow
https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files
Signed-off-by: Mikhail Kshevetskiy
---
net/net.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/net/net.c b/net/net.c
index 86182cc504e..92156
This patch adds HTTP/1.1 compatible web-server that can be used
by other. Server supports GET, POST, and HEAD requests. On client
request it will call user specified GET/POST callback. Then results
will be transmitted to client.
The following restrictions exist on the POST request
at the moment:
This is an example web-server implementation. It can be used for files
uploading to u-boot using a web-browser. It acts much like tftpget, but no
special servers needs to be installed by the user.
This code can be used as a base for other implementations like firmware
upgrade web-server used by so
U-Boot support of LWIP is not ready for a moment, but we already have
some kind of tcp support. Unfrotunately this support is really bad.
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
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
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
---
net/tcp.c | 66 +++
1 file changed, 33 insertions(+
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
On Fri, Sep 20, 2024 at 10:48:56AM -0600, Tom Rini wrote:
> On Fri, Sep 20, 2024 at 07:40:35PM +0300, Svyatoslav Ryhel wrote:
> > пн, 16 вер. 2024 р. о 19:28 Tom Rini пише:
> > >
> > > On Wed, Sep 11, 2024 at 07:00:56PM -0600, Simon Glass wrote:
> > > > Hi Marek,
> > > >
> > > > On Fri, 28 Jun 202
On Wed, 28 Aug 2024 16:56:10 -0600, Tom Rini wrote:
> When running the bootstage tests currently we get a warning like:
> tests/test_bootstage.py::test_bootstage_stash
> ...PytestReturnNotNoneWarning: Expected None, but
> tests/test_bootstage.py::test_bootstage_stash returned (37748736, 4096),
>
On Tue, 10 Sep 2024 15:00:18 +0200, Jerome Forissier wrote:
> Make SPL_RAM_SUPPORT a hidden Kconfig symbol, automatically selected
> by SPL_RAM_DEVICE or SPL_DFU. Avoids the situation where SPL_RAM_SUPPORT
> may be enabled without the other two being enabled, which results in the
> following build
On Wed, 11 Sep 2024 11:58:13 +0200, Jerome Forissier wrote:
> Miscellaneous fixes made when developing the lwIP series [1]. They are
> posted separately since they make sense on their own. Subsequent
> versions of the lwIP series will contain a squashed version of this one.
>
> [1]
> http://patc
Hi Chris,
On 9/23/24 7:38 PM, Chris Morgan wrote:
On Mon, Sep 23, 2024 at 01:24:34PM +0200, Quentin Schulz wrote:
Hi Chris,
On 9/19/24 4:00 PM, Chris Morgan wrote:
From: Chris Morgan
Enable the PD_VO power domain before driver access on the rk3568 SoC.
Signed-off-by: Chris Morgan
---
a
Both regulators_enable_boot_on/off() are unused and superseded by
regulator uclass regulator_post_probe(). Remove both functions.
Signed-off-by: Marek Vasut
---
Cc: Ben Wolsieffer
Cc: Caleb Connolly
Cc: Chris Morgan
Cc: Dragan Simic
Cc: Eugen Hristev
Cc: Francesco Dolcini
Cc: Heinrich Schuc
This function is never called, drop it.
Signed-off-by: Marek Vasut
---
Cc: Ben Wolsieffer
Cc: Caleb Connolly
Cc: Chris Morgan
Cc: Dragan Simic
Cc: Eugen Hristev
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Jaehoon Chung
Cc: Jagan Teki
Cc: Jonas Karlman
Cc: Kever Yang
Cc: Matteo Li
In case the DT regulator node does not contain 'regulator-max-microvolt'
property and does not contain 'regulator-state-mem' subnode (like the
test.dts regul1_scmi: reg@1 {} regulator node), then regulator_pre_probe()
will parse this regulator node and set uc_pdata->suspend_on = true and
uc_pdata->
In case a regulator DT node contains regulator-always-on or regulator-boot-on
property, make sure the regulator gets correctly configured by U-Boot on start
up. Unconditionally probe such regulator drivers. This is a preparatory patch
for introduction of .regulator_post_probe() which would trigger
Turn regulators_enable_boot_on() and regulators_enable_boot_off() into
empty functions. Implement matching functionality in regulator_post_probe()
instead. The regulator_post_probe() is called for all regulators after they
probe, and regulators that have regulator-always-on or regulator-boot-on DT
Maintain backward compatibility with pre-binman u-boot file naming,
the U-Boot fitImage used to be named u-boot.itb before, restore the
file name after binman conversion.
Signed-off-by: Marek Vasut
---
Cc: "NXP i.MX U-Boot Team"
Cc: Fabio Estevam
Cc: Marcel Ziswiler
Cc: Peng Fan
Cc: Rasmus Vi
Hi,
Am Fr., 20. Sept. 2024 um 10:10 Uhr schrieb Ivan T. Ivanov :
> Hi,
>
> On 09-20 08:32, Martin Stolpe wrote:
> >
> > When the CONFIG_VIDEO option is set to disabled for Raspberry Pi devices
> > the build will fail with the following error message:
> > "undefined reference to `fdt_simplefb_enab
Hi Chris,
On 9/23/24 7:36 PM, Chris Morgan wrote:
On Mon, Sep 23, 2024 at 01:21:01PM +0200, Quentin Schulz wrote:
Hi Chris,
On 9/19/24 4:00 PM, Chris Morgan wrote:
From: Chris Morgan
Some of the Powkiddy devices switched to using a different vendor for
the vdd_cpu regulator. Unfortunately t
Hi Lekkit,
On Sun, Sep 22, 2024 at 01:11:01PM +0300, lek...@at.encryp.ch wrote:
> [EXTERNAL MAIL]
>
> From: LekKit <50500857+lek...@users.noreply.github.com>
>
> Enable framebuffer for better virtual machine integration.
> Some guests need EFI FB to work properly.
> ---
> board/emulation/qemu-r
Hi,
> -Original Message-
> From: Marek Vasut
> Sent: Saturday, September 21, 2024 9:52 PM
> To: Chee, Tien Fong ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Meng, Tingting
> ; Yuslaimi, Alif Zakuan
> ; Hea, Kok Kiang
>
> Subject: Re: [PATCH v1 09/20] sysreset: Add reset support to So
Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI
NOR flash, one for Arm-TF and one for unsecure firmware, providing
ACPI tables to the OS.
Signed-off-by: Patrick Rudolph
---
bin/travis-ci/conf.qemu-arm-sbsa_na | 27 +++
1 file changed, 27 insertions(+)
cre
Hello Dario,
On 13.09.24 11:55, Dario Binacchi wrote:
From: Michael Trimarchi
Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and
mediamix on iMX8MP.
To support blk ctrl driver, the power domain driver on iMX8M needs
update to add relevant PGC domains
Signed-off-by: Ye Li
Signed-
On Tue, Sep 24, 2024 at 10:49:35AM +0200, Patrick Rudolph wrote:
> Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI
> NOR flash, one for Arm-TF and one for unsecure firmware, providing
> ACPI tables to the OS.
>
> Signed-off-by: Patrick Rudolph
Reviewed-by: Tom Rini
--
Tom
s
On Fri, Sep 20, 2024 at 5:59 PM Simon Glass wrote:
>
> Hi Patrick,
>
> On Fri, 20 Sept 2024 at 12:29, Patrick Rudolph
> wrote:
> >
> > On Fri, Sep 20, 2024 at 11:37 AM Simon Glass wrote:
> > >
> > > +Peter Maydell for comment on the below
> > >
> > > Hi Patrick,
> > >
> > > On Fri, 20 Sept 2024
On 9/24/24 8:02 AM, Chee, Tien Fong wrote:
Hi,
Hi,
diff --git a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
b/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
index 9eb21d65428..75ab05031bc 100644
--- a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_agilex5_socdk
On 9/24/24 7:48 AM, Chee, Tien Fong wrote:
Hi,
Add a new .data section for preserving the original state of the .data
section of SoC64 SPL. This new .data section is required to make SPL
reentrant after warm reset.
Where is the linker script copied from ? What is the original file name and
pat
On 9/24/24 6:45 AM, Chee, Tien Fong wrote:
Hi,
Initial creation of new system manager base addresses for Agilex5.
How much of this can be converted to DT probing ?
Yes, we have dedicated resource is working to convert this to DT in conjunction
with syscon support to provide
System-wide conf
On 9/24/24 5:14 AM, Chee, Tien Fong wrote:
Hi,
diff --git a/arch/arm/mach-socfpga/Makefile
b/arch/arm/mach-socfpga/Makefile index 67c6a8dfec5..53c91d1d2a5
100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -58,6 +58,7 @@ endif
ifdef CONFIG_TARGET_SOCFPGA_A
On Tue, Sep 24, 2024 at 03:17:15PM +0200, Patrick Rudolph wrote:
> On Fri, Sep 20, 2024 at 5:59 PM Simon Glass wrote:
> >
> > Hi Patrick,
> >
> > On Fri, 20 Sept 2024 at 12:29, Patrick Rudolph
> > wrote:
> > >
> > > On Fri, Sep 20, 2024 at 11:37 AM Simon Glass wrote:
> > > >
> > > > +Peter Mayde
On Thu, 29 Aug 2024 14:04:53 +0530, Udit Kumar wrote:
> In lpddr4_start function error returned by lpddr4_enablepiinitiator
> may go undetected due to overwrite of return code.
> Add support to handle error in above case.
>
>
Applied to u-boot/master, thanks!
--
Tom
On Tue, 24 Sep 2024 10:49:35 +0200, Patrick Rudolph wrote:
> Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI
> NOR flash, one for Arm-TF and one for unsecure firmware, providing
> ACPI tables to the OS.
>
>
Applied to u-boot/u-boot-test-hooks.git/master, thanks!
--
Tom
> Subject: [PATCH] arm64: dts: imx8m: Always name the generated
> fitImage u-boot.itb
>
> Maintain backward compatibility with pre-binman u-boot file naming,
> the U-Boot fitImage used to be named u-boot.itb before, restore the
> file name after binman conversion.
>
> Signed-off-by: Marek Vasut
Hi Marek,
On 2024-09-25 04:21, Marek Vasut wrote:
> In case the DT regulator node does not contain 'regulator-max-microvolt'
> property and does not contain 'regulator-state-mem' subnode (like the
> test.dts regul1_scmi: reg@1 {} regulator node), then regulator_pre_probe()
> will parse this regula
Hi,
> -Original Message-
> From: Marek Vasut
> Sent: Saturday, September 21, 2024 9:54 PM
> To: Chee, Tien Fong ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Meng, Tingting
> ; Yuslaimi, Alif Zakuan
> ; Hea, Kok Kiang
>
> Subject: Re: [PATCH v1 13/20] arm: socfpga: Export board ID as
On 9/19/24 16:14, Simon Glass wrote:
> Hi Tom,
>
> On Thu, 5 Sept 2024 at 00:32, Tom Rini wrote:
>>
>> On Sun, Sep 01, 2024 at 02:09:43PM -0600, Simon Glass wrote:
>>> Hi Ilias,
>>>
>>> On Fri, 30 Aug 2024 at 03:27, Ilias Apalodimas
>>> wrote:
Hi Simon,
On Fri, 30 Aug 2024
Hi,
> -Original Message-
> From: Marek Vasut
> Sent: Wednesday, September 25, 2024 2:36 AM
> To: Chee, Tien Fong ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Meng, Tingting
> ; Yuslaimi, Alif Zakuan
> ; Hea, Kok Kiang
>
> Subject: Re: [PATCH v1 03/20] linker: Add SPL linker script fo
Hi,
> -Original Message-
> From: Marek Vasut
> Sent: Wednesday, September 25, 2024 2:32 AM
> To: Chee, Tien Fong ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Meng, Tingting
> ; Yuslaimi, Alif Zakuan
> ; Hea, Kok Kiang
>
> Subject: Re: [PATCH v1 04/20] arm: socfpga: agilex5: Add low l
Hi,
> -Original Message-
> From: Marek Vasut
> Sent: Wednesday, September 25, 2024 2:36 AM
> To: Chee, Tien Fong ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Meng, Tingting
> ; Yuslaimi, Alif Zakuan
> ; Hea, Kok Kiang
>
> Subject: Re: [PATCH v1 08/20] arm: dts: agilex5: Enable XGMAC
49 matches
Mail list logo