This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: both redboot and application 'ROM' startup
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