This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with 2ram section
- From: "Tom Deconinck" <t dot deconinck at gmail dot com>
- To: "Andrey Baboshin" <ababoshin at tepkom dot ru>, ecos-discuss at sourceware dot org
- Date: Tue, 3 Jun 2008 08:04:46 +0200
- Subject: Re: [ECOS] Problem with 2ram section
- References: <61bbab140b7dc5143b02c6caf99822c1@tepkom.ru>
On Mon, Jun 2, 2008 at 5:24 PM, Andrey Baboshin <ababoshin@tepkom.ru> wrote:
> Hi, all.
>
> I try to build and run the redBoot for MPC8313. Flash is S29GL128N.
> Building is ok, but when I run "fconfig -i" the system outputs "... Program
> from ..." and then hangs.
> I have some experiments with order of implementation flash routines in
> flash_am29xxxxx.inl file and find
> the order have effect on process of execution. If I move the
> flash_program_buf function to top of this file
> then it executes more the one lines but then it hangs also.
> I have found also every function in *.inl locates in 2ram-section. I think
> it contains problem - 2ram section is too small.
> How can I enlarge the 2ram section?
> Do some one have same problems?
>
> thank you.
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
Hi,
You can enlarge the RAM section by adapting the linker script,
providing your RAM is physically big enough. Look for *.ldi that your
target is using. I don't have any experience with your specific
platform so I cannot give you it's exact name.
Tom
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss