I got into to one strange problem .... we are booting the imx6UL evk board from SD card and the .sdcard image is built using yocto project. it was working fine for a month.... all of sudden SD card file system partition(/dev/mmcblk0p1) is corrupted or unable to read from the partition(even if that SD card is connected to linux machine only Boot imxul partition is seen) now is there way to recover it back? or is it possible to create one more partition during the SD card boot preparation so that in kernel we can specify so that if kernel is unable to mount the file system from /dev/mmcblk0p1 then it can try mounting from other partition like /dev/mmcblk0p1,/dev/mmcblk0p2,etc....
1. Recovery should be from other partition, if yes how?
2. is there way to have raid level kind of things here? how ?
3. is there kernel argument so that in uboot we can tell kernel that if you are unable to mount the file system from the specified partition, try from other partition, if other partition how to have kernel argument in uboot?
This might be the 1950's issue because of memery corruption as far as linux is considered .
kindly help me out to clear this problem . am struck here...