[OpenWrt-Devel] [RFC][PATCH] ath79-tiny: enable 4k sectors
Stijn Segers
foss at volatilesystems.org
Tue Nov 26 15:22:05 EST 2019
Op dinsdag 26 november 2019 om 16:44 schreef Adrian Schmutzler
<mail at adrianschmutzler.de>:
> Hi,
>
>> -----Original Message-----
>> From: openwrt-devel
>> [mailto:openwrt-devel-bounces at lists.openwrt.org] On
>> Behalf Of Paul Fertser
>> Sent: Dienstag, 26. November 2019 14:01
>> To: openwrt-devel at lists.openwrt.org
>> Cc: Paul Fertser <fercerpav at gmail.com>
>> Subject: [OpenWrt-Devel] [RFC][PATCH] ath79-tiny: enable 4k sectors
>>
>> This enables using 4kiB sectors as erase blocks for 4MiB NOR flash
>> ICs
>> that support it.
>>
>> Writeable jffs2 overlay used to store settings requires a partition
>> with
>> at least 5 erase blocks, so using small sectors is essential for
>> devices
>> with 4MiB flash.
>>
>> Sysupgrading a device running firmware without this feature will
>> likely
>> not allow to preserve configs automatically but since ath79 is
>> considered to be in a "technology preview" state it shouldn't be a
>> problem.
>
> Because of this reason, we should ask ourselves whether we want to
> backport this to 19.07, so all (non-RC) released ath79-tiny images
> have 4k sectors, while we still can.
> Otherwise, with 20.xx having different sectors than 19.xx, users will
> be more confused than with us now changing behavior during rc-period.
As a non-voting small time contributor I'd say: yes to pushing it to
19.07 now. People are already being encouraged not to keep settings
migrating from pre-19.07 ar71xx to 19.07 ath79, so two birds with one
stone.
Cheers
Stijn
>
> Best
>
> Adrian
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list