[ECOS] Re: both redboot and application 'ROM' startup

John Dallaway john@dallaway.org.uk
Wed Sep 15 12:11:00 GMT 2010


Hi qiulinyuan

qiulinyuan wrote:

> In the redboot ,I use the command 'go 0x80100000' to start the
> romapp,but failed .
> While  the command 'go 0x10100000'  works well.
>  
> I have set the  MMU as following,
> _MMU(0x100,  0x800,   16,  _CACHEABLE,  _BUFFERABLE,  _PERM_RW_RO); /*
> Uncached access to NorFlash CS0 */
> _MMU(0x100,     0x100,   16,  _UNCACHEABLE,  _UNBUFFERABLE, 
> _PERM_RW_RO); /* Boot flash ROMspace CS0. */
>  
> I don't understand why couldn't use 'go 0x80100000'.But I can use the
> command 'fis write .... -f 0x80100000' well.

When you jump into a ROM startup application from RedBoot, machine
initialisation code will be executed (including MMU initialisation).
Normally, this code would be run from system reset.

John Dallaway
eCos maintainer

-- 
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