
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 15.07.20 13:24, Lukasz Majewski wrote:
Hi Heinrich,
Using UPDATE_TFTP the firmware can be updated from tFTP by writing to NOR flash. The same is possible by defining a dfu command in CONFIG_PREBOOT.
The dfu command cannot only write to NOR but also to other devices. In README.dfutfp UPDATE_TFTP has been marked as deprecated.
Could you also write in the proper README the steps necessary to have the same functionality as with UPDATE_TFTP with dfu and preboot? I think that it would be good to have it written down in ./doc.
doc/README.dfutftp already describes the necessary steps as:
* enable CONFIG_DFU_TFTP * enable CONFIG_PREBOOT * put a string like "dfu tftp 0 mmc 0" into the "preboot" env variable
Do you want me to explicitly write that "dfu tftp 0 mtd 0" replaces the former auto-update functionality?
Best regards
Heinrich
It is not used by any board.
Remove tFTP update via CONFIG_UPDATE_TFTP.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de --- Currently Gitlab CI lacks a test for dfu tftp. I will try to set one up. When it is properly tested I will send a final patch series. But beforehand I would like to know if eliminating UPDATE_TFTP is ok.
Best regards
Heinrich