[U-Boot-Users] Checking the validity of rootfs (jffs2) on nand flash
mitsy
mitsy12 at gmail.com
Tue Aug 8 21:12:13 CEST 2006
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
More information about the U-Boot
mailing list