AT91SAM9X25: PMECC does not detect bit errors

This forum is for users of Atmel's SAM Series and who are interested in using Linux OS.

Moderator: nferre

Lisa
Posts: 4
Joined: Thu Dec 15, 2016 10:57 am

AT91SAM9X25: PMECC does not detect bit errors

Thu Dec 15, 2016 11:30 am

I am working on verification of a custom board running linux4sam version 3.10. For testing, I have created a simple text file under /mtd/flash in which I later introduced a bit error (without altering the ecc bits at the end of the page). When opening this corrupted file, linux does not detect the bit error and shows the corrupted file content. I tried reading the same memory location using a modified at91bootstrap, which alerted there was a bit error and corrected it. Therefore, I suspect there must be something wrong with my linux driver for nand. I have altered at91sam9x5cm.dtsi according to linux4sam/bin/view/Linux4SAM/PmeccConfigure. The nand driver is configured for 512B sector size, 4 sectors per page, pmecc capability 4, HW ecc. In atmel_nand.c function pmecc_enable I have disabled PMECC_CFG_AUTO_ENABLE for both read and write as the system get kernel panic when mounting the root file system otherwise.

From printouts I can tell that the pmecc never sets a bit in its ISR when the file is read from nandflash.

Does anyone have some experience in this and/or any ideas of what I can try next?
Thank you!
Last edited by Lisa on Tue Jan 03, 2017 11:18 am, edited 1 time in total.
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: AT91SAM9X25: PMECC does not detect bit errors

Fri Dec 16, 2016 12:18 am

You have omitted salient details.
What NAND chip are you using?
What type of filesystem are you using?
How did install this filesystem?
Where's the boot log showing the NAND and PMECC driver messages?
Lisa wrote:For testing, I have created a simple text file under /mtd/flash...
What is this "/mtd/flash"?
How did you introduce bit errors? Was your kludged kernel involved?
Lisa wrote:In atmel_nand.c function pmecc_enable I have disabled PMECC_CFG_AUTO_ENABLE for both read and write as the system get kernel panic when mounting the root file system otherwise.
What does your code that "disabled X" look like?
How did you determine that your kludge is the "proper" workaround?
Duh! Maybe there's a correlation (and causation) between this configuration change and your problem!

Seems like you have an XY problem, and the panic is the real issue that you should be solving (instead of kludging).

Regards
Lisa
Posts: 4
Joined: Thu Dec 15, 2016 10:57 am

Re: AT91SAM9X25: PMECC does not detect bit errors

Tue Jan 03, 2017 11:46 am

Hello,

Thanks for your reply. I am sorry for the late answer but I was unable to log onto the forum for some time.

Indeed, I believe you are correct regarding my XY-problem. It makes more sense to find the actual source of the kernel panic than to tweak the PMECC settings. Therefore, I have now reverted my changes of the PMECC setup to the original from linux4sam.
Now, my system boots up properly upon the first boot after flashing. The second boot (and any after) results in kernel panic. From the boot-logs (see below), my guess is that something is wrong with the filesystem as UBI generates uncorrectable ECC-errors. However, as my knowlegde in this matter is very limited I have no clue of how to fix this. I am especially stuck at why it manages to boot properly the first time.

The NAND-flash is a 8 GB SPANSION S34ML08G1 8G. I have used SAM-BA to flash all components onto flash. Below I've included the entire boot logs from first and second bootup.

First boot:
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.59 (root@localhost.localdomain) (gcc version 4.8.1 (Buildroot 2013.08.7
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Atmel AT91SAM (Device Tree), model: Atmel AT91SAM9X25-EK
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AT91: Detected soc type: at91sam9x5
[ 0.000000] AT91: Detected soc subtype: at91sam9x25
[ 0.000000] AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c05428a4, node_mem_map c057a000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 wire.timeout=1 mtdparts=atmel_nand:512k(bootstr
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 124232k/124232k available, 6840k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04ead38 (5004 kB)
[ 0.000000] .init : 0xc04eb000 - 0xc050f414 ( 146 kB)
[ 0.000000] .data : 0xc0510000 - 0xc05431e0 ( 205 kB)
[ 0.000000] .bss : 0xc05431e0 - 0xc05796cc ( 218 kB)
[ 0.000000] Preemptible * RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 3489660920ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.007812] Calibrating delay loop (skipped) preset value.. 198.76 BogoMIPS (lpj=775168)
[ 0.023437] pid_max: default: 32768 minimum: 301
[ 0.023437] Mount-cache hash table entries: 512
[ 0.046875] CPU: Testing write buffer coherency: ok
[ 0.054687] Setting up static identity map for 0xc03a9068 - 0xc03a90c0
[ 0.062500] devtmpfs: initialized
[ 0.070312] pinctrl core: initialized pinctrl subsystem
[ 0.070312] NET: Registered protocol family 16
[ 0.078125] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.125000] No ATAGs?
[ 0.125000] AT91: Power Management (with slow clock mode)
[ 0.132812] gpio-at91 fffff400.gpio: at address fefff400
[ 0.140625] gpio-at91 fffff600.gpio: at address fefff600
[ 0.148437] gpio-at91 fffff800.gpio: at address fefff800
[ 0.156250] gpio-at91 fffffa00.gpio: at address fefffa00
[ 0.164062] pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driver
[ 0.171875] TC lib alloc block 0 tcb_clksrc
[ 0.179687] TC lib alloc block 0 OK!
[ 0.179687] TC lib alloc regs f8008000 256
[ 0.187500] tcb_clksrc: tc0 at 16.166 MHz
[ 0.265625] bio: create slab <bio-0> at 0
[ 0.273437] at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
[ 0.289062] at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
[ 0.304687] SCSI subsystem initialized
[ 0.312500] usbcore: registered new interface driver usbfs
[ 0.320312] usbcore: registered new interface driver hub
[ 0.328125] usbcore: registered new device driver usb
[ 0.335937] i2c-gpio i2c.3: using pins 30 (SDA) and 31 (SCL)
[ 0.351562] Advanced Linux Sound Architecture Driver Initialized.
[ 0.359375] Switching to clocksource tcb_clksrc
[ 0.429687] NET: Registered protocol family 2
[ 0.437500] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.445312] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.453125] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.460937] TCP: reno registered
[ 0.460937] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.468750] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.476562] NET: Registered protocol family 1
[ 0.484375] RPC: Registered named UNIX socket transport module.
[ 0.484375] RPC: Registered udp transport module.
[ 0.492187] RPC: Registered tcp transport module.
[ 0.500000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.507812] yaffs: yaffs built Jan 2 2017 15:29:48 Installing.
[ 0.515625] msgmni has been set to 242
[ 0.523437] io scheduler noop registered (default)
[ 0.531250] usbcore: registered new interface driver exypufb
[ 0.546875] fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16) is a ATMEL_SERIAL
[ 0.554687] console [ttyS0] enabled, bootconsole disabled
[ 0.554687] console [ttyS0] enabled, bootconsole disabled
[ 0.570312] f801c000.serial: ttyS1 at MMIO 0xf801c000 (irq = 24) is a ATMEL_SERIAL
[ 0.578125] f8024000.serial: ttyS2 at MMIO 0xf8024000 (irq = 25) is a ATMEL_SERIAL
[ 0.585937] f8028000.serial: ttyS3 at MMIO 0xf8028000 (irq = 26) is a ATMEL_SERIAL
[ 0.593750] f8040000.serial: ttyS4 at MMIO 0xf8040000 (irq = 28) is a ATMEL_SERIAL
[ 0.601562] f8044000.serial: ttyS5 at MMIO 0xf8044000 (irq = 29) is a ATMEL_SERIAL
[ 0.625000] brd: module loaded
[ 0.640625] loop: module loaded
[ 0.648437] ssc f0010000.ssc: Atmel SSC device at 0xc8858000 (irq 22)
[ 0.656250] LinMux: *** Enter Cinterion Wireless Modules Serial Multiplex Driver ***
[ 0.664062] LinMux: LinMux-Version: 1.8
[ 0.664062] LinMux: Kernel-Version: 3.10.0
[ 0.671875] LinMux: mux_fs_init() - Instances: 1
[ 0.679687] exyp fffffe60.exyp: boot reason -> wakeup signal cold
[ 0.710937] exyp: emerg shutdown 1 state 0 -> 0
[ 0.718750] exyp fffffe60.exyp: device variant 0 Base
[ 0.726562] exyp fffffe60.exyp: sysfs tree /sys/class/exyp-* created, gpbr=0xfffffe60
[ 0.750000] setting read_buf in atmel
[ 0.757812] atmel_nand: Use On Flash BBT
[ 0.757812] atmel_nand 40000000.nand: Using dma0chan0 for DMA transfers.
[ 0.765625] inside nand_flash_dev
[ 0.765625] NAND device: Manufacturer ID: 0x01, Chip ID: 0xd3 (AMD/Spansion S34ML08G1 8G 3.3V 8-bit),4
[ 0.781250] atmel_nand 40000000.nand: NAND chip is not ONFI compliant, assume ecc_bits is 2 in 512 bys
[ 0.789062] atmel_nand 40000000.nand: WARNING: Be Caution! Using different PMECC parameters from Nand.
[ 0.804687] atmel_nand 40000000.nand: Initialize PMECC params, cap: 4, sector: 512
[ 0.812500] Inside pmecc_ecc_bytes
[ 0.812500] PMECC CFG: 201
[ 0.812500] SAREA: 3f
[ 0.820312] SADDR: 24
[ 0.820312] EADDR: 3f
[ 0.820312] CLK: 2
[ 0.820312] IDR: ff
[ 0.828125] base gives NAND_ECC_HW
[ 0.828125] base sets read_oob etc
[ 0.835937] Bad block table found at page 524224, version 0x01
[ 0.835937] Bad block table found at page 524160, version 0x01
[ 0.843750] nand_read_bbt: bad block at 0x00002c860000
[ 0.851562] 6 cmdlinepart partitions found on MTD device atmel_nand
[ 0.859375] Creating 6 MTD partitions on "atmel_nand":
[ 0.859375] 0x000000000000-0x000000080000 : "bootstrap"
[ 0.875000] 0x000000080000-0x000000900000 : "kernel0"
[ 0.882812] 0x000000900000-0x000001180000 : "kernel1"
[ 0.890625] 0x000001180000-0x000003180000 : "rootfs0"
[ 0.898437] 0x000003180000-0x000005180000 : "rootfs1"
[ 0.906250] 0x000005180000-0x000040000000 : "user"
[ 0.921875] CAN device driver interface
[ 0.921875] at91_can f8004000.can: device registered (reg_base=c886a000, irq=31)
[ 0.929687] pinctrl-at91 pinctrl.2: pin pioA9 already requested by fffff200.serial; cannot claim for n
[ 0.945312] pinctrl-at91 pinctrl.2: pin-9 (f8000000.can) status -22
[ 0.953125] pinctrl-at91 pinctrl.2: could not request pin 9 on device pinctrl.2
[ 0.960937] at91_can f8000000.can: Error applying setting, reverse things back
[ 0.968750] pinctrl-at91 pinctrl.2: pin pioA9 already requested by fffff200.serial; cannot claim for n
[ 0.976562] pinctrl-at91 pinctrl.2: pin-9 (f8000000.can) status -22
[ 0.984375] pinctrl-at91 pinctrl.2: could not request pin 9 on device pinctrl.2
[ 0.992187] at91_can f8000000.can: Error applying setting, reverse things back
[ 1.000000] at91_can f8000000.can: device registered (reg_base=c886c000, irq=32)
[ 1.007812] PPP generic driver version 2.4.2
[ 1.015625] MegTax: version 813.100.007-80 (dynamic channels, max=4).
[ 1.015625] usbcore: registered new interface driver cdc_ether
[ 1.023437] usbcore: registered new interface driver cdc_subset
[ 1.031250] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.039062] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[ 1.046875] ehci-atmel: EHCI Atmel driver
[ 1.046875] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.054687] ohci_hcd: block sizes: ed 64 td 64
[ 1.062500] at91_ohci 600000.ohci: start
[ 1.062500] at91_ohci 600000.ohci: AT91 OHCI
[ 1.070312] at91_ohci 600000.ohci: new USB bus registered, assigned bus number 1
[ 1.078125] at91_ohci 600000.ohci: created debug files
[ 1.078125] at91_ohci 600000.ohci: irq 34, io mem 0x00600000
[ 1.148437] at91_ohci 600000.ohci: OHCI controller state
[ 1.156250] at91_ohci 600000.ohci: OHCI 1.0, NO legacy support registers, rh state running
[ 1.164062] at91_ohci 600000.ohci: control 0x083 HCFS=operational CBSR=3
[ 1.171875] at91_ohci 600000.ohci: cmdstatus 0x00000 SOC=0
[ 1.171875] at91_ohci 600000.ohci: intrstatus 0x00000004 SF
[ 1.179687] at91_ohci 600000.ohci: intrenable 0x8000005a MIE RHSC UE RD WDH
[ 1.187500] at91_ohci 600000.ohci: hcca frame #002b
[ 1.195312] at91_ohci 600000.ohci: roothub.a 02000203 POTPGT=2 NPS NDP=3(3)
[ 1.195312] at91_ohci 600000.ohci: roothub.b 00000000 PPCM=0000 DR=0000
[ 1.203125] at91_ohci 600000.ohci: roothub.status 00008000 DRWE
[ 1.210937] at91_ohci 600000.ohci: roothub.portstatus [0] 0x00000100 PPS
[ 1.218750] at91_ohci 600000.ohci: roothub.portstatus [1] 0x00000100 PPS
[ 1.226562] at91_ohci 600000.ohci: roothub.portstatus [2] 0x00000100 PPS
[ 1.234375] usb usb1: default language 0x0409
[ 1.234375] usb usb1: udev 1, busnum 1, minor = 0
[ 1.242187] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.250000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.257812] usb usb1: Product: AT91 OHCI
[ 1.257812] usb usb1: Manufacturer: Linux 3.10.59 ohci_hcd
[ 1.265625] usb usb1: SerialNumber: at91
[ 1.265625] usb usb1: usb_probe_device
[ 1.273437] usb usb1: configuration #1 chosen from 1 choice
[ 1.281250] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 1.281250] hub 1-0:1.0: usb_probe_interface
[ 1.289062] hub 1-0:1.0: usb_probe_interface - got id
[ 1.296875] hub 1-0:1.0: USB hub found
[ 1.296875] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0xa006,0x2900,0x0000,c7841b30,000f)
[ 1.304687] at91_ohci 600000.ohci: wHubCharacteristics 0x0002
[ 1.312500] at91_ohci 600000.ohci: wHubCharacteristics after 0x0001
[ 1.320312] hub 1-0:1.0: 3 ports detected
[ 1.320312] hub 1-0:1.0: standalone hub
[ 1.328125] hub 1-0:1.0: individual port power switching
[ 1.335937] hub 1-0:1.0: global over-current protection
[ 1.335937] hub 1-0:1.0: power on to power good time: 4ms
[ 1.343750] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0xa000,0x0000,0x0000,c7841ae0,0004)
[ 1.351562] hub 1-0:1.0: local power source is good
[ 1.359375] hub 1-0:1.0: no over-current condition exists
[ 1.359375] hub 1-0:1.0: enabling power on all ports
[ 1.367187] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0x2303,0x0008,0x0001,c7841ab0,0000)
[ 1.375000] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.382812] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0x2303,0x0008,0x0002,c7841ab0,0000)
[ 1.390625] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.398437] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0x2303,0x0008,0x0003,c7841ab0,0000)
[ 1.406250] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.414062] usbcore: registered new interface driver usb-storage
[ 1.421875] usbcore: registered new interface driver usbserial
[ 1.429687] usbcore: registered new interface driver usbserial_generic
[ 1.429687] usbserial: USB Serial support registered for generic
[ 1.437500] usbcore: registered new interface driver ftdi_sio
[ 1.445312] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.453125] usbcore: registered new interface driver pl2303
[ 1.460937] usbserial: USB Serial support registered for pl2303
[ 1.468750] atmel_usba_udc 500000.gadget: MMIO registers at 0xf803c000 mapped at c886e000
[ 1.476562] atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at c8900000
[ 1.484375] g_ether gadget: using random self ethernet address
[ 1.492187] g_ether gadget: using random host ethernet address
[ 1.500000] usb0: MAC 8e:98:34:59:ec:d6
[ 1.500000] usb0: HOST MAC 3e:78:af:95:9b:0e
[ 1.507812] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.515625] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0xa300,0x0000,0x0001,c78d9dc8,0004)
[ 1.523437] g_ether gadget: g_ether ready
[ 1.531250] at91_ohci 600000.ohci: GetPortStatus(0)
[ 1.531250] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0xa300,0x0000,0x0002,c78d9dc8,0004)
[ 1.539062] mousedev: PS/2 mouse device common for all mice
[ 1.546875] at91_ohci 600000.ohci: GetPortStatus(1)
[ 1.554687] at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
[ 1.562500] at91_ohci 600000.ohci: ohci_at91_hub_control(c79e7800,0xa300,0x0000,0x0003,c78d9dc8,0004)
[ 1.570312] at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
[ 1.578125] at91_ohci 600000.ohci: GetPortStatus(2)
[ 1.585937] i2c /dev entries driver
[ 1.585937] Driver for 1-wire Dallas network protocol.
[ 1.593750] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 1.625000] w1_master_driver w1_bus_master1: Family 2d for 2d.00000277c6a1.63 is not registered.
[ 1.640625] at91sam9_wdt: sorry, watchdog is disabled
[ 1.640625] at91_wdt: probe of fffffe40.watchdog failed with error -5
[ 1.648437] cpuidle: using governor ladder
[ 1.656250] leds-gpio leds.4: pins are not configured from the driver
[ 1.664062] usbcore: registered new interface driver usbhid
[ 1.671875] usbhid: USB HID core driver
[ 1.679687] iio iio:device0: Resolution used: 10 bits
[ 1.679687] iio iio:device0: ADC Touch screen is disabled.
[ 1.687500] at91_adc f804c000.adc: could not get default pinstate
[ 1.703125] sam9x5-snd-wm9081 sound.7: wm9081-hifi <-> f0010000.ssc mapping ok
[ 1.710937] sam9x5-snd-wm9081 sound.7: ASoC: no source widget found for RHPOUT
[ 1.718750] sam9x5-snd-wm9081 sound.7: ASoC: Failed to add route RHPOUT -> direct -> Headphone Jack
[ 1.726562] sam9x5-snd-wm9081 sound.7: ASoC: no source widget found for LHPOUT
[ 1.734375] sam9x5-snd-wm9081 sound.7: ASoC: Failed to add route LHPOUT -> direct -> Headphone Jack
[ 1.750000] Netfilter messages via NETLINK v0.30.
[ 1.757812] nf_conntrack version 0.5.0 (1941 buckets, 7764 max)
[ 1.757812] ctnetlink v0.93: registering with nfnetlink.
[ 1.765625] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.773437] TCP: cubic registered
[ 1.773437] NET: Registered protocol family 17
[ 1.781250] can: controller area network core (rev 20120528 abi 9)
[ 1.789062] NET: Registered protocol family 29
[ 1.789062] can: raw protocol (rev 20120528)
[ 1.796875] can: broadcast manager protocol (rev 20120528 t)
[ 1.804687] can: netlink gateway (rev 20130117) max_hops=1
[ 1.812500] UBI: attaching mtd3 to ubi0
[ 1.906250] UBI: scanning is finished
[ 1.914062] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserve0
[ 1.937500] UBI: volume 0 ("rootfs") re-sized from 199 to 199 LEBs
[ 1.945312] UBI: attached mtd3 (name "rootfs0", size 32 MiB) to ubi0
[ 1.953125] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.960937] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.968750] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.976562] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 1.976562] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.984375] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1913001648
[ 1.992187] UBI: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 53
[ 2.007812] UBI: background thread "ubi_bgt0d" started, PID 552
[ 2.015625] at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 00:03:32 UTC (1167609812)
[ 2.023437] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 2.046875] atmel_mci f0008000.mmc: version: 0x504
[ 2.046875] atmel_mci f0008000.mmc: using dma0chan2 for DMA transfers
[ 2.109375] atmel_mci f0008000.mmc: Atmel MCI controller at 0xf0008000 irq 23, 1 slots
[ 2.125000] ALSA device list:
[ 2.125000] #0: wm9081 @ AT91SAM9X5EK
[ 2.148437] UBIFS: background thread "ubifs_bgt0_0" started, PID 557
[ 2.218750] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 2.218750] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.234375] UBIFS: FS size: 23871488 bytes (22 MiB, 188 LEBs), journal size 9023488 bytes (8 MiB, 72 )
[ 2.242187] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.250000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID E849D6A8-5E63-4430-9EB1-799CA2E2E0F6, l
[ 2.265625] VFS: Mounted root (ubifs filesystem) on device 0:12.
[ 2.273437] devtmpfs: mounted
[ 2.273437] Freeing unused kernel memory: 144K (c04eb000 - c050f000)
[ 2.500000] Too many ecc errors to correct!
[ 2.507812] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.515625] UBI warning: ubi_io_read: error -74 (ECC error) while reading 61 bytes from PEB 115:81920y
[ 2.531250] Too many ecc errors to correct!
[ 2.531250] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.539062] UBI warning: ubi_io_read: error -74 (ECC error) while reading 61 bytes from PEB 115:81920y
[ 2.554687] Too many ecc errors to correct!
[ 2.554687] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.562500] UBI warning: ubi_io_read: error -74 (ECC error) while reading 61 bytes from PEB 115:81920y
[ 2.585937] Too many ecc errors to correct!
[ 2.585937] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.593750] UBI error: ubi_io_read: error -74 (ECC error) while reading 61 bytes from PEB 115:81920, s
[ 2.609375] CPU: 0 PID: 1 Comm: init Not tainted 3.10.59 #1
[ 2.609375] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 2.617187] [<c000bd8c>] (show_stack+0x10/0x14) from [<c022c2e0>] (ubi_io_read+0x110/0x2dc)
[ 2.632812] [<c022c2e0>] (ubi_io_read+0x110/0x2dc) from [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418)
[ 2.640625] [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418) from [<c0228964>] (ubi_leb_read+0xa4/0x12c)
[ 2.648437] [<c0228964>] (ubi_leb_read+0xa4/0x12c) from [<c012599c>] (ubifs_leb_read+0x24/0x88)
[ 2.664062] [<c012599c>] (ubifs_leb_read+0x24/0x88) from [<c01275e4>] (ubifs_read_node+0x98/0x2a4)
[ 2.687500] [<c01275e4>] (ubifs_read_node+0x98/0x2a4) from [<c0144d30>] (ubifs_tnc_read_node+0x4c/0x1)
[ 2.703125] [<c0144d30>] (ubifs_tnc_read_node+0x4c/0x140) from [<c012869c>] (tnc_read_node_nm+0x5c/0x)
[ 2.710937] [<c012869c>] (tnc_read_node_nm+0x5c/0x1dc) from [<c012acc8>] (ubifs_tnc_locate+0x15c/0x1a)
[ 2.726562] [<c012acc8>] (ubifs_tnc_locate+0x15c/0x1a4) from [<c012b31c>] (ubifs_tnc_lookup_nm+0x28/0)
[ 2.734375] [<c012b31c>] (ubifs_tnc_lookup_nm+0x28/0x150) from [<c011f250>] (ubifs_lookup+0x8c/0x1e8)
[ 2.750000] [<c011f250>] (ubifs_lookup+0x8c/0x1e8) from [<c0099f4c>] (lookup_real+0x20/0x4c)
[ 2.757812] [<c0099f4c>] (lookup_real+0x20/0x4c) from [<c009ac00>] (__lookup_hash+0x38/0x40)
[ 2.765625] [<c009ac00>] (__lookup_hash+0x38/0x40) from [<c009b080>] (lookup_slow+0x38/0xa4)
[ 2.773437] [<c009b080>] (lookup_slow+0x38/0xa4) from [<c009d134>] (path_lookupat+0x760/0x7f0)
[ 2.781250] [<c009d134>] (path_lookupat+0x760/0x7f0) from [<c009d1e4>] (filename_lookup.isra.57+0x20/)
[ 2.789062] [<c009d1e4>] (filename_lookup.isra.57+0x20/0x60) from [<c009f404>] (user_path_at_empty+0x)
[ 2.796875] [<c009f404>] (user_path_at_empty+0x50/0x78) from [<c009f440>] (user_path_at+0x14/0x1c)
[ 2.812500] [<c009f440>] (user_path_at+0x14/0x1c) from [<c00903fc>] (SyS_faccessat+0x8c/0x1c0)
[ 2.820312] [<c00903fc>] (SyS_faccessat+0x8c/0x1c0) from [<c0009380>] (ret_fast_syscall+0x0/0x2c)
Starting logging: OK


