fis free fix

Doyle, Patrick WPD@dtccom.com
Wed Jul 23 15:11:00 GMT 2003


I reserved the first 3 sectors of my flash (perhaps overzealously) for
RedBoot using CYGBLD_REDBOOT_MIN_IMAGE_SIZE.  I ran into a problem, however,
when installing RedBoot on brand new boards.  Since my version of RedBoot is
currently less than two sectors, I end up writing 0xffffffff to that third
sector.  Commands such as "fis create" and "fis free" see this as empty
space.  This is annoying to me since, someday my RedBoot will exceed two
sectors and I will overwrite some program or data that I stored starting at
the third sector.

I'm not too sure I've described this as succinctly as I could, but perhaps
you get the idea.  Anyway, attached (perhaps) is a small modification to fix
this.

--wpd

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: redboot.txt
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20030723/34ae6268/attachment.txt>


More information about the Ecos-patches mailing list