RE: UBIFS LEB properties tree with odd addresses
From: Naga Sureshkumar Relli
Date: Thu Nov 03 2016 - 01:43:14 EST
>> Hmm, the calculations in lpt.c use basic properties of the MTD (number of blocks, etc...).
>> Can you please double check which property causes the failure and also verify whether the MTD driver provides correct properties. i.e. page sizes, block size, number of blocks, ...
> Hm, these values depend only on basic MTD prperties AFAICT.
> Mtd->numeraseregions = 0
> Nor->pagesize = 512
As per the above query only, I have given the below inputs.
>Maybe you miss some bit and set incorrect MTD properties.
I double checked the MTD properties (as mentioned above) which were causing the failure, but didn't find any clue.
All mtd properties looks good for dual parallel case(there is no odd value).
Is there any impact by putting below logic in do_calc_lpt_geom() ?
If(c->pnode_sz % 2)
c->pnode_sz += 1;
please suggest me to do any further debugging?
Naga Sureshkumar Relli
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.