Second boot:
Starting linux kernel ..., machid: 0xffffffff

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.59 (root@localhost.localdomain) (gcc version 4.8.1 (Buildroot 2013.08.7
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Atmel AT91SAM (Device Tree), model: Atmel AT91SAM9X25-EK
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AT91: Detected soc type: at91sam9x5
[ 0.000000] AT91: Detected soc subtype: at91sam9x25
[ 0.000000] AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c05428a4, node_mem_map c057a000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 wire.timeout=1 mtdparts=atmel_nand:512k(bootstr
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 124232k/124232k available, 6840k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04ead38 (5004 kB)
[ 0.000000] .init : 0xc04eb000 - 0xc050f414 ( 146 kB)
[ 0.000000] .data : 0xc0510000 - 0xc05431e0 ( 205 kB)
[ 0.000000] .bss : 0xc05431e0 - 0xc05796cc ( 218 kB)
[ 0.000000] Preemptible * RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 3489660920ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.007812] Calibrating delay loop (skipped) preset value.. 198.76 BogoMIPS (lpj=775168)
[ 0.023437] pid_max: default: 32768 minimum: 301
[ 0.023437] Mount-cache hash table entries: 512
[ 0.046875] CPU: Testing write buffer coherency: ok
[ 0.054687] Setting up static identity map for 0xc03a9068 - 0xc03a90c0
[ 0.062500] devtmpfs: initialized
[ 0.070312] pinctrl core: initialized pinctrl subsystem
[ 0.070312] NET: Registered protocol family 16
[ 0.078125] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.125000] No ATAGs?
[ 0.125000] AT91: Power Management (with slow clock mode)
[ 0.132812] gpio-at91 fffff400.gpio: at address fefff400
[ 0.140625] gpio-at91 fffff600.gpio: at address fefff600
[ 0.148437] gpio-at91 fffff800.gpio: at address fefff800
[ 0.156250] gpio-at91 fffffa00.gpio: at address fefffa00
[ 0.164062] pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driver
[ 0.171875] TC lib alloc block 0 tcb_clksrc
[ 0.179687] TC lib alloc block 0 OK!
[ 0.179687] TC lib alloc regs f8008000 256
[ 0.187500] tcb_clksrc: tc0 at 16.166 MHz
[ 0.265625] bio: create slab <bio-0> at 0
[ 0.273437] at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
[ 0.289062] at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
[ 0.304687] SCSI subsystem initialized
[ 0.312500] usbcore: registered new interface driver usbfs
[ 0.320312] usbcore: registered new interface driver hub
[ 0.328125] usbcore: registered new device driver usb
[ 0.343750] i2c-gpio i2c.3: using pins 30 (SDA) and 31 (SCL)
[ 0.351562] Advanced Linux Sound Architecture Driver Initialized.
[ 0.359375] Switching to clocksource tcb_clksrc
[ 0.429687] NET: Registered protocol family 2
[ 0.437500] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.445312] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.453125] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.460937] TCP: reno registered
[ 0.460937] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.468750] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.476562] NET: Registered protocol family 1
[ 0.484375] RPC: Registered named UNIX socket transport module.
[ 0.484375] RPC: Registered udp transport module.
[ 0.492187] RPC: Registered tcp transport module.
[ 0.500000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.507812] yaffs: yaffs built Jan 2 2017 15:29:48 Installing.
[ 0.515625] msgmni has been set to 242
[ 0.523437] io scheduler noop registered (default)
[ 0.531250] usbcore: registered new interface driver exypufb
[ 0.546875] fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16) is a ATMEL_SERIAL
[ 0.554687] console [ttyS0] enabled, bootconsole disabled
[ 0.554687] console [ttyS0] enabled, bootconsole disabled
[ 0.570312] f801c000.serial: ttyS1 at MMIO 0xf801c000 (irq = 24) is a ATMEL_SERIAL
[ 0.578125] f8024000.serial: ttyS2 at MMIO 0xf8024000 (irq = 25) is a ATMEL_SERIAL
[ 0.585937] f8028000.serial: ttyS3 at MMIO 0xf8028000 (irq = 26) is a ATMEL_SERIAL
[ 0.593750] f8040000.serial: ttyS4 at MMIO 0xf8040000 (irq = 28) is a ATMEL_SERIAL
[ 0.601562] f8044000.serial: ttyS5 at MMIO 0xf8044000 (irq = 29) is a ATMEL_SERIAL
[ 0.625000] brd: module loaded
[ 0.640625] loop: module loaded
[ 0.648437] ssc f0010000.ssc: Atmel SSC device at 0xc8858000 (irq 22)
[ 0.656250] LinMux: *** Enter Cinterion Wireless Modules Serial Multiplex Driver ***
[ 0.664062] LinMux: LinMux-Version: 1.8
[ 0.664062] LinMux: Kernel-Version: 3.10.0
[ 0.671875] LinMux: mux_fs_init() - Instances: 1
[ 0.679687] exyp fffffe60.exyp: boot reason -> wakeup signal cold
[ 0.710937] exyp: emerg shutdown 1 state 0 -> 0
[ 0.718750] exyp fffffe60.exyp: device variant 0 Base
[ 0.726562] exyp fffffe60.exyp: sysfs tree /sys/class/exyp-* created, gpbr=0xfffffe60
[ 0.750000] setting read_buf in atmel
[ 0.750000] atmel_nand: Use On Flash BBT
[ 0.757812] atmel_nand 40000000.nand: Using dma0chan0 for DMA transfers.
[ 0.765625] inside nand_flash_dev
[ 0.765625] NAND device: Manufacturer ID: 0x01, Chip ID: 0xd3 (AMD/Spansion S34ML08G1 8G 3.3V 8-bit),4
[ 0.781250] atmel_nand 40000000.nand: NAND chip is not ONFI compliant, assume ecc_bits is 2 in 512 bys
[ 0.789062] atmel_nand 40000000.nand: WARNING: Be Caution! Using different PMECC parameters from Nand.
[ 0.796875] atmel_nand 40000000.nand: Initialize PMECC params, cap: 4, sector: 512
[ 0.804687] Inside pmecc_ecc_bytes
[ 0.812500] PMECC CFG: 201
[ 0.812500] SAREA: 3f
[ 0.820312] SADDR: 24
[ 0.820312] EADDR: 3f
[ 0.820312] CLK: 2
[ 0.820312] IDR: ff
[ 0.828125] base gives NAND_ECC_HW
[ 0.828125] base sets read_oob etc
[ 0.835937] Bad block table found at page 524224, version 0x01
[ 0.835937] Bad block table found at page 524160, version 0x01
[ 0.843750] nand_read_bbt: bad block at 0x00002c860000
[ 0.851562] 6 cmdlinepart partitions found on MTD device atmel_nand
[ 0.859375] Creating 6 MTD partitions on "atmel_nand":
[ 0.859375] 0x000000000000-0x000000080000 : "bootstrap"
[ 0.867187] 0x000000080000-0x000000900000 : "kernel0"
[ 0.882812] 0x000000900000-0x000001180000 : "kernel1"
[ 0.890625] 0x000001180000-0x000003180000 : "rootfs0"
[ 0.898437] 0x000003180000-0x000005180000 : "rootfs1"
[ 0.906250] 0x000005180000-0x000040000000 : "user"
[ 0.921875] CAN device driver interface
[ 0.921875] at91_can f8004000.can: device registered (reg_base=c886a000, irq=31)
[ 0.929687] pinctrl-at91 pinctrl.2: pin pioA9 already requested by fffff200.serial; cannot claim for n
[ 0.945312] pinctrl-at91 pinctrl.2: pin-9 (f8000000.can) status -22
[ 0.953125] pinctrl-at91 pinctrl.2: could not request pin 9 on device pinctrl.2
[ 0.960937] at91_can f8000000.can: Error applying setting, reverse things back
[ 0.968750] pinctrl-at91 pinctrl.2: pin pioA9 already requested by fffff200.serial; cannot claim for n
[ 0.976562] pinctrl-at91 pinctrl.2: pin-9 (f8000000.can) status -22
[ 0.984375] pinctrl-at91 pinctrl.2: could not request pin 9 on device pinctrl.2
[ 0.992187] at91_can f8000000.can: Error applying setting, reverse things back
[ 1.000000] at91_can f8000000.can: device registered (reg_base=c886c000, irq=32)
[ 1.007812] PPP generic driver version 2.4.2
[ 1.007812] MegTax: version 813.100.007-80 (dynamic channels, max=4).
[ 1.015625] usbcore: registered new interface driver cdc_ether
[ 1.023437] usbcore: registered new interface driver cdc_subset
[ 1.031250] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.039062] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[ 1.046875] ehci-atmel: EHCI Atmel driver
[ 1.046875] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.054687] ohci_hcd: block sizes: ed 64 td 64
[ 1.062500] at91_ohci 600000.ohci: start
[ 1.062500] at91_ohci 600000.ohci: AT91 OHCI
[ 1.070312] at91_ohci 600000.ohci: new USB bus registered, assigned bus number 1
[ 1.078125] at91_ohci 600000.ohci: created debug files
[ 1.078125] at91_ohci 600000.ohci: irq 34, io mem 0x00600000
[ 1.148437] at91_ohci 600000.ohci: OHCI controller state
[ 1.156250] at91_ohci 600000.ohci: OHCI 1.0, NO legacy support registers, rh state running
[ 1.164062] at91_ohci 600000.ohci: control 0x083 HCFS=operational CBSR=3
[ 1.171875] at91_ohci 600000.ohci: cmdstatus 0x00000 SOC=0
[ 1.171875] at91_ohci 600000.ohci: intrstatus 0x00000004 SF
[ 1.179687] at91_ohci 600000.ohci: intrenable 0x8000005a MIE RHSC UE RD WDH
[ 1.187500] at91_ohci 600000.ohci: hcca frame #002b
[ 1.195312] at91_ohci 600000.ohci: roothub.a 02000203 POTPGT=2 NPS NDP=3(3)
[ 1.195312] at91_ohci 600000.ohci: roothub.b 00000000 PPCM=0000 DR=0000
[ 1.203125] at91_ohci 600000.ohci: roothub.status 00008000 DRWE
[ 1.210937] at91_ohci 600000.ohci: roothub.portstatus [0] 0x00000100 PPS
[ 1.218750] at91_ohci 600000.ohci: roothub.portstatus [1] 0x00000100 PPS
[ 1.226562] at91_ohci 600000.ohci: roothub.portstatus [2] 0x00000100 PPS
[ 1.234375] usb usb1: default language 0x0409
[ 1.234375] usb usb1: udev 1, busnum 1, minor = 0
[ 1.242187] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.250000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.257812] usb usb1: Product: AT91 OHCI
[ 1.257812] usb usb1: Manufacturer: Linux 3.10.59 ohci_hcd
[ 1.265625] usb usb1: SerialNumber: at91
[ 1.265625] usb usb1: usb_probe_device
[ 1.273437] usb usb1: configuration #1 chosen from 1 choice
[ 1.281250] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 1.281250] hub 1-0:1.0: usb_probe_interface
[ 1.289062] hub 1-0:1.0: usb_probe_interface - got id
[ 1.296875] hub 1-0:1.0: USB hub found
[ 1.296875] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0xa006,0x2900,0x0000,c7841b30,000f)
[ 1.304687] at91_ohci 600000.ohci: wHubCharacteristics 0x0002
[ 1.312500] at91_ohci 600000.ohci: wHubCharacteristics after 0x0001
[ 1.320312] hub 1-0:1.0: 3 ports detected
[ 1.320312] hub 1-0:1.0: standalone hub
[ 1.328125] hub 1-0:1.0: individual port power switching
[ 1.335937] hub 1-0:1.0: global over-current protection
[ 1.335937] hub 1-0:1.0: power on to power good time: 4ms
[ 1.343750] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0xa000,0x0000,0x0000,c7841ae0,0004)
[ 1.351562] hub 1-0:1.0: local power source is good
[ 1.359375] hub 1-0:1.0: no over-current condition exists
[ 1.359375] hub 1-0:1.0: enabling power on all ports
[ 1.367187] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0x2303,0x0008,0x0001,c7841ab0,0000)
[ 1.375000] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.382812] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0x2303,0x0008,0x0002,c7841ab0,0000)
[ 1.390625] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.398437] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0x2303,0x0008,0x0003,c7841ab0,0000)
[ 1.406250] at91_ohci 600000.ohci: SetPortFeat: POWER
[ 1.414062] usbcore: registered new interface driver usb-storage
[ 1.421875] usbcore: registered new interface driver usbserial
[ 1.429687] usbcore: registered new interface driver usbserial_generic
[ 1.429687] usbserial: USB Serial support registered for generic
[ 1.437500] usbcore: registered new interface driver ftdi_sio
[ 1.445312] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.453125] usbcore: registered new interface driver pl2303
[ 1.460937] usbserial: USB Serial support registered for pl2303
[ 1.468750] atmel_usba_udc 500000.gadget: MMIO registers at 0xf803c000 mapped at c886e000
[ 1.476562] atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at c8900000
[ 1.484375] g_ether gadget: using random self ethernet address
[ 1.492187] g_ether gadget: using random host ethernet address
[ 1.500000] usb0: MAC 2a:a8:e1:33:46:02
[ 1.500000] usb0: HOST MAC 72:16:f2:ec:48:2a
[ 1.507812] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.515625] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0xa300,0x0000,0x0001,c794ddc8,0004)
[ 1.523437] g_ether gadget: g_ether ready
[ 1.531250] at91_ohci 600000.ohci: GetPortStatus(0)
[ 1.531250] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0xa300,0x0000,0x0002,c794ddc8,0004)
[ 1.539062] mousedev: PS/2 mouse device common for all mice
[ 1.546875] at91_ohci 600000.ohci: GetPortStatus(1)
[ 1.554687] at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
[ 1.562500] at91_ohci 600000.ohci: ohci_at91_hub_control(c79c2800,0xa300,0x0000,0x0003,c794ddc8,0004)
[ 1.570312] at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
[ 1.578125] at91_ohci 600000.ohci: GetPortStatus(2)
[ 1.585937] i2c /dev entries driver
[ 1.585937] Driver for 1-wire Dallas network protocol.
[ 1.593750] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 1.625000] w1_master_driver w1_bus_master1: Family 2d for 2d.00000277c6a1.63 is not registered.
[ 1.640625] at91sam9_wdt: sorry, watchdog is disabled
[ 1.640625] at91_wdt: probe of fffffe40.watchdog failed with error -5
[ 1.648437] cpuidle: using governor ladder
[ 1.656250] leds-gpio leds.4: pins are not configured from the driver
[ 1.664062] usbcore: registered new interface driver usbhid
[ 1.671875] usbhid: USB HID core driver
[ 1.679687] iio iio:device0: Resolution used: 10 bits
[ 1.679687] iio iio:device0: ADC Touch screen is disabled.
[ 1.687500] at91_adc f804c000.adc: could not get default pinstate
[ 1.703125] sam9x5-snd-wm9081 sound.7: wm9081-hifi <-> f0010000.ssc mapping ok
[ 1.710937] sam9x5-snd-wm9081 sound.7: ASoC: no source widget found for RHPOUT
[ 1.718750] sam9x5-snd-wm9081 sound.7: ASoC: Failed to add route RHPOUT -> direct -> Headphone Jack
[ 1.726562] sam9x5-snd-wm9081 sound.7: ASoC: no source widget found for LHPOUT
[ 1.734375] sam9x5-snd-wm9081 sound.7: ASoC: Failed to add route LHPOUT -> direct -> Headphone Jack
[ 1.750000] Netfilter messages via NETLINK v0.30.
[ 1.757812] nf_conntrack version 0.5.0 (1941 buckets, 7764 max)
[ 1.757812] ctnetlink v0.93: registering with nfnetlink.
[ 1.765625] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.773437] TCP: cubic registered
[ 1.773437] NET: Registered protocol family 17
[ 1.781250] can: controller area network core (rev 20120528 abi 9)
[ 1.789062] NET: Registered protocol family 29
[ 1.789062] can: raw protocol (rev 20120528)
[ 1.796875] can: broadcast manager protocol (rev 20120528 t)
[ 1.804687] can: netlink gateway (rev 20130117) max_hops=1
[ 1.812500] UBI: attaching mtd3 to ubi0
[ 1.937500] UBI: scanning is finished
[ 1.945312] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserve0
[ 1.960937] UBI: attached mtd3 (name "rootfs0", size 32 MiB) to ubi0
[ 1.968750] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.976562] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.984375] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.984375] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 1.992187] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.000000] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1913001648
[ 2.007812] UBI: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 53
[ 2.023437] UBI: background thread "ubi_bgt0d" started, PID 553
[ 2.023437] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 2.031250] at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 00:05:01 UTC (1167609901)
[ 2.039062] atmel_mci f0008000.mmc: version: 0x504
[ 2.046875] atmel_mci f0008000.mmc: using dma0chan2 for DMA transfers
[ 2.101562] atmel_mci f0008000.mmc: Atmel MCI controller at 0xf0008000 irq 23, 1 slots
[ 2.109375] ALSA device list:
[ 2.109375] #0: wm9081 @ AT91SAM9X5EK
[ 2.117187] Too many ecc errors to correct!
[ 2.125000] UBIFS: background thread "ubifs_bgt0_0" started, PID 558
[ 2.125000] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.132812] Too many ecc errors to correct!
[ 2.140625] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.156250] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:409y
[ 2.171875] Too many ecc errors to correct!
[ 2.171875] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.179687] Too many ecc errors to correct!
[ 2.187500] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.203125] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:409y
[ 2.218750] Too many ecc errors to correct!
[ 2.218750] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.226562] Too many ecc errors to correct!
[ 2.234375] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.250000] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:409y
[ 2.265625] Too many ecc errors to correct!
[ 2.265625] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.273437] Too many ecc errors to correct!
[ 2.281250] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.296875] UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096,s
[ 2.312500] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.59 #1
[ 2.312500] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 2.320312] [<c000bd8c>] (show_stack+0x10/0x14) from [<c022c2e0>] (ubi_io_read+0x110/0x2dc)
[ 2.335937] [<c022c2e0>] (ubi_io_read+0x110/0x2dc) from [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418)
[ 2.343750] [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418) from [<c0228964>] (ubi_leb_read+0xa4/0x12c)
[ 2.351562] [<c0228964>] (ubi_leb_read+0xa4/0x12c) from [<c012599c>] (ubifs_leb_read+0x24/0x88)
[ 2.359375] [<c012599c>] (ubifs_leb_read+0x24/0x88) from [<c012d854>] (ubifs_start_scan+0x6c/0xe4)
[ 2.367187] [<c012d854>] (ubifs_start_scan+0x6c/0xe4) from [<c012db80>] (ubifs_scan+0x28/0x324)
[ 2.375000] [<c012db80>] (ubifs_scan+0x28/0x324) from [<c012c784>] (ubifs_read_master+0x40/0xd14)
[ 2.382812] [<c012c784>] (ubifs_read_master+0x40/0xd14) from [<c012322c>] (ubifs_mount+0xce0/0x16a4)
[ 2.398437] [<c012322c>] (ubifs_mount+0xce0/0x16a4) from [<c0094bec>] (mount_fs+0x14/0xd0)
[ 2.406250] [<c0094bec>] (mount_fs+0x14/0xd0) from [<c00ac850>] (vfs_kern_mount+0x48/0xc4)
[ 2.414062] [<c00ac850>] (vfs_kern_mount+0x48/0xc4) from [<c00ae8d0>] (do_mount+0x1ac/0x8bc)
[ 2.421875] [<c00ae8d0>] (do_mount+0x1ac/0x8bc) from [<c00af064>] (SyS_mount+0x84/0xb8)
[ 2.429687] [<c00af064>] (SyS_mount+0x84/0xb8) from [<c04ebda4>] (mount_block_root+0x12c/0x2c4)
[ 2.437500] [<c04ebda4>] (mount_block_root+0x12c/0x2c4) from [<c04ec130>] (prepare_namespace+0x90/0x1)
[ 2.445312] [<c04ec130>] (prepare_namespace+0x90/0x1b8) from [<c04ebb2c>] (kernel_init_freeable+0x170)
[ 2.453125] [<c04ebb2c>] (kernel_init_freeable+0x170/0x1b4) from [<c03a2ee4>] (kernel_init+0x8/0x150)
[ 2.468750] [<c03a2ee4>] (kernel_init+0x8/0x150) from [<c0009410>] (ret_from_fork+0x14/0x24)
[ 2.476562] Too many ecc errors to correct!
[ 2.476562] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.484375] Too many ecc errors to correct!
[ 2.492187] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.507812] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:409y
[ 2.523437] Too many ecc errors to correct!
[ 2.523437] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.531250] Too many ecc errors to correct!
[ 2.539062] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.554687] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:409y
[ 2.570312] Too many ecc errors to correct!
[ 2.570312] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.578125] Too many ecc errors to correct!
[ 2.585937] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.601562] UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:409y
[ 2.617187] Too many ecc errors to correct!
[ 2.617187] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.625000] Too many ecc errors to correct!
[ 2.632812] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.648437] UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:4096,s
[ 2.671875] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.59 #1
[ 2.671875] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 2.687500] [<c000bd8c>] (show_stack+0x10/0x14) from [<c022c2e0>] (ubi_io_read+0x110/0x2dc)
[ 2.695312] [<c022c2e0>] (ubi_io_read+0x110/0x2dc) from [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418)
[ 2.710937] [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418) from [<c0228964>] (ubi_leb_read+0xa4/0x12c)
[ 2.718750] [<c0228964>] (ubi_leb_read+0xa4/0x12c) from [<c012599c>] (ubifs_leb_read+0x24/0x88)
[ 2.726562] [<c012599c>] (ubifs_leb_read+0x24/0x88) from [<c012d854>] (ubifs_start_scan+0x6c/0xe4)
[ 2.734375] [<c012d854>] (ubifs_start_scan+0x6c/0xe4) from [<c012db80>] (ubifs_scan+0x28/0x324)
[ 2.742187] [<c012db80>] (ubifs_scan+0x28/0x324) from [<c012c7e4>] (ubifs_read_master+0xa0/0xd14)
[ 2.750000] [<c012c7e4>] (ubifs_read_master+0xa0/0xd14) from [<c012322c>] (ubifs_mount+0xce0/0x16a4)
[ 2.757812] [<c012322c>] (ubifs_mount+0xce0/0x16a4) from [<c0094bec>] (mount_fs+0x14/0xd0)
[ 2.773437] [<c0094bec>] (mount_fs+0x14/0xd0) from [<c00ac850>] (vfs_kern_mount+0x48/0xc4)
[ 2.781250] [<c00ac850>] (vfs_kern_mount+0x48/0xc4) from [<c00ae8d0>] (do_mount+0x1ac/0x8bc)
[ 2.789062] [<c00ae8d0>] (do_mount+0x1ac/0x8bc) from [<c00af064>] (SyS_mount+0x84/0xb8)
[ 2.796875] [<c00af064>] (SyS_mount+0x84/0xb8) from [<c04ebda4>] (mount_block_root+0x12c/0x2c4)
[ 2.804687] [<c04ebda4>] (mount_block_root+0x12c/0x2c4) from [<c04ec130>] (prepare_namespace+0x90/0x1)
[ 2.812500] [<c04ec130>] (prepare_namespace+0x90/0x1b8) from [<c04ebb2c>] (kernel_init_freeable+0x170)
[ 2.820312] [<c04ebb2c>] (kernel_init_freeable+0x170/0x1b4) from [<c03a2ee4>] (kernel_init+0x8/0x150)
[ 2.828125] [<c03a2ee4>] (kernel_init+0x8/0x150) from [<c0009410>] (ret_from_fork+0x14/0x24)
[ 2.843750] Too many ecc errors to correct!
[ 2.843750] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.851562] UBI warning: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 118:85392y
[ 2.867187] Too many ecc errors to correct!
[ 2.867187] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.875000] UBI warning: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 118:85392y
[ 2.890625] Too many ecc errors to correct!
[ 2.890625] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.898437] UBI warning: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 118:85392y
[ 2.906250] Too many ecc errors to correct!
[ 2.914062] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 2.921875] UBI error: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 118:85392, s
[ 2.929687] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.59 #1
[ 2.937500] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 2.945312] [<c000bd8c>] (show_stack+0x10/0x14) from [<c022c2e0>] (ubi_io_read+0x110/0x2dc)
[ 2.953125] [<c022c2e0>] (ubi_io_read+0x110/0x2dc) from [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418)
[ 2.960937] [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418) from [<c0228964>] (ubi_leb_read+0xa4/0x12c)
[ 2.968750] [<c0228964>] (ubi_leb_read+0xa4/0x12c) from [<c012599c>] (ubifs_leb_read+0x24/0x88)
[ 2.984375] [<c012599c>] (ubifs_leb_read+0x24/0x88) from [<c01275e4>] (ubifs_read_node+0x98/0x2a4)
[ 2.992187] [<c01275e4>] (ubifs_read_node+0x98/0x2a4) from [<c0130a3c>] (dbg_old_index_check_init+0x6)
[ 3.000000] [<c0130a3c>] (dbg_old_index_check_init+0x64/0xdc) from [<c012322c>] (ubifs_mount+0xce0/0x)
[ 3.007812] [<c012322c>] (ubifs_mount+0xce0/0x16a4) from [<c0094bec>] (mount_fs+0x14/0xd0)
[ 3.015625] [<c0094bec>] (mount_fs+0x14/0xd0) from [<c00ac850>] (vfs_kern_mount+0x48/0xc4)
[ 3.023437] [<c00ac850>] (vfs_kern_mount+0x48/0xc4) from [<c00ae8d0>] (do_mount+0x1ac/0x8bc)
[ 3.031250] [<c00ae8d0>] (do_mount+0x1ac/0x8bc) from [<c00af064>] (SyS_mount+0x84/0xb8)
[ 3.039062] [<c00af064>] (SyS_mount+0x84/0xb8) from [<c04ebda4>] (mount_block_root+0x12c/0x2c4)
[ 3.046875] [<c04ebda4>] (mount_block_root+0x12c/0x2c4) from [<c04ec130>] (prepare_namespace+0x90/0x1)
[ 3.062500] [<c04ec130>] (prepare_namespace+0x90/0x1b8) from [<c04ebb2c>] (kernel_init_freeable+0x170)
[ 3.070312] [<c04ebb2c>] (kernel_init_freeable+0x170/0x1b4) from [<c03a2ee4>] (kernel_init+0x8/0x150)
[ 3.078125] [<c03a2ee4>] (kernel_init+0x8/0x150) from [<c0009410>] (ret_from_fork+0x14/0x24)
[ 3.085937] UBIFS: recovery needed
[ 3.093750] Too many ecc errors to correct!
[ 3.093750] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 3.101562] UBI warning: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 10:6144, y
[ 3.117187] Too many ecc errors to correct!
[ 3.117187] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 3.125000] UBI warning: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 10:6144, y
[ 3.140625] Too many ecc errors to correct!
[ 3.140625] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 3.148437] UBI warning: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 10:6144, y
[ 3.156250] Too many ecc errors to correct!
[ 3.164062] atmel_nand 40000000.nand: PMECC: Too many errors, ecc bytes 7
[ 3.171875] UBI error: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 10:6144, res
[ 3.179687] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.59 #1
[ 3.187500] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 3.195312] [<c000bd8c>] (show_stack+0x10/0x14) from [<c022c2e0>] (ubi_io_read+0x110/0x2dc)
[ 3.203125] [<c022c2e0>] (ubi_io_read+0x110/0x2dc) from [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418)
[ 3.210937] [<c02298fc>] (ubi_eba_read_leb+0x1a0/0x418) from [<c0228964>] (ubi_leb_read+0xa4/0x12c)
[ 3.218750] [<c0228964>] (ubi_leb_read+0xa4/0x12c) from [<c012599c>] (ubifs_leb_read+0x24/0x88)
[ 3.226562] [<c012599c>] (ubifs_leb_read+0x24/0x88) from [<c013b3a4>] (ubifs_lpt_init+0x238/0x494)
[ 3.242187] [<c013b3a4>] (ubifs_lpt_init+0x238/0x494) from [<c01232e4>] (ubifs_mount+0xd98/0x16a4)
[ 3.250000] [<c01232e4>] (ubifs_mount+0xd98/0x16a4) from [<c0094bec>] (mount_fs+0x14/0xd0)
[ 3.257812] [<c0094bec>] (mount_fs+0x14/0xd0) from [<c00ac850>] (vfs_kern_mount+0x48/0xc4)
[ 3.265625] [<c00ac850>] (vfs_kern_mount+0x48/0xc4) from [<c00ae8d0>] (do_mount+0x1ac/0x8bc)
[ 3.273437] [<c00ae8d0>] (do_mount+0x1ac/0x8bc) from [<c00af064>] (SyS_mount+0x84/0xb8)
[ 3.281250] [<c00af064>] (SyS_mount+0x84/0xb8) from [<c04ebda4>] (mount_block_root+0x12c/0x2c4)
[ 3.289062] [<c04ebda4>] (mount_block_root+0x12c/0x2c4) from [<c04ec130>] (prepare_namespace+0x90/0x1)
[ 3.296875] [<c04ec130>] (prepare_namespace+0x90/0x1b8) from [<c04ebb2c>] (kernel_init_freeable+0x170)
[ 3.312500] [<c04ebb2c>] (kernel_init_freeable+0x170/0x1b4) from [<c03a2ee4>] (kernel_init+0x8/0x150)
[ 3.320312] [<c03a2ee4>] (kernel_init+0x8/0x150) from [<c0009410>] (ret_from_fork+0x14/0x24)
[ 3.328125] UBIFS error (pid 1): ubifs_leb_read: reading 11 bytes from LEB 8:2048 failed, error -74
[ 3.335937] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.59 #1
[ 3.343750] [<c000da5c>] (unwind_backtrace+0x0/0xe8) from [<c000bd8c>] (show_stack+0x10/0x14)
[ 3.351562] [<c000bd8c>] (show_stack+0x10/0x14) from [<c01259f4>] (ubifs_leb_read+0x7c/0x88)
[ 3.359375] [<c01259f4>] (ubifs_leb_read+0x7c/0x88) from [<c013b3a4>] (ubifs_lpt_init+0x238/0x494)
[ 3.367187] [<c013b3a4>] (ubifs_lpt_init+0x238/0x494) from [<c01232e4>] (ubifs_mount+0xd98/0x16a4)
[ 3.375000] [<c01232e4>] (ubifs_mount+0xd98/0x16a4) from [<c0094bec>] (mount_fs+0x14/0xd0)
[ 3.382812] [<c0094bec>] (mount_fs+0x14/0xd0) from [<c00ac850>] (vfs_kern_mount+0x48/0xc4)
[ 3.390625] [<c00ac850>] (vfs_kern_mount+0x48/0xc4) from [<c00ae8d0>] (do_mount+0x1ac/0x8bc)
[ 3.398437] [<c00ae8d0>] (do_mount+0x1ac/0x8bc) from [<c00af064>] (SyS_mount+0x84/0xb8)
[ 3.406250] [<c00af064>] (SyS_mount+0x84/0xb8) from [<c04ebda4>] (mount_block_root+0x12c/0x2c4)
[ 3.421875] [<c04ebda4>] (mount_block_root+0x12c/0x2c4) from [<c04ec130>] (prepare_namespace+0x90/0x1)
[ 3.429687] [<c04ec130>] (prepare_namespace+0x90/0x1b8) from [<c04ebb2c>] (kernel_init_freeable+0x170)
[ 3.437500] [<c04ebb2c>] (kernel_init_freeable+0x170/0x1b4) from [<c03a2ee4>] (kernel_init+0x8/0x150)
[ 3.445312] [<c03a2ee4>] (kernel_init+0x8/0x150) from [<c0009410>] (ret_from_fork+0x14/0x24)
[ 3.453125] UBIFS: background thread "ubifs_bgt0_0" stops
[ 3.460937] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -74
[ 3.468750] Please append a correct "root=" boot option; here are the available partitions:
[ 3.476562] 1f00 512 mtdblock0 (driver?)
[ 3.484375] 1f01 8704 mtdblock1 (driver?)
[ 3.484375] 1f02 8704 mtdblock2 (driver?)
[ 3.492187] 1f03 32768 mtdblock3 (driver?)
[ 3.500000] 1f04 32768 mtdblock4 (driver?)
[ 3.500000] 1f05 965120 mtdblock5 (driver?)
[ 3.507812] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Best regards
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: AT91SAM9X25: PMECC does not detect bit errors

