]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: renesas: Enable wget command and TCP on all R-Car systems
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 29 Jan 2026 00:44:28 +0000 (01:44 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 6 Feb 2026 19:23:12 +0000 (20:23 +0100)
Enable the 'wget' command and TCP protocol support on all Renesas R-Car
systems. This allows users to download content from local HTTP server,
which may sometimes be more accessible than TFTP server. Enable TCP SACK
support to improve download performance.

The usage is similar to the TFTP command. To download file from server
http://192.ser.ver.ip/file/path/on/local/server , invoke wget as follows:
"
=> wget $loadaddr 192.ser.ver.ip:/file/path/on/local/server
"

In case the HTTP server listens on port other than default port 80,
set the 'httpdstp' environment variable to download file from server
http://192.ser.ver.ip:8088/file/path/on/local/server
"
=> env set httpdstp 8088
=> wget $loadaddr 192.ser.ver.ip:/file/path/on/local/server
"

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
configs/renesas_rcar.config

index d9a99e1f42864587f05507a52e9ca9125a2fe5c0..b3107d79b0ebfd13a339536bf4d369e5cb0993cf 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_WGET=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_REGULATOR=y
@@ -22,8 +23,10 @@ CONFIG_FIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_MTD=y
 CONFIG_OF_CONTROL=y
+CONFIG_PROT_TCP_SACK=y
 CONFIG_RCAR_GPIO=y
 CONFIG_SCIF_CONSOLE=y
 CONFIG_SERIAL_RX_BUFFER=y
 CONFIG_SPI=y
 CONFIG_VERSION_VARIABLE=y
+CONFIG_WGET=y