On 12-09-16 06:10, Yousong Zhou wrote:
> On 12 September 2016 at 00:12, Stijn Tintel <st...@linux-ipv6.be> wrote:
>> Signed-off-by: Stijn Tintel <st...@linux-ipv6.be>
>> ---
>>  package/boot/uboot-envtools/files/ar71xx           |   1 +
>>  target/linux/ar71xx/base-files/etc/board.d/01_leds |   5 +
>>  .../linux/ar71xx/base-files/etc/board.d/02_network |   5 +
>>  .../etc/hotplug.d/firmware/11-ath10k-caldata       |   4 +
>>  .../base-files/etc/uci-defaults/09_fix-checksum    |   9 +
>>  target/linux/ar71xx/base-files/lib/ar71xx.sh       |   3 +
>>  .../ar71xx/base-files/lib/upgrade/platform.sh      |  13 ++
>>  target/linux/ar71xx/config-4.4                     |   1 +
>>  .../ar71xx/files/arch/mips/ath79/Kconfig.openwrt   |   9 +
>>  target/linux/ar71xx/files/arch/mips/ath79/Makefile |   1 +
>>  .../files/arch/mips/ath79/mach-dap-2695-a1.c       | 191 
>> +++++++++++++++++++++
>>  .../linux/ar71xx/files/arch/mips/ath79/machtypes.h |   1 +
>>  target/linux/ar71xx/image/generic.mk               |  38 ++++
>>  13 files changed, 281 insertions(+)
>>  create mode 100644 
>> target/linux/ar71xx/files/arch/mips/ath79/mach-dap-2695-a1.c
> We have just got rid of the 09_fix-seama-header by excluding jffs2
> marker from the calculation of checksum.  The result image flashes
> just fine because it looks like the device will flash the whole
> uploaded file instead of just the size in the image header.  If that
> is also the case with fixwrgg then we can save a few flash block
> erases.
This works fine for sysupgrade images, and when flashing via the
bootloader. Unfortunately such image doesn't flash via the web interface
of the stock firmware.

Stijn

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to