On Sat, 24 Aug 2024 at 11:27, Mikhail Kshevetskiy
<mikhail.kshevets...@iopsys.eu> wrote:
>
> This is an example web-server implementation. It can be used for files
> uploading to u-boot using a web-browser. It acts much like tftpget, but no
> special servers needs to be installed by the user.
>
> This code can be used as a base for other implementations like firmware
> upgrade web-server used by some vendors.
>
> Usage:
>   u-boot: start the we-server using the "httpd_upload" command
>   PC:     open the "http://your_uboot_ip"; link in the browser
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevets...@iopsys.eu>
> ---
>  cmd/Kconfig                     |  14 ++++
>  cmd/net.c                       |  20 ++++++
>  include/net/httpd-upload.h      |  12 ++++
>  net/Makefile                    |  19 +++++
>  net/httpd-upload.c              | 123 ++++++++++++++++++++++++++++++++
>  net/httpd_upload/error_400.html |   9 +++
>  net/httpd_upload/error_404.html |  10 +++
>  net/httpd_upload/index.html     |  14 ++++
>  net/httpd_upload/upload_ok.html |   7 ++
>  9 files changed, 228 insertions(+)
>  create mode 100644 include/net/httpd-upload.h
>  create mode 100644 net/httpd-upload.c
>  create mode 100644 net/httpd_upload/error_400.html
>  create mode 100644 net/httpd_upload/error_404.html
>  create mode 100644 net/httpd_upload/index.html
>  create mode 100644 net/httpd_upload/upload_ok.html
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to