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]

RE: download process in redboot


Note: email sent to individuals can and will be ignored.  You
should always copy the discussion list as I have done.

On 10-Jul-2001 Carlos Camargo wrote:
> Hi, thanks for your answer
>> Why are you trying to load a file to 0xb288?
> 
> Whwn i use version command on redboot prompt appear:
> 
> RAM : 0x00000000 - 0x00080000, 0x0000b288 - 0x00080000
> available.
> 
> I think than i can use this memory space. This is
> correct??? If no, can you indicate me which is the
> address memory..
> 

Our tools will automatically adjust programs to the appropriate
addresses.  Typical eCos programs will load at 0x10000 or 0x20000.

>> 
>> What is the format of the file?  The 'load' command
>> you list
>> will only work for S-record data.  If you are tring
>> to download
>> any other sort of data (raw binary or ELF), the
>> 'load' command
>> will fail.
> 
> 
> You are right, i'm using binary format, i use:
> 
>  objcopy -I elf32-littlearm -O binary IN_FILE OUT_FILE
> 
> How i can convert to S-record format???

XXX-objcopy -O srec <ELF-file> <S-rec-file>
where 'XXX' is your platform type prefix, e.g. arm-elf-objcopy


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