openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
20.62k stars 10.58k forks source link

FS#956 - lantiq: Add TFTP PUT support to U-Boot #5909

Closed openwrt-bot closed 7 years ago

openwrt-bot commented 7 years ago

hailfinger:

Backing up the old factory firmware in Lantiq-based routers can be done in three ways:

TFTP PUT in U-Boot is the fastest and easiest way to get this done.

U-Boot binaries will grow between 1256 and 1304 bytes compared to current LEDE trunk.

Results in a table: image oldsize newsize difference targets/lantiq/xrx200/u-boot-bthomehubv5a_ram/u-boot.asc 1679 4556 2877 targets/lantiq/xrx200/u-boot-easy80920_nor/u-boot.bin 15072 16328 1256 targets/lantiq/xrx200/u-boot-easy80920_ram/u-boot.asc 14757 17634 2877 targets/lantiq/xrx200/u-boot-fb3370_eva/u-boot.bin 55428 56700 1272 targets/lantiq/xrx200/u-boot-fb3370_ram/u-boot.asc 33987 36727 2740 targets/lantiq/xrx200/u-boot-p2812hnufx_ram/u-boot.asc 8779 11519 2740 targets/lantiq/xrx200/u-boot-vgv7510kw22_brn/u-boot.bin 23156 24412 1256 targets/lantiq/xrx200/u-boot-vgv7510kw22_nor/u-boot.bin 26752 28008 1256 targets/lantiq/xrx200/u-boot-vgv7510kw22_ram/u-boot.asc 29242 32119 2877 targets/lantiq/xrx200/u-boot-vgv7519_brn/u-boot.bin 23812 25084 1272 targets/lantiq/xrx200/u-boot-vgv7519_nor/u-boot.bin 27388 28660 1272 targets/lantiq/xrx200/u-boot-vgv7519_ram/u-boot.asc 30201 33078 2877 targets/lantiq/xway/u-boot-acmp252_nor/u-boot.bin 55036 56340 1304 targets/lantiq/xway/u-boot-acmp252_ram/u-boot.asc 15729 18606 2877 targets/lantiq/xway/u-boot-arv4519pw_brn/u-boot.bin 52372 53676 1304 targets/lantiq/xway/u-boot-arv4519pw_nor/u-boot.bin 55028 56332 1304 targets/lantiq/xway/u-boot-arv4519pw_ram/u-boot.asc 15729 18606 2877 targets/lantiq/xway/u-boot-arv7506pw11_brn/u-boot.bin 56084 57388 1304 targets/lantiq/xway/u-boot-arv7506pw11_nor/u-boot.bin 59052 60340 1288 targets/lantiq/xway/u-boot-arv7506pw11_ram/u-boot.asc 24634 27648 3014 targets/lantiq/xway/u-boot-arv7510pw22_brn/u-boot.bin 52700 54004 1304 targets/lantiq/xway/u-boot-arv7510pw22_nor/u-boot.bin 55372 56660 1288 targets/lantiq/xway/u-boot-arv7510pw22_ram/u-boot.asc 16414 19428 3014 targets/lantiq/xway/u-boot-arv7510pw_brn/u-boot.bin 51392 52680 1288 targets/lantiq/xway/u-boot-arv7510pw_nor/u-boot.bin 54064 55368 1304 targets/lantiq/xway/u-boot-arv7510pw_ram/u-boot.asc 13674 16551 2877 targets/lantiq/xway/u-boot-arv7518pw_brn/u-boot.bin 52372 53676 1304 targets/lantiq/xway/u-boot-arv7518pw_nor/u-boot.bin 55028 56332 1304 targets/lantiq/xway/u-boot-arv7518pw_ram/u-boot.asc 15729 18606 2877 targets/lantiq/xway/u-boot-arv752dpw22_brn/u-boot.bin 52388 53692 1304 targets/lantiq/xway/u-boot-arv752dpw22_nor/u-boot.bin 55028 56332 1304 targets/lantiq/xway/u-boot-arv752dpw22_ram/u-boot.asc 15729 18606 2877 targets/lantiq/xway/u-boot-arv752dpw_brn/u-boot.bin 56132 57436 1304 targets/lantiq/xway/u-boot-arv752dpw_nor/u-boot.bin 58788 60092 1304 targets/lantiq/xway/u-boot-arv752dpw_ram/u-boot.asc 23812 26689 2877 targets/lantiq/xway/u-boot-arv8539pw22_brn/u-boot.bin 52388 53692 1304 targets/lantiq/xway/u-boot-arv8539pw22_nor/u-boot.bin 55028 56332 1304 targets/lantiq/xway/u-boot-arv8539pw22_ram/u-boot.asc 15729 18606 2877 targets/lantiq/xway/u-boot-easy50712_nor/u-boot.bin 54380 55668 1288 targets/lantiq/xway/u-boot-easy50712_ram/u-boot.asc 25630 28507 2877 targets/lantiq/xway/u-boot-gigasx76x_nor/u-boot.bin 55036 56324 1288 targets/lantiq/xway/u-boot-gigasx76x_ram/u-boot.asc 15729 18606 2877

No 64k size boundaries will be crossed by this patch.

openwrt-bot commented 7 years ago

hailfinger:

Patch for enabling TFTP PUT