Re: [PATCH v2] phram: Allow the user to set the erase page size.

2020-12-06 Thread Miquel Raynal
Hi Guohua, Guohua Zhong wrote on Mon, 7 Dec 2020 15:07:15 +0800: > On Mon, Dec 7, 2020 at 14:56 AM Guohua Zhong wrote: > > > >> Permit the user to specify the erase page size as a parameter. > >> This solves two problems: > > > >> - phram can access images made by mkfs.jffs2. mkfs.jffs2

Re: Re: [PATCH v2] phram: Allow the user to set the erase page size.

2020-12-06 Thread Guohua Zhong
On Mon, Dec 7, 2020 at 14:56 AM Guohua Zhong wrote: > >> Permit the user to specify the erase page size as a parameter. >> This solves two problems: > >> - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't >> create images with erase sizes less than 8KiB; many architectures >> define

Re: [PATCH v2] phram: Allow the user to set the erase page size.

2020-12-04 Thread Richard Weinberger
On Wed, Nov 25, 2020 at 8:14 AM Guohua Zhong wrote: > > Permit the user to specify the erase page size as a parameter. > This solves two problems: > > - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > create images with erase sizes less than 8KiB; many architectures > define

ping: [PATCH v2] phram: Allow the user to set the erase page size.

2020-12-04 Thread Guohua Zhong
ping On 11/25/20, Guohua Zhong wrote: > Permit the user to specify the erase page size as a parameter. > This solves two problems: > > - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > create images with erase sizes less than 8KiB; many architectures > define PAGE_SIZE as 4KiB. >

[PATCH v2] phram: Allow the user to set the erase page size.

2020-11-24 Thread Guohua Zhong
Permit the user to specify the erase page size as a parameter. This solves two problems: - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't create images with erase sizes less than 8KiB; many architectures define PAGE_SIZE as 4KiB. - Allows more effective use of small capacity