This is the mail archive of the ecos-discuss@sourceware.org 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: Redboot run image issues


Hi Gary:

If i run the same image by loading it to ram from a JTAG(BDI3000), it
works just fine.
I am not able to understand what is the difference when i run the same
image from JTAG and when i do a "run" from a already running image.

Thanks.

On Sat, Feb 21, 2009 at 6:15 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> joseph biswal wrote:
>> Hi ALl;
>> I am working on the MX31 platform wijht ARM 11 core.
>> When i run  the image from RAM from another image, its stops after
>> printing this :
>> load entry_address=0x100000
>> virt_addr=0x100000
>> phys_addr=0x80100000
>>
>> Heres a  snapshot.
>>
>> RedBoot> load -r -b 0x100000 /redboot.0220
>> Using default protocol (TFTP)
>> Raw file loaded 0x00100000-0x0012bc13, assumed entry at 0x00100000
>> RedBoot> run 0x100000
>> load entry_address=0x100000
>> virt_addr=0x100000
>> phys_addr=0x80100000
>>
>>
>> Would it be something to do with the image size or linker script?
>> I have ensured that my target.ld and mlt_romram.h are correct for the
>> ROM addresses
>> Thansks in advance for your help.
>>
>
> What sort of an image is 'redboot.0220'?  Most times, the
> files we load to execute are either ELF binary images, or
> Motorola S-record files.  In both of these cases, the '-r'
> option should *not* be used.
>
> My [first] guess is that you've loaded some sort of structured
> file (ELF, S-record) using '-r' which will not get the correct
> instructions in the correct location, hence not run.
>
> Try it without '-r'
>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>

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