This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how does processor finds redboot image ?


On Thu, 2005-03-17 at 06:14 -0500, Sumit Chauhan wrote:
> Hi,
> 
> thanks for your reply, I understand most of it -;)
> I didnt knew basically that by default ARM maps flash at 0x00000000 ,
> 
> anyways, but / so if my redboot is in ROM mode .. redboot_ROM.ecm was
> used, will it keep on executing from flash only ? is this remapping
> done only for ROMRAM, RAM modes I believe,as else we would have been
> able to write the flash anyways -:)

The IXP4xx has a control register bit which causes flash to appear at
0x00000000 right after a reset. Early in the boot process, RedBoot
flips this bit and continues operating from flash at 0x50000000. Most
ARM boards do something similar. Sometimes, the flash is always located
at physical address zero and the MMU is used remap flash to somewhere
else and to map RAM at zero.

ROM RedBoot always executes from ROM/flash except for small bits that
have to run from RAM in order to program the flash.

--Mark



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]