This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about upgrading redboot image
- From: Andrew Lunn <andrew at lunn dot ch>
- To: kneep <kneep at sh dot askey dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 23 Jun 2004 09:27:53 +0200
- Subject: Re: [ECOS] about upgrading redboot image
- References: <40D926E2.4070009@sh.askey.com.tw>
On Wed, Jun 23, 2004 at 02:44:50PM +0800, kneep wrote:
> Dear All,
> I run a rom version of redboot. But if I modify the code and build a
> new redboot image, how could I program it to flash?
> Since the redboot's code segment is in rom, it may overwrite the code
> segment. The following line is printed:
> 'Can't program this region - contains code in use!'
Reading the manual is a good place to start.
The short answer is the build a RAM version of redboot. Boot this
using the ROM version and then use it to replace the ROM version.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss