Artem Bityutskiy | 1 Jul 05:44 2010
Picon

Re: [PATCH] mtd: Added an ioctl to query the lock status of a flash sector.

On Mon, 2010-06-14 at 18:10 +0200, Richard Cochran wrote:
> On Sun, Jun 13, 2010 at 12:05:03PM +0300, Artem Bityutskiy wrote:
> > I think it is tiny bit nicer to name 'is_locked', which is a bit more
> > consistent with the already existing 'block_isbad'?
> 
> Okay, here it is again.
> 
> Thanks,
> Richard
> 
> 
> This patchs adds a way for user space programs to find out whether a
> flash sector is locked. An optional driver method in the mtd_info struct
> provides the information.
> 
> Signed-off-by: Richard Cochran <richard.cochran <at> omicron.at>

Pushed to l2-mtd-2.6.git / master.

--

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Artem Bityutskiy | 1 Jul 05:47 2010
Picon

Re: [PATCH] mtd/mxc_nand: remove unused variable

On Mon, 2010-06-14 at 09:01 +0200, Uwe Kleine-König wrote:
> This fixes:
> 
> 	drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume':
> 	drivers/mtd/nand/mxc_nand.c:901: warning: unused variable 'host'
> 
> Removing this variable was missed in 9c14b153e6af.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig <at> pengutronix.de>

Pushed to l2-mtd-2.6.git / master

--

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

Artem Bityutskiy | 1 Jul 05:47 2010
Picon

Re: [PATCH] mxc_nand: fix PM

On Mon, 2010-06-14 at 09:07 +0200, Eric Bénard wrote:
> Hi Sascha,
> 
> Le 27/05/2010 19:55, Eric Bénard a écrit :
> > * when resuming, we get the following log :
> > nand_resume called for a chip which is not in suspended state
> > * this happens because mtd->suspend and mtd->resume are already
> > called from the mtd layer, thus they were called a second time
> > in mxc_nand so mtd complains when trying to resume for the
> > second time
> > * the fix is to remove these call and thus remove the supend and
> > resume functions of mxc_nand
> >
> any news concerning this patch ?

Pushed to l2-mtd-2.6.git / dunno

--

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel <at> lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
oleg ershov | 1 Jul 07:01 2010
Picon

help me


My board is CM-F82 CompuLab.I am using LynxOS-178 2.1.0.
>I use U-boot 1.1.3 as my bootloader.
>I have target platform - PowerPC; Board: CM-F82 CompuLab, busfreq 
>100 MHz; processor MPC8272 Freescale.
>
>I need driver File System for LynxOS for CF of size >= 1Gb.
>
>Any ideas?
>Best regards,
>Oleg Ershov

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Mike Frysinger | 1 Jul 07:36 2010
Picon

Re: help me

On Thu, Jul 1, 2010 at 01:01, oleg ershov wrote:
> My board is CM-F82 CompuLab.I am using LynxOS-178 2.1.0.
>>I use U-boot 1.1.3 as my bootloader.
>>I have target platform - PowerPC; Board: CM-F82 CompuLab, busfreq
>>100 MHz; processor MPC8272 Freescale.
>>
>>I need driver File System for LynxOS for CF of size >= 1Gb.

why are you asking on a Linux list for LynxOS support ?  Linux !=
Lynx.  try a more appropriate list.
-mike

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Matthieu CASTET | 1 Jul 10:29 2010

[UBIFS] 2.6.27-backport bug

Hi,

I know 2.6.27-backport is not supported anymore, but I found a bug, and 
I post it for the record.

The bug happen with a kernel oops [1].

After investigation it happens because of programming a timer that is 
already programmed (we don't check wbuf->no_timer in new_wbuf_timer_nolock)

Matthieu

[1]
Unable to handle kernel NULL pointer dereference at virtual address 
00000008
pgd = c71b0000 

[00000008] *pgd=47853031, *pte=00000000, *ppte=00000000 

Internal error: Oops: 17 [#1] 

CPU: 0    Not tainted  (2.6.27.44-parrot-01137-gbf2d001-dirty #13) 

PC is at rb_insert_color+0x34/0x148 

LR is at enqueue_hrtimer+0x80/0xa8 

pc : [<c00faa54>]    lr : [<c0049ab8>]    psr: 60000093 

sp : c7073c80  ip : c7073ca0  fp : c7073c9c 
(Continue reading)

Sukumar Ghorai | 1 Jul 12:42 2010
Picon

[PATCH v2 0/4] nand prefetch-irq support and ecc layout chanage

   The following set of patches applies on top of for-next branch. And
   is dependent on the following patches not yet applied onto this branch.
	1. http://www.mail-archive.com/linux-omap <at> vger.kernel.org/msg30305.html
	2. http://www.mail-archive.com/linux-omap <at> vger.kernel.org/msg30735.html

   v2: Rebase on latest codebase and previous patch(posted).	
   v1: http://www.mail-archive.com/linux-omap <at> vger.kernel.org/msg26666.html

Sukumar Ghorai (4):
	omap3: nand: prefetch in irq mode support
	omap: nand: configurable fifo threshold to gain the throughput
	omap: nand: ecc layout select from board file
	omap: nand: making ecc layout as compatible with romcode ecc

 arch/arm/mach-omap2/board-flash.c              |    4 +-
 arch/arm/mach-omap2/gpmc.c                     |   18 ++-
 arch/arm/mach-omap2/include/mach/board-flash.h |    3 +
 arch/arm/plat-omap/include/plat/gpmc.h         |    8 +-
 arch/arm/plat-omap/include/plat/nand.h         |    7 +
 drivers/mtd/nand/Kconfig                       |   14 +-
 drivers/mtd/nand/omap2.c                       |  280 +++++++++++++++++++++---
 7 files changed, 300 insertions(+), 34 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Sukumar Ghorai | 1 Jul 12:42 2010
Picon

[PATCH v2 3/4] omap: nand: ecc layout select from board file

    This patch makes it possible to select sw or hw (different layout options)
    ecc scheme supported by omap nand driver.  And hw ecc layout selected for
    sdp and zoom boards, by default.

Signed-off-by: Sukumar Ghorai <s-ghorai <at> ti.com>
Signed-off-by: Vimal Singh <vimalsingh <at> ti.com>
---
 arch/arm/mach-omap2/board-flash.c      |    3 ++-
 arch/arm/plat-omap/include/plat/nand.h |    6 ++++++
 drivers/mtd/nand/omap2.c               |   29 +++++++++++++----------------
 3 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-omap2/board-flash.c
index c6a07dd..ab31e7f 100755
--- a/arch/arm/mach-omap2/board-flash.c
+++ b/arch/arm/mach-omap2/board-flash.c
 <at>  <at>  -143,7 +143,8  <at>  <at>  __init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs)
 {
 	board_nand_data.cs		= cs;
 	board_nand_data.parts		= nand_parts;
-	board_nand_data.nr_parts		= nr_parts;
+	board_nand_data.nr_parts	= nr_parts;
+	board_nand_data.ecc_opt		= OMAP_ECC_HAMMING_CODE_DIFF_LAYOUT;

 	gpmc_nand_init(&board_nand_data);
 }
diff --git a/arch/arm/plat-omap/include/plat/nand.h b/arch/arm/plat-omap/include/plat/nand.h
index 5e69463..2e026e4 100644
--- a/arch/arm/plat-omap/include/plat/nand.h
+++ b/arch/arm/plat-omap/include/plat/nand.h
(Continue reading)

Sukumar Ghorai | 1 Jul 12:42 2010
Picon

[PATCH v2 2/4] omap3: nand: configurable fifo threshold to gain the throughput

  Configure the FIFO THREASHOLD value different for read and write to keep busy both
  filling and to drain out of FIFO at reading and writing.

Signed-off-by: Sukumar Ghorai <s-ghorai <at> ti.com>
Signed-off-by: Vimal Singh <vimalsingh <at> ti.com>
---
 arch/arm/mach-omap2/gpmc.c             |   11 +++++++----
 arch/arm/plat-omap/include/plat/gpmc.h |    5 ++++-
 drivers/mtd/nand/omap2.c               |   24 +++++++++++++++---------
 3 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 4e12a9f..cb38cff
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
 <at>  <at>  -58,7 +58,6  <at>  <at> 
 #define GPMC_CHUNK_SHIFT	24		/* 16 MB */
 #define GPMC_SECTION_SHIFT	28		/* 128 MB */

-#define PREFETCH_FIFOTHRESHOLD	(0x40 << 8)
 #define CS_NUM_SHIFT		24
 #define ENABLE_PREFETCH		(0x1 << 7)
 #define DMA_MPU_MODE		2
 <at>  <at>  -538,15 +537,19  <at>  <at>  EXPORT_SYMBOL(gpmc_hwcontrol);
 /**
  * gpmc_prefetch_enable - configures and starts prefetch transfer
  *  <at> cs: cs (chip select) number
+ *  <at> fifo_th: fifo threshold to be used for read/ write
  *  <at> dma_mode: dma mode enable (1) or disable (0)
  *  <at> u32_count: number of bytes to be transferred
(Continue reading)

Sukumar Ghorai | 1 Jul 12:42 2010
Picon

[PATCH v2 4/4] omap: nand: making ecc layout as compatible with romcode ecc

    This patch overrides nand ecc layout and bad block descriptor (for 8-bit
    device) to support hw ecc in romcode layout. So as to have in sync with ecc
    layout throughout; i.e. x-laod, u-boot and kernel.

    This patch also enables to use romcode ecc for spd and zoom, by default.

    This enables to flash x-load, u-boot, kernel, FS images from kernel itself
    and compatiable with other tools.

Signed-off-by: Sukumar Ghorai <s-ghorai <at> ti.com>
Signed-off-by: Vimal Singh <vimalsingh <at> ti.com>
---
 arch/arm/mach-omap2/board-flash.c |    2 +-
 drivers/mtd/nand/omap2.c          |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-omap2/board-flash.c
index ab31e7f..a15aab6
--- a/arch/arm/mach-omap2/board-flash.c
+++ b/arch/arm/mach-omap2/board-flash.c
 <at>  <at>  -144,7 +144,7  <at>  <at>  __init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs)
 	board_nand_data.cs		= cs;
 	board_nand_data.parts		= nand_parts;
 	board_nand_data.nr_parts	= nr_parts;
-	board_nand_data.ecc_opt		= OMAP_ECC_HAMMING_CODE_DIFF_LAYOUT;
+	board_nand_data.ecc_opt		= OMAP_ECC_HAMMING_CODE_HW;

 	gpmc_nand_init(&board_nand_data);
 }
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
(Continue reading)


Gmane