| 965eda41 | 07-Nov-2016 |
Jocelyn Bohr <bohr@google.com> |
Add support for fastboot command over UDP
The Raspberry Pi does not support USB device mode, so fastboot over USB does not work. This patch adds support for and partially implements the device side
Add support for fastboot command over UDP
The Raspberry Pi does not support USB device mode, so fastboot over USB does not work. This patch adds support for and partially implements the device side fastboot UDP protocol as a U-boot command. It requires an ip address set and ethernet initialized.
- Modify U-boot fastboot command to do fastboot over UDP - Add net/fastboot.c, which implements fastboot server functions - Handle QUERY and INIT fastboot packets - Add CONFIG_UDP_FUNCION_FASTBOOT to enable fastboot over UDP
Bug: 31887729 Test: Tested with fastboot, responds correctly to query and init packets.
Change-Id: I4045abaf7a4455d756b7c1c00215afaa90c70a6e
show more ...
|
| c3b572c4 | 27-Aug-2017 |
Tom Rini <trini@konsulko.com> |
cmd/spl.c: Include <libfdt.h> for fdt_totalsize
In order to be able to reliably use fdt_totalsize, we must have <libfdt.h> included.
Fixes: 767cb74a0028 ("cmd: spl: provide address and size of prep
cmd/spl.c: Include <libfdt.h> for fdt_totalsize
In order to be able to reliably use fdt_totalsize, we must have <libfdt.h> included.
Fixes: 767cb74a0028 ("cmd: spl: provide address and size of prepared FDT ...") Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| bc028345 | 21-Aug-2017 |
Tom Rini <trini@konsulko.com> |
mtdparts: Fix final outstanding issue reported by Coverity
As part of fixing the previously reported issues, it was missed that in the case of mtdparts_init() we need to make sure that tmp_ep is lon
mtdparts: Fix final outstanding issue reported by Coverity
As part of fixing the previously reported issues, it was missed that in the case of mtdparts_init() we need to make sure that tmp_ep is long enough to contain PARTITION_MAXLEN and a NULL termination. Then, to be sure the buffer is NULL terminated, zero the entire buffer rather than just ensuring the first character is NULL.
Cc: Lothar Waßmann <LW@KARO-electronics.de> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Reported-by: Coverity (CID: 166329) Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| d03618d5 | 15-Aug-2017 |
Tom Rini <trini@konsulko.com> |
cmd/read.c: Fix checking blk_dread return value
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it fa
cmd/read.c: Fix checking blk_dread return value
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check.
Reported-by: Coverity (CID: 166335) Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|