public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Moussa Ba <mba@embedded-zone.com>
To: Andrew Lunn <andrew@lunn.ch>, ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Build Error when Compiling redboot
Date: Sat, 03 Jun 2006 15:12:00 -0000	[thread overview]
Message-ID: <4481A6C1.3010807@embedded-zone.com> (raw)
In-Reply-To: <20060603080920.GE15114@lunn.ch>

Thank you I had went back and figured it out from the RedBoot manual.  
Thank you for the help.  I have recompiled the mcb2100 version of ecos, 
and to save RAM I decreased the stack size allocated to the main from 
8192 to 2048 is this reasonable, I don't expect to be going too deep in 
the stack but I am not sure if ecos related functions needed this much.

Moussa

Andrew Lunn wrote:
> On Fri, Jun 02, 2006 at 04:11:09PM -0400, Moussa Ba wrote:
>   
>> I was able to successfully do the following
>> ecosconfig new at91sam7s
>> ecosconfig tree
>> ecosconfig check
>> make
>> make tests
>>
>> After this I launched the configtool, I did a Build->Packages->Redboot...
>>
>> I am probably doing this wrong, I am simply trying to compile Redboot 
>> for the at91 and look a memory usage to confirm or infirm that I am able 
>> to run Redboot on aa 128K/16KRAM Oki ARM processor.
>>
>> Moussa
>>     
>
> The correct way to build redboot is:
>
> ~/eCos/work$ rm -fr *
> ~/eCos/work$ ecosconfig new at91sam7sek redboot
> U CYGHWR_HAL_ARM_AT91, new inferred value AT91SAM7S
> U CYGHWR_HAL_ARM_AT91_FIQ, new inferred value 1
> U CYGSEM_HAL_ROM_MONITOR, new inferred value 1
> U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
> ~/eCos/work$ ecosconfig import ../anoncvs-clean/packages/hal/arm/at91/at91sam7s/current/misc/redboot_ROM.ecm
> ~/eCos/work$ ecosconfig tree
> ~/eCos/work$ make -s
> headers finished
> build finished
> ~/eCos/work$ ls -l install/bin/
> total 740
> -rwxr-xr-x 1 lunn lunn  65572 Jun  3 10:06 redboot.bin*
> -rwxr-xr-x 1 lunn lunn 410942 Jun  3 10:06 redboot.elf*
> -rwxr-xr-x 1 lunn lunn 120656 Jun  3 10:06 redboot.img*
> -rwxr-xr-x 1 lunn lunn 188648 Jun  3 10:06 redboot.srec*
>
> The redboot user guide contains a section about rebuilding Redboot:
> http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
>
>            Andrew
>
>   


-- 
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	other threads:[~2006-06-03 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01 21:56 Moussa A. Ba
2006-06-01 22:52 ` Gary Thomas
2006-06-02 20:11   ` Moussa Ba
2006-06-03  8:09     ` Andrew Lunn
2006-06-03 15:12       ` Moussa Ba [this message]
2006-06-06  7:18         ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4481A6C1.3010807@embedded-zone.com \
    --to=mba@embedded-zone.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).