This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re dBoot: "fis load -d" allows "go" even if it fails
- From: Renà Nielsen <rbn at vitesse dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 28 Nov 2007 06:46:49 -0800 (PST)
- Subject: [ECOS] Re[ECOS] dBoot: "fis load -d" allows "go" even if it fails
Hello,
If you do a
fis load -d my_image
and my_image is not a valid zip-image, it will not be loaded. That's fine.
But a following "go" will jump to the img->entry_point anyway.
When loading an image without the -d option and CYGSEM_REDBOOT_FIS_CRC_CHECK
is defined and the checksum-check fails, it will set entry_addr to
NO_MEMORY. I think the same thing should happen when the unzip fails.
Regards
Renà Schipp von Branitz Nielsen
Vitesse Semiconductors
--
View this message in context: http://www.nabble.com/RedBoot%3A-%22fis-load--d%22-allows-%22go%22-even-if-it-fails-tf4888998.html#a13993780
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss