
8 Aug
2006
8 Aug
'06
9:12 p.m.
Hi everyone,
I'd like to get some advice/suggestion on how u-boot can check the validity of rootfs on nand flash.
The board I'm working on has two flashes, one nor and one nand. uboot and Linux kernel is on nor, and rootfs is on nand flash (jffs2). I'd like to have u-boot check the validity of the kernel and if it's good, check the validity of rootfs next so that it can successfully boot off Linux. (Of course, my plan is to download and burn a valid kernel and/or rootfs if they are not valid.)
For kernel, looks like it's easy because of mkimage crc check. What would be the best way to check the rootfs' validity? FYI, the nand flash only has one partition.
Thanks!
Mitsy