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: ecos redboot compile problem.


> Another point just discovered, 
>     An arm-elf-objdump -h  of redboot.img reveals .rom_vectors as 
>                  CONTENTS, ALLOC, LOAD, READONLY, CODE
>        arm-elf-objdump -h of redboot-SRAM.out show .rom_vectors as
>                  CONTENTS, ALLOC, LOAD, CODE
> 
I don't know why it changed from when I created redboot-SRAM.out to now, but
it doesn't matter.  The READONLY attribute is just a flag to loader.
RedBoot, at startup just scribbles to locations in SRAM (which is writable,
despite what hints might be in some files somewhere on the host computer),
so why do you think that is putting you in an infinite loop?

>   if the READONLY means that code is not allowed to be 
> changed i.e. protected
>   space. Then trying to rewrite the 0x12345678 and 0x87654321 
> would fail and 
>   put me into an infinite loop. How do I get this READONLY 
> turned off??

--wpd

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


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