Programming Nand Flash for Linux with UBI Filesystem
Posted: 23 May 2014 13:31
Sir,
We recently switched our linux embedded product from the JFFS2 to UBI filesystem. We now find that our method of duplicating our master NAND Flash device for production no longer works.
We used to be able to read in the complete working master flash and write it out to a new target flash using the basic skip-IB default settings. Now we find that the UBI filesystem fails to work, if there are any invalid blocks in the target flash device, and Linux crashes with a kernel panic.
The Flash chip is a Hynix 256MB (HY27UF082G2B-TPIB).
Any advice would be appreciated.
- David J Myers
We recently switched our linux embedded product from the JFFS2 to UBI filesystem. We now find that our method of duplicating our master NAND Flash device for production no longer works.
We used to be able to read in the complete working master flash and write it out to a new target flash using the basic skip-IB default settings. Now we find that the UBI filesystem fails to work, if there are any invalid blocks in the target flash device, and Linux crashes with a kernel panic.
The Flash chip is a Hynix 256MB (HY27UF082G2B-TPIB).
Any advice would be appreciated.
- David J Myers