This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: ubifs can't mount after nandtest if have corrected data

Part Number: AM3358

customer report if do nandtest have similar corrected information as below (mount the ubifs partition before do nandtest)::

00340000: reading (1 of 4)...                                                  

 1 bit(s) ECC corrected at 00340000                                             

00340000: reading (2 of 4)...                                                  

 1 bit(s) ECC corrected at 00340000                                            

00340000: reading (3 of 4)...                                                   

 1 bit(s) ECC corrected at 00340000                                            

00340000: reading (4 of 4)...                                                  

 1 bit(s) ECC corrected at 00340000                                             

00360000: reading (1 of 1)...                                                  

 1 bit(s) ECC corrected at 00360000                                            

003c0000: reading (1 of 4)...                                                   

 1 bit(s) ECC corrected at 003c0000                                            

003c0000: reading (2 of 4)...                                                  

 1 bit(s) ECC corrected at 003c0000                                            

003c0000: reading (3 of 4)...                                                  

 2 bit(s) ECC corrected at 003c0000                                            

003c0000: reading (4 of 4)...             

then umount the partition,, it can't be mounted again , information as below (I reproduced it on GPEVM):

root@am335x-evm:/dev# mount -t ubifs ubi0:rootfs /mnt/nandfs/
[ 4036.858620] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1414
[ 4036.865952] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.875292] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.890159] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.896413] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.940309] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4036.954952] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.963364] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.971882] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4036.979983] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.022125] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4037.037697] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.043938] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.054066] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.062222] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.104340] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4037.118975] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.125216] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.136130] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.144246] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.186366] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 1283s
[ 4037.197588] CPU: 0 PID: 1412 Comm: mount Not tainted 4.19.59-g5f8c1c6121 #1
[ 4037.204582] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 4037.211854] Backtrace:
[ 4037.214347] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18/0x1c)
[ 4037.222674] r7:c0e03048 r6:0001f000 r5:ffffffb6 r4:ec9f2000
[ 4037.228833] [<c010cebc>] (show_stack) from [<c08f33d4>] (dump_stack+0x24/0x28)
[ 4037.236116] [<c08f33b0>] (dump_stack) from [<c062ae20>] (ubi_io_read+0x1bc/0x340)
[ 4037.244518] [<c062ac64>] (ubi_io_read) from [<c0628a88>] (ubi_eba_read_leb+0xd4/0x414)
[ 4037.252998] r10:00000001 r9:00000000 r8:00000001 r7:00000503 r6:edaaa800 r5:ec9f2000
[ 4037.261313] r4:00000000
[ 4037.263888] [<c06289b4>] (ubi_eba_read_leb) from [<c0627584>] (ubi_leb_read+0x7c/0xbc)
[ 4037.272542] r10:00000001 r9:00000000 r8:ec9f2000 r7:edaaa800 r6:00000000 r5:0001f000
[ 4037.280869] r4:00000000
[ 4037.283437] [<c0627508>] (ubi_leb_read) from [<c03890ac>] (ubifs_leb_read+0x34/0x80)
[ 4037.291910] r9:00000001 r8:00000001 r7:00000000 r6:0001f000 r5:ec9f3000 r4:ed9c72c0
[ 4037.300162] [<c0389078>] (ubifs_leb_read) from [<c039098c>] (ubifs_start_scan+0x80/0xd8)
[ 4037.308732] r8:f253d000 r7:00000001 r6:ec9f3000 r5:00000000 r4:ed9c72c0
[ 4037.315489] [<c039090c>] (ubifs_start_scan) from [<c0390c34>] (ubifs_scan+0x2c/0x2cc)
[ 4037.324000] r8:ec9f3690 r7:ec9f3000 r6:00000000 r5:f253d000 r4:0001f000
[ 4037.331181] [<c0390c08>] (ubifs_scan) from [<c038fde8>] (ubifs_read_master+0x4c/0x8b8)
[ 4037.339552] r10:ec9f3000 r9:eca8c800 r8:ec9f3690 r7:ec9a4fc0 r6:00000001 r5:c0e03048
[ 4037.347786] r4:ec9f3000
[ 4037.350345] [<c038fd9c>] (ubifs_read_master) from [<c03872ec>] (ubifs_mount+0xde4/0x1580)
[ 4037.359205] r10:ec9f3000 r9:eca8c800 r8:ec9f3690 r7:ec9a4fc0 r6:00000000 r5:c0e03048
[ 4037.367611] r4:eeabcc00
[ 4037.370182] [<c0386508>] (ubifs_mount) from [<c0238400>] (mount_fs+0x1c/0xac)
[ 4037.382757] r10:00000000 r9:ec9a4ec0 r8:00000000 r7:c0e1cd7c r6:c0e1cd7c r5:ec9a4ec0
[ 4037.393472] r4:c0386508
[ 4037.396077] [<c02383e4>] (mount_fs) from [<c0257f48>] (vfs_kern_mount.part.4+0x50/0x118)
[ 4037.405402] r6:00000000 r5:ec9a4ec0 r4:ec93c800
[ 4037.410682] [<c0257ef8>] (vfs_kern_mount.part.4) from [<c025a8b0>] (do_mount+0x194/0xda4)
[ 4037.419426] r9:ec9a4ec0 r8:00000000 r7:00000000 r6:00000020 r5:c0e03048 r4:c0e1cd7c
[ 4037.427692] [<c025a71c>] (do_mount) from [<c025b86c>] (ksys_mount+0xb4/0xcc)
[ 4037.434781] r10:00000015 r9:eca36000 r8:00000000 r7:c0ed0000 r6:00029928 r5:ec9a4ec0
[ 4037.443419] r4:ec9a4b40
[ 4037.445980] [<c025b7b8>] (ksys_mount) from [<c025b8a0>] (sys_mount+0x1c/0x24)
[ 4037.453869] r8:c0101204 r7:00000015 r6:b6f13788 r5:00000000 r4:00000000
[ 4037.461062] [<c025b884>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 4037.469061] Exception stack(0xeca37fa8 to 0xeca37ff0)
[ 4037.474151] 7fa0: 00000000 00000000 00028288 00029928 00028278 c0ed0000
[ 4037.483008] 7fc0: 00000000 00000000 b6f13788 00000015 00028288 00028278 00000000 b6f13000
[ 4037.491606] 7fe0: b6e5d430 bef4caa0 b6ee6f07 b6e5d440
[ 4037.499844] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.506070] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.516110] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.523913] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.566046] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4037.580683] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.589072] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.596325] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.605448] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.647637] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4037.662289] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.670728] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.679453] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.685707] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.729366] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 12y
[ 4037.744013] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.752421] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.760749] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.768299] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4037.810527] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 1284s
[ 4037.821755] CPU: 0 PID: 1412 Comm: mount Not tainted 4.19.59-g5f8c1c6121 #1
[ 4037.829557] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 4037.835684] Backtrace:
[ 4037.838898] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18/0x1c)
[ 4037.846941] r7:c0e03048 r6:0001f000 r5:ffffffb6 r4:ec9f2000
[ 4037.852650] [<c010cebc>] (show_stack) from [<c08f33d4>] (dump_stack+0x24/0x28)
[ 4037.861400] [<c08f33b0>] (dump_stack) from [<c062ae20>] (ubi_io_read+0x1bc/0x340)
[ 4037.869448] [<c062ac64>] (ubi_io_read) from [<c0628a88>] (ubi_eba_read_leb+0xd4/0x414)
[ 4037.878089] r10:00000001 r9:00000000 r8:00000002 r7:00000504 r6:edaaa800 r5:ec9f2000
[ 4037.890083] r4:00000000
[ 4037.892679] [<c06289b4>] (ubi_eba_read_leb) from [<c0627584>] (ubi_leb_read+0x7c/0xbc)
[ 4037.906475] r10:00000001 r9:00000000 r8:ec9f2000 r7:edaaa800 r6:00000000 r5:0001f000
[ 4037.915247] r4:00000000
[ 4037.918439] [<c0627508>] (ubi_leb_read) from [<c03890ac>] (ubifs_leb_read+0x34/0x80)
[ 4037.926227] r9:00000002 r8:00000002 r7:00000000 r6:0001f000 r5:ec9f3000 r4:ed9c72c0
[ 4037.934933] [<c0389078>] (ubifs_leb_read) from [<c039098c>] (ubifs_start_scan+0x80/0xd8)
[ 4037.943548] r8:f253d000 r7:00000002 r6:ec9f3000 r5:00000000 r4:ed9c72c0
[ 4037.950783] [<c039090c>] (ubifs_start_scan) from [<c0390c34>] (ubifs_scan+0x2c/0x2cc)
[ 4037.959062] r8:ed9c7440 r7:ec9f3000 r6:00000000 r5:f253d000 r4:0001f000
[ 4037.965806] [<c0390c08>] (ubifs_scan) from [<c038fe48>] (ubifs_read_master+0xac/0x8b8)
[ 4037.974452] r10:ec9f3000 r9:eca8c800 r8:ed9c7440 r7:00000004 r6:00001800 r5:ed9c72c0
[ 4037.982775] r4:ec9f3000
[ 4037.985337] [<c038fd9c>] (ubifs_read_master) from [<c03872ec>] (ubifs_mount+0xde4/0x1580)
[ 4037.994235] r10:ec9f3000 r9:eca8c800 r8:ec9f3690 r7:ec9a4fc0 r6:00000000 r5:c0e03048
[ 4038.002540] r4:eeabcc00
[ 4038.005109] [<c0386508>] (ubifs_mount) from [<c0238400>] (mount_fs+0x1c/0xac)
[ 4038.012913] r10:00000000 r9:ec9a4ec0 r8:00000000 r7:c0e1cd7c r6:c0e1cd7c r5:ec9a4ec0
[ 4038.021138] r4:c0386508
[ 4038.023716] [<c02383e4>] (mount_fs) from [<c0257f48>] (vfs_kern_mount.part.4+0x50/0x118)
[ 4038.032539] r6:00000000 r5:ec9a4ec0 r4:ec93c800
[ 4038.038051] [<c0257ef8>] (vfs_kern_mount.part.4) from [<c025a8b0>] (do_mount+0x194/0xda4)
[ 4038.046293] r9:ec9a4ec0 r8:00000000 r7:00000000 r6:00000020 r5:c0e03048 r4:c0e1cd7c
[ 4038.056467] [<c025a71c>] (do_mount) from [<c025b86c>] (ksys_mount+0xb4/0xcc)
[ 4038.064170] r10:00000015 r9:eca36000 r8:00000000 r7:c0ed0000 r6:00029928 r5:ec9a4ec0
[ 4038.072488] r4:ec9a4b40
[ 4038.075049] [<c025b7b8>] (ksys_mount) from [<c025b8a0>] (sys_mount+0x1c/0x24)
[ 4038.082925] r8:c0101204 r7:00000015 r6:b6f13788 r5:00000000 r4:00000000
[ 4038.090283] [<c025b884>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 4038.098306] Exception stack(0xeca37fa8 to 0xeca37ff0)
[ 4038.103388] 7fa0: 00000000 00000000 00028288 00029928 00028278 c0ed0000
[ 4038.112238] 7fc0: 00000000 00000000 b6f13788 00000015 00028288 00028278 00000000 b6f13000
[ 4038.120875] 7fe0: b6e5d430 bef4caa0 b6ee6f07 b6e5d440
[ 4038.128219] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4038.134480] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 16 bytes from PEB 1286:1y
[ 4038.149185] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4038.155484] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 16 bytes from PEB 1286:1y
[ 4038.170020] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4038.176296] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 16 bytes from PEB 1286:1y
[ 4038.190994] omap2-nand 8000000.nand: uncorrectable bit-flips found
[ 4038.199388] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 16 bytes from PEB 1286:102s
[ 4038.210590] CPU: 0 PID: 1412 Comm: mount Not tainted 4.19.59-g5f8c1c6121 #1
[ 4038.218081] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 4038.224205] Backtrace:
[ 4038.227410] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18/0x1c)
[ 4038.235038] r7:c0e03048 r6:00000010 r5:ffffffb6 r4:ec9f2000
[ 4038.241431] [<c010cebc>] (show_stack) from [<c08f33d4>] (dump_stack+0x24/0x28)
[ 4038.249234] [<c08f33b0>] (dump_stack) from [<c062ae20>] (ubi_io_read+0x1bc/0x340)
[ 4038.257234] [<c062ac64>] (ubi_io_read) from [<c0628a88>] (ubi_eba_read_leb+0xd4/0x414)
[ 4038.265192] r10:00000001 r9:00000000 r8:00000008 r7:00000506 r6:edaaa800 r5:ec9f2000
[ 4038.273716] r4:00000000
[ 4038.276276] [<c06289b4>] (ubi_eba_read_leb) from [<c0627584>] (ubi_leb_read+0x7c/0xbc)
[ 4038.284925] r10:00000001 r9:00000000 r8:ec9f2000 r7:edaaa800 r6:00001800 r5:00000010
[ 4038.293215] r4:00000000
[ 4038.295778] [<c0627508>] (ubi_leb_read) from [<c03890ac>] (ubifs_leb_read+0x34/0x80)
[ 4038.304398] r9:006000c0 r8:00000008 r7:00001800 r6:00000010 r5:ec9f3000 r4:ec9f3000
[ 4038.312615] [<c0389078>] (ubifs_leb_read) from [<c039dcf4>] (ubifs_lpt_init+0x15c/0x514)
[ 4038.321198] r8:00000000 r7:f0ce1000 r6:c0e03048 r5:ec9f3024 r4:ec9f3000
[ 4038.328361] [<c039db98>] (ubifs_lpt_init) from [<c03873ac>] (ubifs_mount+0xea4/0x1580)
[ 4038.336333] r10:ec9f3000 r9:eca8c800 r8:ec9f3690 r7:00000000 r6:0001e5a0 r5:c0e03048
[ 4038.344836] r4:00000000
[ 4038.347807] [<c0386508>] (ubifs_mount) from [<c0238400>] (mount_fs+0x1c/0xac)
[ 4038.354979] r10:00000000 r9:ec9a4ec0 r8:00000000 r7:c0e1cd7c r6:c0e1cd7c r5:ec9a4ec0
[ 4038.363500] r4:c0386508
[ 4038.366070] [<c02383e4>] (mount_fs) from [<c0257f48>] (vfs_kern_mount.part.4+0x50/0x118)
[ 4038.374845] r6:00000000 r5:ec9a4ec0 r4:ec93c800
[ 4038.379996] [<c0257ef8>] (vfs_kern_mount.part.4) from [<c025a8b0>] (do_mount+0x194/0xda4)
[ 4038.388621] r9:ec9a4ec0 r8:00000000 r7:00000000 r6:00000020 r5:c0e03048 r4:c0e1cd7c
[ 4038.396421] [<c025a71c>] (do_mount) from [<c025b86c>] (ksys_mount+0xb4/0xcc)
[ 4038.404103] r10:00000015 r9:eca36000 r8:00000000 r7:c0ed0000 r6:00029928 r5:ec9a4ec0
[ 4038.416223] r4:ec9a4b40
[ 4038.418943] [<c025b7b8>] (ksys_mount) from [<c025b8a0>] (sys_mount+0x1c/0x24)
[ 4038.426115] r8:c0101204 r7:00000015 r6:b6f13788 r5:00000000 r4:00000000
[ 4038.436712] [<c025b884>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 4038.444403] Exception stack(0xeca37fa8 to 0xeca37ff0)
[ 4038.450567] 7fa0: 00000000 00000000 00028288 00029928 00028278 c0ed0000
[ 4038.459322] 7fc0: 00000000 00000000 b6f13788 00000015 00028288 00028278 00000000 b6f13000
[ 4038.468174] 7fe0: b6e5d430 bef4caa0 b6ee6f07 b6e5d440
[ 4038.473288] UBIFS error (ubi0:0 pid 1412): ubifs_leb_read: reading 16 bytes from LEB 8:6144 failed,4
[ 4038.484107] CPU: 0 PID: 1412 Comm: mount Not tainted 4.19.59-g5f8c1c6121 #1
[ 4038.491599] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 4038.498173] Backtrace:
[ 4038.500658] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18/0x1c)
[ 4038.508913] r7:00001800 r6:00000010 r5:ec9f3000 r4:ffffffb6
[ 4038.514624] [<c010cebc>] (show_stack) from [<c08f33d4>] (dump_stack+0x24/0x28)
[ 4038.522585] [<c08f33b0>] (dump_stack) from [<c03890f4>] (ubifs_leb_read+0x7c/0x80)
[ 4038.530673] [<c0389078>] (ubifs_leb_read) from [<c039dcf4>] (ubifs_lpt_init+0x15c/0x514)
[ 4038.539241] r8:00000000 r7:f0ce1000 r6:c0e03048 r5:ec9f3024 r4:ec9f3000
[ 4038.545999] [<c039db98>] (ubifs_lpt_init) from [<c03873ac>] (ubifs_mount+0xea4/0x1580)
[ 4038.554581] r10:ec9f3000 r9:eca8c800 r8:ec9f3690 r7:00000000 r6:0001e5a0 r5:c0e03048
[ 4038.562952] r4:00000000
[ 4038.565523] [<c0386508>] (ubifs_mount) from [<c0238400>] (mount_fs+0x1c/0xac)
[ 4038.573400] r10:00000000 r9:ec9a4ec0 r8:00000000 r7:c0e1cd7c r6:c0e1cd7c r5:ec9a4ec0
[ 4038.581679] r4:c0386508
[ 4038.584247] [<c02383e4>] (mount_fs) from [<c0257f48>] (vfs_kern_mount.part.4+0x50/0x118)
[ 4038.593052] r6:00000000 r5:ec9a4ec0 r4:ec93c800
[ 4038.598079] [<c0257ef8>] (vfs_kern_mount.part.4) from [<c025a8b0>] (do_mount+0x194/0xda4)
[ 4038.606309] r9:ec9a4ec0 r8:00000000 r7:00000000 r6:00000020 r5:c0e03048 r4:c0e1cd7c
[ 4038.614739] [<c025a71c>] (do_mount) from [<c025b86c>] (ksys_mount+0xb4/0xcc)
[ 4038.622267] r10:00000015 r9:eca36000 r8:00000000 r7:c0ed0000 r6:00029928 r5:ec9a4ec0
[ 4038.630502] r4:ec9a4b40
[ 4038.633056] [<c025b7b8>] (ksys_mount) from [<c025b8a0>] (sys_mount+0x1c/0x24)
[ 4038.640847] r8:c0101204 r7:00000015 r6:b6f13788 r5:00000000 r4:00000000
[ 4038.648039] [<c025b884>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 4038.655657] Exception stack(0xeca37fa8 to 0xeca37ff0)
[ 4038.661423] 7fa0: 00000000 00000000 00028288 00029928 00028278 c0ed0000
[ 4038.670087] 7fc0: 00000000 00000000 b6f13788 00000015 00028288 00028278 00000000 b6f13000
[ 4038.678733] 7fe0: b6e5d430 bef4caa0 b6ee6f07 b6e5d440
[ 4038.683875] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
mount: /mnt/nandfs: mount(2) system call failed: Bad message.

  • Can nandtest work on ubifs partition? I found in below ubifs URL as ubifs doesn't use OOB, nandtest is read/write back check operation, it would not be same as ubifs access operation, is it the cause?

    UBIFS and MLC NAND flash

    UBIFS authors never tested UBI/UBIFS on MLC flash devices. Let's consider some specific aspects of MLC NAND flashes:

    • [OK] MLC NAND flashes are more "faulty" than SLC, so they use stronger ECC codes; these ECC codes often occupy whole OOB area (as do the ECC codes on some newer SLC flashes, which are more error-prone than previous generations of flash); this is not a problem for UBI/UBIFS, because neither UBIFS nor UBI use OOB area;
  • Hi Tony,

    Tony Tang said:
    Can nandtest work on ubifs partition?

    I don't think the problem is with ubifs partition, but because the partition is mounted.

    I don't find any explicit statement, but I think you can only run nandtest on unmounted partition/device.

  • Bin,

    Sorry for my mistake. Customer actually do nandtest after mount/unmount operation. it is OK on other platform, but fail on AM335x, attach the log of competitor's test result.

    zynq nandtest.txt
    
    U-Boot 2014.07-svn117724 (Dec 03 2019 - 19:27:41)
    
    Board:  Xilinx Zynq
    I2C:   ready
    DRAM:  ECC disabled 112 MiB
    NAND:  256 MiB
    MMC:   zynq_sdhci: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    int board_late_init(void)+++++
    [INFO]int fb_display_logo(void)++++++++++++
    [Warnning]int check_is_bmp(void) Can't find  logo bmp data!!!
    [WARNNING]int fb_display_logo(void) return
    int board_late_init(void)-----
    Net:   Gem.e000b000
    Hit any key to stop autoboot:  0 
    (Re)start USB...
    USB0:   USB EHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
    USB1:   ULPI request timed out
    zynq ULPI viewport init failed
    lowlevel init failed
           scanning usb for storage devices... 0 Storage Device(s) found
    Copying Linux from USB to RAM...
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Copying Linux from NAND flash to RAM...
    
    NAND read: device 0 offset 0x780000, size 0x400000
     4194304 bytes read: OK
    
    NAND read: device 0 offset 0xb80000, size 0x80000
     524288 bytes read: OK
    ## Booting kernel from Legacy Image at 02080000 ...
       Image Name:   Linux-3.19.0-xilinx-svn7231
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3118352 Bytes = 3 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 02000000
       Booting using the fdt blob at 0x2000000
    EHCI failed to shut down host controller.
       Loading Kernel Image ... OK
       Loading Device Tree to 05d0d000, end 05d13d6b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.19.0-xilinx-svn7231 (david@david-virtual-machine) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #248 SMP PREEMPT Tue Jul 4 18:20:37 CST 2017
    [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Zynq Zed Development Board
    [    0.000000] cma: Reserved 16 MiB at 0x08400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 9 pages/cpu @494a2000 s8128 r8192 d20544 u36864
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 38100
    [    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock5 rootfstype=cramfs init=/linuxrc earlyprintk uboot_version=01
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 129536K/153600K available (3839K kernel code, 222K rwdata, 1560K rodata, 196K init, 216K bss, 7680K reserved, 16384K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0x49800000 - 0xff000000   (2904 MB)
    [    0.000000]     lowmem  : 0x40000000 - 0x49600000   ( 150 MB)
    [    0.000000]     pkmap   : 0x3fe00000 - 0x40000000   (   2 MB)
    [    0.000000]     modules : 0x3f000000 - 0x3fe00000   (  14 MB)
    [    0.000000]       .text : 0x40008000 - 0x4054e160   (5401 kB)
    [    0.000000]       .init : 0x4054f000 - 0x40580000   ( 196 kB)
    [    0.000000]       .data : 0x40580000 - 0x405b7be0   ( 223 kB)
    [    0.000000]        .bss : 0x405b7be0 - 0x405eddd4   ( 217 kB)
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    [    0.000000] slcr mapped to 49804000
    [    0.000000] zynq_clock_init: clkc starts at 49804100
    [    0.000000] Zynq clock init
    [    0.000009] sched_clock: 64 bits at 383MHz, resolution 2ns, wraps every 2868291043328ns
    [    0.000112] timer #0 at 49806000, irq=17
    [    0.000428] Console: colour dummy device 80x30
    [    0.000445] Calibrating delay loop... 1528.62 BogoMIPS (lpj=7643136)
    [    0.090212] pid_max: default: 32768 minimum: 301
    [    0.090345] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090359] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090910] CPU: Testing write buffer coherency: ok
    [    0.091085] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.091150] Setting up static identity map for 0x39d350 - 0x39d3a8
    [    0.190202] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.190269] Brought up 2 CPUs
    [    0.190285] SMP: Total of 2 processors activated (3057.25 BogoMIPS).
    [    0.190293] CPU: All CPU(s) started in SVC mode.
    [    0.190745] devtmpfs: initialized
    [    0.191381] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.196415] NET: Registered protocol family 16
    [    0.198224] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.220973] cpuidle: using governor ladder
    [    0.250944] cpuidle: using governor menu
    [    0.258299] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.258311] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.258428] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x49880000
    [    0.268162] vgaarb: loaded
    [    0.268530] SCSI subsystem initialized
    [    0.268886] usbcore: registered new interface driver usbfs
    [    0.268975] usbcore: registered new interface driver hub
    [    0.269055] usbcore: registered new device driver usb
    [    0.269187] phy0 supply vcc not found, using dummy regulator
    [    0.269262] phy1 supply vcc not found, using dummy regulator
    [    0.269365] --------------usb_udc_init ------
    [    0.269541] pps_core: LinuxPPS API ver. 1 registered
    [    0.269552] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.269600] PTP clock support registered
    [    0.269888] EDAC MC: Ver: 3.0.0
    [    0.271204] Switched to clocksource arm_global_timer
    [    0.281459] NET: Registered protocol family 2
    [    0.282109] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.282152] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.282202] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.282243] TCP: reno registered
    [    0.282258] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.282284] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.282460] NET: Registered protocol family 1
    [    0.282747] RPC: Registered named UNIX socket transport module.
    [    0.282758] RPC: Registered udp transport module.
    [    0.282766] RPC: Registered tcp transport module.
    [    0.282773] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.283107] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    [    0.284306] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.285753] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    [    0.286613] io scheduler noop registered
    [    0.286629] io scheduler deadline registered
    [    0.286673] io scheduler cfq registered (default)
    [    0.288425] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
    [    0.288442] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
    [    0.288832] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 144, base_baud = 6249999) is a xuartps
    [    0.861369] console [ttyPS0] enabled
    [    0.865451] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to 49878000
    [    0.872121] [drm] Initialized drm 1.1.0 20060810
    [    0.883623] brd: module loaded
    [    0.890095] loop: module loaded
    [    0.898378] libphy: MACB_mii_bus: probed
    [    0.981340] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
    [    0.991177] macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:1e, irq=-1)
    [    1.002620] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.009068] ehci-pci: EHCI PCI platform driver
    [    1.013704] usbcore: registered new interface driver usb-storage
    [    1.019818] e0002000.usb supply vbus not found, using dummy regulator
    [    1.026448] ci_hdrc ci_hdrc.0: EHCI Host Controller
    [    1.031280] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    [    1.051225] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    [    1.057223] hub 1-0:1.0: USB hub found
    [    1.060918] hub 1-0:1.0: 1 port detected
    [    1.065295] e0003000.usb supply vbus not found, using dummy regulator
    [    1.074395] zynq-edac f8006000.memory-controller: ecc not enabled
    [    1.080577] Xilinx Zynq CpuIdle Driver started
    [    1.085508] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.092176] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.098447] nand: Micron MT29F2G08ABAEAWP
    [    1.102460] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.109996] nand: WARNING: pl353-nand: the ECC used on your system is too weak compared to the one required by the NAND chip
    [    1.121542] Bad block table found at page 131008, version 0x01
    [    1.127760] Bad block table found at page 130944, version 0x01
    [    1.133858] 13 ofpart partitions found on MTD device pl353-nand
    [    1.139686] Creating 13 MTD partitions on "pl353-nand":
    [    1.144913] 0x000000000000-0x000000780000 : "fsbl"
    [    1.150621] 0x000000780000-0x000000b80000 : "kerneldata"
    [    1.156735] 0x000000b80000-0x000000c00000 : "device-tree"
    [    1.162968] 0x000000c00000-0x000001100000 : "Manufacturedata"
    [    1.169516] 0x000001100000-0x000001600000 : "reserved1"
    [    1.175508] 0x000001600000-0x000003400000 : "rootfs"
    [    1.181271] 0x000003400000-0x000003e00000 : "firmdata0"
    [    1.187264] 0x000003e00000-0x000004800000 : "firmdata1"
    [    1.193292] 0x000004800000-0x000006c00000 : "xxxxxxxx"
    [    1.199156] 0x000006c00000-0x00000d000000 : "datafs"
    [    1.205061] 0x00000d000000-0x00000da00000 : "log"
    [    1.210568] 0x00000da00000-0x00000f800000 : "upgrade_cramdisk"
    [    1.217276] 0x00000f800000-0x000011000000 : "reserved2"
    [    1.222434] mtd: partition "reserved2" extends beyond the end of device "pl353-nand" -- size truncated to 0x800000
    [    1.235277] TCP: cubic registered
    [    1.238517] NET: Registered protocol family 17
    [    1.243179] Registering SWP/SWPB emulation handler
    [    1.253849] cramfs_fill_nand blocks is 240-----------------------
    [    1.253849] 
    [    1.253849] 
    [    1.253849] 
    [    1.266654] VFS: Mounted root (cramfs filesystem) readonly on device 31:5.
    [    1.273534] devtmpfs: mounted
    [    1.276636] Freeing unused kernel memory: 196K (4054f000 - 40580000)
    Starting rcS...
     Mounting filesystem
    [    1.658490] UBI-0: ubi_attach_mtd_dev:attaching mtd9 to ubi0
    [    2.038331] UBI-0: scan_all:scanning is finished
    [    2.049985] UBI-0: ubi_attach_mtd_dev:attached mtd9 (name "datafs", size 100 MiB)
    [    2.057422] UBI-0: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.065991] UBI-0: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.074495] UBI-0: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.083190] UBI-0: ubi_attach_mtd_dev:good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0
    [    2.090888] UBI-0: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.099844] UBI-0: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 722077643
    [    2.110604] UBI-0: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 800, PEBs reserved for bad PEB handling: 40
    [    2.121555] UBI-0: ubi_thread:background thread "ubi_bgt0d" started, PID 589
    [    2.125189] UBI-1: ubi_attach_mtd_dev:attaching mtd8 to ubi1
    [    2.263434] UBI-1: scan_all:scanning is finished
    [    2.273976] UBI-1 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 3, need 40
    [    2.284949] UBI-1: ubi_attach_mtd_dev:attached mtd8 (name "xxxxxxxx", size 36 MiB)
    [    2.292387] UBI-1: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.300944] UBI-1: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.309471] UBI-1: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.318143] UBI-1: ubi_attach_mtd_dev:good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
    [    2.325878] UBI-1: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.334811] UBI-1: ubi_attach_mtd_dev:max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 623848732
    [    2.345577] UBI-1: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 3
    [    2.356435] UBI-1: ubi_thread:background thread "ubi_bgt1d" started, PID 593
    [    2.360068] UBI-2: ubi_attach_mtd_dev:attaching mtd6 to ubi2
    [    2.400925] UBI-2: scan_all:scanning is finished
    [    2.411318] UBI-2 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.422239] UBI-2: ubi_attach_mtd_dev:attached mtd6 (name "firmdata0", size 10 MiB)
    [    2.429808] UBI-2: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.438424] UBI-2: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.446920] UBI-2: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.455599] UBI-2: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.463239] UBI-2: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.472178] UBI-2: ubi_attach_mtd_dev:max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 453474438
    [    2.482940] UBI-2: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.493717] UBI-2: ubi_thread:background thread "ubi_bgt2d" started, PID 597
    [    2.503736] UBI-3: ubi_attach_mtd_dev:attaching mtd7 to ubi3
    [    2.546897] UBI-3: scan_all:scanning is finished
    [    2.557274] UBI-3 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.568206] UBI-3: ubi_attach_mtd_dev:attached mtd7 (name "firmdata1", size 10 MiB)
    [    2.575808] UBI-3: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.584386] UBI-3: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.592890] UBI-3: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.601570] UBI-3: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.609197] UBI-3: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.618150] UBI-3: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1004431421
    [    2.628999] UBI-3: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.639776] UBI-3: ubi_thread:background thread "ubi_bgt3d" started, PID 601
    [    2.643354] UBI-4: ubi_attach_mtd_dev:attaching mtd10 to ubi4
    [    2.684302] UBI-4: scan_all:scanning is finished
    [    2.694677] UBI-4 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.705600] UBI-4: ubi_attach_mtd_dev:attached mtd10 (name "log", size 10 MiB)
    [    2.712764] UBI-4: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.721346] UBI-4: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.729840] UBI-4: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.738530] UBI-4: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.746168] UBI-4: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.755109] UBI-4: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1825813290
    [    2.765974] UBI-4: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.776737] UBI-4: ubi_thread:background thread "ubi_bgt4d" started, PID 605
    [    2.789091] UBIFS: background thread "ubifs_bgt1_0" started, PID 608
    [    2.818964] UBIFS: recovery needed
    [    2.840659] UBIFS: recovery completed
    [    2.844345] UBIFS: mounted UBI device 1, volume 0, name "xxxxxxxx"
    [    2.850353] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.859487] UBIFS: FS size: 34410496 bytes (32 MiB, 271 LEBs), journal size 4952064 bytes (4 MiB, 39 LEBs)
    [    2.869113] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    2.874152] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 158DF83C-C1C2-46D5-B139-E06E2A81E726, small LPT model
    [    2.948011] UBIFS: mounted UBI device 2, volume 0, name "firm0", R/O mode
    [    2.954734] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.963842] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    2.973217] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    2.978239] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2371B8C4-8785-441E-95B6-368EAE287723, small LPT model
    [    2.991479] UBIFS: background thread "ubifs_bgt3_0" started, PID 611
    [    3.021322] UBIFS: recovery needed
    [    3.043067] UBIFS: recovery completed
    [    3.046711] UBIFS: mounted UBI device 3, volume 0, name "firm1"
    [    3.052567] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.061673] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    3.071031] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.076083] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5842B1CF-4FC6-49E5-99E4-595684BF15DF, small LPT model
    [    3.088572] UBIFS: background thread "ubifs_bgt4_0" started, PID 613
    [    3.118455] UBIFS: recovery needed
    [    3.140114] UBIFS: recovery completed
    [    3.143786] UBIFS: mounted UBI device 4, volume 0, name "log"
    [    3.149449] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.158578] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    3.167947] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.172984] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C8365E8B-6D9B-44A0-B2BE-0CA35B2C0C88, small LPT model
    [    3.185934] UBIFS: background thread "ubifs_bgt0_0" started, PID 615
    [    3.250360] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    3.256307] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.265409] UBIFS: FS size: 94597120 bytes (90 MiB, 745 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    3.275038] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.280068] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 4A6C8E14-AC24-4910-9FC7-F3BBF336731E, small LPT model
     Configure eth0
    Starting mdev
    [    3.769800] xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
    HC595: start init: ch1[10] ch2[10] ch3[10]
    HC595: open spi dev HC595 failed
    PLL: start init: clock_n_register_data 42
    PLL: open spi dev return -1
    ADC: start init, test[0] om_mode[0] ch_mode[0]
    ADC: open spi dev return -1
    DAC: start init with config: 2800-2800
    DAC: mapped base addr: 36e55000
    DAC: new reg(36e5551c) value1 0
    DAC: new reg(36e55524) value2 0
    VGA: vga set 3 21
    rcS Complete
    
    (none) login: 
                                                           $Task start:: SCPI
     
                                                           $Task start:: Devce
     vxi11_main = 4305
    
                                                           $Task start:: Udisk&Lan
     [INFO]:init_zynq_fpga():line=208:zynq fpga test OK!
    [INFO]:reset_zynq_fpga():line=135:+++++++++++++++
    [INFO]:reset_zynq_fpga():line=149:---------------
    usbtmc_para = insmod /usr/bin/xxxxxxxx/drivers/g_usbtmc.ko idVendor=0xf4ec idProduct=0x1101 iManufacturer=xxxxxxxx iProduct=ZP20 iSerialNum=0123456789
    insmod: can't read '/usr/bin/xxxxxxxx/drivers/udc-xilinx.ko': No such file or directory
    [   21.326037] ######################### usb_gadget_probe_driver 3f02046c ##################
    [   21.334187] usbtmc_bind+++
    [   21.338841] xxxxxxxx_DEV: xxxxxxxx_DEV, version: 2007 OCT 06
    [   21.345128] usbtmc_open()++
    [   21.347847] dev->usbtmc_cdev_open ret = 0
    [   21.351887] ret = 0
    [   21.353912] usbtmc_open--
    [   21.356605] show_send_buffer_size = 61440
    
                                                           $Task start:: USBTMC
    
    (none) login: 
    (none) login: 
    (none) login: root
    Password: 
    login[672]: root login on 'ttyPS0'
    ~ # 
    ~ # 
    ~ # kill 665
     mod_if_exit_handler:signal=15
    Clean Up Ready!
    Clean Up - Main Thread
    ~ # Clean Up - SCPI
    Clean Up - USBTMC
    Clean Up - VXI_11
    Clean Up - dev_thread
    Clean Up - DEV_INTERPRETER
    Clean Up - Config
    Clean Up Over!
    
    ~ # 
    ~ # ls
    bin      etc      lib      mnt      proc     sys      usr
    dev      init     linuxrc  opt      sbin     tmp
    ~ # cat proc/mtd 
    dev:    size   erasesize  name
    mtd0: 00780000 00020000 "fsbl"
    mtd1: 00400000 00020000 "kerneldata"
    mtd2: 00080000 00020000 "device-tree"
    mtd3: 00500000 00020000 "Manufacturedata"
    mtd4: 00500000 00020000 "reserved1"
    mtd5: 01e00000 00020000 "rootfs"
    mtd6: 00a00000 00020000 "firmdata0"
    mtd7: 00a00000 00020000 "firmdata1"
    mtd8: 02400000 00020000 "xxxxxxxx"
    mtd9: 06400000 00020000 "datafs"
    mtd10: 00a00000 00020000 "log"
    mtd11: 01e00000 00020000 "upgrade_cramdisk"
    mtd12: 00800000 00020000 "reserved2"
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ubi1_0 on /usr/bin/xxxxxxxx type ubifs (rw,relatime)
    ubi2_0 on /usr/bin/xxxxxxxx/firmdata0 type ubifs (ro,relatime)
    ubi3_0 on /usr/bin/xxxxxxxx/firmdata1 type ubifs (rw,relatime)
    ubi4_0 on /usr/bin/xxxxxxxx/log type ubifs (rw,relatime)
    ubi0_0 on /usr/bin/xxxxxxxx/usr type ubifs (rw,relatime)
    ~ # umount /usr/bin/xxxxxxxx/usr
    [  301.081402] UBIFS: un-mount UBI device 0, volume 0
    [  301.086124] UBIFS: background thread "ubifs_bgt0_0" stops
    ~ # umount /usr/bin/xxxxxxxx/log/
    [  315.131340] UBIFS: un-mount UBI device 4, volume 0
    [  315.136067] UBIFS: background thread "ubifs_bgt4_0" stops
    ~ # umount /usr/bin/xxxxxxxx/firmdata0
    [  323.501288] UBIFS: un-mount UBI device 2, volume 0
    ~ # umount /usr/bin/xxxxxxxx/firmdata1
    [  326.751344] UBIFS: un-mount UBI device 3, volume 0
    [  326.756067] UBIFS: background thread "ubifs_bgt3_0" stops
    ~ # umount /usr/bin/xxxxxxxx/firmdata0
    umount: can't umount /usr/bin/xxxxxxxx/firmdata0: Invalid argument
    ~ # umount /usr/bin/xxxxxxxx
    [  335.112160] UBIFS: un-mount UBI device 1, volume 0
    [  335.116888] UBIFS: background thread "ubifs_bgt1_0" stops
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ~ # sync 
    ~ # nandtest -k /dev/mtd6
    ECC corrections: 0
    ECC failures   : 0
    Bad blocks     : 0
    BBT blocks     : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd7
    ECC corrections: 0
    ECC failures   : 0
    Bad blocks     : 0
    BBT blocks     : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd8
    ECC corrections: 0
    ECC failures   : 0
    Bad blocks     : 0
    BBT blocks     : 0
    01d00000: reading... [  426.756873] random: nonblocking pool is initialized
    023e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd9
    ECC corrections: 0
    ECC failures   : 0
    Bad blocks     : 0
    BBT blocks     : 0
    063e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd10
    ECC corrections: 0
    ECC failures   : 0
    Bad blocks     : 0
    BBT blocks     : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # mount -o rw -t ubifs ubi0_0 /usr/bin/xxxxxxxx/usr/
    mount: mounting ubi0_0 on /usr/bin/xxxxxxxx/usr/ failed: No such file or directory
    ~ # mount -o rw -t ubifs ubi1_0 /usr/bin/xxxxxxxx/
    [  772.491789] UBIFS: background thread "ubifs_bgt1_0" started, PID 752
    [  772.535522] UBIFS: mounted UBI device 1, volume 0, name "xxxxxxxx"
    [  772.541551] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [  772.550648] UBIFS: FS size: 34410496 bytes (32 MiB, 271 LEBs), journal size 4952064 bytes (4 MiB, 39 LEBs)
    [  772.560290] UBIFS: reserved for root: 0 bytes (0 KiB)
    [  772.565329] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 158DF83C-C1C2-46D5-B139-E06E2A81E726, small LPT model
    ~ # mount -o rw -t ubifs ubi2_0 /usr/bin/xxxxxxxx/firmdata0/
    [  785.861196] UBIFS: background thread "ubifs_bgt2_0" started, PID 755
    [  785.914125] UBIFS: mounted UBI device 2, volume 0, name "firm0"
    [  785.919965] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [  785.929102] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [  785.938461] UBIFS: reserved for root: 0 bytes (0 KiB)
    [  785.943500] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2371B8C4-8785-441E-95B6-368EAE287723, small LPT model
    ~ # mount -o rw -t ubifs ubi3_0 /usr/bin/xxxxxxxx/firmdata1/
    [  789.991238] UBIFS: background thread "ubifs_bgt3_0" started, PID 758
    [  790.033318] UBIFS: mounted UBI device 3, volume 0, name "firm1"
    [  790.039154] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [  790.048297] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [  790.057653] UBIFS: reserved for root: 0 bytes (0 KiB)
    [  790.062692] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5842B1CF-4FC6-49E5-99E4-595684BF15DF, small LPT model
    ~ # mount -o rw -t ubifs ubi4_0 /usr/bin/xxxxxxxx/log/
    [  794.211215] UBIFS: background thread "ubifs_bgt4_0" started, PID 761
    [  794.248156] UBIFS: mounted UBI device 4, volume 0, name "log"
    [  794.253846] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [  794.262951] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [  794.272327] UBIFS: reserved for root: 0 bytes (0 KiB)
    [  794.277349] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C8365E8B-6D9B-44A0-B2BE-0CA35B2C0C88, small LPT model
    ~ # mount -o rw -t ubifs ubi0_0 /usr/bin/xxxxxxxx/usr/
    [  798.301228] UBIFS: background thread "ubifs_bgt0_0" started, PID 764
    [  798.362315] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [  798.368238] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [  798.377371] UBIFS: FS size: 94597120 bytes (90 MiB, 745 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [  798.386994] UBIFS: reserved for root: 0 bytes (0 KiB)
    [  798.392034] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 4A6C8E14-AC24-4910-9FC7-F3BBF336731E, small LPT model
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ubi1_0 on /usr/bin/xxxxxxxx type ubifs (rw,relatime)
    ubi2_0 on /usr/bin/xxxxxxxx/firmdata0 type ubifs (rw,relatime)
    ubi3_0 on /usr/bin/xxxxxxxx/firmdata1 type ubifs (rw,relatime)
    ubi4_0 on /usr/bin/xxxxxxxx/log type ubifs (rw,relatime)
    ubi0_0 on /usr/bin/xxxxxxxx/usr type ubifs (rw,relatime)
    ~ # 
    ~ # 
    ~ # 
    
    
    ##################   nandtest操作后重启   ########################
    ~ # reboot
    ~ # [  850.891285] UBIFS: un-mount UBI device 0, volume 0
    [  850.896007] UBIFS: background thread "ubifs_bgt0_0" stops
    [  850.931286] UBIFS: un-mount UBI device 4, volume 0
    [  850.936014] UBIFS: background thread "ubifs_bgt4_0" stops
    [  850.971320] UBIFS: un-mount UBI device 3, volume 0
    [  850.976046] UBIFS: background thread "ubifs_bgt3_0" stops
    [  851.011298] UBIFS: un-mount UBI device 2, volume 0
    [  851.016016] UBIFS: background thread "ubifs_bgt2_0" stops
    [  851.061324] UBIFS: un-mount UBI device 1, volume 0
    [  851.066048] UBIFS: background thread "ubifs_bgt1_0" stops
    umount: devtmpfs busy - remounted read-only
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to all processes
    Requesting system reboot
    
      853.223865] reboot: Restarting system
    U-Boot 2014.07-svn117724 (Dec 03 2019 - 19:27:41)
    
    Board:  Xilinx Zynq
    I2C:   ready
    DRAM:  ECC disabled 112 MiB
    NAND:  256 MiB
    MMC:   zynq_sdhci: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    int board_late_init(void)+++++
    [INFO]int fb_display_logo(void)++++++++++++
    [Warnning]int check_is_bmp(void) Can't find  logo bmp data!!!
    [WARNNING]int fb_display_logo(void) return
    int board_late_init(void)-----
    Net:   Gem.e000b000
    Hit any key to stop autoboot:  0 
    (Re)start USB...
    USB0:   USB EHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
    USB1:   ULPI request timed out
    zynq ULPI viewport init failed
    lowlevel init failed
           scanning usb for storage devices... 0 Storage Device(s) found
    Copying Linux from USB to RAM...
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Copying Linux from NAND flash to RAM...
    
    NAND read: device 0 offset 0x780000, size 0x400000
     4194304 bytes read: OK
    
    NAND read: device 0 offset 0xb80000, size 0x80000
     524288 bytes read: OK
    ## Booting kernel from Legacy Image at 02080000 ...
       Image Name:   Linux-3.19.0-xilinx-svn7231
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3118352 Bytes = 3 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 02000000
       Booting using the fdt blob at 0x2000000
    EHCI failed to shut down host controller.
       Loading Kernel Image ... OK
       Loading Device Tree to 05d0d000, end 05d13d6b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.19.0-xilinx-svn7231 (david@david-virtual-machine) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #248 SMP PREEMPT Tue Jul 4 18:20:37 CST 2017
    [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Zynq Zed Development Board
    [    0.000000] cma: Reserved 16 MiB at 0x08400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 9 pages/cpu @494a2000 s8128 r8192 d20544 u36864
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 38100
    [    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock5 rootfstype=cramfs init=/linuxrc earlyprintk uboot_version=01
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 129536K/153600K available (3839K kernel code, 222K rwdata, 1560K rodata, 196K init, 216K bss, 7680K reserved, 16384K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0x49800000 - 0xff000000   (2904 MB)
    [    0.000000]     lowmem  : 0x40000000 - 0x49600000   ( 150 MB)
    [    0.000000]     pkmap   : 0x3fe00000 - 0x40000000   (   2 MB)
    [    0.000000]     modules : 0x3f000000 - 0x3fe00000   (  14 MB)
    [    0.000000]       .text : 0x40008000 - 0x4054e160   (5401 kB)
    [    0.000000]       .init : 0x4054f000 - 0x40580000   ( 196 kB)
    [    0.000000]       .data : 0x40580000 - 0x405b7be0   ( 223 kB)
    [    0.000000]        .bss : 0x405b7be0 - 0x405eddd4   ( 217 kB)
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    [    0.000000] slcr mapped to 49804000
    [    0.000000] zynq_clock_init: clkc starts at 49804100
    [    0.000000] Zynq clock init
    [    0.000009] sched_clock: 64 bits at 383MHz, resolution 2ns, wraps every 2868291043328ns
    [    0.000114] timer #0 at 49806000, irq=17
    [    0.000429] Console: colour dummy device 80x30
    [    0.000446] Calibrating delay loop... 1528.62 BogoMIPS (lpj=7643136)
    [    0.090214] pid_max: default: 32768 minimum: 301
    [    0.090346] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090360] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090911] CPU: Testing write buffer coherency: ok
    [    0.091086] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.091151] Setting up static identity map for 0x39d350 - 0x39d3a8
    [    0.190203] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.190270] Brought up 2 CPUs
    [    0.190287] SMP: Total of 2 processors activated (3057.25 BogoMIPS).
    [    0.190294] CPU: All CPU(s) started in SVC mode.
    [    0.190742] devtmpfs: initialized
    [    0.191370] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.196379] NET: Registered protocol family 16
    [    0.198123] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.220975] cpuidle: using governor ladder
    [    0.250947] cpuidle: using governor menu
    [    0.258229] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.258243] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.258362] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x49880000
    [    0.268161] vgaarb: loaded
    [    0.268547] SCSI subsystem initialized
    [    0.268900] usbcore: registered new interface driver usbfs
    [    0.268981] usbcore: registered new interface driver hub
    [    0.269076] usbcore: registered new device driver usb
    [    0.269205] phy0 supply vcc not found, using dummy regulator
    [    0.269289] phy1 supply vcc not found, using dummy regulator
    [    0.269391] --------------usb_udc_init ------
    [    0.269588] pps_core: LinuxPPS API ver. 1 registered
    [    0.269599] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.269641] PTP clock support registered
    [    0.269813] EDAC MC: Ver: 3.0.0
    [    0.271166] Switched to clocksource arm_global_timer
    [    0.282326] NET: Registered protocol family 2
    [    0.282944] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.282988] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.283038] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.283075] TCP: reno registered
    [    0.283089] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.283115] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.283299] NET: Registered protocol family 1
    [    0.283539] RPC: Registered named UNIX socket transport module.
    [    0.283550] RPC: Registered udp transport module.
    [    0.283558] RPC: Registered tcp transport module.
    [    0.283565] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.283885] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    [    0.285073] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.286530] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    [    0.287374] io scheduler noop registered
    [    0.287390] io scheduler deadline registered
    [    0.287435] io scheduler cfq registered (default)
    [    0.289161] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
    [    0.289179] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
    [    0.289565] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 144, base_baud = 6249999) is a xuartps
    [    0.861667] console [ttyPS0] enabled
    [    0.865743] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to 49878000
    [    0.872403] [drm] Initialized drm 1.1.0 20060810
    [    0.883908] brd: module loaded
    [    0.890341] loop: module loaded
    [    0.898715] libphy: MACB_mii_bus: probed
    [    0.981314] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
    [    0.991183] macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:1e, irq=-1)
    [    1.002515] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.008968] ehci-pci: EHCI PCI platform driver
    [    1.013600] usbcore: registered new interface driver usb-storage
    [    1.019714] e0002000.usb supply vbus not found, using dummy regulator
    [    1.026356] ci_hdrc ci_hdrc.0: EHCI Host Controller
    [    1.031188] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    [    1.051184] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    [    1.057187] hub 1-0:1.0: USB hub found
    [    1.060883] hub 1-0:1.0: 1 port detected
    [    1.065240] e0003000.usb supply vbus not found, using dummy regulator
    [    1.074298] zynq-edac f8006000.memory-controller: ecc not enabled
    [    1.080484] Xilinx Zynq CpuIdle Driver started
    [    1.085419] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.092077] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.098347] nand: Micron MT29F2G08ABAEAWP
    [    1.102364] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.109897] nand: WARNING: pl353-nand: the ECC used on your system is too weak compared to the one required by the NAND chip
    [    1.121409] Bad block table found at page 131008, version 0x01
    [    1.127625] Bad block table found at page 130944, version 0x01
    [    1.133782] 13 ofpart partitions found on MTD device pl353-nand
    [    1.139611] Creating 13 MTD partitions on "pl353-nand":
    [    1.144846] 0x000000000000-0x000000780000 : "fsbl"
    [    1.150526] 0x000000780000-0x000000b80000 : "kerneldata"
    [    1.156654] 0x000000b80000-0x000000c00000 : "device-tree"
    [    1.162849] 0x000000c00000-0x000001100000 : "Manufacturedata"
    [    1.169389] 0x000001100000-0x000001600000 : "reserved1"
    [    1.175420] 0x000001600000-0x000003400000 : "rootfs"
    [    1.181185] 0x000003400000-0x000003e00000 : "firmdata0"
    [    1.187185] 0x000003e00000-0x000004800000 : "firmdata1"
    [    1.193196] 0x000004800000-0x000006c00000 : "xxxxxxxx"
    [    1.199045] 0x000006c00000-0x00000d000000 : "datafs"
    [    1.204956] 0x00000d000000-0x00000da00000 : "log"
    [    1.210463] 0x00000da00000-0x00000f800000 : "upgrade_cramdisk"
    [    1.217156] 0x00000f800000-0x000011000000 : "reserved2"
    [    1.222316] mtd: partition "reserved2" extends beyond the end of device "pl353-nand" -- size truncated to 0x800000
    [    1.235158] TCP: cubic registered
    [    1.238400] NET: Registered protocol family 17
    [    1.243060] Registering SWP/SWPB emulation handler
    [    1.253731] cramfs_fill_nand blocks is 240-----------------------
    [    1.253731] 
    [    1.253731] 
    [    1.253731] 
    [    1.266542] VFS: Mounted root (cramfs filesystem) readonly on device 31:5.
    [    1.273429] devtmpfs: mounted
    [    1.276531] Freeing unused kernel memory: 196K (4054f000 - 40580000)
    Starting rcS...
     Mounting filesystem
    [    1.658281] UBI-0: ubi_attach_mtd_dev:attaching mtd9 to ubi0
    [    2.037982] UBI-0: scan_all:scanning is finished
    [    2.049678] UBI-0: ubi_attach_mtd_dev:attached mtd9 (name "datafs", size 100 MiB)
    [    2.057148] UBI-0: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.065689] UBI-0: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.074192] UBI-0: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.082881] UBI-0: ubi_attach_mtd_dev:good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0
    [    2.090584] UBI-0: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.099539] UBI-0: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 722077643
    [    2.110300] UBI-0: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 800, PEBs reserved for bad PEB handling: 40
    [    2.121251] UBI-0: ubi_thread:background thread "ubi_bgt0d" started, PID 589
    [    2.124851] UBI-1: ubi_attach_mtd_dev:attaching mtd8 to ubi1
    [    2.263106] UBI-1: scan_all:scanning is finished
    [    2.273644] UBI-1 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 3, need 40
    [    2.284648] UBI-1: ubi_attach_mtd_dev:attached mtd8 (name "xxxxxxxx", size 36 MiB)
    [    2.292084] UBI-1: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.300640] UBI-1: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.309167] UBI-1: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.317840] UBI-1: ubi_attach_mtd_dev:good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
    [    2.325574] UBI-1: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.334507] UBI-1: ubi_attach_mtd_dev:max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 623848732
    [    2.345274] UBI-1: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 3
    [    2.356132] UBI-1: ubi_thread:background thread "ubi_bgt1d" started, PID 593
    [    2.359735] UBI-2: ubi_attach_mtd_dev:attaching mtd6 to ubi2
    [    2.400581] UBI-2: scan_all:scanning is finished
    [    2.410944] UBI-2 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.421893] UBI-2: ubi_attach_mtd_dev:attached mtd6 (name "firmdata0", size 10 MiB)
    [    2.429461] UBI-2: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.438077] UBI-2: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.446572] UBI-2: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.455249] UBI-2: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.462887] UBI-2: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.471835] UBI-2: ubi_attach_mtd_dev:max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 453474438
    [    2.482601] UBI-2: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.493370] UBI-2: ubi_thread:background thread "ubi_bgt2d" started, PID 597
    [    2.497024] UBI-3: ubi_attach_mtd_dev:attaching mtd7 to ubi3
    [    2.537851] UBI-3: scan_all:scanning is finished
    [    2.548220] UBI-3 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.559154] UBI-3: ubi_attach_mtd_dev:attached mtd7 (name "firmdata1", size 10 MiB)
    [    2.566756] UBI-3: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.575334] UBI-3: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.583837] UBI-3: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.592527] UBI-3: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.600144] UBI-3: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.609098] UBI-3: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1004431421
    [    2.619946] UBI-3: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.630728] UBI-3: ubi_thread:background thread "ubi_bgt3d" started, PID 601
    [    2.634330] UBI-4: ubi_attach_mtd_dev:attaching mtd10 to ubi4
    [    2.675217] UBI-4: scan_all:scanning is finished
    [    2.685589] UBI-4 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 40
    [    2.696513] UBI-4: ubi_attach_mtd_dev:attached mtd10 (name "log", size 10 MiB)
    [    2.703677] UBI-4: ubi_attach_mtd_dev:PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.712260] UBI-4: ubi_attach_mtd_dev:min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    2.720752] UBI-4: ubi_attach_mtd_dev:VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.729444] UBI-4: ubi_attach_mtd_dev:good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.737089] UBI-4: ubi_attach_mtd_dev:user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.746025] UBI-4: ubi_attach_mtd_dev:max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1825813290
    [    2.756873] UBI-4: ubi_attach_mtd_dev:available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 9
    [    2.767650] UBI-4: ubi_thread:background thread "ubi_bgt4d" started, PID 605
    [    2.782843] UBIFS: background thread "ubifs_bgt1_0" started, PID 608
    [    2.828956] UBIFS: mounted UBI device 1, volume 0, name "xxxxxxxx"
    [    2.834987] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.844094] UBIFS: FS size: 34410496 bytes (32 MiB, 271 LEBs), journal size 4952064 bytes (4 MiB, 39 LEBs)
    [    2.853729] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    2.858750] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 158DF83C-C1C2-46D5-B139-E06E2A81E726, small LPT model
    [    2.932598] UBIFS: mounted UBI device 2, volume 0, name "firm0", R/O mode
    [    2.939307] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.948441] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    2.957806] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    2.962843] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2371B8C4-8785-441E-95B6-368EAE287723, small LPT model
    [    2.976020] UBIFS: background thread "ubifs_bgt3_0" started, PID 611
    [    3.022329] UBIFS: mounted UBI device 3, volume 0, name "firm1"
    [    3.028164] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.037303] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    3.046664] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.051699] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5842B1CF-4FC6-49E5-99E4-595684BF15DF, small LPT model
    [    3.064179] UBIFS: background thread "ubifs_bgt4_0" started, PID 613
    [    3.110215] UBIFS: mounted UBI device 4, volume 0, name "log"
    [    3.115892] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.125001] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [    3.134376] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.139401] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C8365E8B-6D9B-44A0-B2BE-0CA35B2C0C88, small LPT model
    [    3.152382] UBIFS: background thread "ubifs_bgt0_0" started, PID 615
    [    3.215805] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    3.221756] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.230842] UBIFS: FS size: 94597120 bytes (90 MiB, 745 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    3.240490] UBIFS: reserved for root: 0 bytes (0 KiB)
    [    3.245526] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 4A6C8E14-AC24-4910-9FC7-F3BBF336731E, small LPT model
     Configure eth0
    Starting mdev
    [    3.738765] xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
    HC595: start init: ch1[10] ch2[10] ch3[10]
    HC595: open spi dev HC595 failed
    PLL: start init: clock_n_register_data 42
    PLL: open spi dev return -1
    ADC: start init, test[0] om_mode[0] ch_mode[0]
    ADC: open spi dev return -1
    DAC: start init with config: 2800-2800
    DAC: mapped base addr: 36d92000
    DAC: new reg(36d9251c) value1 0
    DAC: new reg(36d92524) value2 0
    VGA: vga set 3 21
    ===============[vdma_menu.sh]=================start
    config and read
    read register[0x43000000]=
    0x00010003
    read register[0x4300005c]=
    0x09600000
    read register[0x43000058]=
    0x00000780
    read register[0x43000054]=
    0x00000780
    read register[0x43000050]=
    0x00000110
    ===============[vdma_menu.sh]=================end
    rcS Complete
    
    (none) login: 
                                                           $Task start:: SCPI
     
                                                           $Task start:: Devce
     vxi11_main = 4269
    
                                                           $Task start:: Udisk&Lan
     [INFO]:init_zynq_fpga():line=208:zynq fpga test OK!
    [INFO]:reset_zynq_fpga():line=135:+++++++++++++++
    [INFO]:reset_zynq_fpga():line=149:---------------
    usbtmc_para = insmod /usr/bin/xxxxxxxx/drivers/g_usbtmc.ko idVendor=0xf4ec idProduct=0x1101 iManufacturer=xxxxxxxx iProduct=ZP20 iSerialNum=0123456789
    insmod: can't read '/usr/bin/xxxxxxxx/drivers/udc-xilinx.ko': No such file or directory
    [   21.290350] ######################### usb_gadget_probe_driver 3f02046c ##################
    [   21.298507] usbtmc_bind+++
    [   21.303194] xxxxxxxx_DEV: xxxxxxxx_DEV, version: 2007 OCT 06
    [   21.309427] usbtmc_open()++
    [   21.312198] dev->usbtmc_cdev_open ret = 0
    [   21.316143] ret = 0
    [   21.318211] usbtmc_open--
    [   21.320905] show_send_buffer_size = 61440
    
                                                           $Task start:: USBTMC
    


    ~ #
    ~ # ls
    bin etc lib mnt proc sys usr
    dev init linuxrc opt sbin tmp
    ~ # cat proc/mtd
    dev: size erasesize name
    mtd0: 00780000 00020000 "fsbl"
    mtd1: 00400000 00020000 "kerneldata"
    mtd2: 00080000 00020000 "device-tree"
    mtd3: 00500000 00020000 "Manufacturedata"
    mtd4: 00500000 00020000 "reserved1"
    mtd5: 01e00000 00020000 "rootfs"
    mtd6: 00a00000 00020000 "firmdata0"
    mtd7: 00a00000 00020000 "firmdata1"
    mtd8: 02400000 00020000 "xxxxxxxx"
    mtd9: 06400000 00020000 "datafs"
    mtd10: 00a00000 00020000 "log"
    mtd11: 01e00000 00020000 "upgrade_cramdisk"
    mtd12: 00800000 00020000 "reserved2"
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ubi1_0 on /usr/bin/xxxxxxxx type ubifs (rw,relatime)
    ubi2_0 on /usr/bin/xxxxxxxx/firmdata0 type ubifs (ro,relatime)
    ubi3_0 on /usr/bin/xxxxxxxx/firmdata1 type ubifs (rw,relatime)
    ubi4_0 on /usr/bin/xxxxxxxx/log type ubifs (rw,relatime)
    ubi0_0 on /usr/bin/xxxxxxxx/usr type ubifs (rw,relatime)
    ~ # umount /usr/bin/xxxxxxxx/usr
    [ 301.081402] UBIFS: un-mount UBI device 0, volume 0
    [ 301.086124] UBIFS: background thread "ubifs_bgt0_0" stops
    ~ # umount /usr/bin/xxxxxxxx/log/
    [ 315.131340] UBIFS: un-mount UBI device 4, volume 0
    [ 315.136067] UBIFS: background thread "ubifs_bgt4_0" stops
    ~ # umount /usr/bin/xxxxxxxx/firmdata0
    [ 323.501288] UBIFS: un-mount UBI device 2, volume 0
    ~ # umount /usr/bin/xxxxxxxx/firmdata1
    [ 326.751344] UBIFS: un-mount UBI device 3, volume 0
    [ 326.756067] UBIFS: background thread "ubifs_bgt3_0" stops
    ~ # umount /usr/bin/xxxxxxxx/firmdata0
    umount: can't umount /usr/bin/xxxxxxxx/firmdata0: Invalid argument
    ~ # umount /usr/bin/xxxxxxxx
    [ 335.112160] UBIFS: un-mount UBI device 1, volume 0
    [ 335.116888] UBIFS: background thread "ubifs_bgt1_0" stops
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ~ # sync
    ~ # nandtest -k /dev/mtd6
    ECC corrections: 0
    ECC failures : 0
    Bad blocks : 0
    BBT blocks : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd7
    ECC corrections: 0
    ECC failures : 0
    Bad blocks : 0
    BBT blocks : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd8
    ECC corrections: 0
    ECC failures : 0
    Bad blocks : 0
    BBT blocks : 0
    01d00000: reading... [ 426.756873] random: nonblocking pool is initialized
    023e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd9
    ECC corrections: 0
    ECC failures : 0
    Bad blocks : 0
    BBT blocks : 0
    063e0000: checking...
    Finished pass 1 successfully
    ~ # nandtest -k /dev/mtd10
    ECC corrections: 0
    ECC failures : 0
    Bad blocks : 0
    BBT blocks : 0
    009e0000: checking...
    Finished pass 1 successfully
    ~ # mount -o rw -t ubifs ubi0_0 /usr/bin/xxxxxxxx/usr/
    mount: mounting ubi0_0 on /usr/bin/xxxxxxxx/usr/ failed: No such file or directory
    ~ # mount -o rw -t ubifs ubi1_0 /usr/bin/xxxxxxxx/
    [ 772.491789] UBIFS: background thread "ubifs_bgt1_0" started, PID 752
    [ 772.535522] UBIFS: mounted UBI device 1, volume 0, name "xxxxxxxx"
    [ 772.541551] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 772.550648] UBIFS: FS size: 34410496 bytes (32 MiB, 271 LEBs), journal size 4952064 bytes (4 MiB, 39 LEBs)
    [ 772.560290] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 772.565329] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 158DF83C-C1C2-46D5-B139-E06E2A81E726, small LPT model
    ~ # mount -o rw -t ubifs ubi2_0 /usr/bin/xxxxxxxx/firmdata0/
    [ 785.861196] UBIFS: background thread "ubifs_bgt2_0" started, PID 755
    [ 785.914125] UBIFS: mounted UBI device 2, volume 0, name "firm0"
    [ 785.919965] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 785.929102] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [ 785.938461] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 785.943500] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2371B8C4-8785-441E-95B6-368EAE287723, small LPT model
    ~ # mount -o rw -t ubifs ubi3_0 /usr/bin/xxxxxxxx/firmdata1/
    [ 789.991238] UBIFS: background thread "ubifs_bgt3_0" started, PID 758
    [ 790.033318] UBIFS: mounted UBI device 3, volume 0, name "firm1"
    [ 790.039154] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 790.048297] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [ 790.057653] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 790.062692] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5842B1CF-4FC6-49E5-99E4-595684BF15DF, small LPT model
    ~ # mount -o rw -t ubifs ubi4_0 /usr/bin/xxxxxxxx/log/
    [ 794.211215] UBIFS: background thread "ubifs_bgt4_0" started, PID 761
    [ 794.248156] UBIFS: mounted UBI device 4, volume 0, name "log"
    [ 794.253846] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 794.262951] UBIFS: FS size: 7237632 bytes (6 MiB, 57 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
    [ 794.272327] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 794.277349] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C8365E8B-6D9B-44A0-B2BE-0CA35B2C0C88, small LPT model
    ~ # mount -o rw -t ubifs ubi0_0 /usr/bin/xxxxxxxx/usr/
    [ 798.301228] UBIFS: background thread "ubifs_bgt0_0" started, PID 764
    [ 798.362315] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 798.368238] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 798.377371] UBIFS: FS size: 94597120 bytes (90 MiB, 745 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 798.386994] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 798.392034] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 4A6C8E14-AC24-4910-9FC7-F3BBF336731E, small LPT model
    ~ # mount
    /dev/root on / type cramfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=64768k,nr_inodes=16192,mode=755)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /tmp type tmpfs (rw,relatime)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    ubi1_0 on /usr/bin/xxxxxxxx type ubifs (rw,relatime)
    ubi2_0 on /usr/bin/xxxxxxxx/firmdata0 type ubifs (rw,relatime)
    ubi3_0 on /usr/bin/xxxxxxxx/firmdata1 type ubifs (rw,relatime)
    ubi4_0 on /usr/bin/xxxxxxxx/log type ubifs (rw,relatime)
    ubi0_0 on /usr/bin/xxxxxxxx/usr type ubifs (rw,relatime)
    ~ #
    ~ #
    ~ #

  • Hi Tony,

    I will try it on the EVM and get you back.

  • Bin,

    Sorry for making you very busy. Customer need the conclusion for next step plan. 

  • Hi Tony,

    Sorry for the delay. I reproduced the issue on the evm, and have pinged the development team a few times but haven't got the response yet. I only guess maybe nandtest is not often used so people don't have much experience with it? At the moment I can only recommend the customer to do nandtest before the ubifs is created, and don't use it after.

  • Bin,

    This is not the real needed use case for customer, because customer got some NAND filesystem failure issue from field from time to time. so they did this test to compare with the Zynq platform, because they did not have filesys failure issue on Zynq. we let them upgrade SDK from SDK7 to latest Processor SDK 6.x, this is the evaluation step of new PSDK.

  • Hi Tony,

    Sounds good. Please let me know if the customer has issue with Processor SDK v6.3.

  • Bin,

    The test is on Processor SDK 6.03 already, same issue, so pending the progress to upgrade to product, as it may not resolve the filesystem fail issue which based on old SDK.

  • Tony,

    This is not the real needed use case for customer, because customer got some NAND filesystem failure issue from field from time to time. so they did this test to compare with the Zynq platform, because they did not have filesys failure issue on Zynq. we let them upgrade SDK from SDK7 to latest Processor SDK 6.x, this is the evaluation step of new PSDK.

    Please provide the Linux boot log on the customer's AM3358 platform.

  • Attach 2 log of mounting failure:

    8270.sdm1_hang.txt
    U-Boot 2013.01.01-svn29730 (Mar 20 2017 - 17:08:42)
    
    I2C:   ready
    DRAM:  128 MiB
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Using default environment
    
    set_default_env::8105
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot
    mmc_send_cmd : timeout: No status update
    Card did not respond to voltage select!
    (Re)start USB...
    USB0:   lowlevel init failed
    USB error: all controllers failed lowlevel init
    Download Linux from USB to Nandflash...
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Booting from nand ...
    
    NAND read: device 0 offset 0x3080000, size 0x300000
     3145728 bytes read: OK
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-3.2.0+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2667232 Bytes = 2.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0+ (ding@ding-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #26 Thu Jan 7 12:05:10 ULAT 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Ignoring tag cmdline (using the default kernel command line)
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs ro ubi.mtd=7,2048 rootfstype=ubifs rootwait=1t ip=none
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 128MB = 128MB total
    [    0.000000] Memory: 123784k/123784k available, 7288k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04d7084   (4925 kB)
    [    0.000000]       .init : 0xc04d8000 - 0xc0518000   ( 256 kB)
    [    0.000000]       .data : 0xc0518000 - 0xc05b3e68   ( 624 kB)
    [    0.000000]        .bss : 0xc05b3e8c - 0xc05fabb0   ( 284 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 25000000 Hz
    [    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
    [    0.000000] OMAP clocksource: GPTIMER1 at 25000000 Hz
    [    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000215] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.057102] pid_max: default: 32768 minimum: 301
    [    0.057281] Mount-cache hash table entries: 512
    [    0.057671] CPU: Testing write buffer coherency: ok
    [    0.057749] ftrace: allocating 13708 entries in 41 pages
    [    0.107871] omap_hwmod: gfx: failed to hardreset
    [    0.124017] omap_hwmod: pruss: failed to hardreset
    [    0.125151] print_constraints: dummy: 
    [    0.125590] NET: Registered protocol family 16
    [    0.127799] OMAP GPIO hardware version 0.1
    [    0.130226] am335x_evm_init()++
    [    0.130446] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.132625] am335x_evm_i2c_init()++
    [    0.132864]  omap_i2c.1: alias fck already exists
    [    0.133060] am335x_evm_i2c_init()--
    [    0.133189] da8xx_panel_power_ctrl()++
    [    0.133227] back light switch = 1
    [    0.133249] da8xx_panel_power_ctrl()--
    [    0.133557] am335x_evm_init()--
    [    0.133846]  omap2_mcspi.1: alias fck already exists
    [    0.134060]  omap2_mcspi.2: alias fck already exists
    [    0.134312]  edma.0: alias fck already exists
    [    0.134333]  edma.0: alias fck already exists
    [    0.134352]  edma.0: alias fck already exists
    [    0.150288] bio: create slab <bio-0> at 0
    [    0.152436] SCSI subsystem initialized
    [    0.154168] usbcore: registered new interface driver usbfs
    [    0.154481] usbcore: registered new interface driver hub
    [    0.154685] usbcore: registered new device driver usb
    [    0.167171] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.169205] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.171894] print_constraints: VRTC: 
    [    0.173533] print_constraints: VIO: at 1500 mV 
    [    0.176197] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
    [    0.178868] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    0.180015] print_constraints: VDD3: 5000 mV 
    [    0.181619] print_constraints: VDIG1: at 1800 mV 
    [    0.183242] print_constraints: VDIG2: at 1800 mV 
    [    0.184854] print_constraints: VPLL: at 1800 mV 
    [    0.186467] print_constraints: VDAC: at 1800 mV 
    [    0.188087] print_constraints: VAUX1: at 1800 mV 
    [    0.189702] print_constraints: VAUX2: at 3300 mV 
    [    0.191331] print_constraints: VAUX33: at 3300 mV 
    [    0.192948] print_constraints: VMMC: at 3300 mV 
    [    0.193428] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.194510] Switching to clocksource gp timer
    [    0.214824] NET: Registered protocol family 2
    [    0.215031] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.215336] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.215423] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.215477] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.215490] TCP reno registered
    [    0.215503] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.215527] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.215700] NET: Registered protocol family 1
    [    0.215982] RPC: Registered named UNIX socket transport module.
    [    0.215995] RPC: Registered udp transport module.
    [    0.216004] RPC: Registered tcp transport module.
    [    0.216014] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.216775] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver
    [    0.224079] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.224412] msgmni has been set to 241
    [    0.225103] io scheduler noop registered
    [    0.225119] io scheduler deadline registered
    [    0.225200] io scheduler cfq registered (default)
    [    0.226234] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.770005] console [ttyO0] enabled
    [    0.774190] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.781984] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.789728] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.797463] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.805194] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.821922] brd: module loaded
    [    0.829955] loop: module loaded
    [    0.833328] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.894553] No daughter card found
    [    0.898155] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.905427] am335x_evm_setup()++
    [    0.964553] AM335X: EVM Config read fail: -110
    [    0.969185] No board detected, using GPBoard 1.1A as default
    [    0.975306] The board is general purpose EVM in profile 0
    [    0.980935] Found invalid GP EVM revision, falling back to Rev1.1A
    [    0.987392] -------siglent_fpga_init++
    [    0.991417] -------siglent_fpga_init--
    [    0.996130]  da8xx_lcdc.0: alias fck already exists
    [    1.001644] evm_nand_init()++
    [    1.005365] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    1.010369] Registering NAND on CS0
    [    1.014651] evm_nand_init()--
    [    1.017832]  omap_i2c.2: alias fck already exists
    [    1.034619] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.042826] haptics_init()++
    [    1.046884] haptics_init()--
    [    1.049893] out_triger_gpio_init()++
    [    1.053658] out_triger_gpio_init()--
    [    1.057888] am335x_evm_setup()--
    [    1.062731] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.069986] omap2-nand driver initializing
    [    1.074618] ONFI flash detected
    [    1.078028] ONFI param page 0 valid
    [    1.081676] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    1.090267] Creating 12 MTD partitions on "omap2-nand.0":
    [    1.095932] 0x000000000000-0x000000020000 : "SPL"
    [    1.102217] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    1.109127] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    1.116022] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    1.122856] 0x000000080000-0x000000260000 : "U-Boot"
    [    1.130067] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.136883] 0x000000280000-0x000000580000 : "Manufacturedata"
    [    1.145369] 0x000000580000-0x000003080000 : "rootfs"
    [    1.169601] 0x000003080000-0x000003680000 : "kerneldata"
    [    1.178782] 0x000003680000-0x000006880000 : "firmdata0"
    [    1.206188] 0x000006880000-0x000009a80000 : "firmdata1"
    [    1.233576] 0x000009a80000-0x000010000000 : "datafs"
    [    1.282266] OneNAND driver initializing
    [    1.287013] UBI: attaching mtd7 to ubi0
    [    1.291028] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.297592] UBI: logical eraseblock size:    126976 bytes
    [    1.303220] UBI: smallest flash I/O unit:    2048
    [    1.308131] UBI: sub-page size:              512
    [    1.312942] UBI: VID header offset:          2048 (aligned 2048)
    [    1.319212] UBI: data offset:                4096
    [    1.734139] UBI: max. sequence number:       4
    [    1.752489] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 15
    [    1.764161] UBI: attached mtd7 to ubi0
    [    1.768111] UBI: MTD device name:            "rootfs"
    [    1.773376] UBI: MTD device size:            43 MiB
    [    1.778470] UBI: number of good PEBs:        344
    [    1.783281] UBI: number of bad PEBs:         0
    [    1.787919] UBI: number of corrupted PEBs:   0
    [    1.792549] UBI: max. allowed volumes:       128
    [    1.797369] UBI: wear-leveling threshold:    4096
    [    1.802270] UBI: number of internal volumes: 1
    [    1.806908] UBI: number of user volumes:     1
    [    1.811538] UBI: available PEBs:             0
    [    1.816178] UBI: total number of reserved PEBs: 344
    [    1.821260] UBI: number of PEBs reserved for bad PEB handling: 9
    [    1.827530] UBI: max/mean erase counter: 2/0
    [    1.831978] UBI: image sequence number:  631718590
    [    1.837097] UBI: background thread "ubi_bgt0d" started, PID 482
    [    1.994189] da8xx_lcdc da8xx_lcdc.0: GLCD: Found HANSTAR_HSD070IDW1_A panel
    [    2.009673] Console: switching to colour frame buffer device 60x34
    [    2.021530] sdg800:Logo image from nandflash, color_addr=[0xc88cb034], color_len=[0x7f800]!
    [    2.084583] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    2.091044] davinci_mdio davinci_mdio.0: detected phy mask bfffffff
    [    2.097827] bus->id = 0, addr= 30
    [    2.101485] 11--
    [    2.103613] davinci_mdio.0: probed
    [    2.107199] davinci_mdio davinci_mdio.0: phy[30]: device 0:1e, driver unknown
    [    2.114982] usbcore: registered new interface driver cdc_ether
    [    2.121225] usbcore: registered new interface driver dm9601
    [    2.127100] cdc_ncm: 04-Aug-2011
    [    2.130633] usbcore: registered new interface driver cdc_ncm
    [    2.136555] Initializing USB Mass Storage driver...
    [    2.141829] usbcore: registered new interface driver usb-storage
    [    2.148109] USB Mass Storage support registered.
    [    2.153352] mousedev: PS/2 mouse device common for all mice
    [    2.159639] i2c /dev entries driver
    [    2.164709] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.171719] TCP cubic registered
    [    2.175128] NET: Registered protocol family 17
    [    2.179913] NET: Registered protocol family 33
    [    2.184589] Registering the dns_resolver key type
    [    2.189551] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.197572] ThumbEE CPU extension supported.
    [    2.202087] mux: Failed to setup hwmod io irq -22
    [    2.207620] Power Management for AM33XX family
    [    2.212317] clock: disabling unused clocks to save power
    [    2.219513] Detected MACID=f8:36:9b:fe:49:39
    [    2.371302] UBIFS error (pid 1): ubifs_recover_master_node: failed to recover master node
    [    2.380474] List of all partitions:
    [    2.384162] 1f00             128 mtdblock0  (driver?)
    [    2.389482] 1f01             128 mtdblock1  (driver?)
    [    2.394767] 1f02             128 mtdblock2  (driver?)
    [    2.400046] 1f03             128 mtdblock3  (driver?)
    [    2.405345] 1f04            1920 mtdblock4  (driver?)
    [    2.410618] 1f05             128 mtdblock5  (driver?)
    [    2.415905] 1f06            3072 mtdblock6  (driver?)
    [    2.421183] 1f07           44032 mtdblock7  (driver?)
    [    2.426467] 1f08            6144 mtdblock8  (driver?)
    [    2.431740] 1f09           51200 mtdblock9  (driver?)
    [    2.437027] 1f0a           51200 mtdblock10  (driver?)
    [    2.442390] 1f0b          103936 mtdblock11  (driver?)
    [    2.447759] No filesystem could mount root, tried:  ubifs
    [    2.453399] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    2.462088] [<c001535c>] (unwind_backtrace+0x0/0x144) from [<c0368868>] (dump_stack+0x20/0x24)
    [    2.471098] [<c0368868>] (dump_stack+0x20/0x24) from [<c03688e0>] (panic+0x74/0x1a8)
    [    2.479213] [<c03688e0>] (panic+0x74/0x1a8) from [<c04d8d0c>] (mount_block_root+0x29c/0x2b8)
    [    2.488035] [<c04d8d0c>] (mount_block_root+0x29c/0x2b8) from [<c04d8f28>] (prepare_namespace+0xac/0x1d4)
    [    2.497942] [<c04d8f28>] (prepare_namespace+0xac/0x1d4) from [<c04d8908>] (kernel_init+0x124/0x130)
    [    2.507403] [<c04d8908>] (kernel_init+0x124/0x130) from [<c000fdfc>] (kernel_thread_exit+0x0/0x8)

    7711.sdm4_hang.txt
    U-Boot SPL 2011.09 (Aug 24 2013 - 14:02:12)
    Texas Instruments Revision detection unimplemented
    gpio_request()++
    gpio_request()--
    gpio_direction_output()++
    gpio_direction_output()--
    config ddr_pll_config()++
    ddr_pll_config()++
    ddr_pll_config()--
    is_ddr3 = 1 
    config ddr_pll_config()--
    spl_board_init()++
    
    
    U-Boot 2011.09 (Mar 22 2014 - 19:55:59)
    
    I2C:   ready
    DRAM:  128 MiB
    WARNING: Caches not enabled
    board_init()++
    No daughter card present
    board_id = 1, header.version = 87f3ae04
    profile = 1, daughter_board_connected = 0
    board_init()-include gpmc-
    NAND:  HW ECC Hamming Code selected
    test-nand_get_flash_type()++
    uboot reset nand
    uboot reset nand
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Toshiba <NULL>)
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
    NAND bus width 8 instead 8 bit
    chip->badblockpos = 0x0 
    test-nand_get_flash_type()--256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    create_bbt()++
    create_bbt()--
    *** Warning - bad CRC, using default environment
    
    Lcd_Init()++
    SetUpLCD()++
    SetUpLCD()--
    HW ECC BCH8 Selected
    HW ECC BCH8 Selected
    
    Logo from nanndflash: base=0x81000000; end=0x8107f81f; end-base=0x7f81f; rwsize=0x7f820; r=0x0
    RasterDMAFBConfig()++
    RasterDMAFBConfig()--
    RasterDMAFBConfig()++
    RasterDMAFBConfig()--
    Lcd_Init()--
    Net:   u-boot set rmii mode
    cpsw
    Hit any key to stop autoboot:  0 
    Card did not respond to voltage select!
    Booting from nand ...
    HW ECC BCH8 Selected
    
    NAND read: device 0 offset 0x3080000, size 0x300000
     3145728 bytes read: OK
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.2.0+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2706112 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
    OK
       kernel loaded at 0x80008000, end = 0x8029cac0
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0+ (ding@ding-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #338 Wed Jul 9 14:17:15 ULAT 2014
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=8,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 128MB = 128MB total
    [    0.000000] Memory: 123696k/123696k available, 7376k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04e9bc4   (4999 kB)
    [    0.000000]       .init : 0xc04ea000 - 0xc052b000   ( 260 kB)
    [    0.000000]       .data : 0xc052c000 - 0xc05c94c8   ( 630 kB)
    [    0.000000]        .bss : 0xc05c94ec - 0xc0610230   ( 284 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 25000000 Hz
    [    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
    [    0.000000] OMAP clocksource: GPTIMER1 at 25000000 Hz
    [    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000206] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.057096] pid_max: default: 32768 minimum: 301
    [    0.057275] Mount-cache hash table entries: 512
    [    0.057669] CPU: Testing write buffer coherency: ok
    [    0.057747] ftrace: allocating 13840 entries in 41 pages
    [    0.108161] omap_hwmod: gfx: failed to hardreset
    [    0.124214] omap_hwmod: pruss: failed to hardreset
    [    0.125369] print_constraints: dummy: 
    [    0.125821] NET: Registered protocol family 16
    [    0.128053] OMAP GPIO hardware version 0.1
    [    0.130490] am335x_evm_init()++
    [    0.130715] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.132836] am335x_evm_i2c_init()++
    [    0.133082]  omap_i2c.1: alias fck already exists
    [    0.133280] am335x_evm_i2c_init()--
    [    0.133407] da8xx_panel_power_ctrl()++
    [    0.133446] back light switch = 1
    [    0.133468] da8xx_panel_power_ctrl()--
    [    0.133788] am335x_evm_init()--
    [    0.134100]  omap2_mcspi.1: alias fck already exists
    [    0.134328]  omap2_mcspi.2: alias fck already exists
    [    0.134583]  edma.0: alias fck already exists
    [    0.134604]  edma.0: alias fck already exists
    [    0.134623]  edma.0: alias fck already exists
    [    0.150805] bio: create slab <bio-0> at 0
    [    0.152978] SCSI subsystem initialized
    [    0.154750] usbcore: registered new interface driver usbfs
    [    0.155064] usbcore: registered new interface driver hub
    [    0.155266] usbcore: registered new device driver usb
    [    0.155413] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.155674] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.167164] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.169194] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.171908] print_constraints: VRTC: 
    [    0.173579] print_constraints: VIO: at 1500 mV 
    [    0.176242] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
    [    0.178908] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    0.180059] print_constraints: VDD3: 5000 mV 
    [    0.181676] print_constraints: VDIG1: at 1800 mV 
    [    0.183293] print_constraints: VDIG2: at 1800 mV 
    [    0.184918] print_constraints: VPLL: at 1800 mV 
    [    0.186533] print_constraints: VDAC: at 1800 mV 
    [    0.188173] print_constraints: VAUX1: at 1800 mV 
    [    0.189795] print_constraints: VAUX2: at 3300 mV 
    [    0.191414] print_constraints: VAUX33: at 3300 mV 
    [    0.193042] print_constraints: VMMC: at 3300 mV 
    [    0.193512] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.194620] Switching to clocksource gp timer
    [    0.214989] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.215173] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.216049] musb-hdrc musb-hdrc.0: USB OTG mode controller at c881c000 using PIO, IRQ 18
    [    0.216218] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.216632] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.216702] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.216833] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.216849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.216863] usb usb1: Product: MUSB HDRC host driver
    [    0.216875] usb usb1: Manufacturer: Linux 3.2.0+ musb-hcd
    [    0.216886] usb usb1: SerialNumber: musb-hdrc.1
    [    0.217652] hub 1-0:1.0: USB hub found
    [    0.217682] hub 1-0:1.0: 1 port detected
    [    0.218185] musb-hdrc musb-hdrc.1: USB Host mode controller at c881e800 using PIO, IRQ 19
    [    0.218628] NET: Registered protocol family 2
    [    0.218821] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.219109] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.219198] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.219253] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.219266] TCP reno registered
    [    0.219282] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.219307] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.219478] NET: Registered protocol family 1
    [    0.219746] RPC: Registered named UNIX socket transport module.
    [    0.219759] RPC: Registered udp transport module.
    [    0.219768] RPC: Registered tcp transport module.
    [    0.219777] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.220509] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver
    [    0.227915] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.228259] msgmni has been set to 241
    [    0.228861] io scheduler noop registered
    [    0.228875] io scheduler deadline registered
    [    0.228954] io scheduler cfq registered (default)
    [    0.230017] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.866066] console [ttyO0] enabled
    [    0.870336] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.878150] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.885933] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.893647] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.901383] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.918198] brd: module loaded
    [    0.926273] loop: module loaded
    [    0.929638] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.994662] No daughter card found
    [    0.998259] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.005531] am335x_evm_setup()++
    [    1.064763] AM335X: EVM Config read fail: -110
    [    1.069397] No board detected, using GPBoard 1.1A as default
    [    1.075534] The board is general purpose EVM in profile 0
    [    1.081164] Found invalid GP EVM revision, falling back to Rev1.1A
    [    1.088500]  da8xx_lcdc.0: alias fck already exists
    [    1.094413] evm_nand_init()++
    [    1.098101] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    1.103105] Registering NAND on CS0
    [    1.107319] evm_nand_init()--
    [    1.110497]  omap_i2c.2: alias fck already exists
    [    1.134730] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.142978] haptics_init()++
    [    1.147042] haptics_init()--
    [    1.150047] out_triger_gpio_init()++
    [    1.153811] out_triger_gpio_init()--
    [    1.158035] am335x_evm_setup()--
    [    1.162879] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.170023] omap2-nand driver initializing
    [    1.174617] ONFI flash detected
    [    1.178059] ONFI param page 0 valid
    [    1.181704] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    1.190281] Creating 9 MTD partitions on "omap2-nand.0":
    [    1.195858] 0x000000000000-0x000000020000 : "SPL"
    [    1.202171] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    1.209093] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    1.215995] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    1.222875] 0x000000080000-0x000000260000 : "U-Boot"
    [    1.230102] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.236864] 0x000000280000-0x000003080000 : "Manufacture data"
    [    1.263197] 0x000003080000-0x000003680000 : "kernel data"
    [    1.272490] 0x000003680000-0x000010000000 : "File system"
    [    1.363152] OneNAND driver initializing
    [    1.367914] UBI: attaching mtd8 to ubi0
    [    1.371928] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.378495] UBI: logical eraseblock size:    126976 bytes
    [    1.384123] UBI: smallest flash I/O unit:    2048
    [    1.389036] UBI: sub-page size:              512
    [    1.393848] UBI: VID header offset:          2048 (aligned 2048)
    [    1.400117] UBI: data offset:                4096
    [    3.318811] UBI: max. sequence number:       2140
    [    3.338677] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 15, need 16
    [    3.350868] UBI: attached mtd8 to ubi0
    [    3.354826] UBI: MTD device name:            "File system"
    [    3.360544] UBI: MTD device size:            201 MiB
    [    3.365729] UBI: number of good PEBs:        1605
    [    3.370629] UBI: number of bad PEBs:         7
    [    3.375268] UBI: number of corrupted PEBs:   0
    [    3.379896] UBI: max. allowed volumes:       128
    [    3.384715] UBI: wear-leveling threshold:    4096
    [    3.389616] UBI: number of internal volumes: 1
    [    3.394244] UBI: number of user volumes:     1
    [    3.398880] UBI: available PEBs:             0
    [    3.403509] UBI: total number of reserved PEBs: 1605
    [    3.408691] UBI: number of PEBs reserved for bad PEB handling: 15
    [    3.415050] UBI: max/mean erase counter: 5/2
    [    3.419498] UBI: image sequence number:  1955965245
    [    3.424711] UBI: background thread "ubi_bgt0d" started, PID 481
    [    3.582010] da8xx_lcdc da8xx_lcdc.0: GLCD: Found HANSTAR_HSD070IDW1_A panel
    [    3.597534] Console: switching to colour frame buffer device 60x34
    [    3.609374] sdg800:Logo image from nandflash, color_addr=[0xc88cb034], color_len=[0x7f800]!
    [    3.664704] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    3.671170] davinci_mdio davinci_mdio.0: detected phy mask bfffffff
    [    3.677940] bus->id = 0, addr= 30
    [    3.681593] 11--
    [    3.683716] davinci_mdio.0: probed
    [    3.687308] davinci_mdio davinci_mdio.0: phy[30]: device 0:1e, driver unknown
    [    3.695100] usbcore: registered new interface driver cdc_ether
    [    3.701336] usbcore: registered new interface driver dm9601
    [    3.707213] cdc_ncm: 04-Aug-2011
    [    3.710749] usbcore: registered new interface driver cdc_ncm
    [    3.716669] Initializing USB Mass Storage driver...
    [    3.721999] usbcore: registered new interface driver usb-storage
    [    3.728281] USB Mass Storage support registered.
    [    3.733536] mousedev: PS/2 mouse device common for all mice
    [    3.739853] i2c /dev entries driver
    [    3.744933] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    3.751965] TCP cubic registered
    [    3.755370] NET: Registered protocol family 17
    [    3.760155] NET: Registered protocol family 33
    [    3.764825] Registering the dns_resolver key type
    [    3.769789] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    3.777801] ThumbEE CPU extension supported.
    [    3.782317] mux: Failed to setup hwmod io irq -22
    [    3.787842] Power Management for AM33XX family
    [    3.792533] clock: disabling unused clocks to save power
    [    3.799740] Detected MACID=88:33:14:ff:ca:8e
    [    3.878974] UBIFS: recovery needed
    [    4.184328] UBI: scrubbed PEB 573 (LEB 0:206), data moved to PEB 632
    [    4.428231] UBI: scrubbed PEB 576 (LEB 0:314), data moved to PEB 890
    [    4.571908] UBIFS error (pid 1): ubifs_check_node: bad CRC: calculated 0xd16d2326, read 0xfad91fad
    [    4.581308] UBIFS error (pid 1): ubifs_check_node: bad node at LEB 309:76248
    [    4.588681] UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 309:76248
    [    4.603567] UBIFS error (pid 1): ubifs_scan: LEB 309 scanning failed
    [    4.631739] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
    [    4.639144] Please append a correct "root=" boot option; here are the available partitions:
    [    4.647915] 1f00             128 mtdblock0  (driver?)
    [    4.653191] 1f01             128 mtdblock1  (driver?)
    [    4.658480] 1f02             128 mtdblock2  (driver?)
    [    4.663757] 1f03             128 mtdblock3  (driver?)
    [    4.669042] 1f04            1920 mtdblock4  (driver?)
    [    4.674314] 1f05             128 mtdblock5  (driver?)
    [    4.679601] 1f06           47104 mtdblock6  (driver?)
    [    4.684888] 1f07            6144 mtdblock7  (driver?)
    [    4.690162] 1f08          206336 mtdblock8  (driver?)
    [    4.695444] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    4.704120] [<c001535c>] (unwind_backtrace+0x0/0x144) from [<c0376bb0>] (dump_stack+0x20/0x24)
    [    4.713129] [<c0376bb0>] (dump_stack+0x20/0x24) from [<c0376c28>] (panic+0x74/0x1a8)
    [    4.721237] [<c0376c28>] (panic+0x74/0x1a8) from [<c04eac84>] (mount_block_root+0x214/0x2b8)
    [    4.730061] [<c04eac84>] (mount_block_root+0x214/0x2b8) from [<c04eaf28>] (prepare_namespace+0xac/0x1d4)
    [    4.739971] [<c04eaf28>] (prepare_namespace+0xac/0x1d4) from [<c04ea908>] (kernel_init+0x124/0x130)
    [    4.749436] [<c04ea908>] (kernel_init+0x124/0x130) from [<c000fdfc>] (kernel_thread_exit+0x0/0x8)