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.

ECC error during mounting UBIFS volume

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hello all!

I work with development board LCDK OMAP-L138. I have some problems with UBIFS on NAND device.

I use Linux kernel 3.3.0 from MCSDK OMAPL138 (processors.wiki.ti.com/.../MCSDK_OMAPL138_User_Guide_Chapter_Tools).

Kernel and rootfs image was built with Buildroot-2014.05 and GCC 4.4.7.

I change following parameters in Linux build configuration file (turn on NAND, MTD, UBIFS and turn off MMC):

MTD [=y];

MTD_NAND [=y];

MTD_NAND_DAVINCI [=y];

MTD_NAND_ECC_BCH [=y];

MTD_NAND_ECC_SMC [=y];

UBIFS_FS [=y];

MTD_UBI [=y];

Linux starts fine and founds MTD partitions.

I try to make UBIFS volume and mount it:

# mtdinfo /dev/mtd3

mtd3

Name: filesystem

Type: nand

Eraseblock size: 131072 bytes, 128.0 KiB

Amount of eraseblocks: 4075 (534118400 bytes, 509.4 MiB)

Minimum input/output unit size: 2048 bytes

Sub-page size: 512 bytes

OOB size: 64 bytes

Character device major/minor: 90:6

Bad blocks are allowed: true

Device is writable: true

#

# ubiformat /dev/mtd3 -s 512 -O 2048

ubiformat: mtd3 (nand), size 534118400 bytes (509.4 MiB), 4075 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes

libscan: scanning eraseblock 4074 -- 100 % complete

ubiformat: 4071 eraseblocks have valid erase counter, mean value is 0

ubiformat: 4 bad eraseblocks found, numbers: 4071, 4072, 4073, 4074

ubiformat: formatting eraseblock 4074 -- 100 % complete

#

# ubiattach /dev/ubi_ctrl -m 3 -O 2048

UBI: attaching mtd3 to ubi0

UBI: physical eraseblock size: 131072 bytes (128 KiB)

UBI: logical eraseblock size: 126976 bytes

UBI: smallest flash I/O unit: 2048

UBI: sub-page size: 512

UBI: VID header offset: 2048 (aligned 2048)

UBI: data offset: 4096

UBI: max. sequence number: 0

UBI error: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 0:4096, read 22528 bytes

[<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d2e68>] (ubi_io_read+0x150/0x2a4)

[<c01d2e68>] (ubi_io_read+0x150/0x2a4) from [<c01c8cb4>] (ubi_read_volume_table+0x110/0xa80)

[<c01c8cb4>] (ubi_read_volume_table+0x110/0xa80) from [<c01ccd60>] (ubi_attach_mtd_dev+0x678/0xd60)

[<c01ccd60>] (ubi_attach_mtd_dev+0x678/0xd60) from [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168)

[<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168) from [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc)

[<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc) from [<c0093880>] (sys_ioctl+0x38/0x60)

[<c0093880>] (sys_ioctl+0x38/0x60) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)

UBI error: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 1:4096, read 22528 bytes

[<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d2e68>] (ubi_io_read+0x150/0x2a4)

[<c01d2e68>] (ubi_io_read+0x150/0x2a4) from [<c01c8cb4>] (ubi_read_volume_table+0x110/0xa80)

[<c01c8cb4>] (ubi_read_volume_table+0x110/0xa80) from [<c01ccd60>] (ubi_attach_mtd_dev+0x678/0xd60)

[<c01ccd60>] (ubi_attach_mtd_dev+0x678/0xd60) from [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168)

[<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168) from [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc)

[<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc) from [<c0093880>] (sys_ioctl+0x38/0x60)

[<c0093880>] (sys_ioctl+0x38/0x60) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)

UBI error: vtbl_check: bad CRC at record 11: 0x315afa8e, not 0xffffffff

UBI error: vtbl_check: bad CRC at record 11: 0x315afa8e, not 0xffffffff

UBI error: process_lvol: both volume tables are corrupted

UBI error: ubi_attach_mtd_dev: failed to attach by scanning, error -22

ubiattach: error!: cannot attach mtd3

error 22 (Invalid argument)

#



I try another method after Linux rebooting:

# flash_erase /dev/mtd3 0 0

Erasing 128 Kibyte @ 1fcc0000 -- 99 % complete flash_erase: Skipping bad block at 1fce0000

flash_erase: Skipping bad block at 1fd00000

flash_erase: Skipping bad block at 1fd20000

flash_erase: Skipping bad block at 1fd40000

Erasing 128 Kibyte @ 1fd40000 -- 100 % complete

#

# ubiattach /dev/ubi_ctrl -m 3 -O 2048

UBI: attaching mtd3 to ubi0

UBI: physical eraseblock size: 131072 bytes (128 KiB)

UBI: logical eraseblock size: 126976 bytes

UBI: smallest flash I/O unit: 2048

UBI: sub-page size: 512

UBI: VID header offset: 2048 (aligned 2048)

UBI: data offset: 4096

UBI: empty MTD device detected

UBI: max. sequence number: 0

UBI: create volume table (copy #1)

UBI: create volume table (copy #2)

UBI: attached mtd3 to ubi0

UBI: MTD device name: "filesystem"

UBI: MTD device size: 509 MiB

UBI: number of good PEBs: 4071

UBI: number of bad PEBs: 4

UBI: number of corrupted PEBs: 0

UBI: max. allowed volumes: 128

UBI: wear-leveling threshold: 4096

UBI: number of internal volumes: 1

UBI: number of user volumes: 0

UBI: available PEBs: 4027

UBI: total number of reserved PEBs: 44

UBI: number of PEBs reserved for bad PEB handling: 40

UBI: max/mean erase counter: 0/0

UBI: image sequence number: 358316078

UBI: background thread "ubi_bgt0d" started, PID 919

UBI device number 0, total 4071 LEBs (516919296 bytes, 493.0 MiB), available 4027 LEBs (511332352 bytes, 487.6 MiB), LEB size 126976 bytes (124.0 KiB)

#

# ubimkvol /dev/ubi0 -N rootfs -s 20MiB

Volume ID 0, size 166 LEBs (21078016 bytes, 20.1 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1

#

# mkdir /mnt/nand

# mount -t ubifs ubi0:rootfs /mnt/nand

UBIFS: default file-system created

UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 4070:4096, read 4096 bytes

[<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d2e68>] (ubi_io_read+0x150/0x2a4)

[<c01d2e68>] (ubi_io_read+0x150/0x2a4) from [<c01d1ae4>] (ubi_eba_read_leb+0xa4/0x3fc)

[<c01d1ae4>] (ubi_eba_read_leb+0xa4/0x3fc) from [<c01cf4d4>] (ubi_leb_read+0xdc/0x130)

[<c01cf4d4>] (ubi_leb_read+0xdc/0x130) from [<c012cd6c>] (ubifs_leb_read+0x24/0x88)

[<c012cd6c>] (ubifs_leb_read+0x24/0x88) from [<c012ce68>] (ubifs_read_node+0x98/0x2a0)

[<c012ce68>] (ubifs_read_node+0x98/0x2a0) from [<c0129478>] (ubifs_read_sb_node+0x54/0x78)

[<c0129478>] (ubifs_read_sb_node+0x54/0x78) from [<c012a438>] (ubifs_read_superblock+0xc40/0x15c0)

[<c012a438>] (ubifs_read_superblock+0xc40/0x15c0) from [<c01279a0>] (ubifs_fill_super+0x49c/0x1824)

[<c01279a0>] (ubifs_fill_super+0x49c/0x1824) from [<c0128fbc>] (ubifs_mount+0x294/0x4f0)

[<c0128fbc>] (ubifs_mount+0x294/0x4f0) from [<c00850b8>] (mount_fs+0x14/0xd4)

[<c00850b8>] (mount_fs+0x14/0xd4) from [<c00a090c>] (vfs_kern_mount+0x50/0xc4)

[<c00a090c>] (vfs_kern_mount+0x50/0xc4) from [<c00a09c4>] (do_kern_mount+0x34/0xcc)

[<c00a09c4>] (do_kern_mount+0x34/0xcc) from [<c00a0ba8>] (do_mount+0x14c/0x754)

[<c00a0ba8>] (do_mount+0x14c/0x754) from [<c00a1234>] (sys_mount+0x84/0xc4)

[<c00a1234>] (sys_mount+0x84/0xc4) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)

UBIFS error (pid 923): ubifs_read_node: bad node type (255 but expected 6)

UBIFS error (pid 923): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 1

[<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c012cff8>] (ubifs_read_node+0x228/0x2a0)

[<c012cff8>] (ubifs_read_node+0x228/0x2a0) from [<c0129478>] (ubifs_read_sb_node+0x54/0x78)

[<c0129478>] (ubifs_read_sb_node+0x54/0x78) from [<c012a438>] (ubifs_read_superblock+0xc40/0x15c0)

[<c012a438>] (ubifs_read_superblock+0xc40/0x15c0) from [<c01279a0>] (ubifs_fill_super+0x49c/0x1824)

[<c01279a0>] (ubifs_fill_super+0x49c/0x1824) from [<c0128fbc>] (ubifs_mount+0x294/0x4f0)

[<c0128fbc>] (ubifs_mount+0x294/0x4f0) from [<c00850b8>] (mount_fs+0x14/0xd4)

[<c00850b8>] (mount_fs+0x14/0xd4) from [<c00a090c>] (vfs_kern_mount+0x50/0xc4)

[<c00a090c>] (vfs_kern_mount+0x50/0xc4) from [<c00a09c4>] (do_kern_mount+0x34/0xcc)

[<c00a09c4>] (do_kern_mount+0x34/0xcc) from [<c00a0ba8>] (do_mount+0x14c/0x754)

[<c00a0ba8>] (do_mount+0x14c/0x754) from [<c00a1234>] (sys_mount+0x84/0xc4)

[<c00a1234>] (sys_mount+0x84/0xc4) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)

mount: mounting ubi0:rootfs on /mnt/nand failed: Invalid argument

Does Linux NAND driver for DaVinci compatible device supports ECC properly?

Thanks in advance.

7875.Linux_boot_log.txt
NAND:  512 MiB
MMC:   davinci: 0
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
In:    serial
Out:   serial
Err:   serial
Net:   DaVinci-EMAC
Hit any key to stop autoboot:  0
Using DaVinci-EMAC device
TFTP from server 192.168.0.115; our IP address is 192.168.0.21
Filename 'rootfs.ext2.gz'.
Load address: 0xc4000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################
done
Bytes transferred = 6119761 (5d6151 hex)
Using DaVinci-EMAC device
TFTP from server 192.168.0.115; our IP address is 192.168.0.21
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         ###############################
done
Bytes transferred = 1395888 (154cb0 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-3.3.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1395824 Bytes = 1.3 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0 (ubu@ub) (gcc version 4.4.7 (Buildroot 2014.05) ) #16 PREEMPT Wed May 20 14:53:14 MSK 2015
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: AM18x/OMAP-L138 lcdk board
Memory policy: ECC disabled, Data cache writeback
BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space
DaVinci da850/omap-l138/am18x variant 0x1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24320
Kernel command line: console=ttyS2,115200n8 root=/dev/ram0 rw mem=32M@0xc0000000 mem=64M@0xc4000000 initrd=0xc4000000,32M
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: 32MB 64MB = 96MB total
Memory: 60916k/60916k available, 37388k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc0346200   (3321 kB)
      .init : 0xc0347000 - 0xc0368000   ( 132 kB)
      .data : 0xc0368000 - 0xc03887a0   ( 130 kB)
       .bss : 0xc03887c4 - 0xc039e4a4   (  88 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc027e360 - 0xc027e39c
devtmpfs: initialized
gpiochip_add: registered GPIOs 0 to 31 on device: DaVinci
gpiochip_add: registered GPIOs 32 to 63 on device: DaVinci
gpiochip_add: registered GPIOs 64 to 95 on device: DaVinci
gpiochip_add: registered GPIOs 96 to 127 on device: DaVinci
gpiochip_add: registered GPIOs 128 to 143 on device: DaVinci
DaVinci: 144 gpio irqs
NET: Registered protocol family 16
EMAC: MII PHY configured
bio: create slab <bio-0> at 0
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 32768K
JFFS2 version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
msgmni has been set to 182
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
console [ttyS2] enabled
brd: module loaded
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xcc (Micron NAND 512MiB 3,3V 16-bit)
Bad block table found at page 262080, version 0x01
Bad block table not found for chip 0
Bad block table written to 0x00001ffc0000, version 0x01
Creating 4 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x0000000a0000 : "u-boot"
0x0000000a0000-0x0000002a0000 : "kernel"
0x0000002a0000-0x000020000000 : "filesystem"
davinci_nand davinci_nand.1: controller rev. 2.5
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio-0:07, driver unknown
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
console [netcon0] enabled
netconsole: network logging started
davinci_emac davinci_emac.1: using random MAC addr: 7a:a6:22:8b:da:17
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 132K
Starting logging: OK
Initializing random number generator... done.
Starting network...
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=davinci_mdio-0:07, id=7c0f1)
Starting dropbear sshd: NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth0: link is not ready
OK
insmod syslinkSysLink version : 2.21.01.05
SysLink module created on Date:May 18 2015 Time:10:29:28

lcdk
rootlogin: PHY: davinci_mdio-0:07 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

lcdk
rootlogin:

 

0876.Linux_config.txt
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.3.0 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_KTIME_SCALAR=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPUFREQ=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ZONE_DMA=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_ARM_PATCH_PHYS_VIRT=y
CONFIG_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_HAVE_IRQ_WORK=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_LZO=y
# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_FHANDLE is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_HAVE_SPARSE_IRQ=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_CHIP=y
# CONFIG_SPARSE_IRQ is not set

#
# RCU Subsystem
#
CONFIG_TINY_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_TRACE is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
# CONFIG_PERF_COUNTERS is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
# CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
# CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set
# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
# CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
# CONFIG_FREEZER is not set

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCMRING is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CNS3XXX is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_PRIMA2 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_MXS is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_PICOXCELL is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C2410 is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5P64X0 is not set
# CONFIG_ARCH_S5PC100 is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_NOMADIK is not set
CONFIG_ARCH_DAVINCI=y
# CONFIG_ARCH_OMAP is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_VT8500 is not set
# CONFIG_ARCH_ZYNQ is not set
CONFIG_CP_INTC=y

#
# TI DaVinci Implementations
#

#
# DaVinci Core Type
#
# CONFIG_ARCH_DAVINCI_DM644x is not set
# CONFIG_ARCH_DAVINCI_DM355 is not set
# CONFIG_ARCH_DAVINCI_DM646x is not set
# CONFIG_ARCH_DAVINCI_DA830 is not set
CONFIG_ARCH_DAVINCI_DA850=y
# CONFIG_DAVINCI_UART1_AFE is not set
CONFIG_ARCH_DAVINCI_DA8XX=y
# CONFIG_ARCH_DAVINCI_DM365 is not set
# CONFIG_ARCH_DAVINCI_TNETV107X is not set

#
# DaVinci Board Type
#
# CONFIG_WIFI_CONTROL_FUNC is not set
# CONFIG_MACH_DAVINCI_DA850_EVM is not set
CONFIG_DA850_FIX_PLL0_SYSCLK3RATE=0
CONFIG_GPIO_PCA953X=y
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_MACH_MITYOMAPL138 is not set
CONFIG_MACH_OMAPL138_LCDKBOARD=y
# CONFIG_MACH_DAVINCI_DA850_SDI is not set
CONFIG_DAVINCI_MUX=y
# CONFIG_DAVINCI_MUX_DEBUG is not set
# CONFIG_DAVINCI_MUX_WARNINGS is not set
CONFIG_DAVINCI_RESET_CLOCKS=y

#
# System MMU
#

#
# Processor Type
#
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5TJ=y
CONFIG_CPU_PABRT_LEGACY=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
CONFIG_CPU_USE_DOMAINS=y

#
# Processor Features
#
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
# CONFIG_CACHE_L2X0 is not set
CONFIG_ARM_L1_CACHE_SHIFT=5
CONFIG_ARM_NR_BANKS=8

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y

#
# PC-card bridges
#

#
# Kernel Features
#
CONFIG_TICK_ONESHOT=y
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_NR_GPIO=0
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_HZ=100
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
CONFIG_HAVE_ARCH_PFN_VALID=y
# CONFIG_HIGHMEM is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
CONFIG_FORCE_MAX_ZONEORDER=11
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_DEPRECATED_PARAM_STRUCT is not set

#
# Boot options
#
# CONFIG_USE_OF is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE=""
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set

#
# CPU Power Management
#

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
# CONFIG_VFP is not set

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Power management options
#
# CONFIG_SUSPEND is not set
# CONFIG_PM_RUNTIME is not set
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ARM_CPU_SUSPEND is not set
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_INET_UDP_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
# CONFIG_NF_CONNTRACK is not set
# CONFIG_NETFILTER_XTABLES is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
# CONFIG_NF_DEFRAG_IPV4 is not set
# CONFIG_IP_NF_QUEUE is not set
# CONFIG_IP_NF_IPTABLES is not set
# CONFIG_IP_NF_ARPTABLES is not set

#
# IPv6: Netfilter Configuration
#
# CONFIG_NF_DEFRAG_IPV6 is not set
# CONFIG_IP6_NF_QUEUE is not set
# CONFIG_IP6_NF_IPTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
CONFIG_BQL=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
# CONFIG_DMA_SHARED_BUFFER is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
CONFIG_MTD_TESTS=m
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
# CONFIG_MTD_DOCG3 is not set
CONFIG_MTD_NAND_ECC=y
CONFIG_MTD_NAND_ECC_SMC=y
CONFIG_MTD_NAND=y
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
CONFIG_MTD_NAND_BCH=y
CONFIG_MTD_NAND_ECC_BCH=y
# CONFIG_MTD_SM_COMMON is not set
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
# CONFIG_MTD_NAND_GPIO is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_NANDSIM is not set
# CONFIG_MTD_NAND_PLATFORM is not set
CONFIG_MTD_NAND_DAVINCI=y
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_RESERVE=1
# CONFIG_MTD_UBI_GLUEBI is not set
CONFIG_MTD_UBI_DEBUG=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set

#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
#
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=1
CONFIG_BLK_DEV_RAM_SIZE=32768
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MG_DISK is not set
# CONFIG_BLK_DEV_RBD is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_ATMEL_PWM is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_BMP085 is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
CONFIG_MII=y
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
CONFIG_NETCONSOLE=y
CONFIG_NETPOLL=y
CONFIG_NETPOLL_TRAP=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_CALXEDA_XGMAC is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_DM9000 is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_FARADAY is not set
# CONFIG_NET_VENDOR_FUJITSU is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
CONFIG_NET_VENDOR_TI=y
CONFIG_TI_DAVINCI_EMAC=y
CONFIG_TI_DAVINCI_MDIO=y
CONFIG_TI_DAVINCI_CPDMA=y
# CONFIG_NET_VENDOR_XIRCOM is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
CONFIG_LXT_PHY=y
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
CONFIG_LSI_ET1011C_PHY=y
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_TR is not set
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_SPARSEKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVBUG=m

#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
# CONFIG_VT_CONSOLE is not set
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVKMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_CS is not set
CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=m
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_R3964 is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 is not set
# CONFIG_IPWIRELESS is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_RAMOOPS is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
CONFIG_I2C_DAVINCI=y
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#

#
# Enable Device Drivers -> PPS to see the PTP clock options.
#
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set

#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X_IRQ is not set
CONFIG_GPIO_PCF857X=y
# CONFIG_GPIO_SX150X is not set
# CONFIG_GPIO_ADP5588 is not set

#
# PCI GPIO expanders:
#

#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MCP23S08 is not set

#
# AC97 GPIO expanders:
#

#
# MODULbus GPIO expanders:
#
# CONFIG_GENERIC_PWM is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
# CONFIG_MFD_TC6393XB is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_S5M_CORE is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
CONFIG_RTC_LIB=y
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_CLKDEV_LOOKUP=y

#
# Hardware Spinlock drivers
#
CONFIG_IOMMU_SUPPORT=y
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_PM_DEVFREQ is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_FS_POSIX_ACL is not set
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_XATTR=y
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_DEBUG=y
# CONFIG_LOGFS is not set
CONFIG_CRAMFS=y
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_MINIX_FS=m
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_LOCKUP_DETECTOR is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
CONFIG_DEBUG_USER=y
# CONFIG_DEBUG_LL is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_MANAGER2 is not set
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_ZLIB is not set
CONFIG_CRYPTO_LZO=y

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_HW is not set
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_CRC_CCITT=m
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=m
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_BCH=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_GENERIC_ATOMIC64=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set

  • Could you please attach the ECC error log.
    Try to boot the board with NFS then try to mount UBIFS partition in linux.
  • Console output is under spoiler.

    ubiattach in first case and mount in second case failed with "UBI error: ubi_io_read: error -74 (ECC error)".

    Have I to send you an extended ECC error log? How can I get it?

    Why NFS? I boot the board via TFTP for debugging purpose.

  • Hi Artem,

    Please refer to the following TI wiki page.

    processors.wiki.ti.com/.../UBIFS_Support

    I suspect that it could be problme on UBI file creating, you have to create with correct PEB calculation.

    free-electrons.com/.../creating-flashing-ubi-ubifs-images

    Regards,
    Shankari.
  • Thanks for your answers. I have tried commands from TI wiki but the problem is not resolved.

    Commands from TI wiki page (or ):

    ubiformat /dev/mtd3 -s 512 -O 2048

    ubiattach /dev/ubi_ctrl -m 3 -O 2048

    fails with UBI error -74 (ECC error). Error log in first post.

    An another method from e2e forum:

    flash_erase /dev/mtd3 0 0

    ubiattach /dev/ubi_ctrl -m 3 -O 2048

    ubimkvol /dev/ubi0 -N rootfs -s 20MiB

    mkdir /mnt/nand

    mount -t ubifs ubi0:rootfs /mnt/nand

    These commands raise similar ECC error. Error log in first post.

    Thanks in advance.

  • mtdinfo says:

    # mtdinfo /dev/mtd3
    mtd3
    Name:                           filesystem
    Type:                           nand
    Eraseblock size:                131072 bytes, 128.0 KiB
    Amount of eraseblocks:          4075 (534118400 bytes, 509.4 MiB)
    Minimum input/output unit size: 2048 bytes
    Sub-page size:                  512 bytes
    OOB size:                       64 bytes
    Character device major/minor:   90:6
    Bad blocks are allowed:         true
    Device is writable:             true



    ubi and ubifs images creating

    mkfs.ubifs -q -r root-fs -m 2048 -e 131072 -c 4075 -o ubifs.img
    ubinize -o ubi.img -m 2048 -p 128KiB -s 512 ubinize.cfg

    ubinize.cfg:
    [ubifs]
    mode=ubi
    image=ubifs.img
    vol_id=0
    vol_size=450MiB
    vol_type=dynamic
    vol_name=rootfs
    vol_alignment=1
    vol_flags=autoresize


    Then

    ubiformat /dev/mtd3 ubi.img
    ubiattach /dev/ubi_ctrl -m 3 -O 2048

    Console output:

    # ubiformat /dev/mtd3 -f ubi.img
    ubiformat: mtd3 (nand), size 534118400 bytes (509.4 MiB), 4075 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
    libscan: scanning eraseblock 4074 -- 100 % complete
    ubiformat: 4071 eraseblocks have valid erase counter, mean value is 8
    ubiformat: 4 bad eraseblocks found, numbers: 4071, 4072, 4073, 4074
    ubiformat: warning!: VID header and data offsets on flash are 2048 and 4096, which is different to requested offsets 512 and 2048
    ubiformat: use new offsets 512 and 2048? ubiformat: continue? (y/N) y
    ubiformat: use offsets 512 and 2048
    ubiformat: flashing eraseblock 16 -- 100 % complete
    ubiformat: formatting eraseblock 4074 -- 100 % complete
    # ubiattach /dev/ubi_ctrl -m 3 -O 2048
    UBI: attaching mtd3 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 13:2048, read 512 bytes
    [<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d2e68>] (ubi_io_read+0x150/0x2a4)
    [<c01d2e68>] (ubi_io_read+0x150/0x2a4) from [<c01d3128>] (ubi_io_read_vid_hdr+0x48/0x238)
    [<c01d3128>] (ubi_io_read_vid_hdr+0x48/0x238) from [<c01d7514>] (process_eb+0x1b4/0x738)
    [<c01d7514>] (process_eb+0x1b4/0x738) from [<c01d7ba8>] (ubi_scan+0x110/0xe08)
    [<c01d7ba8>] (ubi_scan+0x110/0xe08) from [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60)
    [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60) from [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168)
    [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168) from [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc)
    [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc) from [<c0093880>] (sys_ioctl+0x38/0x60)
    [<c0093880>] (sys_ioctl+0x38/0x60) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)
    UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 13:4096, read 126976 bytes
    [<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d2e68>] (ubi_io_read+0x150/0x2a4)
    [<c01d2e68>] (ubi_io_read+0x150/0x2a4) from [<c01d7764>] (process_eb+0x404/0x738)
    [<c01d7764>] (process_eb+0x404/0x738) from [<c01d7ba8>] (ubi_scan+0x110/0xe08)
    [<c01d7ba8>] (ubi_scan+0x110/0xe08) from [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60)
    [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60) from [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168)
    [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168) from [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc)
    [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc) from [<c0093880>] (sys_ioctl+0x38/0x60)
    [<c0093880>] (sys_ioctl+0x38/0x60) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)
    UBI error: validate_ec_hdr: bad VID header offset 512, expected 2048
    UBI error: validate_ec_hdr: bad EC header
    [<c000d798>] (unwind_backtrace+0x0/0xf4) from [<c01d24d0>] (validate_ec_hdr+0x140/0x194)
    [<c01d24d0>] (validate_ec_hdr+0x140/0x194) from [<c01d3490>] (ubi_io_read_ec_hdr+0x178/0x228)
    [<c01d3490>] (ubi_io_read_ec_hdr+0x178/0x228) from [<c01d73bc>] (process_eb+0x5c/0x738)
    [<c01d73bc>] (process_eb+0x5c/0x738) from [<c01d7ba8>] (ubi_scan+0x110/0xe08)
    [<c01d7ba8>] (ubi_scan+0x110/0xe08) from [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60)
    [<c01ccd10>] (ubi_attach_mtd_dev+0x628/0xd60) from [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168)
    [<c01cd5cc>] (ctrl_cdev_ioctl+0xec/0x168) from [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc)
    [<c00932e8>] (do_vfs_ioctl+0x7c/0x5dc) from [<c0093880>] (sys_ioctl+0x38/0x60)
    [<c0093880>] (sys_ioctl+0x38/0x60) from [<c0009420>] (ret_fast_syscall+0x0/0x2c)
    UBI error: ubi_io_read_ec_hdr: validation failed for PEB 18
    UBI error: ubi_attach_mtd_dev: failed to attach by scanning, error -22
    ubiattach: error!: cannot attach mtd3
               error 22 (Invalid argument)
    #

  • I made experiment. I wrote one page in the size of 2048 byte two times by u-boot and by linux. I checked what was written and that ECC.

    U-boot sent this commands:

    nand erase 0x540000 0x800
    nand dump.obb 0x540000
    tftp 0xc0700000 192.168.0.115:nand_page
    nand write 0xc0700000 0x540000 0x800
    nand dump.obb 0x540000
    
    Page 00540000 dump:
            6a 68 73 64 6b 66 6a 77  65 75 68 66 61 73 68 64
            61 6a 73 64 68 66 6c 75  77 79 67 65 68 66 67 61
            73 64 66 6a 35 39 67 68  61 73 39 68 66 6a 35 61
            73 64 68 66 35 6c 39 6b  6a 73 35 61 32 68 64 66
            35 68 61 75 73 77 34 37  69 39 35 31 35 32 37 33
            39 35 34 31 6f 35 38 33  31 34 35 39 35 6f 38 32
            79 6f 77 65 38 72 79 6f  75 68 61 73 6c 68 66 6c
            75 69 61 73 64 35 39 73  6a 69 72 68 66 32 70 71
            72 39 38 79 68 32 61 77  39 75 69 72 79 68 61 38
            69 77 6f 79 68 75 32 69  73 39 6f 32 61 79 68 66
            35 38 32 77 70 79 68 66  61 79 68 66 70 38 32 73
            77 68 66 35 61 73 64 32  32 35 39 35 6f 69 61 73
            68 66 75 77 67 61 75 67  62 76 6b 6c 6a 78 7a 62
            63 76 6a 7a 6e 78 63 6a  76 68 61 73 75 69 68 66
            6c 6a 73 68 64 67 66 6b  6a 68 66 67 6c 3b 64 6b
            68 67 66 3b 6a 61 73 68  64 61 73 68 64 6f 66 68
            3b 77 65 75 69 68 75 68  73 64 66 68 3b 6a 68 73
            65 69 77 68 69 75 68 64  66 6b 6a 62 64 64 6a 73
            68 66 6b 6a 68 73 67 65  68 67 73 6b 6a 64 68 67
            66 68 61 73 64 67 66 79  6a 61 77 67 65 6a 68 66
            61 62 73 64 68 62 76 66  33 32 73 31 76 66 36 35
            68 32 73 64 62 76 66 6d  68 73 32 64 66 35 36 68
            32 67 77 68 66 67 73 31  34 64 68 66 35 30 33 68
            66 6a 62 67 6f 79 69 73  77 72 67 6f 77 69 75 67
            72 66 6f 69 61 77 67 66  65 61 77 67 68 66 6c 69
            61 75 77 79 68 33 38 35  68 35 61 75 69 66 35 68
            39 6c 61 75 69 73 64 68  66 35 69 32 37 61 75 77
            68 39 72 38 69 35 61 68  75 69 67 66 35 61 73 39
            6c 75 69 64 66 67 68 6c  61 39 67 68 77 72 69 35
            75 61 65 77 67 69 75 36  72 66 67 61 6c 36 68 67
            66 35 39 6c 61 73 66 6c  6a 61 73 68 64 66 6c 35
            68 6a 67 73 64 67 68 73  6c 75 61 77 75 65 68 77
            6a 68 73 64 6b 66 6a 77  65 75 68 66 61 73 68 64
            61 6a 73 64 68 66 6c 75  77 79 67 65 68 66 67 61
            73 64 66 6a 35 39 67 68  61 73 39 68 66 6a 35 61
            73 64 68 66 35 6c 39 6b  6a 73 35 61 32 68 64 66
            35 68 61 75 73 77 34 37  69 39 35 31 35 32 37 33
            39 35 34 31 6f 35 38 33  31 34 35 39 35 6f 38 32
            79 6f 77 65 38 72 79 6f  75 68 61 73 6c 68 66 6c
            75 69 61 73 64 35 39 73  6a 69 72 68 66 32 70 71
            72 39 38 79 68 32 61 77  39 75 69 72 79 68 61 38
            69 77 6f 79 68 75 32 69  73 39 6f 32 61 79 68 66
            35 38 32 77 70 79 68 66  61 79 68 66 70 38 32 73
            77 68 66 35 61 73 64 32  32 35 39 35 6f 69 61 73
            68 66 75 77 67 61 75 67  62 76 6b 6c 6a 78 7a 62
            63 76 6a 7a 6e 78 63 6a  76 68 61 73 75 69 68 66
            6c 6a 73 68 64 67 66 6b  6a 68 66 67 6c 3b 64 6b
            68 67 66 3b 6a 61 73 68  64 61 73 68 64 6f 66 68
            3b 77 65 75 69 68 75 68  73 64 66 68 3b 6a 68 73
            65 69 77 68 69 75 68 64  66 6b 6a 62 64 64 6a 73
            68 66 6b 6a 68 73 67 65  68 67 73 6b 6a 64 68 67
            66 68 61 73 64 67 66 79  6a 61 77 67 65 6a 68 66
            61 62 73 64 68 62 76 66  33 32 73 31 76 66 36 35
            68 32 73 64 62 76 66 6d  68 73 32 64 66 35 36 68
            32 67 77 68 66 67 73 31  34 64 68 66 35 30 33 68
            66 6a 62 67 6f 79 69 73  77 72 67 6f 77 69 75 67
            72 66 6f 69 61 77 67 66  65 61 77 67 68 66 6c 69
            61 75 77 79 68 33 38 35  68 35 61 75 69 66 35 68
            39 6c 61 75 69 73 64 68  66 35 69 32 37 61 75 77
            68 39 72 38 69 35 61 68  75 69 67 66 35 61 73 39
            6c 75 69 64 66 67 68 6c  61 39 67 68 77 72 69 35
            75 61 65 77 67 69 75 36  72 66 67 61 6c 36 68 67
            66 35 39 6c 61 73 66 6c  6a 61 73 68 64 66 6c 35
            68 6a 67 73 64 67 68 73  6c 75 61 77 75 65 68 77
            6a 68 73 64 6b 66 6a 77  65 75 68 66 61 73 68 64
            61 6a 73 64 68 66 6c 75  77 79 67 65 68 66 67 61
            73 64 66 6a 35 39 67 68  61 73 39 68 66 6a 35 61
            73 64 68 66 35 6c 39 6b  6a 73 35 61 32 68 64 66
            35 68 61 75 73 77 34 37  69 39 35 31 35 32 37 33
            39 35 34 31 6f 35 38 33  31 34 35 39 35 6f 38 32
            79 6f 77 65 38 72 79 6f  75 68 61 73 6c 68 66 6c
            75 69 61 73 64 35 39 73  6a 69 72 68 66 32 70 71
            72 39 38 79 68 32 61 77  39 75 69 72 79 68 61 38
            69 77 6f 79 68 75 32 69  73 39 6f 32 61 79 68 66
            35 38 32 77 70 79 68 66  61 79 68 66 70 38 32 73
            77 68 66 35 61 73 64 32  32 35 39 35 6f 69 61 73
            68 66 75 77 67 61 75 67  62 76 6b 6c 6a 78 7a 62
            63 76 6a 7a 6e 78 63 6a  76 68 61 73 75 69 68 66
            6c 6a 73 68 64 67 66 6b  6a 68 66 67 6c 3b 64 6b
            68 67 66 3b 6a 61 73 68  64 61 73 68 64 6f 66 68
            3b 77 65 75 69 68 75 68  73 64 66 68 3b 6a 68 73
            65 69 77 68 69 75 68 64  66 6b 6a 62 64 64 6a 73
            68 66 6b 6a 68 73 67 65  68 67 73 6b 6a 64 68 67
            66 68 61 73 64 67 66 79  6a 61 77 67 65 6a 68 66
            61 62 73 64 68 62 76 66  33 32 73 31 76 66 36 35
            68 32 73 64 62 76 66 6d  68 73 32 64 66 35 36 68
            32 67 77 68 66 67 73 31  34 64 68 66 35 30 33 68
            66 6a 62 67 6f 79 69 73  77 72 67 6f 77 69 75 67
            72 66 6f 69 61 77 67 66  65 61 77 67 68 66 6c 69
            61 75 77 79 68 33 38 35  68 35 61 75 69 66 35 68
            39 6c 61 75 69 73 64 68  66 35 69 32 37 61 75 77
            68 39 72 38 69 35 61 68  75 69 67 66 35 61 73 39
            6c 75 69 64 66 67 68 6c  61 39 67 68 77 72 69 35
            75 61 65 77 67 69 75 36  72 66 67 61 6c 36 68 67
            66 35 39 6c 61 73 66 6c  6a 61 73 68 64 66 6c 35
            68 6a 67 73 64 67 68 73  6c 75 61 77 75 65 68 77
            6a 68 73 64 6b 66 6a 77  65 75 68 66 61 73 68 64
            61 6a 73 64 68 66 6c 75  77 79 67 65 68 66 67 61
            73 64 66 6a 35 39 67 68  61 73 39 68 66 6a 35 61
            73 64 68 66 35 6c 39 6b  6a 73 35 61 32 68 64 66
            35 68 61 75 73 77 34 37  69 39 35 31 35 32 37 33
            39 35 34 31 6f 35 38 33  31 34 35 39 35 6f 38 32
            79 6f 77 65 38 72 79 6f  75 68 61 73 6c 68 66 6c
            75 69 61 73 64 35 39 73  6a 69 72 68 66 32 70 71
            72 39 38 79 68 32 61 77  39 75 69 72 79 68 61 38
            69 77 6f 79 68 75 32 69  73 39 6f 32 61 79 68 66
            35 38 32 77 70 79 68 66  61 79 68 66 70 38 32 73
            77 68 66 35 61 73 64 32  32 35 39 35 6f 69 61 73
            68 66 75 77 67 61 75 67  62 76 6b 6c 6a 78 7a 62
            63 76 6a 7a 6e 78 63 6a  76 68 61 73 75 69 68 66
            6c 6a 73 68 64 67 66 6b  6a 68 66 67 6c 3b 64 6b
            68 67 66 3b 6a 61 73 68  64 61 73 68 64 6f 66 68
            3b 77 65 75 69 68 75 68  73 64 66 68 3b 6a 68 73
            65 69 77 68 69 75 68 64  66 6b 6a 62 64 64 6a 73
            68 66 6b 6a 68 73 67 65  68 67 73 6b 6a 64 68 67
            66 68 61 73 64 67 66 79  6a 61 77 67 65 6a 68 66
            61 62 73 64 68 62 76 66  33 32 73 31 76 66 36 35
            68 32 73 64 62 76 66 6d  68 73 32 64 66 35 36 68
            32 67 77 68 66 67 73 31  34 64 68 66 35 30 33 68
            66 6a 62 67 6f 79 69 73  77 72 67 6f 77 69 75 67
            72 66 6f 69 61 77 67 66  65 61 77 67 68 66 6c 69
            61 75 77 79 68 33 38 35  68 35 61 75 69 66 35 68
            39 6c 61 75 69 73 64 68  66 35 69 32 37 61 75 77
            68 39 72 38 69 35 61 68  75 69 67 66 35 61 73 39
            6c 75 69 64 66 67 68 6c  61 39 67 68 77 72 69 35
            75 61 65 77 67 69 75 36  72 66 67 61 6c 36 68 67
            66 35 39 6c 61 73 66 6c  6a 61 73 68 64 66 6c 35
            68 6a 67 73 64 67 68 73  6c 75 61 77 75 65 68 77
    OOB:
            ff ff ff ff ff ff ff ff
            ff ff ff ff ff ff ff ff
            ff ff ff ff ff ff ff ff
            d1 80 ea ee 44 42 43 55
            6a a6 d1 80 ea ee 44 42
            43 55 6a a6 d1 80 ea ee
            44 42 43 55 6a a6 d1 80
            ea ee 44 42 43 55 6a a6


    Linux sent this commands:

    tftp -g -r nand_page 192.168.0.115
    flash_erase /dev/mtd3 0 0
    nandwrite -s 0x2a0000 --input-size=2048 /dev/mtd3 nand_page
    nanddump -p -o -s 0x2a0000 -l 2048 /dev/mtd3
    
    ECC failed: 0
    ECC corrected: 0
    Number of bad blocks: 4
    Number of bbt blocks: 0
    Block size 131072, page size 2048, OOB size 64
    Dumping data starting at 0x002a0000 and ending at 0x002a0800...
    0x002a0000: 6a 68 73 64 6b 66 6a 77 65 75 68 66 61 73 68 64
    0x002a0010: 61 6a 73 64 68 66 6c 75 77 79 67 65 68 66 67 61
    0x002a0020: 73 64 66 6a 35 39 67 68 61 73 39 68 66 6a 35 61
    0x002a0030: 73 64 68 66 35 6c 39 6b 6a 73 35 61 32 68 64 66
    0x002a0040: 35 68 61 75 73 77 34 37 69 39 35 31 35 32 37 33
    0x002a0050: 39 35 34 31 6f 35 38 33 31 34 35 39 35 6f 38 32
    0x002a0060: 79 6f 77 65 38 72 79 6f 75 68 61 73 6c 68 66 6c
    0x002a0070: 75 69 61 73 64 35 39 73 6a 69 72 68 66 32 70 71
    0x002a0080: 72 39 38 79 68 32 61 77 39 75 69 72 79 68 61 38
    0x002a0090: 69 77 6f 79 68 75 32 69 73 39 6f 32 61 79 68 66
    0x002a00a0: 35 38 32 77 70 79 68 66 61 79 68 66 70 38 32 73
    0x002a00b0: 77 68 66 35 61 73 64 32 32 35 39 35 6f 69 61 73
    0x002a00c0: 68 66 75 77 67 61 75 67 62 76 6b 6c 6a 78 7a 62
    0x002a00d0: 63 76 6a 7a 6e 78 63 6a 76 68 61 73 75 69 68 66
    0x002a00e0: 6c 6a 73 68 64 67 66 6b 6a 68 66 67 6c 3b 64 6b
    0x002a00f0: 68 67 66 3b 6a 61 73 68 64 61 73 68 64 6f 66 68
    0x002a0100: 3b 77 65 75 69 68 75 68 73 64 66 68 3b 6a 68 73
    0x002a0110: 65 69 77 68 69 75 68 64 66 6b 6a 62 64 64 6a 73
    0x002a0120: 68 66 6b 6a 68 73 67 65 68 67 73 6b 6a 64 68 67
    0x002a0130: 66 68 61 73 64 67 66 79 6a 61 77 67 65 6a 68 66
    0x002a0140: 61 62 73 64 68 62 76 66 33 32 73 31 76 66 36 35
    0x002a0150: 68 32 73 64 62 76 66 6d 68 73 32 64 66 35 36 68
    0x002a0160: 32 67 77 68 66 67 73 31 34 64 68 66 35 30 33 68
    0x002a0170: 66 6a 62 67 6f 79 69 73 77 72 67 6f 77 69 75 67
    0x002a0180: 72 66 6f 69 61 77 67 66 65 61 77 67 68 66 6c 69
    0x002a0190: 61 75 77 79 68 33 38 35 68 35 61 75 69 66 35 68
    0x002a01a0: 39 6c 61 75 69 73 64 68 66 35 69 32 37 61 75 77
    0x002a01b0: 68 39 72 38 69 35 61 68 75 69 67 66 35 61 73 39
    0x002a01c0: 6c 75 69 64 66 67 68 6c 61 39 67 68 77 72 69 35
    0x002a01d0: 75 61 65 77 67 69 75 36 72 66 67 61 6c 36 68 67
    0x002a01e0: 66 35 39 6c 61 73 66 6c 6a 61 73 68 64 66 6c 35
    0x002a01f0: 68 6a 67 73 64 67 68 73 6c 75 61 77 75 65 68 77
    0x002a0200: 6a 68 73 64 6b 66 6a 77 65 75 68 66 61 73 68 64
    0x002a0210: 61 6a 73 64 68 66 6c 75 77 79 67 65 68 66 67 61
    0x002a0220: 73 64 66 6a 35 39 67 68 61 73 39 68 66 6a 35 61
    0x002a0230: 73 64 68 66 35 6c 39 6b 6a 73 35 61 32 68 64 66
    0x002a0240: 35 68 61 75 73 77 34 37 69 39 35 31 35 32 37 33
    0x002a0250: 39 35 34 31 6f 35 38 33 31 34 35 39 35 6f 38 32
    0x002a0260: 79 6f 77 65 38 72 79 6f 75 68 61 73 6c 68 66 6c
    0x002a0270: 75 69 61 73 64 35 39 73 6a 69 72 68 66 32 70 71
    0x002a0280: 72 39 38 79 68 32 61 77 39 75 69 72 79 68 61 38
    0x002a0290: 69 77 6f 79 68 75 32 69 73 39 6f 32 61 79 68 66
    0x002a02a0: 35 38 32 77 70 79 68 66 61 79 68 66 70 38 32 73
    0x002a02b0: 77 68 66 35 61 73 64 32 32 35 39 35 6f 69 61 73
    0x002a02c0: 68 66 75 77 67 61 75 67 62 76 6b 6c 6a 78 7a 62
    0x002a02d0: 63 76 6a 7a 6e 78 63 6a 76 68 61 73 75 69 68 66
    0x002a02e0: 6c 6a 73 68 64 67 66 6b 6a 68 66 67 6c 3b 64 6b
    0x002a02f0: 68 67 66 3b 6a 61 73 68 64 61 73 68 64 6f 66 68
    0x002a0300: 3b 77 65 75 69 68 75 68 73 64 66 68 3b 6a 68 73
    0x002a0310: 65 69 77 68 69 75 68 64 66 6b 6a 62 64 64 6a 73
    0x002a0320: 68 66 6b 6a 68 73 67 65 68 67 73 6b 6a 64 68 67
    0x002a0330: 66 68 61 73 64 67 66 79 6a 61 77 67 65 6a 68 66
    0x002a0340: 61 62 73 64 68 62 76 66 33 32 73 31 76 66 36 35
    0x002a0350: 68 32 73 64 62 76 66 6d 68 73 32 64 66 35 36 68
    0x002a0360: 32 67 77 68 66 67 73 31 34 64 68 66 35 30 33 68
    0x002a0370: 66 6a 62 67 6f 79 69 73 77 72 67 6f 77 69 75 67
    0x002a0380: 72 66 6f 69 61 77 67 66 65 61 77 67 68 66 6c 69
    0x002a0390: 61 75 77 79 68 33 38 35 68 35 61 75 69 66 35 68
    0x002a03a0: 39 6c 61 75 69 73 64 68 66 35 69 32 37 61 75 77
    0x002a03b0: 68 39 72 38 69 35 61 68 75 69 67 66 35 61 73 39
    0x002a03c0: 6c 75 69 64 66 67 68 6c 61 39 67 68 77 72 69 35
    0x002a03d0: 75 61 65 77 67 69 75 36 72 66 67 61 6c 36 68 67
    0x002a03e0: 66 35 39 6c 61 73 66 6c 6a 61 73 68 64 66 6c 35
    0x002a03f0: 68 6a 67 73 64 67 68 73 6c 75 61 77 75 65 68 77
    0x002a0400: 6a 68 73 64 6b 66 6a 77 65 75 68 66 61 73 68 64
    0x002a0410: 61 6a 73 64 68 66 6c 75 77 79 67 65 68 66 67 61
    0x002a0420: 73 64 66 6a 35 39 67 68 61 73 39 68 66 6a 35 61
    0x002a0430: 73 64 68 66 35 6c 39 6b 6a 73 35 61 32 68 64 66
    0x002a0440: 35 68 61 75 73 77 34 37 69 39 35 31 35 32 37 33
    0x002a0450: 39 35 34 31 6f 35 38 33 31 34 35 39 35 6f 38 32
    0x002a0460: 79 6f 77 65 38 72 79 6f 75 68 61 73 6c 68 66 6c
    0x002a0470: 75 69 61 73 64 35 39 73 6a 69 72 68 66 32 70 71
    0x002a0480: 72 39 38 79 68 32 61 77 39 75 69 72 79 68 61 38
    0x002a0490: 69 77 6f 79 68 75 32 69 73 39 6f 32 61 79 68 66
    0x002a04a0: 35 38 32 77 70 79 68 66 61 79 68 66 70 38 32 73
    0x002a04b0: 77 68 66 35 61 73 64 32 32 35 39 35 6f 69 61 73
    0x002a04c0: 68 66 75 77 67 61 75 67 62 76 6b 6c 6a 78 7a 62
    0x002a04d0: 63 76 6a 7a 6e 78 63 6a 76 68 61 73 75 69 68 66
    0x002a04e0: 6c 6a 73 68 64 67 66 6b 6a 68 66 67 6c 3b 64 6b
    0x002a04f0: 68 67 66 3b 6a 61 73 68 64 61 73 68 64 6f 66 68
    0x002a0500: 3b 77 65 75 69 68 75 68 73 64 66 68 3b 6a 68 73
    0x002a0510: 65 69 77 68 69 75 68 64 66 6b 6a 62 64 64 6a 73
    0x002a0520: 68 66 6b 6a 68 73 67 65 68 67 73 6b 6a 64 68 67
    0x002a0530: 66 68 61 73 64 67 66 79 6a 61 77 67 65 6a 68 66
    0x002a0540: 61 62 73 64 68 62 76 66 33 32 73 31 76 66 36 35
    0x002a0550: 68 32 73 64 62 76 66 6d 68 73 32 64 66 35 36 68
    0x002a0560: 32 67 77 68 66 67 73 31 34 64 68 66 35 30 33 68
    0x002a0570: 66 6a 62 67 6f 79 69 73 77 72 67 6f 77 69 75 67
    0x002a0580: 72 66 6f 69 61 77 67 66 65 61 77 67 68 66 6c 69
    0x002a0590: 61 75 77 79 68 33 38 35 68 35 61 75 69 66 35 68
    0x002a05a0: 39 6c 61 75 69 73 64 68 66 35 69 32 37 61 75 77
    0x002a05b0: 68 39 72 38 69 35 61 68 75 69 67 66 35 61 73 39
    0x002a05c0: 6c 75 69 64 66 67 68 6c 61 39 67 68 77 72 69 35
    0x002a05d0: 75 61 65 77 67 69 75 36 72 66 67 61 6c 36 68 67
    0x002a05e0: 66 35 39 6c 61 73 66 6c 6a 61 73 68 64 66 6c 35
    0x002a05f0: 68 6a 67 73 64 67 68 73 6c 75 61 77 75 65 68 77
    0x002a0600: 6a 68 73 64 6b 66 6a 77 65 75 68 66 61 73 68 64
    0x002a0610: 61 6a 73 64 68 66 6c 75 77 79 67 65 68 66 67 61
    0x002a0620: 73 64 66 6a 35 39 67 68 61 73 39 68 66 6a 35 61
    0x002a0630: 73 64 68 66 35 6c 39 6b 6a 73 35 61 32 68 64 66
    0x002a0640: 35 68 61 75 73 77 34 37 69 39 35 31 35 32 37 33
    0x002a0650: 39 35 34 31 6f 35 38 33 31 34 35 39 35 6f 38 32
    0x002a0660: 79 6f 77 65 38 72 79 6f 75 68 61 73 6c 68 66 6c
    0x002a0670: 75 69 61 73 64 35 39 73 6a 69 72 68 66 32 70 71
    0x002a0680: 72 39 38 79 68 32 61 77 39 75 69 72 79 68 61 38
    0x002a0690: 69 77 6f 79 68 75 32 69 73 39 6f 32 61 79 68 66
    0x002a06a0: 35 38 32 77 70 79 68 66 61 79 68 66 70 38 32 73
    0x002a06b0: 77 68 66 35 61 73 64 32 32 35 39 35 6f 69 61 73
    0x002a06c0: 68 66 75 77 67 61 75 67 62 76 6b 6c 6a 78 7a 62
    0x002a06d0: 63 76 6a 7a 6e 78 63 6a 76 68 61 73 75 69 68 66
    0x002a06e0: 6c 6a 73 68 64 67 66 6b 6a 68 66 67 6c 3b 64 6b
    0x002a06f0: 68 67 66 3b 6a 61 73 68 64 61 73 68 64 6f 66 68
    0x002a0700: 3b 77 65 75 69 68 75 68 73 64 66 68 3b 6a 68 73
    0x002a0710: 65 69 77 68 69 75 68 64 66 6b 6a 62 64 64 6a 73
    0x002a0720: 68 66 6b 6a 68 73 67 65 68 67 73 6b 6a 64 68 67
    0x002a0730: 66 68 61 73 64 67 66 79 6a 61 77 67 65 6a 68 66
    0x002a0740: 61 62 73 64 68 62 76 66 33 32 73 31 76 66 36 35
    0x002a0750: 68 32 73 64 62 76 66 6d 68 73 32 64 66 35 36 68
    0x002a0760: 32 67 77 68 66 67 73 31 34 64 68 66 35 30 33 68
    0x002a0770: 66 6a 62 67 6f 79 69 73 77 72 67 6f 77 69 75 67
    0x002a0780: 72 66 6f 69 61 77 67 66 65 61 77 67 68 66 6c 69
    0x002a0790: 61 75 77 79 68 33 38 35 68 35 61 75 69 66 35 68
    0x002a07a0: 39 6c 61 75 69 73 64 68 66 35 69 32 37 61 75 77
    0x002a07b0: 68 39 72 38 69 35 61 68 75 69 67 66 35 61 73 39
    0x002a07c0: 6c 75 69 64 66 67 68 6c 61 39 67 68 77 72 69 35
    0x002a07d0: 75 61 65 77 67 69 75 36 72 66 67 61 6c 36 68 67
    0x002a07e0: 66 35 39 6c 61 73 66 6c 6a 61 73 68 64 66 6c 35
    0x002a07f0: 68 6a 67 73 64 67 68 73 6c 75 61 77 75 65 68 77
      OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
      OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
      OOB Data: ff ff ff ff ff ff ff ff 4a ae e4 4a ae e4 4a ae
      OOB Data: e4 4a ae e4 ff ff ff ff ff ff ff ff ff ff ff ff

    Conclusion

    Data is the same but ECC is different. This can be the cause of error mounting NAND to Linux. That should we do to make ECC the same?

     

  • I found out that U-boot and Linux NAND drivers use different Error Correction Code algorithms. U-boot uses 4-bit hardware ECC algorithm and Linux uses 1-bit hardware ECC algorithm. One of the comments to Linux NAND driver source file mentions that this driver doesn’t support 4-bit ECC for 16-bit flash.

    In spite of that, I made an attempt to adapt the driver’s NAND algorithm to 4-bit mode (in the file board-omapl138-lcdk.c)

    I wrote a sample NAND data page by Linux and then tried to read it with Linux and then with U-boot. The data I read with Linux was incorrect, and the data I read with U-boot was just the same as the initial data page. The issue is that Linux driver with 4-bit ECC on writes Data and OOB correctly, but reads Data incorrectly and OOB - correctly.

    So wouldn’t you please tell me if you got any Linux patch or driver for 4-bit hardware ECC to be used with DaVinchi? I’d be happy to have it in my disposal.

    Thanks in advance.

  • The NAND EMIFA latencies in Linux driver were configured for clock frequency 300 MHz but actually run on 456 MHz. I resolved the issue by switching Fclk to 300 MHz.
  • Hi,
    Sounds good.
    We are glad that you solved the problem.
    Thanks for your update.