Is it errors during booting ?

For SAMA5D2 Xplained, SAMA5D3 Xplained and SAMA5D4 Xplained

Moderator: nferre

niokou
Posts: 9
Joined: Sun Dec 13, 2015 8:17 pm

Is it errors during booting ?

Thu Jan 21, 2016 10:35 am

Hi all,
I'm working on a yocto dist and it is working well.
but I have this kind of messages when the system is booting :
atmel_nand 60000000.nand: Bit flip in data area ...

Why it need to flip data ?
Is it an error ?

Code: Select all

AT91Bootstrap 3.7.2 (Tue May 12 09:43:57 CEST 2015)


Auto-Config the TWI Bus by the board
PHY: ETH0 PHY: Enter power down mode
PHY: ETH1 PHY: Enter power down mode
NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0x32
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 0x4, sector: 0x200
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0xfd -> 0xdd
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0x73 -> 0x53
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0x72 -> 0x52
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0x70 -> 0x50
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0xf4 -> 0xd4
PMECC: sector bits = 0x2, bit 1 means corrupted sector, Now correcting...
Correct error bit @[#Byte 0x186,Bit# 0x5] 0x7f -> 0x5f
NAND: Done to load image


U-Boot 2015.01-linux4sam_4.7 (May 12 2015 - 14:58:02)

CPU: SAMA5D36
Crystal frequency:       12 MHz
CPU clock        :      528 MHz
Master clock     :      132 MHz
DRAM:  256 MiB
NAND:  256 MiB
MMC:   mci: 0
In:    serial
Out:   serial
Err:   serial
Net:   gmac0
Error: gmac0 address not set.
, macb0
Error: macb0 address not set.

Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x180000, size 0x8784
 34692 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x35f738
 3536696 bytes read: OK
Kernel image @ 0x22000000 [ 0x000000 - 0x35f738 ]
## Flattened Device Tree blob at 21000000
   Booting using the fdt blob at 0x21000000
   Loading Device Tree to 2fb35000, end 2fb40783 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.0-linux4sam_5.0-00048-ge97df3c-dirty (mguillou@mguillou) (gcc version 5.2.0 (GCC) ) #2 Wed Jan 20 15:38:54 CET 2016
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: SAMA5D3 Xplained
cma: Reserved 16 MiB at 0x2e800000
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw video=LVDS-1:800x480-16
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 236108K/262144K available (4965K kernel code, 177K rwdata, 1652K rodata, 188K init, 159K bss, 9652K reserved, 16384K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc067e610   (6618 kB)
      .init : 0xc067f000 - 0xc06ae000   ( 188 kB)
      .data : 0xc06ae000 - 0xc06da698   ( 178 kB)
       .bss : 0xc06da698 - 0xc07024bc   ( 160 kB)
NR_IRQS:16 nr_irqs:16 16
clocksource pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 14479245754 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20008200 - 0x20008258
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
AT91: Detected SoC family: sama5d3
AT91: Detected SoC: sama5d36, revision 2
gpio-at91 fffff200.gpio: at address d0814200
gpio-at91 fffff400.gpio: at address d0816400
gpio-at91 fffff600.gpio: at address d0818600
gpio-at91 fffff800.gpio: at address d081a800
gpio-at91 fffffa00.gpio: at address d081ca00
pinctrl-at91 ahb:apb:pinctrl@fffff200: initialized AT91 pinctrl driver
clocksource tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 115833966437 ns
at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy set slave sg-cpy ), 8 channels
at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy set slave sg-cpy ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f0014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
at91_i2c f0014000.i2c: AT91 i2c bus driver (hw version: 0x402).
at91_i2c f0018000.i2c: using dma0chan2 (tx) and dma0chan3 (rx) for DMA transfers
at91_i2c f0018000.i2c: AT91 i2c bus driver (hw version: 0x402).
at91_i2c f801c000.i2c: can't use DMA, error -19
at91_i2c f801c000.i2c: AT91 i2c bus driver (hw version: 0x402).
media: Linux media interface: v0.10
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 256 (order: -1, 3072 bytes)
io scheduler noop registered (default)
f001c000.serial: ttyS1 at MMIO 0xf001c000 (irq = 30, base_baud = 4125000) is a ATMEL_SERIAL
f0020000.serial: ttyS2 at MMIO 0xf0020000 (irq = 31, base_baud = 4125000) is a ATMEL_SERIAL
f0024000.serial: ttyS5 at MMIO 0xf0024000 (irq = 32, base_baud = 4125000) is a ATMEL_SERIAL
f8020000.serial: ttyS3 at MMIO 0xf8020000 (irq = 38, base_baud = 4125000) is a ATMEL_SERIAL
ffffee00.serial: ttyS0 at MMIO 0xffffee00 (irq = 44, base_baud = 8250000) is a ATMEL_SERIAL
console [ttyS0] enabled
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
atmel_nand_nfc 70000000.nfc: NFC is probed.
atmel_nand 60000000.nand: Use On Flash BBT
atmel_nand 60000000.nand: Using dma0chan4 for DMA transfers.
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
atmel_nand 60000000.nand: minimum ECC: 4 bits in 512 bytes
atmel_nand 60000000.nand: Initialize PMECC params, cap: 4, sector: 512
atmel_nand 60000000.nand: Using NFC Sram read
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
8 cmdlinepart partitions found on MTD device atmel_nand
Creating 8 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "bootstrap"
0x000000040000-0x0000000c0000 : "uboot"
0x0000000c0000-0x000000100000 : "env"
0x000000100000-0x000000140000 : "env_redundant"
0x000000140000-0x000000180000 : "spare"
0x000000180000-0x000000200000 : "dtb"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
atmel_spi f0004000.spi: version: 0x213
atmel_spi f0004000.spi: Using dma0chan5 (tx) and dma0chan6 (rx) for DMA transfers
atmel_spi f0004000.spi: Atmel SPI Controller at 0xf0004000 (irq 26)
atmel_spi f8008000.spi: version: 0x213
atmel_spi f8008000.spi: Using dma1chan0 (tx) and dma1chan1 (rx) for DMA transfers
atmel_spi f8008000.spi: Atmel SPI Controller at 0xf8008000 (irq 35)
CAN device driver interface
at91_can f000c000.can: device registered (reg_base=d0894000, irq=50)
macb f0028000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f0028000.ethernet eth0: Cadence GEM rev 0x00020119 at 0xf0028000 irq 51 (16:a3:94:0d:b9:3d)
macb f0028000.ethernet eth0: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=f0028000.etherne:07, irq=-1)
macb f802c000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f802c000.ethernet eth1: Cadence MACB rev 0x0001010c at 0xf802c000 irq 52 (ca:cf:28:47:38:6c)
macb f802c000.ethernet eth1: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f802c000.etherne:01, irq=-1)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 700000.ehci: EHCI Host Controller
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 55, io mem 0x00700000
atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.1.0-linux4sam_5.0-00048-ge97df3c-dirty ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 600000.ohci: USB Host Controller
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 55, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.1.0-linux4sam_5.0-00048-ge97df3c-dirty ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
rtc rtc0: alarm rollover not handled
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
AT91: Starting after user reset
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
atmel_mci f0000000.mmc: version: 0x505
atmel_mci f0000000.mmc: using dma0chan7 for DMA transfers
atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 25, 1 slots
atmel_mci f8000000.mmc: version: 0x505
atmel_mci f8000000.mmc: using dma1chan2 for DMA transfers
atmel_mci f8000000.mmc: Atmel MCI controller at 0xf8000000 irq 34, 1 slots
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f8038000.aes: version: 0x135
atmel_aes f8038000.aes: Atmel AES - Using dma1chan3, dma1chan4 for DMA transfers
atmel_sha f8034000.sha: version: 0x410
atmel_sha f8034000.sha: using dma1chan5 for DMA transfers
atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes f803c000.tdes: version: 0x701
atmel_tdes f803c000.tdes: using dma1chan6, dma1chan7 for DMA transfers
atmel_tdes f803c000.tdes: Atmel DES/TDES
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
iio iio:device0: Resolution used: 12 bits
iio iio:device0: ADC Touch screen is disabled.
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
ubi0: attaching mtd7
random: nonblocking pool is initialized
ubi0: scanning is finished
ubi0: attached mtd7 (name "rootfs", size 248 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1980, bad PEBs: 4, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1753818423
ubi0: available PEBs: 0, total reserved PEBs: 1980, PEBs reserved for bad PEB handling: 36
ubi0: background thread "ubi_bgt0d" started, PID 632
input: gpio_keys as /devices/soc0/gpio_keys/input/input0
at91_rtc fffffeb0.rtc: setting system clock to 2016-01-20 18:36:50 UTC (1453315010)
mmc0-card-supply: disabling
ALSA device list:
  No soundcards found.
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 641
UBIFS (ubi0:0): recovery needed
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7c -> 0x5c
UBIFS (ubi0:0): recovery completed
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS (ubi0:0): FS size: 244936704 bytes (233 MiB, 1929 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 69FAEC1A-64F3-4BC8-85C8-4F2A291919D0, small LPT model
VFS: Mounted root (ubifs filesystem) on device 0:13.
devtmpfs: mounted
Freeing unused kernel memory: 188K (c067f000 - c06ae000)
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
INIT: version 2.88 booting
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x79 -> 0x59
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7e -> 0x5e
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfb -> 0xdb
Starting udev
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfd -> 0xdd
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfe -> 0xde
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfe -> 0xde
udevd[672]: starting version 182
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x74 -> 0x54
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7c -> 0x5c
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7c -> 0x5c
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfd -> 0xdd
ubi0 error: ubi_open_volume: cannot open device 0, volume 0, error -16
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x78 -> 0x58
INIT: Entering runlevel: 5
Configuring network interfaces... done.
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfc -> 0xdc
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xfc -> 0xdc
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7d -> 0x5d
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x70 -> 0x50
Starting OpenBSD Secure Shell server: sshd
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x71 -> 0x51
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7f -> 0x5f
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7e -> 0x5e
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7c -> 0x5c
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x7e -> 0x5e
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xf1 -> 0xd1
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xf1 -> 0xd1
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xf1 -> 0xd1
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xb8 -> 0x98
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x70 -> 0x50
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0x71 -> 0x51
atmel_nand 60000000.nand: Bit flip in data area, byte_pos: 902, bit_pos: 5, 0xb8 -> 0x98
done.
Starting syslogd/klogd: done

Poky (Yocto Project Reference Distro) 2.0.1 sama5d3-xplained /dev/ttyS0

sama5d3-xplained login: macb f0028000.ethernet eth0: link up (100/Full)
Thanks
niokou
Posts: 9
Joined: Sun Dec 13, 2015 8:17 pm

Re: Is it errors during booting ?

Mon Jan 25, 2016 10:37 am

no one to help me ? :?
tsvoipio
Posts: 53
Joined: Wed Aug 19, 2015 9:44 pm

Re: Is it errors during booting ?

Mon Jan 25, 2016 9:26 pm

The messages mean that your NAND flash is flaky, maybe a hardware error or misconfiguration.

--

-TV
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: Is it errors during booting ?

Mon Jan 25, 2016 10:05 pm

Do a sanity check:
Reinstall the original Linux4SAM demo package for your board to see if the hardware hasn't been damaged.

Regards
niokou
Posts: 9
Joined: Sun Dec 13, 2015 8:17 pm

Re: Is it errors during booting ?

Tue Jan 26, 2016 10:56 am

I already reinstalled the original package, this is what I did when I have seen errors.
But I still get these errors. :(
So I'm stuck ?
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: Is it errors during booting ?

Wed Jan 27, 2016 3:36 am

niokou wrote:So I'm stuck ?
Hard to say.
You've done a poor job of describing what you've done and how you got into this situation.
It's interesting that U-Boot does not report any NAND errors when reading the DTB and kernel image.

The messages are different, but are you sure this isn't the issue?

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

Re: Is it errors during booting ?

Thu Mar 10, 2016 4:41 am

niokou wrote:Why it need to flip data ?
Is it an error ?
Apparently it's a benign condition.
There's a kernel patch to reduce this "noise" on the console.

Code: Select all

mtd: atmel_nand: Do not warn on bitflips

When using multi-bit ECC, it is normal for the NAND Flash driver to
correct bit errors during the life of the product. Those errors will
only be cleared once a threshold has been reached, and corrections can
occur regularly before this.

Use only dev_dbg and not dev_info to report the bitflips, to keep the
system log clean when everything works correctly.
Regards
niokou
Posts: 9
Joined: Sun Dec 13, 2015 8:17 pm

Re: Is it errors during booting ?

Thu Mar 10, 2016 6:44 pm

Thanks blue_z,
In the file atmel_nand.c I have not the func dev_info. It is already the func dev_dbg that is used.
I can comment the func dev_dbg while I'm work with this board ?
blue_z
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: Is it errors during booting ?

Thu Mar 10, 2016 10:57 pm

Have you changed the console's loglevel?
What's in /proc/sys/kernel/printk ?

Regards
niokou
Posts: 9
Joined: Sun Dec 13, 2015 8:17 pm

Re: Is it errors during booting ?

Fri Mar 11, 2016 12:20 pm

log level is:
7 4 1 7
I will change it to 6.
smart
Posts: 16
Joined: Sat Dec 31, 2016 10:42 am

Re: Is it errors during booting ?

Sun Jan 22, 2017 3:17 am

niokou wrote:log level is:
7 4 1 7
I will change it to 6.

:) you question is fixed ??? please tell me : emial:925295580@qq.com mp:13346239466

tks

Return to “SAMA5 Xplained”

Who is online

Users browsing this forum: No registered users and 1 guest