Tool/software: Linux
I have a quick question on NAND and EMMC boot
Let say when the device is out of reset and it is set to boot from NAND. It goes and reads the first sector for a valid MLO if not find I assume it goes to the 2nd sector and tries to read a valid MLO once it finds a valid MLO then it tries to load Uboot from the NAND. Let say Uboot is corrupted in the NAND then what happens?? Does it have a recovery uboot that it can read from the NAND?? I know below is what we have for the NAND and don’t see any uboot backup? I assume the emmc has the same issues that there are no uboot backup? If that is the case then they both have the same issue as to how to recover from a bad uboot or kernel?
I don't think there is any redundancy for the u-boot or the kernel or the file system when using NAND or EMMC? IF there is please let me know how that is done? What i am after is that if the memory fails and the uboot or the kernel or the file system is corrupted what happens?
Also how does the SPL knows where to get the uboot image from? can that be changed?
Thanks
Regards
Mohsen