Devaraj,
I meant we have not replicated the error condition "uncorrectable bitflip" in our test bench though we had run the development unit for more than week.
we identified the uncorrectable flip issue in the units return from field. We are doing all our analysis and testing on the field-returned-units that are in limited numbers.
So if the patch created by your App team could replicate the error condition at test bench, Please share us so it would help us to replicate the issue in development unit and test the patch (I mentioned) in development unit itself.
In w207, During boot up, U-boot loads kernel with initramfs. Initramfs has early_init script that run early video(mahindra logo video) then mount ubifs rootfs partition (/dev/mtd6). On success mount of rootfs partition, change root is called.
But during error condition, mounting of rootfs partition is failed and stays in initramfs context. There is a health monitor running in VIP( an external micro) that reboots the IMX6 if no response received from IMX6. The reboot happens for several number of times.
Please find the boot log with ubi related lines are underlined.
U-Boot 2013.04-eagle-imx6-gce0ea25-r1 (May 07 2015 - 15:22:30)
I2C: ready
DRAM: 1 GiB
NAND: 2048 MiB
Using default environment
In: serial
Out: serial
Err: serial
Normal Boot
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x800000, size 0x1000000
16777216 bytes read: OK
## Booting kernel from Legacy Image at 10007fc0 ...
Image Name: eagle-imx6-3.10.17(dt)
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 7826477 Bytes = 7.5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Total milliseconds boot time: 751
Starting kernel ...
Gating GPMI Clock Source before Initialization
DBG sensor data is at 80dd3998
Failed to execute /init
VMF_SHM_IPC: pid=102, nw_vmf_ipc_open(000000): unknown channel name
../../../../ai.app.2015.mahindra.(NULL device *): DMA Disable for UART Port: 4
w207l3.infrastructure.host/vip.ipcl.ap/src/ipcl.c:351 uart ipcl port:5
Connetion established curr ign = 0
checking for link up
query message sentmsg received from grp = 92 , event = 14
link up status received via boradcast
get the ACC info from host msg sent
timer create returns 0
Entered a bad state
******************************************** audio config is 1 ******************************
year msb = 7 year lsb = 223
year = 2015
sec 44 min 1 hr 12 day 1 month 0 year 115
new time is 1420113704
ret value of set time = 0 ,errno = 2
TIme and Date set from early_rvc_Service
iopin = 0
Display set to Normal mode successfully
display_mode_set done
in send state msg state = 2
send done with state = 2
Playing WAVE '/opt/boot-splash/MahindraAudio.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 908:4096, read 4096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 516096 bytes from PEB 908:8192, read 516096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 976:4096, read 4096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 516096 bytes from PEB 976:8192, read 516096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 978:4096, read 4096 bytes
in state handle
in state handle
UBI error: ubi_io_read: error -74 (ECC error) while reading 516096 bytes from PEB 978:8192, read 516096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 1024:4096, read 4096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 516096 bytes from PEB 1024:8192, read 516096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 1026:4096, read 4096 bytes
UBI error: ubi_io_read: error -74 (ECC error) while reading 516096 bytes from PEB 1026:8192, read 516096 bytes
in state handle
UBI device number 0, total 2646 LEBs (1365590016 bytes, 1.3 GiB), available 0 LEBs (0 bytes), LEB size 516096 bytes (504.0 KiB)
in state handle
UBI error: ubi_io_read: error -74 (ECC error) while reading 57344 bytes from PEB 1074:466944, read 57344 bytes
UBIFS error (pid 126): ubifs_recover_leb: corrupt empty space LEB 709:458752, corruption starts at 3728
UBIFS error (pid 126): ubifs_scanned_corruption: corruption at LEB 709:462480
UBIFS error (pid 126): ubifs_scanned_corruption: first 8192 bytes from LEB 709:462480
UBIFS error (pid 126): ubifs_recover_leb: LEB 709 scanning failed
mount: mounting /dev/ubi0_0 on /mnt failed: Structure needs cleaning
mount: mounting /dev on /mnt/dev failed: No such file or directory
one or more files missing
one or more files missing
starting failsafe shell
one or more files missing
one or more files missing
one or more files missing
one or more files missing
one or more files missing