[FS#956] lantiq: Add TFTP PUT support to U-Boot
LEDE Bugs
lede-bugs at lists.infradead.org
Fri Aug 11 15:26:02 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - Carl-Daniel Hailfinger (hailfinger)
Attached to Project - LEDE Project
Summary - lantiq: Add TFTP PUT support to U-Boot
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Backing up the old factory firmware in Lantiq-based routers can be done in three ways:
- Hexdump via U-Boot serial console (works, but can take up to a day)
- Booting Linux and backing things up
- TFTP PUT in U-Boot of the old image to a TFTP server (currently unsupported, pretty fast)
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.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=956
More information about the lede-bugs
mailing list