Question about ubimkvol vs. mkfs.ubifs

Artem Bityutskiy dedekind at infradead.org
Tue Apr 8 01:43:06 EDT 2008


On Mon, 2008-04-07 at 13:07 -0700, Bruce_Leonard at selinc.com wrote:
> > 
> > Is it a secret what is your flash and what is its size? If it is NAND
> > I'd recommend you to test it with Adrian's NAND tests:
> > git://infradead.org/~ahunter/nand-tests.git
> > 
> Nope, no secret.  We're using Samsung K9WAG08U1A NAND parts in 2GiB, 4GiB, 
> and 8GiB configurations.  At least we're hoping to get the 4 and 8GiB 
> configurations working.
If you are thinking about using UBI, it might be not fast enough if you
have slow I/O which is usually the case if there is not NAND controller.
But anyway, I would be very interested to know UBI attach time for your
flash.

>   I've run into a problem in the MTD layer with the 
> size field.  It's a 32-bit field which isn't big enough to store 
> 0x100000000 or 0x200000000 which we need for the two larger 
> configurations.  Just changing it to a 64-bit field introduces problems 
> with other code, so we're looking at using more than one NAND controller 
> in our FPGA and concatenating the NAND chips at the MTD level.

Well, I guess it should not be too difficult to fix these 64 bit issues.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list