Hi
1)  When i build redboot, i get a warning-
BFD: /home/ismail/ecos/ecos-2.0/tools/bin/nov1-0_install/bin/redboot.img: 
warning: allocated section `.bss' not in segment.
This is what i have in .ldi file.
MEMORY
{
    ram : ORIGIN = 0x80000000, LENGTH = 0x1000000
    rom : ORIGIN = 0xA0000000, LENGTH = 0x100000
}
SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (rom, 0xA0000000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixed_vectors (ram, 0x80000020, LMA_EQ_VMA)
    SECTION_data (ram, 0x80008000, FOLLOWING (.gcc_except_table))
    SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
    CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
    SECTIONS_END
}

2) I came to know execution starts from hal_platform_setup.h which is assembly 
lang. Will any changes here get reflected in the built .bin file. Maybe this is 
a crazy quesstion? I ask bcoz i tried to toggle a pin by writing code here. But 
none of the code i inserted gets included in the built .bin file. (It is not 
execution problem. The extra code isnt included). Please help.
                                           Ismail

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

Reply via email to