Wed Jan 04, 2017 2:31 am

Lisa wrote:Now, my system boots up properly upon the first boot after flashing
That assessment/premise is seriously flawed.
You're ignoring UBI and atmel_nand warning messages beginning at time 2.50.
Those warnings indicate that your kernel is inconsistent with your root filesystem starting with the initial boot.
Subsequent boots are "worse" because the UBI background thread (after the first boot) had a opportunity to exacerbate the inconsistencies.

You need to verify that that all NAND and PMECC configurations are consistent across:
. Device Tree
. ubinize configuration in Buildroot,
. SAM-BA configuration (did you use the Trimffs option?)

Since I consider SAM-BA a questionable tool to use with custom boards, see this thread for an alternative to installing a UBI/UBIFS; the OP also uses a Spansion chip.

Regards
Lisa
Posts: 4
Joined: Thu Dec 15, 2016 10:57 am

Re: AT91SAM9X25: PMECC does not detect bit errors

Wed Jan 04, 2017 3:47 pm

blue_z wrote:
Lisa wrote:Now, my system boots up properly upon the first boot after flashing
That assessment/premise is seriously flawed.
You're quite right, I was a bit quick in that assesment.

I've enabled trimffs in my SAM-BA script and it works like a charm. I had already double-and triple-checked that all PMECC configurations were equal but I'd never figure out the trimffs-option on my own as I've never heard of it before. Thank you very much for pointing me in the right direction.

Additionally, now that my system is able to detect and crrect bit errors, is there some standard procedure of verifying that it actually works?
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: AT91SAM9X25: PMECC does not detect bit errors

Thu Jan 05, 2017 11:23 pm

Lisa wrote: is there some standard procedure of verifying that it actually works?
I know of no "standard" method.
You could use U-Boot commands to `nand read.raw`, and then `write.raw` the modified block.
See https://github.com/linux4sam/u-boot-at9 ... EADME.nand
For a stress test you could modify the OOB, but then it's difficult to confirm detection & correction.

But you claimed that you already have such a test.

Regards
Lisa
Posts: 4
Joined: Thu Dec 15, 2016 10:57 am

Re: AT91SAM9X25: PMECC does not detect bit errors

Mon Jan 09, 2017 10:28 am

blue_z wrote: But you claimed that you already have such a test.
Yes I have, but thanks for your reply!

Return to “Linux”

Who is online

Users browsing this forum: Google [Bot] and 1 guest