All of lore.kernel.org
 help / color / mirror / Atom feed
* GPMI NAND on MX28 with DT.with
@ 2012-06-21 22:24 ` Subodh Nijsure
  0 siblings, 0 replies; 10+ messages in thread
From: Subodh Nijsure @ 2012-06-21 22:24 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Huang Shijie, mtd

Has anyone gotten the latest GPMI NAND patches for MX28 with device-tree 
to work?

I came across this thread where Huang Shijie reported that it has some 
issues with ECC.

Our attempt to attach fail as shown below, anybody else encountered 
these errors?

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00a00000 00020000 "boot"
mtd1: 0f200000 00020000 "data"
mtd2: 00400000 00020000 "boot-config"

ubiformat /dev/mtd1
ubiformat: mtd1 (nand), size 253755392 bytes (242.0 MiB), 1936 
eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 1935 -- 100 % complete
ubiformat: 1933 eraseblocks have valid erase counter, mean value is 3
ubiformat: 3 bad eraseblocks found, numbers: 264, 468, 1593
ubiformat: formatting eraseblock 1935 -- 100 % complete
/ # ubiattach /dev/ubi_ctrl -m 1
[  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, 
not 0x000000
[  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, 
not 0x000000
[  185.560000] UBI error: process_lvol: both volume tables are corrupted
[  185.560000] UBI error: ubi_attach_mtd_dev: failed to attach mtd1, 
error -22
ubiattach: error!: cannot attach mtd1
            error 22 (Invalid argument)


-Subodh Nijsure

^ permalink raw reply	[flat|nested] 10+ messages in thread

* GPMI NAND on MX28 with DT.with
@ 2012-06-21 22:24 ` Subodh Nijsure
  0 siblings, 0 replies; 10+ messages in thread
From: Subodh Nijsure @ 2012-06-21 22:24 UTC (permalink / raw)
  To: linux-arm-kernel

Has anyone gotten the latest GPMI NAND patches for MX28 with device-tree 
to work?

I came across this thread where Huang Shijie reported that it has some 
issues with ECC.

Our attempt to attach fail as shown below, anybody else encountered 
these errors?

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00a00000 00020000 "boot"
mtd1: 0f200000 00020000 "data"
mtd2: 00400000 00020000 "boot-config"

