aboutsummaryrefslogtreecommitdiffstats
path: root/tools/elftosb
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2019-11-07 13:24:40 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-10 13:44:51 +0100
commit377e8942b247c8b3cc9d6dcf273ed86bc3d2c95a (patch)
tree5a9236a9b7f4998bcc79c9c52f572370a9f5c440 /tools/elftosb
parent8057b621d46fd5bd3c455c2687aaab869d998186 (diff)
downloadupstream-377e8942b247c8b3cc9d6dcf273ed86bc3d2c95a.tar.gz
upstream-377e8942b247c8b3cc9d6dcf273ed86bc3d2c95a.tar.bz2
upstream-377e8942b247c8b3cc9d6dcf273ed86bc3d2c95a.zip
ipq40xx: add cpximg to flash Compex WPJ428 via bootloader
Generate a cpximg that is compatible with the cpximg loader in Compex' u-boot. The cpximg loader can be started either by holding the reset button during power up or by entering the u-boot prompt and entering 'cpximg'. Once it's running, a TFTP-server under 192.168.1.1 will accept an image appropriate for the board revision that is etched on the board (e.g. 6A04). The image can be pushed using tftp: tftp -v -m binary 192.168.1.1 -c put openwrt-ipq40xx-generic-compex_wpj428-squashfs-cpximg-6a04.bin cpximg files can also be used with the sysupgrade utility in stock images. (add SSH key in luci for root access) In mkmylofw_32m, the calculation of the "partition size" has been preferred to just padding the partition as this will result in less block transfers during flashing (while the additional complexity is bearable). Signed-off-by: Leon M. George <leon@georgemail.eu> Co-developed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'tools/elftosb')
0 files changed, 0 insertions, 0 deletions