[ECOS] Re: ***SPAM*** Re: [ECOS] redboot over VxWorks

Nickolay nickolay@protei.ru
Mon Jan 10 15:08:00 GMT 2005


Andrew Lunn wrote:

>>>eCos image are position dependant. It has to be loaded at the address
>>>it expects to be loaded. You can then execute it by jumping to the
>>>first instruction. 
>>>
>>>Take a look at the .ldi file in the hal includes/pkgconf for your
>>>target.
>>>
>>>      Andrew
>>>
>>>
>>>      
>>>
>>/opt/ecos/build/install/include/pkgconf/mlt_arm_xscale_ixdp425_ram.ldi
>>----------------------------------------------------------
>>MEMORY
>>{
>>   ram : ORIGIN = 0, LENGTH = 0x10000000
>>}
>>----------------------------------------------------------
>>I must download redboot.bin at 0x00000000 ? :-/
>>    
>>
>
>That just tells the linker where there is RAM. The image will be
>somewhere within it. If you continue in this file you will see
>
>
>SECTIONS
>{
>    SECTIONS_BEGIN
>    SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
>    SECTION_rom_vectors (ram, 0x80000, LMA_EQ_VMA)
>    SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
>
>The image is linked to be loaded at 0x80000. 
>
>        Andrew
>
>  
>
Thank you!

SECTION_rom_vectors in my idl file also set to 0x80000.
I nice download my redboot.bin at 0x80000, but when i go to this address("g 0x80000" command in VxWorks bootloader), my console is hanged(i so think),
and no error present. What it can be?
 




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



More information about the Ecos-discuss mailing list