A bootldr gotcha to look out for.

From: Stephen L Johnson (sjohnson@monsters.org)
Date: Tue Oct 30 2001 - 16:08:28 EST


The newer bootldrs (2.15.x and 2.16.x) that can scan jffs2 parititions have a
potential gotcha. It can load to false indications of errors.

The general scenario is flashing parition root after bootldr does a scan of
the jffs2 file system. The map in RAM doesn't match to root jffs2 image
anymore. This will cause wrong output of 'ls' and a failure of bootldr to find
the kernel file while trying to 'boot'.

In 2.15.x this is caused by doing a 'ls', and then flashing flashing a new
root. The problem is worse in 2.16.x bootldr, because it scans jffs2 during
startup.

A work around for now is to run the bootldr 'reset' command or do a hard reset
after flashing a root partition image. A suggestion to fix the problem is to
set a "rescan" flag in the bootldr after any command that could disturb a
jffs2 image.

Stephen L Johnson <sjohnson@monsters.org>



This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:03 EST