[ECOS] Build Error when Compiling redboot

Moussa Ba mba@embedded-zone.com
Sat Jun 3 15:12:00 GMT 2006


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



More information about the Ecos-discuss mailing list