how to create one ubifs image support both for different page size and sector size?

Zhou, John (Nokia - CN/Hangzhou) john.zhou at nokia.com
Mon Aug 1 23:35:28 PDT 2016


Thanks Richard!

How other users to solve such problem? When we need support for two different flash?
Two images is the only path?

Brs
John

-----Original Message-----
From: Richard Weinberger [mailto:richard.weinberger at gmail.com] 
Sent: Thursday, July 28, 2016 3:32 PM
To: Zhou, John (Nokia - CN/Hangzhou) <john.zhou at nokia.com>
Cc: linux-mtd at lists.infradead.org
Subject: Re: how to create one ubifs image support both for different page size and sector size?

John,

On Thu, Jul 28, 2016 at 8:37 AM, Zhou, John (Nokia - CN/Hangzhou) <john.zhou at nokia.com> wrote:
> Dear Experts
>
> I am facing a problem about one flash image support for both spansion and micron flash chip which has different page/sector size.
>
> What means if I create the flash image from spansion chip , it can't be used on micron chip, vice versa.
>
> Do you know how to solve this problem?

You need to have two images. When min IO and LEB size don't match you can't re-use the image.

--
Thanks,
//richard


More information about the linux-mtd mailing list