This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem with memory allocation on SNDS-100 board
- From: Grant Edwards <grante at visi dot com>
- To: benny at voicepump dot com
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 2 Jul 2002 18:22:10 -0500
- Subject: Re: [ECOS] problem with memory allocation on SNDS-100 board
- References: <1025260930.20515.230.camel@hermes.chez-thomas.org> <AHEPJHOCAEJIJJMPAIIFAEGNCKAA.benny5@mindspring.com>
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