This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: [PATCH] redboot: reset entry address before load
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Peter Korsgaard <jacmet at sunsite dot dk>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 24 Jan 2007 11:23:58 +0100
- Subject: Re: [PATCH] redboot: reset entry address before load
- References: <87ac0bcqn8.fsf@slug.be.48ers.dk>
On Mon, Jan 22, 2007 at 11:16:59AM +0100, Peter Korsgaard wrote:
> Hi,
>
> Redboot's do_load() doesn't reset the entry address if an upload
> fails, so go/exec happily tries to jump to the incomplete code if you
> do something like:
>
> load file1; fis create file1; load file2; go
>
> The following patch fixes that.
Thanks,
Committed,
Andrew