Programming Nand Flash for Linux with UBI Filesystem

Topics related to the Dataman 48Pro2C
davejm
Posts: 1
Joined: 23 May 2014 13:18

Programming Nand Flash for Linux with UBI Filesystem

Postby davejm » 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

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Programming Nand Flash for Linux with UBI Filesystem

Postby Dataman (Neil Parker) » 27 May 2014 11:17

Dear David,

Reading a master NAND based device and copying the data to another NAND Flash device without the proper setting of all parameters will not work. You have to know the proper settings, of which there are several... .

In general, please see:

a) "Device info" section in the control software for the programmed chip.

b) application note: NAND Flash Memories and Programming NAND Flash Memories using Dataman Device Programmers.
http://www.dataman.com/downloads/dl/fil ... mories.pdf

c) application note: Programming NAND Flash Memories using Dataman Device Programmers (new version, draft).
Please email [email protected] and I will reply with the draft copy of this document.

Best regards

Neil Parker
Dataman Programmers


Return to “Dataman 48Pro2C”

Who is online

Users browsing this forum: No registered users and 5 guests