configs: ti: enable TFTP_SIZE
PATCH 1/1 configs: ti: enable TFTP_SIZE
This fits the TFTP progress bar on single line based on the size of the file being downloaded, reducing unnecessary spam and also making it easier to track the download progress.
--- include/configs/ti_armv7_common.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/ti_armv7_common.h +2 -0
@@ -205,6 +205,8 @@"run netloadfdt; " \"run netargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" + +#define CONFIG_TFTP_TSIZE #else #define NETARGS ""#endif
Signature · 1 line
2.17.1
PATCH 1/1 configs: ti: enable TFTP_SIZE
Quoted 14 lines · Tero Kristo
This fits the TFTP progress bar on single line based on the size of the file being downloaded, reducing unnecessary spam and also making it easier to track the download progress.
Signed-off-by Tero Kristo <[email protected]>--- include/configs/ti_armv7_common.h | 2 ++ 1 file changed, 2 insertions(+)include/configs/ti_armv7_common.h +0
-0
include/configs/ti_armv7_common.h line 212
Quoted 8 lines
include/configs/ti_armv7_common.h +2
-0@@ -205,6 +205,8 @@"run netloadfdt; " \"run netargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" + +#define CONFIG_TFTP_TSIZE #else #define NETARGS ""#endif
That's pretty handy. Can you please convert it to Kconfig (it should go in net/Kconfig) and default y if ARCH_OMAP2PLUS should be fine. Thanks.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210511/7f32256e/attachment.sig>
PATCH 1/1 configs: ti: enable TFTP_SIZE
Quoted 11 lines · Tom Rini
Quoted 9 lines · Tero Kristo
This fits the TFTP progress bar on single line based on the size of the file being downloaded, reducing unnecessary spam and also making it easier to track the download progress.
Signed-off-by Tero Kristo <[email protected]>--- include/configs/ti_armv7_common.h | 2 ++ 1 file changed, 2 insertions(+)
Quoted 17 lines
include/configs/ti_armv7_common.h line 212
Quoted 13 lines
include/configs/ti_armv7_common.h +2
-0@@ -205,6 +205,8 @@"run netloadfdt; " \"run netargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" + +#define CONFIG_TFTP_TSIZE #else #define NETARGS ""#endif That's pretty handy. Can you please convert it to
Kconfig(it should go in net/Kconfig) and default y ifARCH_OMAP2PLUSshould be fine. Thanks.
Yea, I can take a shot at that.
-Tero