[LEDE-DEV] Bump tools/mtd-utils

Hauke Mehrtens hauke at hauke-m.de
Fri Apr 6 15:46:15 PDT 2018


On 04/05/2018 11:58 AM, Syrone Wong wrote:
> Hi,
> 
> I closed my PR due to
> https://github.com/openwrt/openwrt/commit/56d0dd56e9c6efa79d03b6417dc0ae5449343001.
> I tried to understand patches in tools/mtd-utils but failed. I
> appreciate if anyone keeps going.
> 
> 
> Best Regards,
> Syrone Wong
> 
> 
> On Thu, Apr 5, 2018 at 4:59 PM, Koen Vandeputte
> <koen.vandeputte at ncentric.com> wrote:
>> Hi Syrone,
>>
>> Following your patch to update mtd-utils in packages, currently staged in
>> Hauke's tree:
>> Are you also planning to upgrade mtd-utils within tools/ too?
>>
>> I'm asking to avoid double effort on this.
>>
>>
>> Some background info:
>>
>> Reason for me to update this is trying to fix a ubi issue in imx6:
>>
>> - Build OpenWrt master
>> - Use Imagebuilder to add/alter some files (ex: some files in /etc/config)
>> - Flash this image
>>
>> --> When the board boots for the first time, all is ok and UBI initializes
>> properly.
>> --> On the 2nd boot, nearly all files that got added/altered during the
>> imagebuild phase are now corrupted.
>>
>> Repro rate: 100%
>>
>> Looking at the mtd-utils log, a lot got changed regarding ubi since 1.5.2 ..
>>
>>
>>
>> Thanks,
>>
>> Koen
Hi,

I had a closer look at the jffs2 changes and I think they are only used
by the mtd-utils in tools/ and we only added the to packages to keep
them in sync. The jffs2 tools are not packaged into the package.
I did this change becasue I saw some compile warnings when looking at
the patches which bring it to version 2.0.1.

My patch to 130-lzma_jffs2.patch is more or less unrelated to the to the
bump to the version 2.0.1, I would support if also the version in tools
gets to this new version.

Probably the patches should be synced between the two mtd-utils versions.

Hauke



More information about the Lede-dev mailing list