gpmi_nand crashes on mx23
Huang Shijie
b32955 at freescale.com
Mon Nov 4 21:50:29 EST 2013
于 2013年11月05日 10:13, Fabio Estevam 写道:
> Hi Huang,
>
> Running linux-next 20131104 I get the following issue on mx23evk:
>
> [ 1.130000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd7 (Samsung NAND )
> [ 1.140000] NAND device: 4096MiB, MLC, page size: 4096, OOB size: 218
> [ 2.140000] gpmi_nand: DMA timeout, last DMA :2
> [ 2.140000] Show GPMI registers :
> [ 2.140000] offset 0x000 : 0x20930001
> [ 2.150000] offset 0x010 : 0x00000000
> [ 2.150000] offset 0x020 : 0x00000000
> [ 2.150000] offset 0x030 : 0x00000000
> [ 2.160000] offset 0x040 : 0x00000000
> [ 2.160000] offset 0x050 : 0x00000000
> [ 2.170000] offset 0x060 : 0x0004000c
> [ 2.170000] offset 0x070 : 0x00010203
> [ 2.170000] offset 0x080 : 0x05000000
> [ 2.180000] offset 0x090 : 0x09020101
> [ 2.180000] offset 0x0a0 : 0x000000ec
> [ 2.180000] offset 0x0b0 : 0x80000020
> [ 2.190000] offset 0x0c0 : 0x100310b5
> [ 2.190000] offset 0x0d0 : 0x03000000
> [ 2.200000] Show BCH registers :
> [ 2.200000] offset 0x000 : 0x00000000
> [ 2.200000] offset 0x010 : 0x00000010
> [ 2.210000] offset 0x020 : 0x00000000
> [ 2.210000] offset 0x030 : 0x00000000
> [ 2.210000] offset 0x040 : 0x00000000
> [ 2.220000] offset 0x050 : 0x00000000
> [ 2.220000] offset 0x060 : 0x00000000
> [ 2.230000] offset 0x070 : 0xe4e4e4e4
> [ 2.230000] offset 0x080 : 0x070a8200
> [ 2.230000] offset 0x090 : 0x10da8200
> [ 2.240000] offset 0x0a0 : 0x070a8200
> [ 2.240000] offset 0x0b0 : 0x10da8200
> [ 2.240000] offset 0x0c0 : 0x070a8200
> [ 2.250000] offset 0x0d0 : 0x10da8200
> [ 2.250000] offset 0x0e0 : 0x070a8200
> [ 2.260000] offset 0x0f0 : 0x10da8200
> [ 2.260000] offset 0x100 : 0x00000000
> [ 2.260000] offset 0x110 : 0x00000000
> [ 2.270000] offset 0x120 : 0x00000000
> [ 2.270000] offset 0x130 : 0x00000000
> [ 2.270000] offset 0x140 : 0x00000000
> [ 2.280000] offset 0x150 : 0x20484342
> [ 2.280000] offset 0x160 : 0x01000000
> [ 2.290000] offset 0x170 : 0x00000000
> [ 2.290000] BCH Geometry :
> [ 2.290000] GF length : 0
> [ 2.300000] ECC Strength : 0
> [ 2.300000] Page Size in Bytes : 0
> [ 2.300000] Metadata Size in Bytes : 0
> [ 2.310000] ECC Chunk Size in Bytes: 0
> [ 2.310000] ECC Chunk Count : 0
> [ 2.310000] Payload Size in Bytes : 1024
> [ 2.320000] Auxiliary Size in Bytes: 128
> [ 2.320000] Auxiliary Status Offset: 0
> [ 2.330000] Block Mark Byte Offset : 0
> [ 2.330000] Block Mark Bit Offset : 0
> [ 2.330000] gpmi_nand: Chip: 1, Error -110
> [ 2.360000] step 1 error
> [ 2.360000] gpmi_nand: Chip: 1, Error -1
> [ 2.380000] step 1 error
> [ 2.380000] step 1 error
> [ 2.380000] step 1 error
> [ 2.380000] gpmi_nand: Chip: 0, Error -1
> [ 2.390000] step 1 error
> [ 2.390000] gpmi_nand: Chip: 0, Error -1
> [ 2.390000] step 1 error
> [ 2.400000] Unable to handle kernel NULL pointer dereference at virtual addr0
> [ 2.400000] pgd = c0004000
> [ 2.410000] [000005d0] *pgd=00000000
> [ 2.410000] Internal error: Oops: 5 [#1] ARM
> [ 2.410000] Modules linked in:
> [ 2.410000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.0-rc7-next-201311042
> [ 2.410000] task: c7440000 ti: c743a000 task.ti: c743a000
> [ 2.410000] PC is at memcmp+0x10/0x54
> [ 2.410000] LR is at gpmi_nand_probe+0x420/0x888
> [ 2.410000] pc : [<c0266194>] lr : [<c0302328>] psr: 20000013
> [ 2.410000] sp : c743be24 ip : c7440000 fp : ffffffff
> [ 2.410000] r10: 000005d0 r9 : c03017d4 r8 : 00000000
> [ 2.410000] r7 : c757d0b8 r6 : c757d0b8 r5 : c757d320 r4 : c757d010
> [ 2.410000] r3 : 000005d0 r2 : 00000004 r1 : c05dc8d8 r0 : 000005d0
> [ 2.410000] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kerl
> [ 2.410000] Control: 0005317f Table: 40004000 DAC: 00000017
> [ 2.410000] Process swapper (pid: 1, stack limit = 0xc743a1c0)
> [ 2.410000] Stack: (0xc743be24 to 0xc743c000)
> [ 2.410000] be20: c757d010 c05dc634 c757d010 c06afaf4 00000000 c7470
> [ 2.410000] be40: 00000001 c06c7c58 00000000 00000000 00000000 c7472810 c06c8
> [ 2.410000] be60: 00000000 c06c7c58 0000007a c067f118 00000000 c02caa64 c02c0
> [ 2.410000] be80: 00000000 c02c9670 c7472810 c06c7c58 c7472844 00000000 c7430
> [ 2.410000] bea0: 00000000 c06c7c58 c02c978c c02c7e24 c74038a8 c7467bd0 c06c0
> [ 2.410000] bec0: c06c0e50 c02c8e34 c05dc628 c06c7c58 00000006 c06c7c58 0000c
> [ 2.410000] bee0: c06dfd00 c02c9e50 00000000 c0694af0 00000006 c0008914 c7448
> [ 2.410000] bf00: 60000053 c026599c 00000000 00000000 00000000 00000000 00000
> [ 2.410000] bf20: 00000002 c743a000 c0d4192e c04b13b0 0000007a c0037b24 c0636
> [ 2.410000] bf40: c0d41936 00000006 60000053 c0694af0 00000006 c068bd8c c06d0
> [ 2.410000] bf60: 0000007a c068bd98 00000000 c065cac0 00000006 00000006 c0655
> [ 2.410000] bf80: 00000000 c0467c28 00000000 c0467c28 00000000 00000000 00000
> [ 2.410000] bfa0: 00000000 c0467c30 00000000 c000eec0 00000000 00000000 00000
> [ 2.410000] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000
> [ 2.410000] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 55555
> [ 2.410000] [<c0266194>] (memcmp+0x10/0x54) from [<c05dc634>] (__func__.1539)
> [ 2.410000] Code: e3520000 e52d4004 e1a03000 0a00000e (e5d0c000)
> [ 2.630000] ---[ end trace 963e72d69291ae47 ]---
> [ 2.640000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0b
>
could you email the uboot for imx23?
I have not touched the imx23 board for a long long time.
thanks
Huang Shijie
More information about the linux-mtd
mailing list