Other Parts Discussed in Thread: OMAPL138
Tool/software: Linux
I'm using OMAPL138 LCDK (TMDSLCDK138), PROCESSOR-SDK-LINUX-OMAPL138 04_01_00_06.
I have jffs2 image wrote to NAND using below commands (and rebuilt kernel mentioned in topic https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/640940)
host:------------------------------------------------------------------------------------------------------------------------ $ tar -xf arago-base-tisdk-image-omapl138-lcdk.tar.xz -C rootfs $ mkfs.jffs2 -r rootfs -e 128 -n -p -o arago-base-tisdk-image-omapl138-lcdk-rootfs.jffs2 target:---------------------------------------------------------------------------------------------------------------------- $ cat /proc/mtd dev: size erasesize name mtd0: 00020000 00020000 "u-boot_env" mtd1: 00080000 00020000 "u-boot" mtd2: 00500000 00020000 "kernel" mtd3: 1fa60000 00020000 "rootfs" $ flash_erase /dev/mtd3 0 0 Erasing 128 Kibyte @ 1f9c0000 -- 99 % complete flash_erase: Skipping bad block at 1f9e0000 flash_erase: Skipping bad block at 1fa00000 flash_erase: Skipping bad block at 1fa20000 flash_erase: Skipping bad block at 1fa40000 Erasing 128 Kibyte @ 1fa40000 -- 100 % complete $ nandwrite -p /dev/mtd3 /boot/arago-base-tisdk-image-omapl138-lcdk-rootfs.jffs2 Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 ... Writing data to block 784 at offset 0x6200000 $ mount -t jffs2 /dev/mtdblock3 /mnt/nandrootfs jffs2: notice: (610) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. $ ls -l /mnt/nandrootfs/ drwxr-xr-x 2 1000 1000 0 Sep 26 2017 bin drwxr-xr-x 2 1000 1000 0 Sep 26 2017 boot drwxr-xr-x 2 1000 1000 0 Sep 26 2017 dev drwxr-xr-x 33 1000 1000 0 Sep 26 2017 etc drwxr-xr-x 3 1000 1000 0 Sep 26 2017 home lrwxrwxrwx 1 1000 1000 20 Sep 26 2017 init -> /lib/systemd/systemd drwxr-xr-x 8 1000 1000 0 Sep 26 2017 lib drwxr-xr-x 2 1000 1000 0 Sep 26 2017 media drwxr-xr-x 3 1000 1000 0 Sep 26 2017 mnt drwxr-xr-x 3 1000 1000 0 Sep 26 2017 opt drwxr-xr-x 2 1000 1000 0 Sep 26 2017 proc drwxr-xr-x 2 1000 1000 0 Sep 26 2017 run drwxr-xr-x 2 1000 1000 0 Sep 26 2017 sbin drwxr-xr-x 3 1000 1000 0 Sep 26 2017 srv drwxr-xr-x 2 1000 1000 0 Sep 26 2017 sys drwxrwxr-x 2 1000 1000 0 Sep 26 2017 tmp drwxr-xr-x 11 1000 1000 0 Sep 26 2017 usr drwxr-xr-x 8 1000 1000 0 Sep 26 2017 var
First boot is always successfully. During next boots multiple error messages occurs. Example:
jffs2: mtd->read(0x7bc bytes from 0x6211044) returned ECC error jffs2: mtd->read(0x4ac bytes from 0x6205354) returned ECC error jffs2: mtd->read(0x534 bytes from 0x62052cc) returned ECC error jffs2: mtd->read(0x408 bytes from 0x62023f8) returned ECC error jffs2: mtd->read(0x74c bytes from 0x62020b4) returned ECC error jffs2: mtd->read(0x44 bytes from 0x62052cc) returned ECC error
My kernel config: 1780.omapl138lcdk-alternate.config
My boot log:
jffs2_boot_ecc_errors.log
U-Boot SPL 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02) Trying to boot from MMC1 U-Boot 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02 -0400) I2C: ready DRAM: 128 MiB WARNING: Caches not enabled NAND: 512 MiB MMC: davinci: 0 In: serial Out: serial Err: serial Invalid MAC address read. Net: No ETH PHY detected!!! Error: Ethernet init failed! Board Net Initialization Failed DaVinci-EMAC Warning: DaVinci-EMAC (eth0) using random MAC address - 5a:e5:f5:dd:97:29 Hit any key to stop autoboot: 0 => load mmc 0:2 ${loadaddr} /boot/zImage 2658568 bytes read in 3052 ms (850.6 KiB/s) => load mmc 0:2 ${fdtaddr} /boot/devicetree-zImage-da850-lcdk.dtb 13361 bytes read in 53 ms (246.1 KiB/s) => setenv bootargs console=${console} root=/dev/mtdblock3 rw rootfstype=jffs2 rootwait mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs) => bootz ${loadaddr} - ${fdtaddr} ## Flattened Device Tree blob at c0600000 Booting using the fdt blob at 0xc0600000 Loading Device Tree to c7e21000, end c7e27430 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 4.9.41-ge3a80a1c5c (user@user-VM) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Thu Nov 23 16:48:42 +06 2017 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f CPU: VIVT data cache, VIVT instruction cache OF: fdt:Machine model: DA850/AM1808/OMAP-L138 LCDK Reserved memory: created CMA memory pool at 0xc3000000, size 16 MiB OF: reserved mem: initialized node dsp_cma@c3000000, compatible id shared-dma-pool cma: Reserved 16 MiB at 0xc6c00000 Memory policy: Data cache writethrough DaVinci da850/omap-l138/am18x variant 0x1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480 Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 rootwait mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs) PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 89380K/131072K available (5151K kernel code, 319K rwdata, 1588K rodata, 236K init, 166K bss, 8924K reserved, 32768K cma-reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0510108 (5153 kB) .init : 0xc069f000 - 0xc06da000 ( 236 kB) .data : 0xc06da000 - 0xc0729d30 ( 320 kB) .bss : 0xc0729d30 - 0xc0753628 ( 167 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Build-time adjustment of leaf fanout to 32. NR_IRQS:245 clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns Console: colour dummy device 80x30 Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0xc0008400 - 0xc0008458 devtmpfs: initialized VFP support v0.3: not present clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: -1, 3072 bytes) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor ladder cpuidle: using governor menu mux: initialized RTC_ALARM mux: Setting register RTC_ALARM mux: PINMUX0 (0x00000000) = 0x44080000 -> 0x24080000 No ATAGs? edma 1c00000.edma: memcpy is disabled edma 1c00000.edma: TI EDMA DMA engine driver edma 1e30000.edma: memcpy is disabled edma 1e30000.edma: TI EDMA DMA engine driver i2c_davinci i2c_davinci.1: could not find pctldev for node /soc@1c00000/pinmux@14120/pinmux_i2c0_pins, deferring probe clocksource: Switched to clocksource timer0_1 NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. workingset: timestamp_bits=14 max_order=15 bucket_order=1 jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered (default) pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80 Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled console [ttyS2] disabled serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x console [ttyS2] enabled brd: module loaded SSFDC read-only Flash Translation layer libphy: Fixed MDIO Bus: probed davinci_mdio davinci_mdio.0: davinci mdio revision 1.5 davinci_mdio davinci_mdio.0: no live phy, scanning all davinci_mdio: probe of davinci_mdio.0 failed with error -5 i2c /dev entries driver davinci_mmc da830-mmc.0: Got CD GPIO davinci_mmc da830-mmc.0: Using DMA, 4-bit mode nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc nand: Micron MT29F4G16ABADAH4 nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 Bad block table not found for chip 0 Bad block table not found for chip 0 Scanning device for bad blocks mmc0: host does not support reading read-only switch, assuming write-enable mmc0: new high speed SDHC card at address 0007 mmcblk0: mmc0:0007 SD8GB 7.42 GiB mmcblk0: p1 p2 Bad block table written to 0x00001ffe0000, version 0x01 Bad block table written to 0x00001ffc0000, version 0x01 4 cmdlinepart partitions found on MTD device davinci-nand.0 Creating 4 MTD partitions on "davinci-nand.0": 0x000000000000-0x000000020000 : "u-boot_env" 0x000000020000-0x0000000a0000 : "u-boot" ftl_cs: FTL header not found. 0x0000000a0000-0x0000005a0000 : "kernel" ftl_cs: FTL header not found. 0x0000005a0000-0x000020000000 : "rootfs" ftl_cs: FTL header not found. davinci_nand davinci-nand.0: controller rev. 2.5 NET: Registered protocol family 10 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 console [netcon0] enabled netconsole: network logging started davinci_emac davinci_emac.1: incompatible machine/device type for reading mac address davinci_emac davinci_emac.1: using random MAC addr: 76:8e:c0:39:3f:b4 input: gpio-keys as /devices/platform/gpio-keys/input/input0 hctosys: unable to open rtc device (rtc0) random: fast init done jffs2: mtd->read(0x800 bytes from 0x621f800) returned ECC error jffs2: mtd->read(0x888 bytes from 0x621ef78) returned ECC error jffs2: Empty flash at 0x15cf7248 ends at 0x15cf7800 jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. VFS: Mounted root (jffs2 filesystem) on device 31:3. devtmpfs: mounted Freeing unused kernel memory: 236K (c069f000 - c06da000) This architecture does not have kernel memory protection. jffs2: mtd->read(0x798 bytes from 0x6213868) returned ECC error jffs2: mtd->read(0x7cc bytes from 0x6213834) returned ECC error jffs2: mtd->read(0x810 bytes from 0x62137f0) returned ECC error jffs2: mtd->read(0x310 bytes from 0x62134f0) returned ECC error jffs2: mtd->read(0x1ac bytes from 0x6212e54) returned ECC error jffs2: mtd->read(0x328 bytes from 0x6212cd8) returned ECC error jffs2: mtd->read(0x4ee bytes from 0x6213000) returned ECC error jffs2: mtd->read(0x230 bytes from 0x62125d0) returned ECC error jffs2: mtd->read(0x6c8 bytes from 0x6212138) returned ECC error jffs2: mtd->read(0x4d6 bytes from 0x6212800) returned ECC error jffs2: mtd->read(0x740 bytes from 0x62120c0) returned ECC error jffs2: mtd->read(0x44 bytes from 0x62137f0) returned ECC error jffs2: mtd->read(0x44 bytes from 0x62125d0) returned ECC error jffs2: mtd->read(0x6c2 bytes from 0x6212614) returned ECC error jffs2: mtd->read(0x44 bytes from 0x6212e54) returned ECC error jffs2: mtd->read(0x656 bytes from 0x6212e98) returned ECC error jffs2: mtd->read(0x44 bytes from 0x62134f0) returned ECC error jffs2: mtd->read(0x2ba bytes from 0x6213534) returned ECC error systemd[1]: System time before build time, advancing clock. systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN) systemd[1]: Detected architecture arm. jffs2: mtd->read(0x800 bytes from 0x6201800) returned ECC error jffs2: mtd->read(0x44 bytes from 0x6201800) returned ECC error Welcome to Arago 2017.06! systemd[1]: Set hostname to <omapl138-lcdk>. jffs2: mtd->read(0x44 bytes from 0x6201800) returned ECC error jffs2: mtd->read(0x21 bytes from 0x6201844) returned ECC error jffs2: mtd->read(0x7c0 bytes from 0x6211840) returned ECC error jffs2: mtd->read(0x784 bytes from 0x621187c) returned ECC error systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. systemd[1]: Reached target Swap. [ OK ] Reached target Swap. systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. Starting Load Kernel Modules... Mounting POSIX Message Queue File System... [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Listening on udev Control Socket. [ OK ] Created slice system-serial\x2dgetty.slice. Starting Setup Virtual Console... Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-getty.slice. Starting Remount Root and Kernel File Systems... [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Syslog Socket. Starting Journal Service... cryptodev: loading out-of-tree module taints kernel. Mounting Debug File System... cryptodev: driver 1.8 loaded. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Reached target Paths. Mounting Temporary Directory... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Mounted Temporary Directory. [ OK ] Started Load Kernel Modules. [ OK ] Started Setup Virtual Console. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Remount Root and Kernel File Systems. jffs2: mtd->read(0x378 bytes from 0x621ec88) returned ECC error jffs2: mtd->read(0x3f0 bytes from 0x621ec10) returned ECC error jffs2: mtd->read(0x7ac bytes from 0x621e854) returned ECC error jffs2: mtd->read(0x28 bytes from 0x621e7d8) returned ECC error jffs2: mtd->read(0x800 bytes from 0x621e800) returned ECC error jffs2: mtd->read(0x3d0 bytes from 0x621e430) returned ECC error jffs2: mtd->read(0x450 bytes from 0x621e3b0) returned ECC error jffs2: mtd->read(0x7d8 bytes from 0x621e028) returned ECC error jffs2: mtd->read(0x50 bytes from 0x621dfb0) returned ECC error jffs2: mtd->read(0x41c bytes from 0x621dbe4) returned ECC error jffs2: mtd->read(0x494 bytes from 0x621db6c) returned ECC error jffs2: mtd->read(0x48 bytes from 0x621d7b8) returned ECC error jffs2: mtd->read(0xc4 bytes from 0x621d73c) returned ECC error jffs2: mtd->read(0x36c bytes from 0x621d800) returned ECC error jffs2: mtd->read(0x458 bytes from 0x621d3a8) returned ECC error jffs2: mtd->read(0x4d8 bytes from 0x621d328) returned ECC error jffs2: mtd->read(0x84 bytes from 0x621cf7c) returned ECC error jffs2: mtd->read(0x104 bytes from 0x621cefc) returned ECC error jffs2: mtd->read(0x326 bytes from 0x621d000) returned ECC error jffs2: mtd->read(0x4c4 bytes from 0x621cb3c) returned ECC error jffs2: mtd->read(0x540 bytes from 0x621cac0) returned ECC error jffs2: mtd->read(0xc4 bytes from 0x621c73c) returned ECC error jffs2: mtd->read(0x13c bytes from 0x621c6c4) returned ECC error jffs2: mtd->read(0x2c0 bytes from 0x621c800) returned ECC error jffs2: mtd->read(0x4d8 bytes from 0x621c328) returned ECC error jffs2: mtd->read(0x550 bytes from 0x621c2b0) returned ECC error jffs2: mtd->read(0x12c bytes from 0x621bed4) returned ECC error jffs2: mtd->read(0x1ac bytes from 0x621be54) returned ECC error jffs2: mtd->read(0x2ad bytes from 0x621c000) returned ECC error jffs2: mtd->read(0x548 bytes from 0x621bab8) returned ECC error jffs2: mtd->read(0x5c0 bytes from 0x621ba40) returned ECC error jffs2: mtd->read(0x144 bytes from 0x621b6bc) returned ECC error jffs2: mtd->read(0x1c0 bytes from 0x621b640) returned ECC error jffs2: mtd->read(0x240 bytes from 0x621b800) returned ECC error jffs2: mtd->read(0x574 bytes from 0x621b28c) returned ECC error jffs2: mtd->read(0x5f4 bytes from 0x621b20c) returned ECC error jffs2: mtd->read(0x1ac bytes from 0x621ae54) returned ECC error jffs2: mtd->read(0x224 bytes from 0x621addc) returned ECC error jffs2: mtd->read(0x20c bytes from 0x621b000) returned ECC error jffs2: mtd->read(0x5a8 bytes from 0x621aa58) returned ECC error jffs2: mtd->read(0x624 bytes from 0x621a9dc) returned ECC error jffs2: mtd->read(0x1d0 bytes from 0x621a630) returned ECC error jffs2: mtd->read(0x248 bytes from 0x621a5b8) returned ECC error jffs2: mtd->read(0x1d9 bytes from 0x621a800) returned ECC error jffs2: mtd->read(0x5bc bytes from 0x621a244) returned ECC error jffs2: mtd->read(0x638 bytes from 0x621a1c8) returned ECC error jffs2: mtd->read(0x210 bytes from 0x6219df0) returned ECC error jffs2: mtd->read(0x28c bytes from 0x6219d74) returned ECC error jffs2: mtd->read(0x1c6 bytes from 0x621a000) returned ECC error jffs2: mtd->read(0x624 bytes from 0x62199dc) returned ECC error jffs2: mtd->read(0x69c bytes from 0x6219964) returned ECC error jffs2: mtd->read(0x220 bytes from 0x62195e0) returned ECC error jffs2: mtd->read(0x29c bytes from 0x6219564) returned ECC error jffs2: mtd->read(0x161 bytes from 0x6219800) returned ECC error jffs2: mtd->read(0x664 bytes from 0x621919c) returned ECC error jffs2: mtd->read(0x6e0 bytes from 0x6219120) returned ECC error jffs2: mtd->read(0x26c bytes from 0x6218d94) returned ECC error jffs2: mtd->read(0x2e8 bytes from 0x6218d18) returned ECC error jffs2: mtd->read(0x11d bytes from 0x6219000) returned ECC error jffs2: mtd->read(0x680 bytes from 0x6218980) returned ECC error jffs2: mtd->read(0x6fc bytes from 0x6218904) returned ECC error jffs2: mtd->read(0x298 bytes from 0x6218568) returned ECC error jffs2: mtd->read(0x310 bytes from 0x62184f0) returned ECC error jffs2: mtd->read(0x103 bytes from 0x6218800) returned ECC error jffs2: mtd->read(0x6d4 bytes from 0x621812c) returned ECC error jffs2: mtd->read(0x74c bytes from 0x62180b4) returned ECC error jffs2: mtd->read(0x2d4 bytes from 0x6217d2c) returned ECC error jffs2: mtd->read(0x350 bytes from 0x6217cb0) returned ECC error jffs2: mtd->read(0xb4 bytes from 0x6218000) returned ECC error jffs2: mtd->read(0x6e8 bytes from 0x6217918) returned ECC error jffs2: mtd->read(0x764 bytes from 0x621789c) returned ECC error jffs2: mtd->read(0x2f8 bytes from 0x6217508) returned ECC error jffs2: mtd->read(0x374 bytes from 0x621748c) returned ECC error jffs2: mtd->read(0x9c bytes from 0x6217800) returned ECC error jffs2: mtd->read(0x744 bytes from 0x62170bc) returned ECC error jffs2: mtd->read(0x7c4 bytes from 0x621703c) returned ECC error jffs2: mtd->read(0x344 bytes from 0x6216cbc) returned ECC error jffs2: mtd->read(0x3bc bytes from 0x6216c44) returned ECC error jffs2: mtd->read(0x3b bytes from 0x6217000) returned ECC error jffs2: mtd->read(0x748 bytes from 0x62168b8) returned ECC error jffs2: mtd->read(0x7c4 bytes from 0x621683c) returned ECC error jffs2: mtd->read(0x39c bytes from 0x6216464) returned ECC error jffs2: mtd->read(0x418 bytes from 0x62163e8) returned ECC error jffs2: mtd->read(0x3a bytes from 0x6216800) returned ECC error jffs2: mtd->read(0x7b4 bytes from 0x621604c) returned ECC error jffs2: mtd->read(0x34 bytes from 0x6215fcc) returned ECC error jffs2: mtd->read(0x800 bytes from 0x6216000) returned ECC error jffs2: mtd->read(0x3c0 bytes from 0x6215c40) returned ECC error jffs2: mtd->read(0x43c bytes from 0x6215bc4) returned ECC error jffs2: mtd->read(0x7e4 bytes from 0x621581c) returned ECC error jffs2: mtd->read(0x5c bytes from 0x62157a4) returned ECC error jffs2: mtd->read(0x438 bytes from 0x62153c8) returned ECC error jffs2: mtd->read(0x4b0 bytes from 0x6215350) returned ECC error jffs2: mtd->read(0x64 bytes from 0x6214f9c) returned ECC error jffs2: mtd->read(0xdc bytes from 0x6214f24) returned ECC error jffs2: mtd->read(0x34d bytes from 0x6215000) returned ECC error jffs2: mtd->read(0x490 bytes from 0x6214b70) returned ECC error jffs2: mtd->read(0x510 bytes from 0x6214af0) returned ECC error jffs2: mtd->read(0x64 bytes from 0x621479c) returned ECC error jffs2: mtd->read(0x784 bytes from 0x621207c) returned ECC error jffs2: mtd->read(0x800 bytes from 0x6212000) returned ECC error jffs2: mtd->read(0x2f0 bytes from 0x6214800) returned ECC error systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. systemd-journald[65]: Received request to flush runtime journal from PID 1 [ OK ] Started Flush Journal to Persistent Storage. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). jffs2: mtd->read(0x7bc bytes from 0x6202044) returned ECC error jffs2: mtd->read(0x800 bytes from 0x6202000) returned ECC error jffs2: mtd->read(0x44 bytes from 0x6202000) returned ECC error Mounting /media/ram... Mounting /var/volatile... jffs2: mtd->read(0x564 bytes from 0x620529c) returned ECC error [ OK ] Mounted /var/volatile. [ OK ] Mounted /media/ram. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... jffs2: mtd->read(0x7bc bytes from 0x6211044) returned ECC error jffs2: mtd->read(0x4ac bytes from 0x6205354) returned ECC error jffs2: mtd->read(0x534 bytes from 0x62052cc) returned ECC error jffs2: mtd->read(0x408 bytes from 0x62023f8) returned ECC error jffs2: mtd->read(0x74c bytes from 0x62020b4) returned ECC error jffs2: mtd->read(0x44 bytes from 0x62052cc) returned ECC error jffs2: mtd->read(0x5a8 bytes from 0x6205258) returned ECC error jffs2: mtd->read(0x44 bytes from 0x6205258) returned ECC error jffs2: mtd->read(0x690 bytes from 0x6202170) returned ECC error jffs2: mtd->read(0x6d4 bytes from 0x620212c) returned ECC error jffs2: mtd->read(0x718 bytes from 0x62020e8) returned ECC error jffs2: mtd->read(0x790 bytes from 0x6202070) returned ECC error jffs2: mtd->read(0x44 bytes from 0x621479c) returned ECC error jffs2: mtd->read(0x310 bytes from 0x62147e0) returned ECC error [ OK ] Started Load/Save Random Seedjffs2: mtd->read(0x4f0 bytes from 0x6205310) returned ECC error . jffs2: mtd->read(0x44 bytes from 0x6205310) returned ECC error [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Update UTMP about System Boot/Shutdown. jffs2: mtd->read(0x704 bytes from 0x62110fc) returned ECC error jffs2: mtd->read(0x748 bytes from 0x62110b8) returned ECC error jffs2: mtd->read(0x78c bytes from 0x6211074) returned ECC error jffs2: mtd->read(0x800 bytes from 0x6211000) returned ECC error [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Synchronized. [ OK ] Started udev Coldplug all Devices. [ OK ] Reached target System Initialization. davinci-wdt davinci-wdt: heartbeat 60 sec [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. omap_rtc 1c23000.rtc: rtc core: registered 1c23000.rtc as rtc0 [ OK ] Reached target Basic System. Starting telnetd.service... davinci-rproc davinci-rproc.0: assigned reserved memory node dsp_cma@c3000000 remoteproc remoteproc0: dsp is available remoteproc remoteproc0: Direct firmware load for rproc-dsp-fw failed with error -2 remoteproc remoteproc0: powering up dsp remoteproc remoteproc0: Direct firmware load for rproc-dsp-fw failed with error -2 remoteproc remoteproc0: request_firmware failed: -2 [ OK ] Started Kernel Logging Service. Starting Print notice about GPLv3 packages... vpif vpif: vpif probe success [ OK ] Started D-Bus System Message Bus. Error: Driver 'ti_aemif' is already registered, aborting... Error: Driver 'ti_aemif' is already registered, aborting... mtd: exports duplicate symbol mtd_concat_create (owned by kernel) mtd: exports duplicate symbol mtd_concat_create (owned by kernel) SCSI subsystem initialized [drm] Initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-da8xx: DA8XX ohci-da8xx ohci-da8xx: USB Host Controller ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1 ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ahci_da850 ahci_da850: forcing PORTS_IMPL to 0x1 ahci_da850 ahci_da850: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode ahci_da850 ahci_da850: flags: ncq sntf pm led clo only pmp pio slum part ccc scsi host0: ahci_da850 ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67 usb_phy_generic.0.auto supply vcc not found, using dummy regulator ata1: SATA link down (SStatus 0 SControl 300) 0-0018 supply IOVDD not found, using dummy regulator 0-0018 supply DVDD not found, using dummy regulator 0-0018 supply AVDD not found, using dummy regulator 0-0018 supply DRVDD not found, using dummy regulator asoc-simple-card sound: ASoC: Failed to create card debugfs directory asoc-simple-card sound: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] No driver support for vblank timestamp query. [drm] EDID readout failed, falling back to standard modes tilcdc da8xx_lcdc.0: tilcdc_crtc_irq(0x00000160): FIFO underflow Console: switching to colour frame buffer device 100x37 tilcdc da8xx_lcdc.0: fb0: frame buffer device Linux video capture interface: v2.00 Starting Login Service... Starting Network Service... [ OK ] Started System Logging Service. Starting tiipclad-daemon.service... [ OK ] Started telnetd.service. EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem [ OK ] Found device /dev/ttyS2. EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) tvp514x 0-005d: Write: retry ... 0 tvp514x 0-005d: Write: retry ... 1 tvp514x 0-005d: Write: retry ... 2 tvp514x 0-005d: Write: retry ... 3 tvp514x 0-005d: Write: retry ... 4 tvp514x 0-005d: Write: retry ... 5 tvp514x 0-005d: tvp514x 0-005d decoder driver registered !! vpif_capture vpif_capture: registered sub device tvp514x-0 tvp514x 0-005d: Write: retry ... 0 tvp514x 0-005d: Write: retry ... 1 tvp514x 0-005d: Write: retry ... 2 tvp514x 0-005d: Write: retry ... 3 tvp514x 0-005d: Write: retry ... 4 FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. tvp514x 0-005d: Write: retry ... 5 [ OK ] Started tiipclad-daemon.service. Starting thttpd.service... [ OK ] Started thttpd.service. [ OK ] Started Login Service. musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2 [ OK ] Started Network Service. hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected net eth0: no phy, defaulting to 100/full random: crng init done *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: binutils cifs-utils dosfstools libreadline6 m4 If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. [ OK ] Reached target Sound Card. [ OK ] Reached target Network. Starting Network Name Resolution... Starting Permit User Sessions... Starting rng-tools.service... [ OK ] Started Permit User Sessions. [ OK ] Started Serial Getty on ttyS2. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Synchronize System and HW clocks. [ OK ] Started rng-tools.service. Starting thermal-zone-init.service... [ OK ] Started thermal-zone-init.service. [ OK ] Started Network Name Resolution. [ OK ] Reached target Multi-User System. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org omapl138-lcdk ttyS2 Arago 2017.06 omapl138-lcdk ttyS2 omapl138-lcdk login: root root@omapl138-lcdk:~# uname -a Linux omapl138-lcdk 4.9.41-ge3a80a1c5c #1 PREEMPT Thu Nov 23 16:48:42 +06 2017 armv5tejl GNU/Linux root@omapl138-lcdk:~#
How to fix it?