CONFIG_UPDATE_TFTP

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Oct 15 08:30:00 CEST 2020


Hello Tom, Marek, Nobuhiro,

in v2020.10 the following lines do not exist:

configs/r8a77990_ebisu_defconfig:20:CONFIG_UPDATE_TFTP=y
configs/r8a77995_draak_defconfig:19:CONFIG_UPDATE_TFTP=y
configs/rcar3_salvator-x_defconfig:18:CONFIG_UPDATE_TFTP=y
configs/rcar3_ulcb_defconfig:19:CONFIG_UPDATE_TFTP=y

I find them in current origin/master (0f35d96bfd856) as introduced via patch

42805b17e62e Wed Nov 29 06:29:46 2017 +0100
ARM: rmobile: Enable dfu tftp on Gen3

It looks like some elder patches have been reapplied.

@Marek, @Nobuhiro

My target is to remove the call

update_tftp(0UL, NULL, NULL);

from main_loop() which can be used to update NOR flash from tFTP
*without* issuing any command. This will not change the 'dfu tftp'
command and you will be still able to get the old functionality via
CONFIG_USE_PREBOOT.

As these four boards are now referencing CONFIG_UPDATE_TFTP I want to
understand if this this unattended update is what you want to use on
these boards. Marek's patch only mentions the 'dfu tftp' command.

Cf.
https://lists.denx.de/pipermail/u-boot/2020-July/420950.html
[PATCH v2 1/1] dfu: remove UPDATE_TFTP

Best regards

Heinrich


More information about the U-Boot mailing list