[OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?
valent.turkovic at gmail.com
valent.turkovic at gmail.com
Fri May 29 17:50:07 EDT 2015
Awesome news Sergey,
will this patch be applied to latest trunk anytime soon so that I can test it?
Can you just briefly explain how will it be possible to track erase
block count once this patch is applied?
Regards,
Valent.
On 20 May 2015 at 08:38, Sergey Zakharchenko <doublef.mobile at gmail.com> wrote:
> Hello Valent,
>
> 2015-05-19 15:52 GMT+03:00 you wrote:
>> Is there maybe something that I have missed or there is no tool for
>> reading IO usage of mtd partitions?
>
> Without kernel support for this, it's not possible. However, yo're
> (possibly) in luck, as we use the following patch in new DLI power
> controllers to do what you probably want to do:
>
> http://sources.digital-loggers.com/patches/openwrt-aa-r42647/mtd_erasecount.patch
>
> It's supposed to work with OpenWrt AA (kernel 3.3). It's distributed
> together with the firmware sources, so consider it's under GPL.
>
> Keep in mind that few care about the write count, it's usually the
> erase count that matters.
>
> Best regards,
>
> --
> DoubleF
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list