This is the mail archive of the ecos-patches@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: mn10300/asb update


>>>>> Jonathan Larmour writes:

> Mark Salter wrote:
>> Updating mn10300/asb HAL to support RedBoot instead of CygMon.

> Please write something appropriate in NEWS as well. Ta.

And docs. I'm working on it.

>> Index: hal/mn10300/asb/current/include/pkgconf/mlt_mn10300_am33_asb_rom.ldi
> [snip]
>> @@ -18,10 +18,15 @@ SECTIONS
>> SECTION_fini (rom, ALIGN (0x1), LMA_EQ_VMA)
>> SECTION_rodata (rom, ALIGN (0x1), LMA_EQ_VMA)
>> SECTION_rodata1 (rom, ALIGN (0x1), LMA_EQ_VMA)
>> SECTION_fixup (rom, ALIGN (0x1), LMA_EQ_VMA)
>> SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)
>> -    SECTION_data (ram, 0x90000200, FOLLOWING (.gcc_except_table))
>> +    SECTION_data (ram, 0x90000000, FOLLOWING (.gcc_except_table))
>> SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
>> CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
>> SECTIONS_END
>> }
>> +
>> +#define CYG_HAL_PLATFORM_HAL_VSR_TABLE_DEFINED
>> +
>> +_hal_vsr_table = 0x8C000000;
>> +_hal_virtual_vector_table = 0x8C000100;

> This can't be right. The config tool MLT doesn't generate these. And on 
> windows the .ldi file will be regenerated and this will be lost. Ditto the 
> other .ldi files.

I'm aware. The same problem exists with the asb2308. The linker script has
an #ifndef CYG_HAL_PLATFORM_HAL_VSR_TABLE_DEFINED around default defines
for these, but I don't see an obvious way to override. More changes are
coming and sorting this out is on my list.

--Mark


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