ubiformat /dev/mtd1
ubiformat: mtd1 (nand), size 253755392 bytes (242.0 MiB), 1936 
eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 1935 -- 100 % complete
ubiformat: 1933 eraseblocks have valid erase counter, mean value is 3
ubiformat: 3 bad eraseblocks found, numbers: 264, 468, 1593
ubiformat: formatting eraseblock 1935 -- 100 % complete
/ # ubiattach /dev/ubi_ctrl -m 1
[  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, 
not 0x000000
[  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, 
not 0x000000
[  185.560000] UBI error: process_lvol: both volume tables are corrupted
[  185.560000] UBI error: ubi_attach_mtd_dev: failed to attach mtd1, 
error -22
ubiattach: error!: cannot attach mtd1
            error 22 (Invalid argument)


-Subodh Nijsure

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GPMI NAND on MX28 with DT.with
  2012-06-21 22:24 ` Subodh Nijsure
@ 2012-06-22 14:45   ` Huang Shijie
  -1 siblings, 0 replies; 10+ messages in thread
From: Huang Shijie @ 2012-06-22 14:45 UTC (permalink / raw)
  To: Subodh Nijsure; +Cc: Huang Shijie, mtd, linux-arm-kernel

Hi,
  yes, the gpmi-nand has bugs now.
I will try to fix it when I am free.

thanks
Huang Shijie


On Fri, Jun 22, 2012 at 6:24 AM, Subodh Nijsure <snijsure@grid-net.com> wrote:
> Has anyone gotten the latest GPMI NAND patches for MX28 with device-tree to
> work?
>
> I came across this thread where Huang Shijie reported that it has some
> issues with ECC.
>
> Our attempt to attach fail as shown below, anybody else encountered these
> errors?
>
> cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00a00000 00020000 "boot"
> mtd1: 0f200000 00020000 "data"
> mtd2: 00400000 00020000 "boot-config"
>
> ubiformat /dev/mtd1
> ubiformat: mtd1 (nand), size 253755392 bytes (242.0 MiB), 1936 eraseblocks
> of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
> libscan: scanning eraseblock 1935 -- 100 % complete
> ubiformat: 1933 eraseblocks have valid erase counter, mean value is 3
> ubiformat: 3 bad eraseblocks found, numbers: 264, 468, 1593
> ubiformat: formatting eraseblock 1935 -- 100 % complete
> / # ubiattach /dev/ubi_ctrl -m 1
> [  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, not
> 0x000000
> [  185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, not
> 0x000000
> [  185.560000] UBI error: process_lvol: both volume tables are corrupted
> [  185.560000] UBI error: ubi_attach_mtd_dev: failed to attach mtd1, error
> -22
> ubiattach: error!: cannot attach mtd1
>           error 22 (Invalid argument)
>
>
> -Subodh Nijsure
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* GPMI NAND on MX28 with DT.with
@ 2012-06-22 14:45   ` Huang Shijie
  0 siblings, 0 replies; 10+ messages in thread
From: Huang Shijie @ 2012-06-22 14:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
  yes, the gpmi-nand has bugs now.
I will try to fix it when I am free.

thanks
Huang Shijie


On Fri, Jun 22, 2012 at 6:24 AM, Subodh Nijsure <snijsure@grid-net.com> wrote:
> Has anyone gotten the latest GPMI NAND patches for MX28 with device-tree to
> work?
>
> I came across this thread where Huang Shijie reported that it has some
> issues with ECC.
>
> Our attempt to attach fail as shown below, anybody else encountered these
> errors?
>
> cat /proc/mtd
> dev: ? ?size ? erasesize ?name
> mtd0: 00a00000 00020000 "boot"
> mtd1: 0f200000 00020000 "data"
> mtd2: 00400000 00020000 "boot-config"
>
> ubiformat /dev/mtd1
> ubiformat: mtd1 (nand), size 253755392 bytes (242.0 MiB), 1936 eraseblocks
> of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
> libscan: scanning eraseblock 1935 -- 100 % complete
> ubiformat: 1933 eraseblocks have valid erase counter, mean value is 3
> ubiformat: 3 bad eraseblocks found, numbers: 264, 468, 1593
> ubiformat: formatting eraseblock 1935 -- 100 % complete
> / # ubiattach /dev/ubi_ctrl -m 1
> [ ?185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, not
> 0x000000
> [ ?185.560000] UBI error: vtbl_check: bad CRC at record 0: 0x2b4f6dd5, not
> 0x000000
> [ ?185.560000] UBI error: process_lvol: both volume tables are corrupted
> [ ?185.560000] UBI error: ubi_attach_mtd_dev: failed to attach mtd1, error
> -22
> ubiattach: error!: cannot attach mtd1
> ? ? ? ? ? error 22 (Invalid argument)
>
>
> -Subodh Nijsure
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GPMI NAND on MX28 with DT.with
  2012-06-22 14:45   ` Huang Shijie
@ 2012-07-03 15:00     ` Lauri Hintsala
  -1 siblings, 0 replies; 10+ messages in thread
From: Lauri Hintsala @ 2012-07-03 15:00 UTC (permalink / raw)
  To: Huang Shijie; +Cc: Huang Shijie, mtd, Subodh Nijsure, linux-arm-kernel

Hi Huang

On 06/22/2012 05:45 PM, Huang Shijie wrote:
> Hi,
>    yes, the gpmi-nand has bugs now.
> I will try to fix it when I am free.

Any progress with this? Any ideas what could cause the bug?

Regards,
Lauri Hintsala

^ permalink raw reply	[flat|nested] 10+ messages in thread

* GPMI NAND on MX28 with DT.with
@ 2012-07-03 15:00     ` Lauri Hintsala
  0 siblings, 0 replies; 10+ messages in thread
From: Lauri Hintsala @ 2012-07-03 15:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Huang

On 06/22/2012 05:45 PM, Huang Shijie wrote:
> Hi,
>    yes, the gpmi-nand has bugs now.
> I will try to fix it when I am free.

Any progress with this? Any ideas what could cause the bug?

Regards,
Lauri Hintsala

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GPMI NAND on MX28 with DT.with
  2012-07-03 15:00     ` Lauri Hintsala
@ 2012-07-03 15:14       ` Huang Shijie
  -1 siblings, 0 replies; 10+ messages in thread
From: Huang Shijie @ 2012-07-03 15:14 UTC (permalink / raw)
  To: Lauri Hintsala; +Cc: Huang Shijie, mtd, Subodh Nijsure, linux-arm-kernel

Hi,
  Sacha has fixed it.

http://lists.infradead.org/pipermail/linux-mtd/2012-June/042461.html

Huang Shijie

On Tue, Jul 3, 2012 at 11:00 PM, Lauri Hintsala
<lauri.hintsala@bluegiga.com> wrote:
> Hi Huang
>
> On 06/22/2012 05:45 PM, Huang Shijie wrote:
>>
>> Hi,
>>    yes, the gpmi-nand has bugs now.
>> I will try to fix it when I am free.
>
>
> Any progress with this? Any ideas what could cause the bug?
>
> Regards,
> Lauri Hintsala

^ permalink raw reply	[flat|nested] 10+ messages in thread

* GPMI NAND on MX28 with DT.with
@ 2012-07-03 15:14       ` Huang Shijie
  0 siblings, 0 replies; 10+ messages in thread
From: Huang Shijie @ 2012-07-03 15:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
  Sacha has fixed it.

http://lists.infradead.org/pipermail/linux-mtd/2012-June/042461.html

Huang Shijie

On Tue, Jul 3, 2012 at 11:00 PM, Lauri Hintsala
<lauri.hintsala@bluegiga.com> wrote:
> Hi Huang
>
> On 06/22/2012 05:45 PM, Huang Shijie wrote:
>>
>> Hi,
>>    yes, the gpmi-nand has bugs now.
>> I will try to fix it when I am free.
>
>
> Any progress with this? Any ideas what could cause the bug?
>
> Regards,
> Lauri Hintsala

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GPMI NAND on MX28 with DT.with
  2012-07-03 15:14       ` Huang Shijie
@ 2012-07-04  5:19         ` Lauri Hintsala
  -1 siblings, 0 replies; 10+ messages in thread
From: Lauri Hintsala @ 2012-07-04  5:19 UTC (permalink / raw)
  To: Huang Shijie; +Cc: Huang Shijie, mtd, Subodh Nijsure, linux-arm-kernel

On 07/03/2012 06:14 PM, Huang Shijie wrote:
> Hi,
>    Sacha has fixed it.
>
> http://lists.infradead.org/pipermail/linux-mtd/2012-June/042461.html

OK, I'll test the fix. Thanks!

Lauri

^ permalink raw reply	[flat|nested] 10+ messages in thread

* GPMI NAND on MX28 with DT.with
@ 2012-07-04  5:19         ` Lauri Hintsala
  0 siblings, 0 replies; 10+ messages in thread
From: Lauri Hintsala @ 2012-07-04  5:19 UTC (permalink / raw)
  To: linux-arm-kernel

On 07/03/2012 06:14 PM, Huang Shijie wrote:
> Hi,
>    Sacha has fixed it.
>
> http://lists.infradead.org/pipermail/linux-mtd/2012-June/042461.html

OK, I'll test the fix. Thanks!

Lauri

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-04  5:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 22:24 GPMI NAND on MX28 with DT.with Subodh Nijsure
2012-06-21 22:24 ` Subodh Nijsure
2012-06-22 14:45 ` Huang Shijie
2012-06-22 14:45   ` Huang Shijie
2012-07-03 15:00   ` Lauri Hintsala
2012-07-03 15:00     ` Lauri Hintsala
2012-07-03 15:14     ` Huang Shijie
2012-07-03 15:14       ` Huang Shijie
2012-07-04  5:19       ` Lauri Hintsala
2012-07-04  5:19         ` Lauri Hintsala

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.