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.

DM3730 Android 4.1.2 UBIFS file system NAND booting problem

Other Parts Discussed in Thread: DM3730

I'm facing a large problem with my custom board using DM3730 processors and Micron NAND Flash MT29C4G96MAZBACJG. 

I've ported android 4.1.2 into my board and it's ok for first time booting.

When i plug out the power supply and plug in again for times, my board has a proble with UBIFS file system and it cannot boot into Android anymore.

[ 35.600769] UBIFS error (pid 1333): ubifs_check_node: bad CRC: calculated 0xd54fb650, read 0x76323551
[ 35.610504] UBIFS error (pid 1333): ubifs_check_node: bad node at LEB 934:108088
[ 35.618286] UBIFS error (pid 1333): ubifs_read_node: expected node type 1
[ 35.625427] UBIFS error (pid 1333): do_readpage: cannot read page 601 of inode 1108, error -117
[ 35.939941] UBIFS error (pid 1333): ubifs_check_node: bad CRC: calculated 0xd54fb650, read 0x76323551
[ 35.949615] UBIFS error (pid 1333): ubifs_check_node: bad node at LEB 934:108088
[ 35.957397] UBIFS error (pid 1333): ubifs_read_node: expected node type 1
[ 35.964538] UBIFS error (pid 1333): do_readpage: cannot read page 601 of inode 1108, error -117
[ 36.588500] UBIFS error (pid 1333): ubifs_check_node: bad CRC: calculated 0xd54fb650, read 0x76323551
[ 36.598236] UBIFS error (pid 1333): ubifs_check_node: bad node at LEB 934:108088
[ 36.606018] UBIFS error (pid 1333): ubifs_read_node: expected node type 1
[ 36.613128] UBIFS error (pid 1333): do_readpage: cannot read page 601 of inode 1108, error -117
[ 36.626770] request_suspend_state: wakeup (0->0) at 36835479739 (2000-01-01 00:00:31.732086183 UTC)

Anyone has this problem? Any solutions for this?

You can read the attached file for more details about booting log.

1070.boot_log.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
U-Boot 2010.06-dirty (May 07 2015 - 10:05:08)
OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 Panther board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: HW ECC [Kernel/FS layout] selected
512 MiB
In: serial
Out: serial
Err: serial
Panther Rev A
Die ID #7b6000029ff80000015913d80201c007
Hit any key to stop autoboot: 0
Booting from nand ...
NAND read: device 0 offset 0x280000, size 0x35d000
3526656 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.37
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3526140 Bytes = 3.4 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 2.6.37 (gcc version 4.4.3 (GCC) ) #140 Mon May 25 17:18:42 ICT 2015
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: OMAP3 Panther Board
[ 0.000000] Reserving 8388608 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128000
[ 0.000000] Kernel command line: init=/init console=ttyO2,115200n8 noinitrd ip=off androidboot.console=ttyO2 rootwait M
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 504MB = 504MB total
[ 0.000000] Memory: 503576k/503576k available, 20712k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0043000 ( 236 kB)
[ 0.000000] .text : 0xc0043000 - 0xc06aa000 (6556 kB)
[ 0.000000] .data : 0xc06aa000 - 0xc0702f20 ( 356 kB)
[ 0.000000] NR_IRQS:409
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 0.000000] Reprogramming SDRC clock to 400000000 Hz
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] GPMC revision 5.0
[ 0.000000] Trying to install interrupt handler for IRQ402
[ 0.000000] Trying to install interrupt handler for IRQ403
[ 0.000000] Trying to install interrupt handler for IRQ404
[ 0.000000] Trying to install interrupt handler for IRQ405
[ 0.000000] Trying to install interrupt handler for IRQ406
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX