Hi,
On Fri, 23 Aug 2024 at 07:11, Tom Rini wrote:
> On Thu, Aug 22, 2024 at 07:20:10PM +0900, Minkyu Kang wrote:
>
> > Dear Tom,
> >
> > The following changes since commit
> d51764417dc37ead471a5597f7815ae455e84ea3:
> >
> > am335x_hs_evm_spi_defconfig: Add MAINTAINERS entry (2024-08-15 16:07:4
Hi Arseniy
On Thu, Aug 22, 2024 at 9:04 AM Arseniy Krasnov
wrote:
>
> Hi, thanks!
>
> Thanks, Arseniy
>
> On 22.08.2024 00:17, Michael Nazzareno Trimarchi wrote:
> > Hi
> >
> > I will read them tomorrow ;)
> >
> > Thank you for understanding
> >
All the series are delegated to Neil. I will revie
Hi! Got it, thanks!
On 23.08.2024 11:10, Michael Nazzareno Trimarchi wrote:
> Hi Arseniy
>
> On Thu, Aug 22, 2024 at 9:04 AM Arseniy Krasnov
> wrote:
>>
>> Hi, thanks!
>>
>> Thanks, Arseniy
>>
>> On 22.08.2024 00:17, Michael Nazzareno Trimarchi wrote:
>>> Hi
>>>
>>> I will read them tomorrow ;)
On 23/08/2024 10:29, Arseniy Krasnov wrote:
Hi! Got it, thanks!
On 23.08.2024 11:10, Michael Nazzareno Trimarchi wrote:
Hi Arseniy
On Thu, Aug 22, 2024 at 9:04 AM Arseniy Krasnov
wrote:
Hi, thanks!
Thanks, Arseniy
On 22.08.2024 00:17, Michael Nazzareno Trimarchi wrote:
Hi
I will read th
This patchset adds support for using the CBO instructions to perform the
dcache flush/inval operations for the qemu-riscv board when those are
enabled. The CBO instructions are defined in the Risc-V CMO specification
which can be found at the link below:
https://github.com/riscv/riscv-CMOs/blob/mas
Add insn-def.h which is similar to that in linux and contains the macros
to generate any instruction of type 'I' using the assembler's .insn
directive.
Signed-off-by: Mayuresh Chitale
---
arch/riscv/include/asm/insn-def.h | 42 +++
1 file changed, 42 insertions(+)
cr
Define CBO inval and flush instructions and use those for the
dcache inval and flush operations respectively.
Signed-off-by: Mayuresh Chitale
---
arch/riscv/Kconfig | 4 ++
arch/riscv/lib/cache.c | 96 ++
2 files changed, 100 insertions(+)
diff --git
On 16/08/24 17:58, Sverdlin, Alexander wrote:
Hi Chintan, Vignesh,
On Fri, 2024-07-05 at 10:20 +0530, Chintan Vankar wrote:
From: Vignesh Raghavendra
Expectation of k3_ringacc_ring_reset_raw() is to reset the ring to
requested size and not to 0. Fix this.
Signed-off-by: Vignesh Raghavendr
Hi Chintan,
On Fri, 2024-08-23 at 15:22 +0530, Chintan Vankar wrote:
> On 16/08/24 17:58, Sverdlin, Alexander wrote:
> > Hi Chintan, Vignesh,
> >
> > On Fri, 2024-07-05 at 10:20 +0530, Chintan Vankar wrote:
> > > From: Vignesh Raghavendra
> > >
> > > Expectation of k3_ringacc_ring_reset_raw() i
Hi @Ilias Apalodimas,
ST Restricted
> -Original Message-
> From: Ilias Apalodimas
> Sent: Monday, July 29, 2024 3:55 PM
> To: Benjamin BARATTE
> Cc: u-boot@lists.denx.de; eaja...@linux.ibm.com; s...@chromium.org;
> thar...@gateworks.com; tr...@konsulko.com
> Subject: Re: [PATCH 1/3] tpm
Hi @Ilias Apalodimas,
ST Restricted
> -Original Message-
> From: Ilias Apalodimas
> Sent: Monday, July 29, 2024 4:10 PM
> To: Benjamin BARATTE
> Cc: u-boot@lists.denx.de; akashi.tk...@gmail.com;
> abdellatif.elkhl...@arm.com; eaja...@linux.ibm.com; xypron.g...@gmx.de;
> kojima.masah...@
On Wed, Aug 21, 2024 at 10:19:18AM -0600, Simon Glass wrote:
> The early malloc region is normally quite small and is certainly less
> than 4GB, so use a 32-bit value for the limit and pointer. Update the
> comment for clarity while we are here.
>
> Signed-off-by: Simon Glass
> ---
>
> (no chan
On Fri, Aug 23, 2024 at 4:54 AM Marek Vasut wrote:
>
> I think udc_bind_to_driver() should not call usb_gadget_connect() , that
> connect should likely be called by at some later point.
Yes it's more logical, to keep it in disconnected state you prefer modify
controllers drivers init (I can do us
On 17.08.2024 18:58, Simon Glass wrote:
> Hi Mikhail,
>
> On Wed, 14 Aug 2024 at 04:32, Mikhail Kshevetskiy
> wrote:
>> 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 u
When CROSS_COMPILE contains multiple words, HOST_ARCH is not properly
detected and the sandbox build fail. It typically happens when using
ccache. For example:
$ make sandbox_defconfig
$ make CROSS_COMPILE="ccache x86_64-linux-gnu-" \
CC="ccache x86_64-linux-gnu-gcc"
[...]
In file incl
This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP
stack [2] [3] as an alternative to the current implementation in net/,
selectable with Kconfig, and ultimately keep only lwIP if possible. Some
reason
Prefix the flash status codes (ERR_*) with FL_ in order to avoid clashes
with third-party libraries. Case in point: including the lwIP library
header file which defines err_enum_t as an enum with values
being ERR_*.
Signed-off-by: Jerome Forissier
Reviewed-by: Tom Rini
Reviewed-by: Ilias Apalod
emac.c implements cpu_eth_init() so it needs to pull the corresponding
header file.
Signed-off-by: Jerome Forissier
---
arch/arm/mach-omap2/omap3/emac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/omap3/emac.c b/arch/arm/mach-omap2/omap3/emac.c
index 7348e92cabd..1e30
THe AT91-based platforms have a mem_init() function declared in
arch/arm/mach-at91/include/mach/at91_common.h and implemented in various
places. In preparation of the introduction of the lwIP networking library
which also has a global mem_init() function, rename the AT91 one to
at91_mem_init().
Si
dtsec_init_phy() is defined only with MII so add the proper conditional
in the caller code.
Signed-off-by: Jerome Forissier
---
drivers/net/fm/eth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c
index 19f3f0fef07..e4ec7696939 100644
--- a/drive
wget_success() is used nowhere so remove it.
Signed-off-by: Jerome Forissier
Reviewed-by: Ilias Apalodimas
---
net/wget.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/net/wget.c b/net/wget.c
index f1dd7abeff6..0e4dc5159d0 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -199,13 +199,6 @
PHY_NCSI enables drivers/net/phy/ncsi.c which calls net_loop() and
net_set_timeout_handler(). That's the legacy NET stack (as opposed to
NET_LWIP). Therefore add the dependency to Kconfig.
Signed-off-by: Jerome Forissier
---
drivers/net/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --g
FTGMAC100 enables drivers/net/ftgmac100.c which uses
PHY_INTERFACE_MODE_NCSI, which is defined only when PHY_NCSI is enabled.
Therefore FTGMAC100 depends on PHY_NCSI. However adding such a
dependency causes a "recursive dependency detected!" message, so
add a dependency on NET instead (PHY_NCSI dep
wget followed by bootefi currently fails as follows:
U-Boot> wget 20 192.168.0.30:helloworld.efi
Waiting for Ethernet connection... done.
HTTP/1.0 200 OK
Packets received 13, Transfer Successful
Bytes transferred = 12720 (31b0 hex)
U-Boot> bootefi 20
No UEFI binary known at 20
The fec_mxc_init() function currently always returns 0. This does not
allow the callers to detect when for instance the PHY initialization
failed due to the port being unconnected. Fix that by returning the
status of fec_open().
Signed-off-by: Jerome Forissier
Reviewed-by: Fabio Estevam
---
dri
If env__pxe_boot_test_skip is not present, it defaults to True not
False. Therefore fix the comment.
Signed-off-by: Jerome Forissier
---
test/py/tests/test_net_boot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/tests/test_net_boot.py b/test/py/tests/test_net_boot
test_efi_helloworld_net() and test_efi_grub_net() depend on
cmd_tftpboot so add the missing annotations.
Reported-by: Tom Rini
Signed-off-by: Jerome Forissier
---
test/py/tests/test_efi_loader.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/py/tests/test_efi_loader.py b/test/py/te
Add a test to test_efi_loader.py similar to the TFTP test but for HTTP
with the wget command.
Suggested-by: Tom Rini
Signed-off-by: Jerome Forissier
Tested-by: Tom Rini
---
test/py/tests/test_efi_loader.py | 62 +++-
1 file changed, 46 insertions(+), 16 deletions(-)
copy_filename() can be useful when NET_LWIP is enabled, therefore
move it out of net/net.c which is built only when networking choice
is NET.
Signed-off-by: Jerome Forissier
---
net/Makefile | 2 ++
net/net-common.c | 13 +
net/net.c| 12
3 files changed, 15
Make net.h a wrapper which includes net-common.h and either
net-legacy.h or net-lwip.h based on NET_LWIP.
Signed-off-by: Jerome Forissier
---
Makefile | 4 +-
include/net-common.h | 485 ++
include/net-legacy.h | 560 +
include/net-lwip.h
Add a function to start a given network device, and update eth_init()
to use it.
Signed-off-by: Jerome Forissier
Reviewed-by: Tom Rini
---
drivers/mtd/altera_qspi.c | 4 ++--
include/net-common.h | 1 +
net/eth-uclass.c | 38 +-
3 files change
Build the lwIP library when NET_LWIP is enabled. The following files
are adaptation layers written specially for U-Boot:
lib/lwip/u-boot/arch/cc.h
lib/lwip/u-boot/arch/sys_arch.h (empty)
lib/lwip/u-boot/limits.h (empty)
lib/lwip/u-boot/lwipopts.h
They were initially contributed by Maxim in a
Prepare the introduction of the lwIP (lightweight IP) TCP/IP stack by
adding a new net/lwip/ directory and the NET_LWIP symbol. Network
support is either NO_NET, NET (legacy stack) or NET_LWIP. Subsequent
commits will introduce the lwIP code, re-work the NETDEVICE integration
and port some of the N
The parent patch has made the networking stack a choice between NO_NET,
NET and NET_LWIP. Therefore '# CONFIG_NET is not set' is now
'CONFIG_NO_NET=y'. Adjust the defconfigs accordingly. Note that this
patch is intended to be folded in but is kept separate separate for now
to make review easier.
S
Add support for the the ping command with NET_LWIP. The implementation
is derived from lwIP's contrib/apps/ping/ping.c.
Signed-off-by: Jerome Forissier
---
cmd/Kconfig| 11 +--
cmd/net-lwip.c | 8 ++
include/net-lwip.h | 1 +
net/lwip/Makefile | 1 +
net/lwip/ping.c| 177
Implement do_tftpb(). This implementation of the tftp command
supports an optional port number. For example:
tftp 192.168.0.30:9069:file.bin
It also supports taking the server IP from ${tftpserverip} if
defined, before falling back to ${serverip}.
Signed-off-by: Jerome Forissier
---
cmd/Kconf
Add CMD_DNS when NET_LWIP is enabled to provide the dns command using
lwIP.
Signed-off-by: Jerome Forissier
---
cmd/Kconfig| 11 ++--
cmd/net-lwip.c | 8 +++
include/net-lwip.h | 1 +
net/lwip/Makefile | 1 +
net/lwip/dns.c | 127 ++
Extract some code from cmd/net.c that will be useful in a subsequent
commit to implement wget with NET_LWIP.
Signed-off-by: Jerome Forissier
Reviewed-by: Ilias Apalodimas
---
cmd/Makefile | 5 ++-
cmd/net-common.c | 109
cmd/net.c| 115
Add support for the wget command with NET_LWIP. The command normally
expects a URL: wget [loadaddr] url, but it also accepts the legacy
syntax: wget [loadaddr] [server:]file.
The server IP may alternatively be supplied via ${httpserverip} which
has higher priority than ${serverip}.
Based on code i
From: Jonathan Humphreys
Signed-off-by: Jonathan Humphreys
Signed-off-by: Jerome Forissier
---
net/lwip/wget.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/net/lwip/wget.c b/net/lwip/wget.c
index e8768fc2acd..b495ebd1aa9 100644
--- a/net/lwip/wget.c
+++ b/net/lwip/wget.c
@@ -349,12
Support "bdinfo -e" when lwIP is selected.
Signed-off-by: Jerome Forissier
Reviewed-by: Ilias Apalodimas
Reviewed-by: Tom Rini
---
cmd/bdinfo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 437ac4e8630..472e5c42b08 100644
--- a/cmd/b
Add qemu_arm64_lwip_defconfig which #include's qemu_arm64_defconfig and
selects NET_LWIP instead of NET. This config has all the supported net
commands enabled.
Signed-off-by: Jerome Forissier
---
configs/qemu_arm64_lwip_defconfig | 10 ++
1 file changed, 10 insertions(+)
create mode 10
The TFTP protocol uses a default block size of 512 bytes. This value is
sub-optimal for ethernet devices, which have a MTU (Maximum Transmission
Unit) of 1500 bytes. When taking into acount the overhead of the IP and
UDP layers, this leaves 1468 bytes for the TFTP payload.
This patch introduces a
Add support for setting the TFTP block size. The default value (1468)
is fine for Ethernet and allows a better throughput than the TFTP
default (512), if the server supports the blksize option of course.
I tested this change with qemu_arm64_lwip_defconfig. The throughput is
now 875 KiB/s vs. 313 K
Build and run qemu_arm64_lwip_defconfig in CI. This tests the lightweight
IP (lwIP) implementation of the dhcp, tftpboot and ping commands.
Signed-off-by: Jerome Forissier
---
.azure-pipelines.yml | 7 +++
1 file changed, 7 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.
Add myself as a maintainer for the lwIP network stack integration code
and network commands. The library code itself (i.e., most files under
lib/lwip/ except README, Makefile and integration files in u-boot) is
unmodified from upstream and therefore does not need a maintainer.
Signed-off-by: Jerom
Fix for link errors on am62px_evm_a53and other platforms when NET_LWIP
is enabled:
common/dfu.c:34:(.text.run_usb_dnl_gadget+0x68): undefined reference to
`g_dnl_clear_detach
[...]
common/spl/spl_dfu.c:29:(.text.spl_dfu_cmd+0xb0): undefined reference to
`run_usb_dnl_gadget'
- DFU_OVER_USB co
The tools-only defconfig causes troubles on MacOSX due to the default
C compiler being Clang (LLVM) rather than GCC and more specifically
due to [1]. Therefore replace "$ CONFIG_FOO is not set" with the
equivalent "CONFIG_FOO=n" using the following command:
$ sed -i -e 's/# \(CONFIG_[^ ]*\) is no
Enable NET_LWIP by default for testing purposes. SANDBOX doesn't support
NET_LWIP so default to NET in this case.
Signed-off-by: Jerome Forissier
---
Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/Kconfig b/Kconfig
index 6657b9e5e30..2b316afa542 100644
--- a/Kconfig
+++ b/Kconfig
@@
FTGMAC100 is not compatible with NET_LWIP which was enabled as the
default stack in a previous commit. So enable NET in the defconfig.
Signed-off-by: Jerome Forissier
---
configs/evb-ast2500_defconfig | 1 +
configs/evb-ast2600_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/conf
Add what it takes to enable NETDEVICES with NET_LWIP and enable DHCP as
well as the dhcp command. CMD_TFTPBOOT is selected by BOOTMETH_EFI due
to this code having an implicit dependency on do_tftpb().
Signed-off-by: Jerome Forissier
---
board/engicam/imx8mp/icore_mx8mp.c| 2 +-
...
Many platforms won't build when NET_LWIP is the default choice in
Kconfig:
include/config_distro_bootcmd.h:443:9: error: expected '}' before
'BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE'
[...]
Set the legacy stack (CONFIG_NET=y) for these platforms.
Signed-off-by: Jerome
Unfortunately no. This patch change the tcp state machine and
corresponding logic.
I tried to split "initial send value is always zero" fix to a separate
patch but failed.
See the patch description in v4 (when it will be sent).
On 17.08.2024 18:58, Simon Glass wrote:
> Hi Mikhail,
>
> On Wed, 14
By the way, I'd like to know your opinion:
* should I add a sample implementation of http/1.1 compatible
web-server to this patch series?
This can be used as a base for other implementations like firmware
upgrade web-server used by some vendors.
Mikhail Kshevetskiy
On 17.08.2024 18:58, Simon G
ository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-boot-imx-next-20240823
for you to fetch changes up to dda8444832ce32e0bdb9a05e2e90a7dc9f8663ca:
ARM: imx: Enable cat and xxd commands on Data Modul i.MX8M Mini/Plus eDM SBC
(2024-08-23 14:53:53 -0300)
u-boot-imx-maste
On Wed, Aug 7, 2024 at 11:17 AM wrote:
>
> From: Max Krummenacher
>
>
> Enable and use additional features which have been added to U-Boot
> on the Apalis iMX8QM / Colibri iMX8X boards.
>
>
>
> Andrejs Cainikovs (4):
> board: apalis-imx8: add reset code
> apalis-imx8: enable i.MX specific BOO
On Wed, Aug 14, 2024 at 3:28 PM Fabio Estevam wrote:
>
> From: Fabio Estevam
>
> CONFIG_DM_MMC and CONFIG_DM_SPI are alway selected so the mmc
> and spi board code can be safely removed.
>
> Remove it to make the code cleaner.
>
> Signed-off-by: Fabio Estevam
Applied all, thanks.
On Fri, Aug 9, 2024 at 1:53 PM Lukasz Majewski wrote:
>
> This command allows easy update on SD card or eMMC of the flash.bin
> generated (with binman) during u-boot build.
>
> Signed-off-by: Lukasz Majewski
Applied, thanks.
On Wed, Aug 21, 2024 at 6:02 PM Marek Vasut wrote:
>
> The Data Modul i.MX8M Plus eDM SBC does have USB gadget capable port
> accessible via USB A-A cable plugged into the bottom USB 3.0 port.
> Use USB SDPS as the fallback boot device, so USB SDPS loading can
> be performed using e.g. uuu tool.
>
On Wed, Aug 21, 2024 at 6:04 PM Marek Vasut wrote:
>
> Enable 'cat' command to print file from filesystem to stdout.
> Enable 'xxd' command to hexdump file from filesystem to stdout.
>
> Signed-off-by: Marek Vasut
Applied, thanks.
On Tue, Aug 13, 2024 at 9:12 AM Primoz Fiser wrote:
>
> Commit 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses")
> wrongly set critical temperature to (maxc - 5) instead of maxc.
>
> Fixes: 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses")
> Signed-off-by: Primoz Fiser
Applied,
On Tue, Aug 20, 2024 at 12:46 PM Yashwanth Varakala
wrote:
>
> Added m7 core support in uboot for imx8mp by adding
> the boot variable prepare_mcore and enabled bootaux in
> defconfig.
>
> Regards,
> yashwanth.
>
> Yashwanth Varakala (2):
> board: phytec: phycore_imx8mp: Add mcore support
> co
On Tue, Aug 20, 2024 at 1:48 AM Mathieu Othacehe wrote:
>
> Add a new ahab_derive command that derives the hardware unique key (HUK)
> into a 16 or 32 bytes key and stores it at the given address.
>
> Signed-off-by: Mathieu Othacehe
It fails to apply.
Please rebase against uboot/next and resubm
ository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-boot-imx-next-20240823
for you to fetch changes up to dda8444832ce32e0bdb9a05e2e90a7dc9f8663ca:
ARM: imx: Enable cat and xxd commands on Data Modul i.MX8M Mini/Plus eDM SBC
(2024-08-23 14:53:53 -0300)
u-boot-imx-nex
On Fri, Aug 23, 2024 at 4:12 PM Fabio Estevam wrote:
>
> Hi Tom,
>
> Please pull from u-boot-imx/master, thanks.
I meant next, not master.
I have sent a v2 with the correct Subject and commit log.
The global data structure has grown quite a lot over the years, being
the best place to put an important pointer or something that must be
accessed before and after relocation.
This series attempts to reduce the size a little, by moving some things
out and shrinking and aligning some fields.
Some
The early malloc region is normally quite small and is certainly less
than 4GB, so use a 32-bit value for the limit and pointer. Update the
comments for clarity while we are here.
Signed-off-by: Simon Glass
---
Changes in v3:
- Keep new_ptr as a ulong to avoid overflow
- Update the comment for m
Hi Tom,
On Fri, 23 Aug 2024 at 07:34, Tom Rini wrote:
>
> On Wed, Aug 21, 2024 at 10:19:18AM -0600, Simon Glass wrote:
>
> > The early malloc region is normally quite small and is certainly less
> > than 4GB, so use a 32-bit value for the limit and pointer. Update the
> > comment for clarity whil
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
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
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 ++
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
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.
Signed-off-by: Mikhail Kshevetskiy
Reviewed-by: Simon Glass
---
net/tcp.c | 70 +--
1 file changed, 37 insertions(+), 33 deletions(-)
diff --git a/net/tcp.c b/net/tcp.c
index 2c34556c26d..7014d5b4f43 100644
--- a/net/tcp.c
+++ b/net/tcp.c
@@ -
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
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 adds downloading/uploading of data with netcat.
Client/server mode both supported.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfig | 7 ++
cmd/net.c| 34 +++--
include/net.h| 2 +-
include/net/netcat.h | 20 ++
net/Makefile | 1 +
Hi Mikhail,
On Fri, 23 Aug 2024 at 09:12, Mikhail Kshevetskiy
wrote:
>
> By the way, I'd like to know your opinion:
> * should I add a sample implementation of http/1.1 compatible
> web-server to this patch series?
>
> This can be used as a base for other implementations like firmware
> upgrade
On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote:
>
> All the current function definitions of arch_lmb_reserve() are doing
> the same thing -- reserve the U-Boot memory region. The powerpc(ppc)
> architecture, in addition, is making some LMB reservations for the
> bootm related image loading. Move
Hi Sughosh,
On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote:
>
> All of the current definitions of arch_lmb_reserve() are doing the
> same thing -- reserve the region of memory occupied by U-Boot,
> starting from the current stack address to the ram_top. Introduce a
> function lmb_reserve_uboot_
On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote:
>
> The board_lmb_reserve() function is not being used, and currently
> there is only an empty weak function defined. Remove this unused
> function.
>
> Signed-off-by: Sughosh Ganu
> ---
> Changes since V2: New patch
>
> include/lmb.h | 2 --
> l
Hi Sughosh,
On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote:
>
> The TCG event log buffer is being set at the end of ram memory. This
> region of memory is to be reserved as LMB_NOMAP memory in the LMB
> memory map. The current location of this buffer overlaps with the
> memory region reserved f
Hi Sughosh,
On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote:
>
> Instead of printing the LMB flags as numerical values, print them as
> strings. This makes it easier to understand what flags are associated
> with the lmb region. Also make corresponding changes to the bdinfo
> command's test code
Hi Sughosh,
On Wed, 21 Aug 2024 at 04:59, Sughosh Ganu wrote:
>
> Add a helper function to check if the alist is full. This can then be
> used to extend the alist.
>
> Signed-off-by: Sughosh Ganu
> ---
> Changes since V2: None
>
> include/alist.h | 11 +++
> 1 file changed, 11 insertion
Some boards still don't enable BLK but we want to be able to at least
compile the code which relies on this. For example, bootstd includes
calls to blk_...() functions, albeit with a check for BLK so that the
code is eliminated by the compiler.
Reduce the scope of the BLK #ifdef to help with this.
When BLK is not enabled but BOOTSTD is, some features of standard boot
become unavailable. Add a check for this in the only site that is
currently apparent.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootdev-uclass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/boot/bo
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 conflicts with the way 'BLK'
is now defined, producing recursive errors through multiple different
paths, one of which is this (with Links
Add support for booting from a script loaded over FEL. This mirrors the
bootcmd_fel provided by distro boot.
Signed-off-by: Simon Glass
Reviewed-by: Mattijs Korpershoek
---
Changes in v2:
- Put the FEL bootmeth before all other global bootmeths
boot/Kconfig| 14
boot/Makefile
Drop support for distroboot and move to using bootstd instead.
Signed-off-by: Simon Glass
---
Changes in v2:
- Convert the other DISTRO_DEFAULTS in the Kconfig too
arch/arm/Kconfig | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfi
These are not needed as bootstd handles the boot now. Drop them.
Keep BOOTCMD_SUNXI_COMPAT for now since it does not relate to
distro boot.
Signed-off-by: Simon Glass
---
Changes in v2:
- Keep BOOTCMD_SUNXI_COMPAT
include/configs/sunxi-common.h | 75 +-
1 file
Some boards use a CONFIG option to specify the value of this variable.
This is normally handled by efi_get_distro_fdt_name() but in the case
of sunxi this does not work, since 'soc' is sunxi, but the files are
in the allwinner directory.
Provide a work-around for this particular case.
Signed-off-
Convert these boards to use a text environment.
For the boards check, the only differences are extra spaces after the
semicolons in 'dfu_alt_info_ram' and 'partitions', both of which are
permitted.
Add in the special boot command for old kernels, dropping the
unnecessary and confusing hex prefixe
On Fri, Aug 23, 2024 at 02:30:04PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Fri, 23 Aug 2024 at 07:34, Tom Rini wrote:
> >
> > On Wed, Aug 21, 2024 at 10:19:18AM -0600, Simon Glass wrote:
> >
> > > The early malloc region is normally quite small and is certainly less
> > > than 4GB, so use a 32
On Fri, Aug 23, 2024 at 03:48:04PM +0200, Jerome Forissier wrote:
> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP
> stack [2] [3] as an alternative to the current implementation in net/,
> sele
On Fri, Aug 23, 2024 at 03:48:38PM +0200, Jerome Forissier wrote:
> The tools-only defconfig causes troubles on MacOSX due to the default
> C compiler being Clang (LLVM) rather than GCC and more specifically
> due to [1]. Therefore replace "$ CONFIG_FOO is not set" with the
"# CONFIG_FOO" not "$
On Fri, Aug 23, 2024 at 03:48:08PM +0200, Jerome Forissier wrote:
> emac.c implements cpu_eth_init() so it needs to pull the corresponding
> header file.
>
> Signed-off-by: Jerome Forissier
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
This adds hooks for use with Labgrid. The only existing hook that really
does anything now is the 'console' one. There is also a new 'getrole'
hook which looks up a role to find various things about it, such as the
U-Boot board name.
Changes in v3:
- Fall back to conf.${board_type}_${board_ident}
The top part of each of the u-boot-test-* files is common. Put it in
a common script file to avoid duplication and to allow it to be
replaced for the Labgrid integration.
Signed-off-by: Simon Glass
---
Changes in v3:
- Fall back to conf.${board_type}_${board_ident} if conf.all missing
Changes i
With Labgrid we don't need to specify the various methods, except for
the console, which simply calls labgrid-client.
This allows supporting any boards in your lab, without adding per-board
configuration to these hooks.
Provide ellesmere files as an example.
Signed-off-by: Simon Glass
---
Chan
1 - 100 of 108 matches
Mail list logo