View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002281 | UBoot | NAND-FMD | public | 2014-07-03 16:42 | 2016-11-24 15:28 |
Reporter | Keller | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | fsvybrid-V1.2 | ||||
Target Version | fsvybrid-next | ||||
Summary | 0002281: ubi part does not work if the current UBI partition is erased with nand erase | ||||
Description | If the partition that is currently used with ubi part is erased with nand erase, a following ubi part command for this partition will not work. | ||||
Steps To Reproduce | ubi part TargetFS ubi erase.part TargetFS ubi part TargetFS The partition will not be initialized as UBI again in the last command, the command has no effect. | ||||
Additional Information | We have introduced an optimization that ubi part will only do something if the partition name is different to the previous ubi part command. As a consequence, ubi part will not have any effect in the above scenario because the partition name does not change. So we have to clear the current partition name in the UBI environment when we erase a partition. However this is not as easy as it seems because we have no access to this name from outside of the UBI files. So this change requires some restructuring of the code. As a workaround, you can restart the board after the nand erase command. Then ubi part will work again. | ||||
Forum Link | |||||