This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Build Error when Compiling redboot
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