[RFC] dfu: remove UPDATE_TFTP
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Jul 15 13:49:08 CEST 2020
-----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 at 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
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEbcT5xx8ppvoGt20zxIHbvCwFGsQFAl8O7SYACgkQxIHbvCwF
GsSp9RAAkNdFFkYpaSit5367azX56eAt4eiHyD1bqCEYJB1Z3+f3P0xM0NjD2B+T
QNVHHNbE+fvEftCT5Sl28mZIhqTpqZnMv5TFAyj4c1NxEmHnBFoeQcNb9vqzNaX3
8txdrYV3Nx5fKZlFDa2NqX0/+2NMx4DjqnN2P71IaFrp98qQMR0b62OQOAR9CwNE
YEW+usIRyE/cPHvvYMzKTS/8e/jJTRQXtFJvFjU3xh3/4s4/fbQCIbJZwMACsMrJ
hYAoT0d2+VNWBEg/i0q/uUmUh5OuwnrSsYaI3MdqV5DpNHcsF6UTOhT6svE+MibV
v4gMO7D2yfX7Zob6cLGU9hmnio32U0xx4jRhWNZtphuX1mI4psKtZp5k9FdRGjgn
+hrbkjG1y8xbytFiw5quCk07E34x8AttHDDM76wF5wu7WrH0U4HBjoNucj9Q2S6j
ZBD3IP/bOwpO3x32tpcFid+GaWy7NRTQ6OtOL4jF/Qgjk7F714wP1N5+cO4qB+kF
QFaRw+4zOGo0W0DLD9WyexDuY7QyNDbfXYOE6ao/pXGfFfWCa2WJCt0JUv1TnH5L
AbCqaNILWDZDJ0YBaPjJCqbeiikCG859nr/AgEPR8ns8jJ2i/2ditk9yUuha27Ub
mLBjbhV9PYo+5K07xMkVis+DIIgCc3xOJtL8DoviiJMO0xLBKos=
=IzXA
-----END PGP SIGNATURE-----
More information about the U-Boot
mailing list