diff for duplicates of <4E5366AF.7040108@freescale.com> diff --git a/a/1.txt b/N1/1.txt index 29c4cb3..4ba0c36 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,29 +1,40 @@ -于 2011年08月19日 00:25, Scott Wood 写道: +=E4=BA=8E 2011=E5=B9=B408=E6=9C=8819=E6=97=A5 00:25, Scott Wood =E5=86=99= +=E9=81=93: > On 08/17/2011 09:33 PM, b35362@freescale.com wrote: >> From: Liu Shuo<b35362@freescale.com> >> ->> Freescale FCM controller has a 2K size limitation of buffer RAM. In order ->> to support the Nand flash chip whose page size is larger than 2K bytes, ->> we divide a page into multi-2K pages for MTD layer driver. In that case, ->> we force to set the page size to 2K bytes. We convert the page address of ->> MTD layer driver to a real page address in flash chips and a column index ->> in fsl_elbc driver. We can issue any column address by UA instruction of +>> Freescale FCM controller has a 2K size limitation of buffer RAM. In or= +der +>> to support the Nand flash chip whose page size is larger than 2K bytes= +, +>> we divide a page into multi-2K pages for MTD layer driver. In that cas= +e, +>> we force to set the page size to 2K bytes. We convert the page address= + of +>> MTD layer driver to a real page address in flash chips and a column in= +dex +>> in fsl_elbc driver. We can issue any column address by UA instruction = +of >> elbc controller. >> ->> NOTE: Due to there is a limitation of 'Number of Partial Program Cycles in ->> the Same Page (NOP)', the flash chip which is supported by this workaround +>> NOTE: Due to there is a limitation of 'Number of Partial Program Cycle= +s in +>> the Same Page (NOP)', the flash chip which is supported by this workar= +ound >> have to meet below conditions. >> 1. page size is not greater than 4KB >> 2. 1) if main area and spare area have independent NOPs: ->> main area NOP :>=3 ->> spare area NOP :>=2? +>> main area NOP :>=3D3 +>> spare area NOP :>=3D2? > How often are the NOPs split like this? > >> 2) if main area and spare area have a common NOP: ->> NOP :>=4 +>> NOP :>=3D4 > This depends on how the flash is used. If you treat it as a NOP1 flash -> (e.g. run ubifs rather than jffs2), then you need NOP2 for a 4K chip and -> NOP4 for an 8K chip. OTOH, if you would be making full use of NOP4 on a +> (e.g. run ubifs rather than jffs2), then you need NOP2 for a 4K chip an= +d +> NOP4 for an 8K chip. OTOH, if you would be making full use of NOP4 on = +a > real 2K chip, you'll need NOP8 for a 4K chip. > > The NOP restrictions should be documented in the code itself, not just @@ -40,7 +51,8 @@ let the customers select how to use the flash on their board. -LiuShuo > If it's less than 4 > for 4K or 8 for 8K, also print a message saying not to use jffs2 (does -> yaffs2 do similar things?). If it's less than 2 for 4K or 4 for 8K, the +> yaffs2 do similar things?). If it's less than 2 for 4K or 4 for 8K, th= +e > probe should fail. > > -Scott diff --git a/a/content_digest b/N1/content_digest index 2f198b4..78c1d7f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,32 +10,43 @@ " linux-mtd@lists.infradead.org\0" "\00:1\0" "b\0" - "\344\272\216 2011\345\271\26408\346\234\21019\346\227\245 00:25, Scott Wood \345\206\231\351\201\223:\n" + "=E4=BA=8E 2011=E5=B9=B408=E6=9C=8819=E6=97=A5 00:25, Scott Wood =E5=86=99=\n" + "=E9=81=93:\n" "> On 08/17/2011 09:33 PM, b35362@freescale.com wrote:\n" ">> From: Liu Shuo<b35362@freescale.com>\n" ">>\n" - ">> Freescale FCM controller has a 2K size limitation of buffer RAM. In order\n" - ">> to support the Nand flash chip whose page size is larger than 2K bytes,\n" - ">> we divide a page into multi-2K pages for MTD layer driver. In that case,\n" - ">> we force to set the page size to 2K bytes. We convert the page address of\n" - ">> MTD layer driver to a real page address in flash chips and a column index\n" - ">> in fsl_elbc driver. We can issue any column address by UA instruction of\n" + ">> Freescale FCM controller has a 2K size limitation of buffer RAM. In or=\n" + "der\n" + ">> to support the Nand flash chip whose page size is larger than 2K bytes=\n" + ",\n" + ">> we divide a page into multi-2K pages for MTD layer driver. In that cas=\n" + "e,\n" + ">> we force to set the page size to 2K bytes. We convert the page address=\n" + " of\n" + ">> MTD layer driver to a real page address in flash chips and a column in=\n" + "dex\n" + ">> in fsl_elbc driver. We can issue any column address by UA instruction =\n" + "of\n" ">> elbc controller.\n" ">>\n" - ">> NOTE: Due to there is a limitation of 'Number of Partial Program Cycles in\n" - ">> the Same Page (NOP)', the flash chip which is supported by this workaround\n" + ">> NOTE: Due to there is a limitation of 'Number of Partial Program Cycle=\n" + "s in\n" + ">> the Same Page (NOP)', the flash chip which is supported by this workar=\n" + "ound\n" ">> have to meet below conditions.\n" ">> \t1. page size is not greater than 4KB\n" ">> \t2.\t1) if main area and spare area have independent NOPs:\n" - ">> \t\t\t main area NOP :>=3\n" - ">> \t\t\t spare area NOP :>=2?\n" + ">> \t\t\t main area NOP :>=3D3\n" + ">> \t\t\t spare area NOP :>=3D2?\n" "> How often are the NOPs split like this?\n" ">\n" ">> \t\t2) if main area and spare area have a common NOP:\n" - ">> \t\t\t NOP :>=4\n" + ">> \t\t\t NOP :>=3D4\n" "> This depends on how the flash is used. If you treat it as a NOP1 flash\n" - "> (e.g. run ubifs rather than jffs2), then you need NOP2 for a 4K chip and\n" - "> NOP4 for an 8K chip. OTOH, if you would be making full use of NOP4 on a\n" + "> (e.g. run ubifs rather than jffs2), then you need NOP2 for a 4K chip an=\n" + "d\n" + "> NOP4 for an 8K chip. OTOH, if you would be making full use of NOP4 on =\n" + "a\n" "> real 2K chip, you'll need NOP8 for a 4K chip.\n" ">\n" "> The NOP restrictions should be documented in the code itself, not just\n" @@ -52,9 +63,10 @@ "-LiuShuo\n" "> If it's less than 4\n" "> for 4K or 8 for 8K, also print a message saying not to use jffs2 (does\n" - "> yaffs2 do similar things?). If it's less than 2 for 4K or 4 for 8K, the\n" + "> yaffs2 do similar things?). If it's less than 2 for 4K or 4 for 8K, th=\n" + "e\n" "> probe should fail.\n" ">\n" > -Scott -2758468ac4a7a9780f15b89f3a8d24b68dc4fdda93ec7cac23f0292a667ff3a9 +1c1d8ed348643ef073db6ffe5063748d45fbc66e94ffc9eddbb1ce0056803c1c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.