[U-Boot-Users] Suggestion on CRCing data on NAND?

Wolfgang Denk wd at denx.de
Fri Aug 18 00:53:09 CEST 2006


In message <e0590900608171344p51945061i8d6cda6f14e6515c at mail.gmail.com> you wrote:
> 
> Here's what I need to do from u-boot. I'd like to check the validity
> of rootfs before launching Linux kernel. NFS is not available for what
> I'm doing so if the rootfs is corrupted, the kernel will just panic
> and hang there. We can't use boot disk, etc. either. So, I'd like to
> check rootfs and if it seems corrupted, u-boot will download the valid
> rootfs image (via tftp) and burn it on flash before it launches
> kernel.
> 
> I'm planning on making the rootfs read-only so that CRC checking make
> sense for this purpose. If there's anything we need to save, we will
> just save them in a flash in a separate partition.

OK, understood. Sounds OK. 

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Worlds are conquered, galaxies destroyed -- but a woman is  always  a
woman.
	-- Kirk, "Conscience of the King", stardate unknown




More information about the U-Boot mailing list