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 <[email protected]>
---
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Tom Rini <[email protected]>
---
 configs/renesas_rcar.config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/renesas_rcar.config b/configs/renesas_rcar.config
index d9a99e1f428..b3107d79b0e 100644
--- a/configs/renesas_rcar.config
+++ b/configs/renesas_rcar.config
@@ -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
-- 
2.51.0

Reply via email to