* how to create one ubifs image support both for different page size and sector size?
@ 2016-07-28 6:37 Zhou, John (Nokia - CN/Hangzhou)
2016-07-28 7:32 ` Richard Weinberger
0 siblings, 1 reply; 5+ messages in thread
From: Zhou, John (Nokia - CN/Hangzhou) @ 2016-07-28 6:37 UTC (permalink / raw)
To: linux-mtd@lists.infradead.org
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?
Many thanks for your help!
Brs
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create one ubifs image support both for different page size and sector size?
2016-07-28 6:37 how to create one ubifs image support both for different page size and sector size? Zhou, John (Nokia - CN/Hangzhou)
@ 2016-07-28 7:32 ` Richard Weinberger
2016-08-02 6:35 ` Zhou, John (Nokia - CN/Hangzhou)
0 siblings, 1 reply; 5+ messages in thread
From: Richard Weinberger @ 2016-07-28 7:32 UTC (permalink / raw)
To: Zhou, John (Nokia - CN/Hangzhou); +Cc: linux-mtd@lists.infradead.org
John,
On Thu, Jul 28, 2016 at 8:37 AM, Zhou, John (Nokia - CN/Hangzhou)
<john.zhou@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: how to create one ubifs image support both for different page size and sector size?
2016-07-28 7:32 ` Richard Weinberger
@ 2016-08-02 6:35 ` Zhou, John (Nokia - CN/Hangzhou)
2016-08-02 7:03 ` Richard Weinberger
0 siblings, 1 reply; 5+ messages in thread
From: Zhou, John (Nokia - CN/Hangzhou) @ 2016-08-02 6:35 UTC (permalink / raw)
To: Richard Weinberger; +Cc: linux-mtd@lists.infradead.org
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@gmail.com]
Sent: Thursday, July 28, 2016 3:32 PM
To: Zhou, John (Nokia - CN/Hangzhou) <john.zhou@nokia.com>
Cc: linux-mtd@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@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create one ubifs image support both for different page size and sector size?
2016-08-02 6:35 ` Zhou, John (Nokia - CN/Hangzhou)
@ 2016-08-02 7:03 ` Richard Weinberger
2016-08-02 7:06 ` Zhou, John (Nokia - CN/Hangzhou)
0 siblings, 1 reply; 5+ messages in thread
From: Richard Weinberger @ 2016-08-02 7:03 UTC (permalink / raw)
To: Zhou, John (Nokia - CN/Hangzhou); +Cc: linux-mtd@lists.infradead.org
John,
Am 02.08.2016 um 08:35 schrieb Zhou, John (Nokia - CN/Hangzhou):
> How other users to solve such problem? When we need support for two different flash?
> Two images is the only path?
This is correct. Is this such a big problem?
Another approach is booting Linux and create UBI/FS on the fly...
Thanks,
//richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: how to create one ubifs image support both for different page size and sector size?
2016-08-02 7:03 ` Richard Weinberger
@ 2016-08-02 7:06 ` Zhou, John (Nokia - CN/Hangzhou)
0 siblings, 0 replies; 5+ messages in thread
From: Zhou, John (Nokia - CN/Hangzhou) @ 2016-08-02 7:06 UTC (permalink / raw)
To: Richard Weinberger; +Cc: linux-mtd@lists.infradead.org
Yes , this is a problem to factory guys for production.
When they have one flash in hand, they can't figure out which flash it is, it's all automatically.
So they don't know which image is suitable for specific flash.
Brs
John
-----Original Message-----
From: Richard Weinberger [mailto:richard@nod.at]
Sent: Tuesday, August 02, 2016 3:04 PM
To: Zhou, John (Nokia - CN/Hangzhou) <john.zhou@nokia.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: how to create one ubifs image support both for different page size and sector size?
John,
Am 02.08.2016 um 08:35 schrieb Zhou, John (Nokia - CN/Hangzhou):
> How other users to solve such problem? When we need support for two different flash?
> Two images is the only path?
This is correct. Is this such a big problem?
Another approach is booting Linux and create UBI/FS on the fly...
Thanks,
//richard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-08-02 7:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 6:37 how to create one ubifs image support both for different page size and sector size? Zhou, John (Nokia - CN/Hangzhou)
2016-07-28 7:32 ` Richard Weinberger
2016-08-02 6:35 ` Zhou, John (Nokia - CN/Hangzhou)
2016-08-02 7:03 ` Richard Weinberger
2016-08-02 7:06 ` Zhou, John (Nokia - CN/Hangzhou)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox