
Hi Simon,
Hi Lukasz,
On 25 July 2015 at 02:11, Lukasz Majewski l.majewski@majess.pl wrote:
This commit adds initial support for using tftp for downloading and upgrading firmware on the device.
Signed-off-by: Lukasz Majewski l.majewski@majess.pl
Changes for v2:
- Return -ENOSYS instead of plain -1
- Remove interface and devstring env variables reading in the
dfu_tftp_write()
- Those parameters are now passed to dfu_tftp_write() function as
its arguments --- drivers/dfu/Makefile | 1 + drivers/dfu/dfu_tftp.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ include/dfu.h | 13 ++++++++++ 3 files changed, 79 insertions(+) create mode 100644 drivers/dfu/dfu_tftp.c
Is there a Kconfig option needed here?
I will add proper Kconfig option for this code in the following patch:
[PATCH v2 8/9] config: bbb: Configs necessary for running update via TFTP on Beagle Bone Black
IMHO this patch is a better place to do that.
Regards, Simon
Best regards, Lukasz Majewski