[ECOS] about upgrading redboot image

Andrew Lunn andrew@lunn.ch
Wed Jun 23 07:28:00 GMT 2004


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



More information about the Ecos-discuss mailing list