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.

AM3352: NAND errors

Part Number: AM3352

Hi,

we are using AM3352 based custom board with nand Micron MT29F4G08ABBFAH4. we were using the 4.14.38 Linux kernel and 2018.01 u-boot since long. board and software works fine here.

And we try to upgrade the Linux kernel to 4.19.20 with same board and u-boot,  we are getting omap2-nand 8000000.nand: uncorrectable bit-flips found and that leads to ubi0 error: ubi_io_read [ubi]: error -74 (ECC error) while reading 13 bytes from PEB.

Finally the rootfs mounts ro. Next boot ubi mount, gets failure due the previous ecc errors.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-3-armmp (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Apertis 8.3.0-2ba1)) #1 SMP Debian 4.19.20-1co5guardian2 (2019-07-25)
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Bosch AM335x Guardian A-sample
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x8f000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x4f4 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s37388 r8192 d24052 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=ubi0:rootfs rootfstype=ubifs ubi.mtd=UBI  rootflags=bulk_read,chk_data_crc
[    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: 226512K/262144K available (7168K kernel code, 519K rwdata, 1668K rodata, 1024K init, 279K bss, 19248K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (8160 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 520 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 280 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 25408 entries in 75 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000037] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000050] OMAP clocksource: timer1 at 24000000 Hz
[    0.000214] timer_probe: no matching timers found
[    0.000436] Console: colour dummy device 80x30
[    0.000904] console [tty0] enabled
[    0.000974] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.047120] pid_max: default: 32768 minimum: 301
[    0.047402] Security Framework initialized
[    0.047429] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.047584] AppArmor: AppArmor initialized
[    0.047703] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047729] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048818] CPU: Testing write buffer coherency: ok
[    0.048910] CPU0: Spectre v2: using BPIALL workaround
[    0.049409] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.050216] Setting up static identity map for 0x80100000 - 0x80100060
[    0.050442] rcu: Hierarchical SRCU implementation.
[    0.052803] smp: Bringing up secondary CPUs ...
[    0.052850] smp: Brought up 1 node, 1 CPU
[    0.052869] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.052888] CPU: All CPU(s) started in SVC mode.
[    0.054511] devtmpfs: initialized
[    0.063947] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.064347] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.064393] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.065866] pinctrl core: initialized pinctrl subsystem
[    0.066979] NET: Registered protocol family 16
[    0.069670] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090617] l4_wkup_cm:clk:0010:0: failed to disable
[    0.142758] audit: initializing netlink subsys (disabled)
[    0.147245] audit: type=2000 audit(0.140:1): state=initialized audit_enabled=0 res=1
[    0.149754] OMAP GPIO hardware version 0.1
[    0.159802] No ATAGs?
[    0.159819] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.173359] edma 49000000.edma: TI EDMA DMA engine driver
[    0.175415] vgaarb: loaded
[    0.176602] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.178440] clocksource: Switched to clocksource timer1
[    0.255104] VFS: Disk quotas dquot_6.6.0
[    0.255256] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.256079] AppArmor: AppArmor Filesystem Enabled
[    0.267126] NET: Registered protocol family 2
[    0.268030] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.268089] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.268130] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.268174] TCP: Hash tables configured (established 2048 bind 2048)
[    0.268304] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.268341] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.268581] NET: Registered protocol family 1
[    0.268628] NET: Registered protocol family 44
[    0.268987] Unpacking initramfs...
[    0.566736] Freeing initrd memory: 4408K
[    0.567381] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.571154] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.577750] zbud: loaded
[    1.026433] random: fast init done
[    4.937934] Key type asymmetric registered
[    4.937985] Asymmetric key parser 'x509' registered
[    4.938091] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.938511] io scheduler noop registered
[    4.938541] io scheduler deadline registered
[    4.938837] io scheduler cfq registered (default)
[    4.938865] io scheduler mq-deadline registered
[    4.940028] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    4.941813] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.944448] omap_uart 44e09000.serial: no wakeirq for uart0
[    4.944583] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
[    5.568861] console [ttyO0] enabled
[    5.574968] mousedev: PS/2 mouse device common for all mice
[    5.582201] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.588827] ledtrig-cpu: registered to indicate activity on CPUs
[    5.597413] NET: Registered protocol family 10
[    5.634662] Segment Routing with IPv6
[    5.638793] mip6: Mobile IPv6
[    5.641907] NET: Registered protocol family 17
[    5.646954] Registering SWP/SWPB emulation handler
[    5.652045] omap_voltage_late_init: Voltage driver support not added
[    5.659983] registered taskstats version 1
[    5.664514] zswap: loaded using pool lzo/zbud
[    5.669450] AppArmor: AppArmor sha1 policy hashing enabled
[    5.688392] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    5.693891] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    5.702880] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    5.710406] input: guardian_power_button as /devices/platform/guardian_power_button/input/input0
[    5.720068] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    5.729678] vmmcsd_fixed: disabling
[    5.737589] Freeing unused kernel memory: 1024K
[    5.742927] Run /init as init process
Loading, please wait...
Starting version 240
[    6.454627] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    6.463779] omap_hsmmc 48060000.mmc: Got CD GPIO
[    6.532062] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    6.607405] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[    6.614220] nand: Micron MT29F4G08ABBFAH4
[    6.618453] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    6.697186] Using OMAP_ECC_BCH16_CODE_HW ECC scheme
[    6.789310] 9 fixed-partitions partitions found on MTD device omap2-nand.0
[    6.796666] Creating 9 MTD partitions on "omap2-nand.0":
[    6.849489] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    6.866726] 0x000000000000-0x000000040000 : "SPL"
[    6.895584] 0x000000040000-0x000000080000 : "SPL.backup1"
[    6.918227] usbcore: registered new interface driver usbfs
[    6.930125] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    6.944771] 0x000000080000-0x0000000c0000 : "SPL.backup2"
[    6.983966] 0x0000000c0000-0x000000100000 : "SPL.backup3"
[    6.989923] usbcore: registered new interface driver hub
[    7.001061] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    7.027223] usbcore: registered new device driver usb
[    7.038825] 0x000000100000-0x000000200000 : "u-boot"
[    7.068932] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    7.083123] 0x000000200000-0x000000300000 : "u-boot.backup1"
[    7.129441] 0x000000300000-0x000000340000 : "u-boot-env"
[    7.166787] 0x000000340000-0x000000380000 : "u-boot-env.backup1"
[    7.188127] 0x000000380000-0x000020000000 : "UBI"
Begin: Loading essential drivers ... [    7.495639] ubi0: default fastmap pool size: 100
[    7.500641] ubi0: default fastmap WL pool size: 50
[    7.505674] ubi0: attaching mtd8
[    8.262830] ubi0: scanning is finished
[    8.289694] ubi0: attached mtd8 (name "UBI", size 508 MiB)
[    8.295578] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[    8.302780] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
[    8.309875] ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
[    8.317150] ubi0: good PEBs: 2032, bad PEBs: 2, corrupted PEBs: 0
[    8.323519] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    8.331065] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    8.339793] ubi0: available PEBs: 0, total reserved PEBs: 2032, PEBs reserved for bad PEB handling: 38
[    8.349564] ubi0: background thread "ubi_bgt0d" started, PID 101
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33
Checking all file systems.
done.
[    8.731254] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[    8.740008] UBIFS (ubi0:0): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    8.750382] UBIFS (ubi0:0): FS size: 510418944 bytes (486 MiB, 1978 LEBs), journal size 9420800 bytes (8 MiB, 37 LEBs)
[    8.761553] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    8.767654] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID B0F092CF-2318-4B79-A321-D58EF7DBB6CE, small LPT model
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    9.336696] systemd[1]: System time before build time, advancing clock.
[    9.398913] systemd[1]: Inserted module 'autofs4'
[    9.485239] systemd[1]: systemd 240 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SE)
[    9.509835] systemd[1]: Detected architecture arm.

Welcome to Apertis v2019dev0 (19Q1)!

[    9.561021] systemd[1]: Set hostname to <apertispro>.
[    9.570972] systemd[1]: Initializing machine ID from D-Bus machine ID.
[    9.578229] systemd[1]: Installed transient /etc/machine-id file.
[   10.616111] random: systemd: uninitialized urandom read (16 bytes read)
[   10.627701] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   10.647236] random: systemd: uninitialized urandom read (16 bytes read)
[   10.656873] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   10.678751] random: systemd: uninitialized urandom read (16 bytes read)
[   10.694330] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   10.714883] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[   10.727351] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Started Dispatch Password \u2026ts to Console Directory Watch.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Forward Password R\u2026uests to Wall Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Slices.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
         Mounting Temporary Directory (/tmp)...
         Starting Remount Root and Kernel File Systems...
         Starting Load Kernel Modules...
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Starting Create list of re\u2026odes for the current kernel...
[   11.201812] UBIFS (ubi0:0): start fixing up free space
         Starting Journal Service...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[   11.306827] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.314927] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.321399] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.327951] ubi0 warning: ubi_io_read [ubi]: error -74 (ECC error) while reading 13 bytes from PEB 520:7103, read only 13 bytes, retry
[  OK  ] Mounted Temporary Directory (/tmp).
[   11.392042] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.398645] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.405121] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.411675] ubi0 warning: ubi_io_read [ubi]: error -74 (ECC error) while reading 13 bytes from PEB 520:7103, read only 13 bytes, retry
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[   11.497808] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.504468] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.510950] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.517507] ubi0 warning: ubi_io_read [ubi]: error -74 (ECC error) while reading 13 bytes from PEB 520:7103, read only 13 bytes, retry
[  OK  ] Started Create list of req\u2026 nodes for the current kernel.
[   11.543096] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.549642] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.556118] omap2-nand 8000000.nand: uncorrectable bit-flips found
[   11.562673] ubi0 error: ubi_io_read [ubi]: error -74 (ECC error) while reading 13 bytes from PEB 520:7103, read 13 bytes
[   11.574046] CPU: 0 PID: 147 Comm: mount Not tainted 4.19.0-3-armmp #1 Debian 4.19.20-1co5guardian2
[   11.583385] Hardware name: Generic AM33XX (Flattened Device Tree)
[   11.589770] [<c011477c>] (unwind_backtrace) from [<c010e4d4>] (show_stack+0x20/0x24)
[   11.597855] [<c010e4d4>] (show_stack) from [<c077737c>] (dump_stack+0x90/0xa4)
[   11.605411] [<c077737c>] (dump_stack) from [<bf191260>] (ubi_io_read+0x234/0x3c0 [ubi])
[   11.613814] [<bf191260>] (ubi_io_read [ubi]) from [<bf18e9bc>] (ubi_eba_read_leb+0x100/0x538 [ubi])
[   11.623283] [<bf18e9bc>] (ubi_eba_read_leb [ubi]) from [<bf18ce28>] (ubi_leb_read+0xcc/0x110 [ubi])
[   11.632818] [<bf18ce28>] (ubi_leb_read [ubi]) from [<bf1ce1a4>] (ubifs_leb_read+0x3c/0x88 [ubifs])
[   11.642218] [<bf1ce1a4>] (ubifs_leb_read [ubifs]) from [<bf1e5d0c>] (ubifs_read_nnode+0x1b0/0x204 [ubifs])
[   11.652346] [<bf1e5d0c>] (ubifs_read_nnode [ubifs]) from [<bf1e5e78>] (ubifs_lpt_lookup+0x94/0x174 [ubifs])
[   11.662557] [<bf1e5e78>] (ubifs_lpt_lookup [ubifs]) from [<bf1cdcd8>] (ubifs_fixup_free_space+0x1c8/0x334 [ubifs])
[   11.673396] [<bf1cdcd8>] (ubifs_fixup_free_space [ubifs]) from [<bf1c9eec>] (ubifs_remount_fs+0xc0/0x768 [ubifs])
[   11.684126] [<bf1c9eec>] (ubifs_remount_fs [ubifs]) from [<c031556c>] (do_remount_sb+0x11c/0x1d8)
[   11.693387] [<c031556c>] (do_remount_sb) from [<c0339468>] (do_mount+0x6bc/0xd34)
[   11.701195] [<c0339468>] (do_mount) from [<c0339ed8>] (ksys_mount+0xbc/0xd4)
[   11.708544] [<c0339ed8>] (ksys_mount) from [<c0339f14>] (sys_mount+0x24/0x2c)
[   11.715984] [<c0339f14>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   11.723871] Exception stack(0xcc0a3fa8 to 0xcc0a3ff0)
[   11.729138] 3fa0:                   00000000 00000000 0008fea8 0008ed68 0008ec50 00000020
[   11.737666] 3fc0: 00000000 00000000 b6fae90c 00000015 0008ec50 b6faf0e8 0008ec50 b6faf0e8
[   11.746187] 3fe0: b6faefc4 bef63b60 b6f7e861 b6edbd9a
[   11.751556] UBIFS error (ubi0:0 pid 147): ubifs_leb_read [ubifs]: reading 13 bytes from LEB 7:3007 failed, error -74
[   11.762567] CPU: 0 PID: 147 Comm: mount Not tainted 4.19.0-3-armmp #1 Debian 4.19.20-1co5guardian2
[   11.771909] Hardware name: Generic AM33XX (Flattened Device Tree)
[   11.778272] [<c011477c>] (unwind_backtrace) from [<c010e4d4>] (show_stack+0x20/0x24)
[   11.786349] [<c010e4d4>] (show_stack) from [<c077737c>] (dump_stack+0x90/0xa4)
[   11.793913] [<c077737c>] (dump_stack) from [<bf1ce1ec>] (ubifs_leb_read+0x84/0x88 [ubifs])
[   11.802586] [<bf1ce1ec>] (ubifs_leb_read [ubifs]) from [<bf1e5d0c>] (ubifs_read_nnode+0x1b0/0x204 [ubifs])
[   11.812709] [<bf1e5d0c>] (ubifs_read_nnode [ubifs]) from [<bf1e5e78>] (ubifs_lpt_lookup+0x94/0x174 [ubifs])
[   11.822917] [<bf1e5e78>] (ubifs_lpt_lookup [ubifs]) from [<bf1cdcd8>] (ubifs_fixup_free_space+0x1c8/0x334 [ubifs])
[   11.833755] [<bf1cdcd8>] (ubifs_fixup_free_space [ubifs]) from [<bf1c9eec>] (ubifs_remount_fs+0xc0/0x768 [ubifs])
[   11.844481] [<bf1c9eec>] (ubifs_remount_fs [ubifs]) from [<c031556c>] (do_remount_sb+0x11c/0x1d8)
[   11.853732] [<c031556c>] (do_remount_sb) from [<c0339468>] (do_mount+0x6bc/0xd34)
[   11.861540] [<c0339468>] (do_mount) from [<c0339ed8>] (ksys_mount+0xbc/0xd4)
[   11.868891] [<c0339ed8>] (ksys_mount) from [<c0339f14>] (sys_mount+0x24/0x2c)
[   11.876328] [<c0339f14>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   11.884222] Exception stack(0xcc0a3fa8 to 0xcc0a3ff0)
[   11.889487] 3fa0:                   00000000 00000000 0008fea8 0008ed68 0008ec50 00000020
[   11.898014] 3fc0: 00000000 00000000 b6fae90c 00000015 0008ec50 b6faf0e8 0008ec50 b6faf0e8
[   11.906539] 3fe0: b6faefc4 bef63b60 b6f7e861 b6edbd9a
[   11.911894] UBIFS error (ubi0:0 pid 147): ubifs_read_nnode [ubifs]: error -74 reading nnode at 7:3007
[   11.921539] CPU: 0 PID: 147 Comm: mount Not tainted 4.19.0-3-armmp #1 Debian 4.19.20-1co5guardian2
[   11.930879] Hardware name: Generic AM33XX (Flattened Device Tree)
[   11.937238] [<c011477c>] (unwind_backtrace) from [<c010e4d4>] (show_stack+0x20/0x24)
[   11.945313] [<c010e4d4>] (show_stack) from [<c077737c>] (dump_stack+0x90/0xa4)
[   11.952874] [<c077737c>] (dump_stack) from [<bf1e5cdc>] (ubifs_read_nnode+0x180/0x204 [ubifs])
[   11.961911] [<bf1e5cdc>] (ubifs_read_nnode [ubifs]) from [<bf1e5e78>] (ubifs_lpt_lookup+0x94/0x174 [ubifs])
[   11.972121] [<bf1e5e78>] (ubifs_lpt_lookup [ubifs]) from [<bf1cdcd8>] (ubifs_fixup_free_space+0x1c8/0x334 [ubifs])
[   11.982961] [<bf1cdcd8>] (ubifs_fixup_free_space [ubifs]) from [<bf1c9eec>] (ubifs_remount_fs+0xc0/0x768 [ubifs])
[   11.993686] [<bf1c9eec>] (ubifs_remount_fs [ubifs]) from [<c031556c>] (do_remount_sb+0x11c/0x1d8)
[   12.002938] [<c031556c>] (do_remount_sb) from [<c0339468>] (do_mount+0x6bc/0xd34)
[   12.010744] [<c0339468>] (do_mount) from [<c0339ed8>] (ksys_mount+0xbc/0xd4)
[   12.018095] [<c0339ed8>] (ksys_mount) from [<c0339f14>] (sys_mount+0x24/0x2c)
[   12.025533] [<c0339f14>] (sys_mount) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   12.033421] Exception stack(0xcc0a3fa8 to 0xcc0a3ff0)
[   12.038686] 3fa0:                   00000000 00000000 0008fea8 0008ed68 0008ec50 00000020
[   12.047212] 3fc0: 00000000 00000000 b6fae90c 00000015 0008ec50 b6faf0e8 0008ec50 b6faf0e8
[   12.055735] 3fe0: b6faefc4 bef63b60 b6f7e861 b6edbd9a
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
[FAILED] Failed to start Remount Root and Kernel File Systems.
See 'systemctl status systemd-remount-fs.service' for details.
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
[   12.860571] systemd-journald[149]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Create Volatile Files and Directories.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Stopped Network Time Synchronization.
[   14.120968] [mt-keypad]: Probe
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[   14.180264] [mt-keypad]: button_hdl_init Done
[   14.191447] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[   14.250932] input: mt_keypad@0 as /devices/platform/mt_keypad@0/input/input1
[   14.405928] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[   14.489884] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[   14.598240] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   14.607036] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.614617] usb usb1: Product: MUSB HDRC host driver
[   14.619815] usb usb1: Manufacturer: Linux 4.19.0-3-armmp musb-hcd
[   14.626189] usb usb1: SerialNumber: musb-hdrc.1
[   14.649630] omap_rng 48310000.rng: Random Number Generator ver. 20
[  OK  ] Found device /dev/ttyO0.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[   15.011909] hub 1-0:1.0: USB hub found
[   15.048755] hub 1-0:1.0: 1 port detected
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
[DEPEND] Dependency failed for Upda\u2026about System Runlevel Changes.
[  OK  ] Stopped Network Time Synchronization.
[[   15.522637] usb 1-1: new full-speed USB device number 2 using musb-hdrc
FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[   15.727928] usb 1-1: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[   15.736621] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   15.744108] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[   15.750211] usb 1-1: Manufacturer: STMicroelectronics
[   15.755499] usb 1-1: SerialNumber: 378F36633136
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[DEPEND] Dependency failed for Load\u2026ivers according to boot mode..
         Starting Disk Manager...
[   16.027866] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   16.034953] [drm] No driver support for vblank timestamp query.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Started D-Bus System Message Bus.
[   16.200705] Console: switching to colour frame buffer device 40x30
[   16.283015] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
[   16.378994] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
         Starting Ensure that uid 1000 has a home directory...
         Starting Login Service...
[  OK  ] Started Network Service.
[FAILED] Failed to start Ensure tha\u2026uid 1000 has a home directory.
See 'systemctl status apertis-create-homedir.service' for details.
[   17.777237] random: crng init done
[   17.781680] random: 7 urandom warning(s) missed due to ratelimiting
[   17.820188] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[   17.859675] usbcore: registered new interface driver cdc_acm
[   17.867385] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  OK  ] Stopped UBI Health Daemon.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Stopped MTD Health Daemon.
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyO0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting Authorization Manager...
[  OK  ] Stopped UBI Health Daemon.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Stopped MTD Health Daemon.
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[  OK  ] Stopped UBI Health Daemon.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Stopped MTD Health Daemon.
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[  OK  ] Stopped UBI Health Daemon.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Stopped MTD Health Daemon.
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[  OK  ] Stopped UBI Health Daemon.
[FAILED] Failed to start UBI Health Daemon.
See 'systemctl status ubihealthd.service' for details.
[  OK  ] Stopped MTD Health Daemon.
[FAILED] Failed to start MTD Health Daemon.
See 'systemctl status mtdhealthd.service' for details.
[  OK  ] Started Login Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Disk Manager.
[  OK  ] Reached target Graphical Interface.

Apertis v2019dev0 (19Q1) apertispro ttyO0

apertispro login: user
Password: 
Linux apertispro 4.19.0-3-armmp #1 SMP Debian 4.19.20-1co5guardian2 (2019-07-25) armv7l

The programs included with the Apertis system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Apertis comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No directory, logging in with HOME=/


BusyBox v1.27.2 (Apertis 1:1.27.2-3co2ba1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

$ df -h
df: cannot read table of mounted file systems: No such file or directory
$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=113256k,nr_inodes=28314,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=24836k,mode=755)
ubi0:rootfs on / type ubifs (ro,relatime,bulk_read,chk_data_crc,assert=read-only,ubi=0,vol=0)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
tmpfs on /etc/machine-id type tmpfs (ro,relatime,size=24836k,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=24832k,mode=700,uid=1000,gid=1000)
$ lsmod
Module                  Size  Used by
cdc_acm                28672  0
tilcdc                 36864  1
drm_kms_helper        147456  2 tilcdc
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   356352  3 tilcdc,drm_kms_helper
drm_panel_orientation_quirks    16384  1 drm
omap_rng               16384  0
rng_core               16384  1 omap_rng
ti_am335x_adc          20480  0
kfifo_buf              16384  1 ti_am335x_adc
industrialio           57344  2 ti_am335x_adc,kfifo_buf
cppi41                 20480  60
spi_omap2_mcspi        24576  0
omap_wdt               16384  1
evdev                  24576  1
mt_keypad              20480  0
leds_gpio              16384  0
libcomposite           49152  0
configfs               36864  2 libcomposite
ip_tables              24576  0
x_tables               24576  1 ip_tables
autofs4                40960  0
deflate                16384  1
zlib_deflate           28672  1 deflate
ubifs                 344064  1
ubi                   172032  2 ubifs
crc16                  16384  1 ubifs
musb_dsps              20480  0
musb_hdrc             106496  1 musb_dsps
udc_core               36864  2 musb_hdrc,libcomposite
usbcore               212992  2 cdc_acm,musb_hdrc
phy_am335x             16384  17
phy_am335x_control     16384  1 phy_am335x
phy_generic            16384  1 phy_am335x
usb_common             16384  6 phy_am335x,udc_core,musb_hdrc,libcomposite,musb_dsps,usbcore
ofpart                 16384  0
omap2_nand             28672  1
omap_elm               16384  1 omap2_nand
omap_hsmmc             32768  0
musb_am335x            16384  0
ti_am335x_tscadc       16384  1 ti_am335x_adc
mfd_core               16384  1 ti_am335x_tscadc
$ 

I attached the boot log,  please give some input on those errors

I need to know ti-processor-sdk-linux-am335x-evm-06.00.00.07 prebuilt binaries is working with am335x-evm board nand boot?. Here i couldn't verify with our custom board.