flash drivers have function to determine if a given address range overlaps with redboot. that should be moved to the generic driver. the load command should check that user does not try to load data on top of RedBoot (RAM startup) or its data (ROM/RAM startup): Cc: ecc-target-changes Subject: RE: RedBoot load address check Date: Thu, 07 Dec 2000 04:54:28 -0700 (MST) On 07-Dec-2000 Jesper Skov wrote: > Well, that was simple. You already check load address of SRECs. The > problem I had was that I specified an illegal load address (cockpit > error), and RedBoot didn't complain - it will now... > > Hm, looking at the code, I don't see why it didn't complain in the > srec loader. Should have! Baffled... Maybe I was loading on top of > RedBoot in RAM and that was what caused the crash. > > Incidently - should we also check load address for overlap with > running RedBoot? > Yes, this would probably be useful.
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=23572