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]
Other format: [Raw text]

Re: problem with memory allocation on SNDS-100 board


On Tue, Jul 02, 2002 at 05:55:41PM -0600, benny wrote:

> Looks like there is a bug in mlt_arm_snds_ram.ldi:
> section 	CYG_LABEL_DEFN(__heap1) = ALIGN (0x8) is missing.
> Therefore malloc() left with just 16k of fall-back memory.

Yup.  I'm not sure where I got the original .ldi from from
which that was copied, but another HAL for a similar platform
had the same problem.

> I changed the file manually but heaps.hxx was not regenerated.

You'll have to re-generate the source tree from scratch.

> I tried to modify heaps.hxx manually, then I got another conflict...
> What should be the correct way to change the layout and add heap - 
> it appears to me that config tool doesn't trace .ldi changes...
> I saw some tcl tool but what should be procedure to use it?

$ ecosconfig new snds ...

-- 
Grant Edwards
grante@visi.com

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


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