Skip to contentSkip to conversation

UBI on dual NAND chips

DISCUSSION Nathan Williams 2 participants 3 messages Sep 24, 2015 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

We are planning to use two 32GiB MLC NAND flash chips in a product using a SoC FPGA with two NAND interfaces. The motivation for wanting to use multiple NAND chips is to improve reliability, not capacity.

Quoted 1 line

From what I've read, it's possible to use UBI on a concatenated MTD.

If I have two identical chips, will these be concatenated automatically?

Is creating a single UBI volume over the two NAND chips (and using UBIFS on it) the best way to make use of a redundant NAND chip? Would mirroring data on a second UBI volume offer additional improvements to data reliability?

Also, what's the current status of the "unstable bits issue"?

Thanks,
Nathan

#1 lore raw

Nathan,

Quoted 3 lines · Nathan Williams

We are planning to use two 32GiB MLC NAND flash chips in a product using a SoC FPGA with two NAND interfaces. The motivation for wanting to use multiple NAND chips is to improve reliability, not capacity.

Using UBI on MLC is not supported yet.
IOW, you have been warned. ;-)

Quoted 2 lines

From what I've read, it's possible to use UBI on a concatenated MTD. If I have two identical chips, will these be concatenated automatically?

You mean using the mtd_concat driver?

Quoted 4 lines

Is creating a single UBI volume over the two NAND chips (and using UBIFS on it) the best way to make use of a redundant NAND chip? Would mirroring data on a second UBI volume offer additional improvements to data reliability?

Depends on how you define "data reliability".
You're looking for something like an MTD RAID1 to deal with a dead chip?

Quoted 1 line

Also, what's the current status of the "unstable bits issue"?

It is a known issue but nobody cared hard enough so far. Mostly due to the fact that nobody actually can trigger it.

Can you trigger it? If so, I'd like to get access to that hardware and have a look.

Signature · 2 lines
Thanks,
//richard
#2 lore raw
Quoted 2 lines · Richard Weinberger

Using UBI on MLC is not supported yet.
IOW, you have been warned. ;-)

Thanks. I wasn't sure, despite my background reading.

Quoted 4 lines
Quoted 2 lines

From what I've read, it's possible to use UBI on a concatenated MTD. If I have two identical chips, will these be concatenated automatically?

You mean using the mtd_concat driver?

Yes.

Quoted 7 lines
Quoted 4 lines

Is creating a single UBI volume over the two NAND chips (and using UBIFS on it) the best way to make use of a redundant NAND chip? Would mirroring data on a second UBI volume offer additional improvements to data reliability?

Depends on how you define "data reliability".
You're looking for something like an MTD RAID1 to deal with a dead chip?

Yes that would be ideal. The NAND flash will be used for data logging. We'd like to use multiple chips to improve our chances of recovering recorded data in the event that either a chip dies or there are too many errors.

Quoted 7 lines
Quoted 1 line

Also, what's the current status of the "unstable bits issue"?

It is a known issue but nobody cared hard enough so far. Mostly due to the fact that nobody actually can trigger it.

Can you trigger it? If so, I'd like to get access to that hardware and have a look.

No I haven't seen it. Our hardware is still in the planning phase.