чт, 6 июн. 2024 г. в 12:56, Jerome Forissier :
>
>
>
> On 5/28/24 15:39, Maxim Uvarov wrote:
> > пт, 24 мая 2024 г. в 19:22, Jerome Forissier :
> >>
> >> Add support for the wget command with NET_LWIP.
> >>
> >> About the small change in cmd/ef
break;
> > + }
> > + } while (get_timer(start) < DNS_TIMEOUT_MS);
> > + sys_untimeout(do_dns_tmr, NULL);
> > + }
>
> Looking at the lwip code there are other ret values than just ERR_OK,
> ERR_INPROGRESS. Should we have an 'else' handling the rest?
>
+1
And check the return code of eth_rx(), that is int function
and current code for some reason skips this check.
BR,
Maxim.
> > +
> > + if (done && host_ipaddr.addr != 0)
> > + return CMD_RET_SUCCESS;
> > +
> > + return CMD_RET_FAILURE;
> > +}
> > +
> > --
> > 2.40.1
> >
>
> Thanks
> /Ilias
--
Best regards,
Maxim Uvarov
чт, 30 мая 2024 г. в 17:11, Jerome Forissier :
>
>
>
> On 5/28/24 11:53, Maxim Uvarov wrote:
> > пт, 24 мая 2024 г. в 19:22, Jerome Forissier :
> >>
> >> WHen NET_LWIP is enabled, the dhcp/ping/tftpboot commands are enabled
> >> via CMD_DHCP_LWIP, CMD_
o parse it anyways (in parse_url()).
> Therefore wget_validate_uri() doesn't exist. So, guard the call in
> efidebug.c with CONFIG_CMD_WGET.
>
> Based on code initially developed by Maxim U.
>
> Signed-off-by: Jerome Forissier
> Co-developed-by: Maxim Uvarov
> Cc: Maxim
t; output = u_boot_console.run_command('crc32 $fileaddr $filesize')
> assert expected_crc in output
>
> +@pytest.mark.buildconfigspec("cmd_net_lwip")
> +def test_net_tftpboot_lwip(u_boot_console):
> +test_net_tftpboot(u_boot_console, True)
> +
> @pytest.mark.buildconfigspec('cmd_nfs')
> def test_net_nfs(u_boot_console):
> """Test the nfs command.
> --
> 2.40.1
>
--
Best regards,
Maxim Uvarov
dm_test_ethaddr(struct unit_test_state
> > > *uts)
> > > }
> > > DM_TEST(dm_test_ethaddr, UT_TESTF_SCAN_FDT);
> > >
> > > +#if !defined(CONFIG_NET_LWIP)
> > > /* The asserts include a return on fail; cleanup in the caller */
> > > static int _dm_test_eth_rotate1(struct unit_test_state *uts)
> > > {
> > > @@ -616,6 +619,7 @@ static int dm_test_eth_async_ping_reply(struct
> > > unit_test_state *uts)
> > > }
> > >
> > > DM_TEST(dm_test_eth_async_ping_reply, UT_TESTF_SCAN_FDT);
> > > +#endif /* !CONFIG_NET_LWIP */
> > >
> > > #if IS_ENABLED(CONFIG_IPV6_ROUTER_DISCOVERY)
> > >
> > > --
> > > 2.40.1
> > >
--
Best regards,
Maxim Uvarov
On Fri, 5 Jan 2024 at 02:46, Fabio Estevam wrote:
> On Thu, Jan 4, 2024 at 12:02 PM Maxim Uvarov
> wrote:
>
> > CI tests this in all qemu emulated boards. I tested it locally on
> Raspberry Pi - works well. This version did not
> > yet tested on imx8, but the previou
On Wed, 3 Jan 2024 at 20:30, Fabio Estevam wrote:
> Hi Maxim,
>
> On Tue, Jan 2, 2024 at 2:31 PM Maxim Uvarov
> wrote:
> >
> > Small update here. I made changes without any board limit size changes.
> > Reordered patches to make them compile in sequence. I think I
trange how that
related to lwip code, because the network works on much later
stage then initial messages print.
Thanks,
Maxim.
On Tue, 19 Dec 2023 at 16:12, Alexander Dahl wrote:
> Hello Maxim,
>
> Am Mon, Nov 27, 2023 at 06:56:43PM +0600 schrieb Maxim Uvarov:
> > Hello,
> >
CI test checks that generated dtb has to be cleaned up.
Use the same clean procedure as Linux top level Makefile has.
Signed-off-by: Maxim Uvarov
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 220411a293..b443831a93 100644
--- a/Makefile
+++ b
Use device specific naming for functions so as to not overlap
with common function names.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
arch/arm/include/asm/arch-omap3/mem.h | 2 +-
arch/arm/mach-omap2/omap3/board.c | 2 +-
arch/arm/mach-omap2/omap3/emif4.c | 4 ++--
arch/arm
Use device specific naming for variables so as to not overlap
with common function names.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
Reviewed-by: Peter Robinson
---
include/configs/bcm_ns3.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs
Fix compilation issue with overlapping lwip and march defines.
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 --
arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 +
2 files changed, 9 insertions(+), 6 deletions
\
-serial mon:stdio -net user,tftp=`pwd` \
-net nic,model=rtl8139 -kernel ./u-boot.bin
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
drivers/net/rtl8139.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index 106bc1c7ae..
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
arch/sandbox/cpu/eth-raw-os.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c
index e59b96be5f
return value of smc911x_send is ignored, but on sucesseful
send we need return 0 and or error -ETIMEOUT, not opposite.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
---
drivers/net/smc911x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Printing net list is useful in CI log files.
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
test/py/tests/test_net.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a4..cd5b791a6a 100644
--- a/test/py/tests
Add small net fixes prior lwip patches.
v3: - some small review fixes.
v2: - rebase on the top of master tree with descriptions fixes
suggested in review comments.
Maxim Uvarov (8):
test_net: print out net list
net/smc911x: fix return from smc911x_send
sandbox: eth-raw-os: successful
On Tue, 26 Dec 2023 at 15:50, Simon Glass wrote:
> Hi Maxim,
>
> On Mon, Dec 25, 2023 at 3:42 PM Maxim Uvarov
> wrote:
> >
> > CI test checks that generated dtb has to be cleaned up.
> >
> > Signed-off-by: Maxim Uvarov
> > ---
> > Makefile
On Tue, 26 Dec 2023 at 20:26, Tom Rini wrote:
> On Tue, Dec 26, 2023 at 06:27:58PM +0600, Maxim Uvarov wrote:
> > On Tue, 26 Dec 2023 at 15:50, Simon Glass wrote:
> >
> > > Hi Maxim,
> > >
> > > On Mon, Dec 25, 2023 at 3:42 PM Maxim Uvarov
&
On Tue, 26 Dec 2023 at 12:25, Sean Anderson wrote:
> On 12/26/23 01:18, Maxim Uvarov wrote:
> >
> >
> > On Tue, 26 Dec 2023 at 04:43, Sean Anderson sean...@gmail.com>> wrote:
> >
> > On 12/25/23 10:39, Maxim Uvarov wrote:
> >
On Tue, 26 Dec 2023 at 04:49, Sean Anderson wrote:
> On 12/25/23 10:39, Maxim Uvarov wrote:
> > Use device specific naming for functions so as to not overlap
> > with common function names.
> >
> > Signed-off-by: Maxim Uvarov
> > Reviewed-by: Tom Rini
> &
On Tue, 26 Dec 2023 at 04:43, Sean Anderson wrote:
> On 12/25/23 10:39, Maxim Uvarov wrote:
> > Add additional checks for NULL pointers.
> >
> > Signed-off-by: Maxim Uvarov
> > ---
> > drivers/net/sandbox.c | 3 +++
> > 1 file changed, 3 inserti
CI test checks that generated dtb has to be cleaned up.
Signed-off-by: Maxim Uvarov
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 220411a293..ab603191ad 100644
--- a/Makefile
+++ b/Makefile
@@ -2165,7 +2165,8 @@ CLEAN_FILES
Use device specific naming for functions so as to not overlap
with common function names.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
arch/arm/include/asm/arch-omap3/mem.h | 2 +-
arch/arm/mach-omap2/omap3/board.c | 2 +-
arch/arm/mach-omap2/omap3/emif4.c | 4 ++--
arch/arm
Use device specific naming for variables so as to not overlap
with common function names.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
Reviewed-by: Peter Robinson
---
include/configs/bcm_ns3.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs
Fix compilation issue with overlapping lwip and march defines.
Signed-off-by: Maxim Uvarov
---
arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 --
arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm
\
-serial mon:stdio -net user,tftp=`pwd` \
-net nic,model=rtl8139 -kernel ./u-boot.bin
Signed-off-by: Maxim Uvarov
---
drivers/net/rtl8139.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index 106bc1c7ae..d8f24ec81a 100644
--- a/d
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
arch/sandbox/cpu/eth-raw-os.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c
index e59b96be5f
return value of smc911x_send is ignored, but on sucesseful
send we need return 0 and or error -ETIMEOUT, not opposite.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
drivers/net/smc911x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/smc911x.c b/drivers
Add additional checks for NULL pointers.
Signed-off-by: Maxim Uvarov
---
drivers/net/sandbox.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c
index 13022addb6..d91935e032 100644
--- a/drivers/net/sandbox.c
+++ b/drivers/net/sandbox.c
Printing net list is useful in CI log files.
Signed-off-by: Maxim Uvarov
---
test/py/tests/test_net.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a4..cd5b791a6a 100644
--- a/test/py/tests/test_net.py
+++ b/test/py
Add small net fixes prior lwip patches.
v2: - rebase on the top of master tree with descriptions fixes
suggested in review comments.
Maxim Uvarov (9):
test_net: print out net list
net: sandbox: fix NULL pointer derefences
net/smc911x: fix return from smc911x_send
sandbox: eth-raw
Hi,
Do I need to resend this patchset with small comment message correction or
it can be done on the apply?
Thank you,
Maxim.
On Mon, 4 Dec 2023 at 18:06, Maxim Uvarov wrote:
> Add small net fixes prior lwip patch.
>
> CI for this patch set:
>
> https://dev.azure.com/u-boo
On Wed, 6 Dec 2023 at 13:06, Soeren Moch wrote:
> On 05.12.23 21:00, Maxim Uvarov wrote:
>
> On Wed, 6 Dec 2023 at 00:25, Soeren Moch wrote:
>
>> On 05.12.23 17:25, Maxim Uvarov wrote:
>>
>> On Tue, 5 Dec 2023 at 21:49, Soeren Moch wrote:
>>
>>> On
On Wed, 6 Dec 2023 at 00:25, Soeren Moch wrote:
>
>
> On 05.12.23 17:25, Maxim Uvarov wrote:
>
>
>
> On Tue, 5 Dec 2023 at 21:49, Soeren Moch wrote:
>
>> On 05.12.23 14:15, Maxim Uvarov wrote:
>>
>> I think I solved the size issue on all the boards.
&
On Tue, 5 Dec 2023 at 21:49, Soeren Moch wrote:
> On 05.12.23 14:15, Maxim Uvarov wrote:
>
> I think I solved the size issue on all the boards.
>
> Key changes:
> 1. remove compilation of original ping.c and tftp.c (tftp had also server
> code, so I will partially bring it b
atrix U-Boot> "
@@ -52,7 +54,7 @@ CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
CONFIG_CMD_CACHE=y
-CONFIG_CMD_TIME=y
+# CONFIG_CMD_DATE is not set
CONFIG_CMD_SYSBOOT=y
# CONFIG_CMD_VIDCONSOLE is not set
CONFIG_CMD_EXT2=y
BR,
Maxim.
On Tue, 28 Nov 2023 at 13:09, Maxim Uva
CI test checks that generated dtb has to be cleaned up.
Signed-off-by: Maxim Uvarov
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 08604ed3c7..8dd6990584 100644
--- a/Makefile
+++ b/Makefile
@@ -2165,7 +2165,8 @@ CLEAN_FILES
):(.text+0x0): first defined here
+Image 'simple-bin' is missing external blobs and is non-functional:
tee-os
+/binman/simple-bin/fit/images/op-tee/tee-os (tee-os):
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
arch/arm/include/asm/arch-omap3/mem.h | 2 +-
arch/arm/mach-omap2/omap3
ternal/src/include/lwip/opt.h:51,
+ from net/lwip/lwip-external/src/core/init.c:38:
+include/configs/bcm_ns3.h:52: note: this is the location of the previous
definition
+ 52 | #define ETH_ADDR
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
include/configs/bcm_ns3.h | 6
Fix compilation issue with overlapping lwip and march defines.
Signed-off-by: Maxim Uvarov
---
arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 --
arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm
\
-serial mon:stdio -net user,tftp=`pwd` \
-net nic,model=rtl8139 -kernel ./u-boot.bin
Signed-off-by: Maxim Uvarov
---
drivers/net/rtl8139.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index 106bc1c7ae..d8f24ec81a 100644
--- a/d
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov
Reviewed-by: Simon Glass
---
arch/sandbox/cpu/eth-raw-os.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c
index e59b96be5f
return value of smc911x_send is ignored, but on sucesseful
send we need return 0 and or error -ETIMEOUT, not opposite.
Signed-off-by: Maxim Uvarov
Reviewed-by: Tom Rini
---
drivers/net/smc911x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/smc911x.c b/drivers
Add additional checks for NULL pointers.
Signed-off-by: Maxim Uvarov
---
drivers/net/sandbox.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c
index 13022addb6..d91935e032 100644
--- a/drivers/net/sandbox.c
+++ b/drivers/net/sandbox.c
Printing net list is useful in CI log files.
Signed-off-by: Maxim Uvarov
---
test/py/tests/test_net.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a4..cd5b791a6a 100644
--- a/test/py/tests/test_net.py
+++ b/test/py
Add small net fixes prior lwip patch.
CI for this patch set:
https://dev.azure.com/u-boot/u-boot/_build/results?buildId=7460=results
Maxim Uvarov (9):
test_net: print out net list
net: sandbox: fix NULL pointer derefences
net/smc911x: fix return from smc911x_send
sandbox: eth-raw-os
On Thu, 30 Nov 2023 at 19:00, Fabio Estevam wrote:
> Hi Maxim,
>
> On Thu, Nov 30, 2023 at 5:39 AM Maxim Uvarov
> wrote:
>
> > If networking for some reason doesn't work on that board (I tested only
> virtual board). Please try to compile with:
>
> Could you als
v5: - fixed Iliases comments and split big patch on the small
> > ones.
> > v4: - tested with tests/py/ did some minor fixes (out of tree
> > build, variables set after downloads).
> > - accounted review comments for documentatio
On Wed, 29 Nov 2023 at 06:16, Fabio Estevam wrote:
> Hi Tim,
>
> On Tue, Nov 28, 2023 at 9:10 PM Tim Harvey wrote:
>
> > Fabio,
> >
> > You won't see this build issue with the entire series applied... only
> > with the patches up to and including 'net/lwip: integrate lwIP
> > library'. My point
.
On Wed, 29 Nov 2023 at 02:43, Tom Rini wrote:
> On Tue, Nov 28, 2023 at 12:41:44PM -0800, Tim Harvey wrote:
> > On Tue, Nov 28, 2023 at 11:12 AM Fabio Estevam
> wrote:
> > >
> > > Hi Maxim,
> > >
> > > On Tue, Nov 28, 2023 at 4:07 PM Maxim U
On Tue, 28 Nov 2023 at 16:37, wrote:
> Hi,
>
> On 27/11/2023 13:56, Maxim Uvarov wrote:
> > Hello,
> >
> > Please find updated version of lwip patches. Changes are in the
> > changelog bellow.
>
> I've ran it on the libretech-cc board, and tried to load g
On Tue, 28 Nov 2023 at 22:34, wrote:
> Hi Maxim,
>
> On 27/11/2023 13:56, Maxim Uvarov wrote:
> > U-Boot recently got support for an alternative network stack using LWIP.
> > Replace tftp command with the LWIP variant while keeping the output and
> > error messages id
On Tue, 28 Nov 2023 at 17:32, Fabio Estevam wrote:
> Hi Maxim,
>
> On Mon, Nov 27, 2023 at 5:46 PM Maxim Uvarov
> wrote:
> >
> > U-Boot recently got support for an alternative network stack using LWIP.
> > Replace wget command with the LWIP variant while ke
On Mon, 27 Nov 2023 at 22:31, Tom Rini wrote:
> On Mon, Nov 27, 2023 at 03:52:50PM +, Peter Robinson wrote:
> > On Mon, Nov 27, 2023 at 3:32 PM Maxim Uvarov
> wrote:
> > >
> > >
> > >
> > > On Mon, 27 Nov 2023 at 20:08, Tom Rini wrote:
> &
On Tue, 28 Nov 2023 at 03:20, Soeren Moch wrote:
> On 27.11.23 14:11, Tom Rini wrote:
> > On Mon, Nov 27, 2023 at 06:57:09PM +0600, Maxim Uvarov wrote:
> >
> >> Increase allowed binary size to fit lwip code.
> >>
> >> Signed-off-by: Maxim Uvarov
>
On Mon, 27 Nov 2023 at 20:08, Tom Rini wrote:
> On Mon, Nov 27, 2023 at 08:06:23PM +0600, Maxim Uvarov wrote:
> > On Mon, 27 Nov 2023 at 19:08, Tom Rini wrote:
> >
> > > On Mon, Nov 27, 2023 at 06:57:16PM +0600, Maxim Uvarov wrote:
> > >
> > > >
On Mon, 27 Nov 2023 at 19:08, Tom Rini wrote:
> On Mon, Nov 27, 2023 at 06:57:16PM +0600, Maxim Uvarov wrote:
>
> > Increase allowed binary size to fit lwip code.
> >
> > Signed-off-by: Maxim Uvarov
> > ---
> > configs/am335x_evm_defconfig | 1 +
> > 1
Inside docker image owner of U-Boot files
is different, so user doesn't have permissions to update
submodules. Make the ower of git the same as current user.
Signed-off-by: Maxim Uvarov
---
.gitlab-ci.yml | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git
Increase current board limit to fit new IP stack.
mips: + linkit-smart-7688
+u-boot.img exceeds file size limit:
+ limit: 0x87000 bytes
+ actual: 0x87184 bytes
+ excess: 0x184 bytes
Signed-off-by: Maxim Uvarov
---
configs/linkit-smart-7688_defconfig | 2 +-
1 file changed, 1 insertion
Increase board limit on 0x200 to fit new IP stack.
Signed-off-by: Maxim Uvarov
---
arch/mips/mach-mtmips/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig
index 15b2792e61..2f07e3a491 100644
--- a/arch/mips
Azure CI does make testconfig then passes U-Boot sources
to docker image. Inside docker image owner of U-Boot files
is different, so user doesn't have permissions to update
submodules. In this case we can do init before we run
test docker image.
Signed-off-by: Maxim Uvarov
---
.azure
CI test checks that generated dtb has to be cleaned up.
Signed-off-by: Maxim Uvarov
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 769111bf09..2fc04450c6 100644
--- a/Makefile
+++ b/Makefile
@@ -2172,7 +2172,8 @@ CLEAN_FILES
CONFIG_X86_OFFSET_SPL
to 0xfffe1000 from default 0xfffd8000 and all the code fits to 1MB rom
image. But with modified CONFIG_X86_OFFSET_SPL qemu process does not
boot. That is under investigation now.
Signed-off-by: Maxim Uvarov
---
configs/qemu-x86_64_defconfig | 5 +++--
1 file changed, 3 insertions(+), 2
Increase allowed binary size to fit lwip code.
u-boot.img exceeds file size limit:
limit: 0x10 bytes
actual: 0x106c41 bytes
excess: 0x6c41 bytes
Signed-off-by: Maxim Uvarov
---
configs/rcar3_ulcb_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
Increase allowed binary size to fit lwip code.
limit: 0xa bytes
actual: 0xa0f54 bytes
excess: 0xf54 bytes
Signed-off-by: Maxim Uvarov
---
configs/gardena-smart-gateway-mt7688_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/gardena-smart-gateway
Increase allowed binary size to fit lwip code.
limit: 0x8 bytes
actual: 0x84c58 bytes
excess: 0x4c58 bytes
Signed-off-by: Maxim Uvarov
---
configs/linkit-smart-7688_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/linkit-smart-7688_defconfig
b
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/bk4r1_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/bk4r1_defconfig b/configs/bk4r1_defconfig
index 95f0c30cde..30ab54a849 100644
--- a/configs/bk4r1_defconfig
+++ b
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/am335x_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index f048e60f7f..9fd608bd76 100644
--- a/configs/am335x_evm_defconfig
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/lsxhl_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/lsxhl_defconfig b/configs/lsxhl_defconfig
index d729bcb530..066f8b16b3 100644
--- a/configs/lsxhl_defconfig
+++ b
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/lschlv2_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig
index d7c77f8a88..7e0c70c6ea 100644
--- a/configs
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/am335x_boneblack_vboot_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am335x_boneblack_vboot_defconfig
b/configs/am335x_boneblack_vboot_defconfig
index 531703010a..4f06ed1b76 100644
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/sheevaplug_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
index 2e4901b840..c0b256f3b0 100644
--- a/configs
Decrease allowed binary size to fit lwip code.
u-boot-with-spl.kwb exceeds file size limit:
limit: 0xf6000 bytes
actual: 0xf8600 bytes
excess: 0x2600 bytes
Signed-off-by: Maxim Uvarov
---
configs/turris_omnia_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
Decrease allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/socfpga_secu1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/socfpga_secu1_defconfig b/configs/socfpga_secu1_defconfig
index b8052f1dee..4213941bcf 100644
--- a/configs
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov
---
configs/tbs2910_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index 8fbe84f1d2..ce40efa9ab 100644
--- a/configs/tbs2910_defconfig
Increase allowed binary size to fit lwip code.
0xf -> 0xf6000
Signed-off-by: Maxim Uvarov
---
configs/turris_omnia_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index 65d4a296e7..afcd4a1
defined here
+Image 'simple-bin' is missing external blobs and is non-functional:
tee-os
+/binman/simple-bin/fit/images/op-tee/tee-os (tee-os):
Signed-off-by: Maxim Uvarov
---
arch/arm/include/asm/arch-omap3/mem.h | 2 +-
arch/arm/mach-omap2/omap3/board.c | 2 +-
arch/arm/mach-omap2/omap3/emif4
aarch64: + rcar3_salvator-x
u-boot.img exceeds file size limit:
limit: 0x10 bytes
actual: 0x106d6c bytes
excess: 0x6d6c bytes
Signed-off-by: Maxim Uvarov
---
configs/rcar3_salvator-x_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs
ternal/src/include/lwip/opt.h:51,
+ from net/lwip/lwip-external/src/core/init.c:38:
+include/configs/bcm_ns3.h:52: note: this is the location of the previous
definition
+ 52 | #define ETH_ADDR
Signed-off-by: Maxim Uvarov
---
include/configs/bcm_ns3.h | 6 +++---
1 file changed, 3
Fix compilation issue with overlapping lwip and march defines.
Signed-off-by: Maxim Uvarov
---
arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 --
arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm
\
-serial mon:stdio -net user,tftp=`pwd` \
-net nic,model=rtl8139 -kernel ./u-boot.bin
Signed-off-by: Maxim Uvarov
---
drivers/net/rtl8139.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index 106bc1c7ae..6003b88274 100644
--- a/drivers/net/rtl8139.c
+++
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov
---
arch/sandbox/cpu/eth-raw-os.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c
index e59b96be5f..92c35aed95 100644
return value of smc911x_send is ignored, but on sucesseful
send we need return 0 and or error -ETIMEOUT, not opposite.
Signed-off-by: Maxim Uvarov
---
drivers/net/smc911x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index
Printing net list is useful in CI log files.
Signed-off-by: Maxim Uvarov
---
test/py/tests/test_net.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a4..cd5b791a6a 100644
--- a/test/py/tests/test_net.py
+++ b/test/py
Add additional checks for NULL pointers.
Signed-off-by: Maxim Uvarov
---
drivers/net/sandbox.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c
index 13022addb6..75d32db3a9 100644
--- a/drivers/net/sandbox.c
+++ b/drivers/net/sandbox.c
bootefi code relays in internal variable then to filesize environment.
lwip tftp do not update this variable. For not I update test to provide
correct size.
Signed-off-by: Maxim Uvarov
---
test/py/tests/test_efi_loader.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
current net.h has ethernet and protocol definitions. Protocol definitions
overlap with lwIP protocol definitions and net.h can not be included from
lwIP code. Splitting on logical blocks makes that work.
Signed-off-by: Maxim Uvarov
---
include/net.h | 189
Replace original commands: ping, tftp, dhcp and wget.
Signed-off-by: Maxim Uvarov
---
boot/bootmeth_efi.c | 18 +++---
boot/bootmeth_pxe.c | 21 ++-
cmd/net.c | 86 +
cmd/pxe.c | 19 +-
include/net.h | 8
Use lwip variants of network commands.
Signed-off-by: Maxim Uvarov
---
cmd/Makefile | 1 +
cmd/net-lwip.c | 307 +
2 files changed, 308 insertions(+)
create mode 100644 cmd/net-lwip.c
diff --git a/cmd/Makefile b/cmd/Makefile
index 9a6790cc17
ignore lwIP library code and reused files from the lwIP.
Signed-off-by: Maxim Uvarov
---
net/lwip/.gitignore | 8
1 file changed, 8 insertions(+)
create mode 100644 net/lwip/.gitignore
diff --git a/net/lwip/.gitignore b/net/lwip/.gitignore
new file mode 100644
index 00
us to have such applications
as http or https clients.
Signed-off-by: Maxim Uvarov
---
lib/Kconfig | 2 +-
net/eth-uclass.c | 37 ++-
net/lwip/Kconfig | 1 +
net/lwip/port/if.c| 327 +
lwip configuration can be tuned with header file.
Signed-off-by: Maxim Uvarov
---
net/lwip/lwipopts.h | 178
1 file changed, 178 insertions(+)
create mode 100644 net/lwip/lwipopts.h
diff --git a/net/lwip/lwipopts.h b/net/lwip/lwipopts.h
new file
-off-by: Maxim Uvarov
---
Makefile | 3 ++-
include/net/lwip.h | 15 +
net/lwip/Makefile | 1 +
net/lwip/apps/ping/Makefile| 12 +++
net/lwip/apps/ping/lwip_ping.c | 39 ++
net/lwip/apps/ping
U-Boot recently got support for an alternative network stack using LWIP.
Replace wget command with the LWIP variant while keeping the output and
error messages identical.
Signed-off-by: Maxim Uvarov
---
include/net/lwip.h | 14 +
net/lwip/Makefile | 1 +
net/lwip
U-Boot recently got support for an alternative network stack using LWIP.
Replace tftp command with the LWIP variant while keeping the output and
error messages identical.
Signed-off-by: Maxim Uvarov
---
include/net/lwip.h | 13
net/lwip/Makefile | 1 +
net/lwip
U-Boot recently got support for an alternative network stack using LWIP.
Replace dhcp command with the LWIP variant while keeping the output and
error messages identical.
Signed-off-by: Maxim Uvarov
---
include/net/lwip.h | 12 +
net/lwip/Makefile | 1 +
net/lwip
U-Boot recently got support for an alternative network stack using LWIP.
Replace dns command with the LWIP variant while keeping the output and
error messages identical.
Signed-off-by: Maxim Uvarov
---
include/net/lwip.h | 19 +++
net/lwip/Makefile| 2 ++
net/lwip
-off-by: Maxim Uvarov
---
net/Kconfig| 3 ++
net/Makefile | 1 +
net/lwip/Kconfig | 33 ++
net/lwip/Makefile | 64 ++
net/lwip/lwip-external | 2 +-
net/net.c | 44
1 - 100 of 276 matches
Mail list logo