[OpenWrt-Devel] [PATCH 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions

Adrian Schmutzler mail at adrianschmutzler.de
Wed Aug 7 12:17:10 EDT 2019

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On Behalf Of Tom Psyborg
> Sent: Mittwoch, 7. August 2019 17:58
> To: Adrian Schmutzler <freifunk at adrianschmutzler.de>
> Cc: openwrt-devel at lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions
> Hi
> Looks like there were many doubts about image size over the years.
> One thing that should be considered is use of OEM firmware, either in
> case of just a single revert after OpenWrt flashing, or multiple
> reverts/switching between OEM/OpenWrt firmwares.
> Relevant in this case is config partition within OEM fw, and by
> specifying OpenWrt image size to occupy all available flash space
> between u-boot and art partitions destroys config contents which may
> turn up very impractical for those that do frequent switching between
> the two.
> Further, config partition size also varies from device to device, some
> have it 64KB others 128KB in size, at least what I observed with my
> devices.
> So, the correct image size for Archer C7 v1 turned out to be 0x7b0000

But wouldn't this call for introducing a config partition for the C7 v1?
I'm not sure how your analysis is affecting the IMAGE_SIZE discussion (unless you say TP-Link devices generally have this config partition with different sizes, and thus the whole concept of including IMAGE_SIZE in common definitions is "wrong")...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190807/c175061a/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list