1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 10:56:02 +01:00

net: add fastboot TCP support

Known limitations are
1. fastboot reboot doesn't work (answering OK but not rebooting)
2. flashing isn't supported (TCP transport only limitation)

The command syntax is
fastboot tcp

Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Сс: Joe Hershberger <joe.hershberger@ni.com>
Сс: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Dmitrii Merkurev
2023-04-12 19:49:30 +01:00
committed by Tom Rini
parent 08fb8da371
commit 443d319180
12 changed files with 230 additions and 35 deletions

View File

@@ -0,0 +1,14 @@
/* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (C) 2023 The Android Open Source Project
*/
#ifndef __NET_FASTBOOT_TCP_H__
#define __NET_FASTBOOT_TCP_H__
/**
* Wait for incoming tcp fastboot comands.
*/
void fastboot_tcp_start_server(void);
#endif /* __NET_FASTBOOT_TCP_H__ */