On Wed, Dec 04, 2024 at 09:32:23AM +0200, Roger Quadros wrote:
>
>
> On 04/12/2024 07:16, Siddharth Vadapalli wrote:
> > On Tue, Dec 03, 2024 at 09:23:11PM +0200, Roger Quadros wrote:
[...]
> >>> +++ b/drivers/usb/dwc3/dwc3-generic.c
> >>> @@ -51,7 +51,8 @@ struct dwc3_generic_host_priv {
> >>>
On 04/12/2024 07:16, Siddharth Vadapalli wrote:
> On Tue, Dec 03, 2024 at 09:23:11PM +0200, Roger Quadros wrote:
>
> Hello Roger,
>
>> Hi Siddharth,
>>
>>
>> On 03/12/2024 11:37, Siddharth Vadapalli wrote:
>>> There are only two callers of "dwc3_generic_probe()", namely:
>>> 1. dwc3_generic_pe
On Wed, 4 Dec 2024 at 01:15, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Tue, 3 Dec 2024 at 09:36, Sughosh Ganu wrote:
> >
> > From: Masahisa Kojima
> >
> > One of the problems OS installers face, when running in EFI, is that
> > the mounted ISO after calling ExitBootServices goes away. For some
>
As the "peer-hub" property is optional, don't error out just
skip the bind function.
Fixes: 57e30b09fc ("usb: onboard-hub: Bail out if peer hub is already probed")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the peer_hub variable and used the return value.
Changes in v3:
+Patrice
On 12/4/24 05:39, Venkatesh Yadav Abbarapu wrote:
As the "peer-hub" property is optional, don't error out just
skip the bind function.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the peer_hub variable and used the return value.
---
common/usb_onboard_hub.c |
> -Original Message-
> From: Tudor Ambarus
> Sent: Tuesday, December 3, 2024 6:37 PM
> To: Abbarapu, Venkatesh ; u-boot@lists.denx.de;
> j-humphr...@ti.com
> Cc: Simek, Michal ; ja...@amarulasolutions.com;
> vigne...@ti.com; u-kum...@ti.com; tr...@konsulko.com; sean...@gmail.com;
> caleb
On Tue, Dec 03, 2024 at 09:23:11PM +0200, Roger Quadros wrote:
Hello Roger,
> Hi Siddharth,
>
>
> On 03/12/2024 11:37, Siddharth Vadapalli wrote:
> > There are only two callers of "dwc3_generic_probe()", namely:
> > 1. dwc3_generic_peripheral_probe()
> > 2. dwc3_generic_host_probe()
> > Current
As the "peer-hub" property is optional, don't error out just
skip the bind function.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the peer_hub variable and used the return value.
---
common/usb_onboard_hub.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
Add a test for the EFI_IP4_CONFIG2_PROTOCOL. The test sets the ip
policy to static, adds an ip address, and then reads the current
ip address and checks for it to be the same as the one that was set.
Signed-off-by: Adriano Cordova
---
Changes in v7:
- Fixed sizeof() calls when possible
- When set
Add a test for the EFI_HTTP_PROTOCOL and
EFI_SEVICE_BINDING_PROTOCOL.
Signed-off-by: Adriano Cordova
---
Changes in v7:
- Fixed sizeof() calls when possible
- When setting up the test, check if any handle was found before looping
through the handles.
(no changes since v2)
lib/efi_selftest/Mak
From: Heinrich Schuchardt
Add long texts for
* EFI HTTP Protocol
* EFI HTTP Service Binding Protocol
* EFI IPv4 Configuration II Protocol
to the uuid library.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
---
(no changes since v2)
lib/uuid
Add an implementation of the EFI_IP4_CONFIG2_PROTOCOL. The protocol
is attached to the handle of the efi network device. This is the same
handle where snp and pxe are attached to.
Signed-off-by: Adriano Cordova
---
Changes in v7:
- Changed some EFI_INVALID_PARAMETER for EFI_BAD_BUFFER_SIZE
(no ch
Add an EFI HTTP driver. This commit implements the
EFI_HTTP_PROTOCOL and the EFI_HTTP_SERVICE_BINDING_PROTOCOL.
The latter is attached to the handle of th efi network
device. This is the same handle where snp, pxe, and ipconfig
are attached to.
Signed-off-by: Adriano Cordova
---
(no changes since
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.
The function efi_net_do_request allocates a buffer on behalf of an
efi application using efi_alloc and passes it to wget to receiv
Set the device path of the efi boot device to an HTTP device path
(as formed by efi_dp_from_http) when the next boot stage is loaded
using wget (i.e., when wget is used with wget_info.set_bootdev=1).
When loaded from HTTP, the device path should account for it so that
the next boot stage is aware
Add efi_dp_from_http to form a device path from HTTP. The
device path is the concatenation of the device path returned
by efi_dp_from_ipv4 together with an URI node and an END node.
Signed-off-by: Adriano Cordova
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Ilias Apalodimas
---
include/efi_lo
Add the functions efi_net_set_addr and efi_net_get_addr to set
and get the ip address from efi code in a network agnostic way.
This could also go in net_common, or be compiled conditionally
for each network stack.
Signed-off-by: Adriano Cordova
Reviewed-by: Heinrich Schuchardt
---
(no changes s
Add EFI definitions for EFI_IP4_CONFIG2_PROTOCOL,
EFI_HTTP_SERVICE_BINDING_PROTOCOL, and EFI_HTTP_PROTOCOL.
According to UEFI spec 2.10.
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
---
include/efi_api.h | 203 ++
1 file changed, 203 i
From: Heinrich Schuchardt
Implement Ipv4() node support in the device path to text protocol.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
---
lib/efi_loader/efi_device_path_to_text.c | 23 +++
1 file changed, 23 insertion
Add efi_dp_from_ipv4 to form a device path from an ipv4 address.
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
---
lib/efi_loader/efi_device_path.c | 47
1 file changed, 47 insertions(+)
diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loa
Add definition for DEVICE_PATH_SUB_TYPE_MSG_IPV4 device path
subtype.
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
---
include/efi_api.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/include/efi_api.h b/include/efi_api.h
index f07d074f93..99ee749522 1006
This was marked as TODO in the code:
- Enable use of wget_with_dns even if CMD_DNS is disabled if
the given uri has the ip address for the http server.
- Move the check for CMD_DNS inside wget_with_dns.
- Rename wget_with_dns to wget_do_request
Signed-off-by: Adriano Cordova
Reviewed-by: He
On 12/4/24 12:30 AM, Rufus Segar wrote:
From: Rufus Segar
This patch adds support for the "rgmii-id", "rgmii-rxid", and
"rgmii-txid" modes for the dwmac_socfpga driver.
Signed-off-by: Rufus Segar
---
drivers/net/dwmac_socfpga.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
On 12/3/24 6:02 PM, Michal Simek wrote:
On 12/3/24 17:24, Marek Vasut wrote:
On 12/3/24 2:44 PM, Michal Simek wrote:
On 12/3/24 05:49, Venkatesh Yadav Abbarapu wrote:
Add the bool variable "peer_hub" and set this only for the
hubs which have the "peer-hub" property in their DT nodes.
Skip
On Mon, Dec 02, 2024 at 05:21:05PM -0700, Simon Glass wrote:
> From my side I'd like to change the conversation a little, to how to
> land code, rather than why we should bother. "Code needs to land"
> should be the motto. If someone has taken the time to create
> something, our bias should be tow
On Tue, Dec 03, 2024 at 08:42:36AM +0100, Michal Simek wrote:
> Hi Tom,
>
> please pull these patches to your next branch. The biggest change is to
> start to use binman instead of arch/arm/mach-zynqmp/mkimage_fit_atf.sh
> script.
>
> Thanks,
> Michal
>
> The following changes since commit 6222
> Subject: Re: [PATCH 01/11] gpio: imx_rgpio2p: Move 8ulp_data to data
> section
>
> On Tue, Dec 3, 2024 at 11:37 AM Peng Fan (OSS)
> wrote:
> >
> > From: Peng Fan
> >
> > have_dual_base is set to false, so the 8ulp_data will be put in BSS
> > section which conflicts with the area of u-boot.dtb
Hi Marcel, Huan
On 18:52 Tue 03 Dec , Marcel Ziswiler wrote:
> Hi Huan Zhou
>
> On Fri, 2024-11-29 at 13:37 +0800, Huan Zhou wrote:
> > From: Kongyang Liu
> >
> > Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
> >
> > Signed-off-by: Kongyang Liu
> > Signed-off-by:
Hi Tom,
On Tue, 3 Dec 2024 at 17:12, Tom Rini wrote:
>
> On Tue, Dec 03, 2024 at 05:03:26PM -0700, Simon Glass wrote:
> > Hi,
> >
> > On Tue, 3 Dec 2024 at 16:46, Simon Glass wrote:
> > >
> > > This series implements read_all() so that it is possible to read all the
> > > files relating to a boo
> -Original Message-
> From: U-Boot On Behalf Of Hal Feng
> Sent: Tuesday, December 3, 2024 12:04 PM
> To: Leo ; Tom Rini ; Sumit Garg
> ;
> Rick Chen ; Heinrich Schuchardt ; H
> Bell
> ; E Shattow ; Conor Dooley
> ; Nam
> Cao ; Bo Gan
> Cc: Emil Renner Berthing ; Minda Chen
> ; Hal
> -Original Message-
> From: biguncle...@gmail.com
> Sent: Monday, December 2, 2024 12:07 AM
>
> From: Maksim Kiselev
>
> Enable driver for DesignWare MSHC. TH1520 supports all
> speed modes up to HS400ES and UHS SDR105.
>
> Also enable ADMA and mmc command.
>
> Signed-off-by: Maksim K
> -Original Message-
> From: biguncle...@gmail.com
> Sent: Monday, December 2, 2024 12:07 AM
>
> From: Maksim Kiselev
>
> Add SDHCI and EMMC controlles nodes on TH-1520 SoC. And enable them for
> Lichee module 4A.
>
> Signed-off-by: Maksim Kiselev
Reviewed-by: Jaehoon Chung
Best Re
Move this struct into the plat data so that we can use it multiple times
during the boot process.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_extlinux.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/boot/bootmeth_extlinux.c b/boot/bootmeth_ex
On Tue, Dec 03, 2024 at 05:03:26PM -0700, Simon Glass wrote:
> Hi,
>
> On Tue, 3 Dec 2024 at 16:46, Simon Glass wrote:
> >
> > This series implements read_all() so that it is possible to read all the
> > files relating to a bootflow, make adjustments and then boot.
> >
> > Unfortunately quite a f
Hi,
On Tue, 3 Dec 2024 at 16:46, Simon Glass wrote:
>
> This series implements read_all() so that it is possible to read all the
> files relating to a bootflow, make adjustments and then boot.
>
> Unfortunately quite a few things stand in the way, so this series
> finishes off several pending ite
The extlinux and PXE code for booting is almost the same. Move it into
the common file so it is easier to keep it in sync.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_extlinux.c | 24 +++-
boot/bootmeth_pxe.c | 19 +--
boot/ext_px
Unset this environment variable at the end of bootm_test_silent() et al
to avoid affecting subsequent tests.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/boot/bootm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/test/boot/bootm.c b/test/boot/bootm.c
index 9455f44884c
From: Rufus Segar
This patch adds support for the "rgmii-id", "rgmii-rxid", and
"rgmii-txid" modes for the dwmac_socfpga driver.
Signed-off-by: Rufus Segar
---
drivers/net/dwmac_socfpga.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/dwmac_socfpga.c b/drivers/net/dwmac_soc
Add a new extlinux_setup() function which sets things up so that the
bootflow can either be booted, or just probed.
Provide a readall() method so that images can be read into memory,
without booting the OS. Adjust the boot() method so that it can boot,
after any changes have been made by the user.
It is useful to be able to select a bootflow and read its images,
without actually doing the boot. This allows adjusting the bootargs, for
example.
Provide support for this in the pxe_utils module, by adding a 'probe'
method which selects a label and saves its settings, so it can be booted
later,
Move processing of the FDT so that it happens before booting. Add a test
to check that the FDT is now visible.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/pxe_utils.c | 22 +-
test/boot/bootflow.c | 6 +-
2 files changed, 18 insertions(+), 10 deletion
Move processing of a missing FDT so that it happens before booting, so
we can see the result in the bootflow.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/pxe_utils.c | 34 ++
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/boot/pxe_
It is useful to be able to inspect things before the OS is actually
booted, perhaps to check that all is well or to adjust the kernel
command-line. Implement the 'read_all()' method to allow this.
Provide a simple test to check that the images are found.
For now it is not possible to actually con
Provide this feature in PXE, so that it matches extlinux. Use plat data
for this, just like extlinux.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_pxe.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_px
Since this driver's plat-data already contains a PXE context, use that.
Drop the priv-data. Use the extlinux_info which is in there, as well.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_pxe.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/boot/boot
Move this struct into the plat data so that we can use it multiple times
during the boot process.
This struct is missing a comment, so add one.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_extlinux.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions
The fallback feature is implemented for extlinux but not for PXE. Move
the code into common files so we can keep both pieces in sync.
Tidy up the comment for set_property() while we are here, fixing the
return value and some missing hyphens.
Signed-off-by: Simon Glass
---
(no changes since v1)
Provide a way to skip booting the OS and just return. This will allow
bootstd to read out useful information.
Add debugging to help figure out the flow.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/pxe_utils.c| 12 ++--
include/pxe_utils.h | 4 +++-
2 files changed,
At present the only option with PXE is to boot it and see what happens.
Provide a bootflow, when available, so that PXE will eventually be able
to add some useful information to it.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_extlinux.c | 2 +-
boot/bootmeth_pxe.c
> -Original Message-
> From: Patrice Chotard
> Sent: Tuesday, December 3, 2024 7:06 PM
> To: u-boot@lists.denx.de
> Cc: Patrice CHOTARD ; Patrick DELAUNAY
> ; U-
> Boot STM32 ; Jaehoon Chung
> ; Jonas
> Karlman ; Marek Vasut ; Quentin Schulz
> ;
> Simon Glass ; Tom Rini
> Subject: [
Use the new netboot_run() function to avoid building a command line,
when running these network operations.
For the one board which uses lwip, it is not quite clear how to avoid
using the cmdline interface, so produce an error, for now. This can be
figured out later.
Signed-off-by: Simon Glass
-
Now that PXE can operate without the command line, drop the parameter
throughout the code.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootmeth_extlinux.c | 5 ++---
boot/bootmeth_pxe.c | 4 +---
boot/pxe_utils.c | 8 +++-
cmd/pxe.c| 9 ---
Add a new netboot_run() function which can be used for simple network
operations, such as loading a file. Put the implementation in an
internal function, used by the existing code.
Place this function into the net/ code, so that it does not need the
command line to be available.
Document which ne
Rather than setting global variables, return the size, if provided. For
tftput, use the addr argument to store the save address, to avoid adding
yet another parameter.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/net.c | 22 ++
1 file changed, 14 insertions(+),
Use IS_ENABLED() to avoid an extra build path.
Signed-off-by: Simon Glass
Acked-by: Ilias Apalodimas
---
(no changes since v1)
cmd/net.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/cmd/net.c b/cmd/net.c
index f980448e0ef..6d1c6374f76 100644
--- a/cmd/net.c
Move the core code for starting an netboot operation into a separate
function, so that we can (with additional work) move towards calling it
from outside the file.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/net.c | 62 +--
1 fil
Rather than updating the global, update the value of a parameter, so the
action of the function is simpler.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/net.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/cmd/net.c b/cmd/net.c
index cc7d14eb082..d1
Rather than updating the global, update the value of some parameters,
so the action of the function is simpler.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/net.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/cmd/net.c b/cmd/net.c
index d15d344
Tidy up this code a little to avoid two calls to env_get() for both
fdt_addr and fdtcontroladdr
Signed-off-by: Simon Glass
Suggested-by: Quentin Schulz
---
Changes in v2:
- Add new patch to simplify the code reading fdtcontroladdr and fdt_addr
boot/pxe_utils.c | 14 --
1 file chan
This function repeats the same code in a few places, namely setting
net_boot_file_name_explicit and copying of the filename to
net_boot_file_name
Move these two operations to the caller, with just the filename (or
NULL) returned by parse_args()
This makes things a little easier to follow.
Signed
This function is a bit vague as to what it does. Expand the comment a
little, to specify which args are provided and which variables are
updated.
Signed-off-by: Simon Glass
Acked-by: Ilias Apalodimas
---
(no changes since v1)
cmd/net.c | 13 +++--
1 file changed, 11 insertions(+), 2 d
Adjust the remaining call in this function to use the bootm API. This
will allow PXE to work without the command line.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/zimage.c | 27 +++
boot/pxe_utils.c | 13 +
include/bootm.h |
Move the bootstage_mark() function just before net_loop(), so that the
IPv6 code is not in the way.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/net.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/net.c b/cmd/net.c
index 79525f73a51..deebd5b710f 100644
This code cannot be compiled by boards which don't have this option. Add
an accessor in the header file to avoid another #ifdef
Signed-off-by: Simon Glass
Reviewed-by: Quentin Schulz
---
(no changes since v1)
boot/bootm.c| 8
include/bootm.h | 8
2 files changed, 12 inse
Rather than building a command line for each operation, use the
functions provided by the bootm API.
Make sure that the bootm functions are available if pxe_utils is used.
Since SYS_BOOTM_LEN is not present for the tools-only build, adjust the
code to handle that.
Signed-off-by: Simon Glass
Rev
Since this function only adjusts one element of the bootm command, pass
just that. This will make it easier to refactor things to remove the
bootm command.
Signed-off-by: Simon Glass
Reviewed-by: Quentin Schulz
---
(no changes since v1)
boot/pxe_utils.c | 14 +++---
1 file changed, 7
This function is quite long. Split out the FDT processing into its own
function.
Add a function comment for the new label_process_fdt() function.
Signed-off-by: Simon Glass
Reviewed-by: Quentin Schulz
---
Changes in v2:
- Rebase on earlier change
boot/pxe_utils.c | 100 ++
This function is far too long. Split out the part which builds and runs
the bootm/i/z commands into its own function.
Add a function comment for the new label_run_boot() function.
Signed-off-by: Simon Glass
Reviewed-by: Quentin Schulz
---
Changes in v2:
- Move strlcpy() change into an earlier
This value is include the bootm_info, so drop the unnecessary parameter.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/zimage.c | 5 +++--
cmd/bootflow.c| 3 ++-
cmd/x86/zboot.c | 8 +++-
include/bootm.h | 7 ++-
4 files changed, 10 insertions(+)
This function is recommended instead of strncpy() since it always
terminates the string.
Signed-off-by: Simon Glass
---
Changes in v2:
- Split out strlcpy() change into new patch
boot/pxe_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/pxe_utils.c b/boot/pxe_ut
Rather than holding the state in the implementation code, move it to the
command code. The state is now passed to the implementation functions
and can there (with future work) be pass in from bootstd, without going
through the commands.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch
The address of the bzImage is not recorded in the bootflow, so we cannot
actually locate the version at present. Handle this case, to avoid
showing invalid data.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/zimage.c | 13 -
cmd/bootflow.c| 2 ++
2 file
Use the common name for the struct, in preparation for passing it around
between functions.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/zimage.h | 2 +-
arch/x86/lib/zimage.c | 48 +--
cmd/x86/zboot.c | 4 +--
This structure is supposed to handle any type of booting
programmatically, i.e. without needing a command to be executed. Move
the x86-specific members into it and use it instead of
struct zboot_state. Provide a macro so access is possible without adding
lots of #ifdefs to the code.
This will allo
This is now defined in bootm.h so drop the duplicate in the x86 code.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/zimage.h | 8
cmd/x86/zboot.c | 1 +
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/arch/x86/include/asm/zimage.
Rename this function so we can (later) create a zboot_run() function
which looks the same as bootm_run()
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/zimage.c | 4 ++--
boot/bootmeth_cros.c | 6 +++---
include/bootm.h | 6 +++---
3 files changed, 8 insertions(+), 8
This series implements read_all() so that it is possible to read all the
files relating to a bootflow, make adjustments and then boot.
Unfortunately quite a few things stand in the way, so this series
finishes off several pending items: zboot without CONFIG_CMDLINE,
required support in pxe_utils a
This function is only called within zboot.c so make the function
private.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/x86/zboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/x86/zboot.c b/cmd/x86/zboot.c
index 94e602b8a5b..3035172352a 100644
--- a/c
> -Original Message-
> From: Patrice Chotard
> Sent: Tuesday, December 3, 2024 7:06 PM
> To: u-boot@lists.denx.de
> Cc: Patrice CHOTARD ; Patrick DELAUNAY
> ; U-
> Boot STM32 ; Jaehoon Chung
> ; Jonas
> Karlman ; Marek Vasut ; Quentin Schulz
> ;
> Simon Glass ; Tom Rini
> Subject: [
timeout_count is never reset once a tftpboot transfer has started. If for
whatever reason timeouts occur frequently, but the server keeps replying
nonetheless, the transfer may be needlessly aborted.
Reset timer_count on every successful block to avoid this situation.
Signed-off-by: Mikhail Kshev
Hi Quentin,
On Wed, 27 Nov 2024 at 05:08, Quentin Schulz wrote:
>
> Hi Simon,
>
> On 11/19/24 2:18 PM, Simon Glass wrote:
> > Rather than building a command line for each operation, use the
> > functions provided by the bootm API.
> >
> > Make sure that the bootm functions are available if pxe_ut
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
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch implements 'nand torture' functionality for mtd command.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfi
This patch implements read-only test of nand flash devices.
Test reads blocks of NAND flash in normal and raw modes and compares
results. The following statuses can be returned for a block:
* non-ecc reading failed,
* ecc reading failed,
* block is bad,
* bitflips is above maximum,
* actual n
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch implements 'nand markbad' functionality for mtd command.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfi
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch series implements following subcommands:
* markbad -- mark block as bad (clone of 'nand markbad')
*
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.
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
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
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
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-
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
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
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
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
On Tue, Dec 03, 2024 at 02:45:36PM +, Rufus Segar wrote:
> From 2f97d889cecfa2ba06652469765f31c70a68e867 Mon Sep 17 00:00:00 2001
> From: Rufus Segar
> Date: Tue, 3 Dec 2024 14:35:10 +
> Subject: [PATCH] Revert "net: phy: marvell 88e151x: Fix handling of bare
> RGMII interface type"
>
>
BootROM leave GPIO4_D6 configured as SDMMC_PWREN function and DW MMC
driver set PWREN high in dwmci_init().
However, HW revision prior to v1.2 must pull GPIO4_D6 low to access
sdmmc. For HW revision v1.2 the state of GPIO4_D6 has no impact.
Upstream linux-rockchip maintainer tree has merged a pat
\n", __func__);
return 0;
}
}
---
base-commit: 3073246d1be682071d8b3d07d06c2484907aed60
change-id: 20241203-nophys-0b539d183a16
Best regards,
--
Roger Quadros
y
---
base-commit: 3073246d1be682071d8b3d07d06c2484907aed60
change-id: 20241203-am62-usb-xhci-be62bc9584c9
Best regards,
--
Roger Quadros
1 - 100 of 243 matches
Mail list logo