From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Shaojie Wu Cc: Jonathan Larmour , eCos Discussion Subject: Re: [ECOS] build redboot from the source code Date: Thu, 06 Sep 2001 18:15:00 -0000 Message-id: <999825139.7162.13.camel@station91> References: X-SW-Source: 2001-09/msg00151.html On Fri, 2001-09-07 at 09:58, Shaojie Wu wrote: > Hi, > > I am trying to build the redboot for the EB40 board. > ( I know I can get the redboot elf file directly, but since I will add more > functions to redboot, I need to build the redboot again from the source > code). > I downloaded the sourde code from ecos respository, and tried to use the > arm-elf-gdb and arm-elf-ld to get the exe file. After changed the source > code > a little bit, the exe file was created successfully. But after downloading > the code into EB40 board, I could not build the connection by using minicom. > I was wondering whether I need to configure the source file. Any idea what's > happening here? It will be highly appreciated if you could give me more > information > about this. Thanks > > Shaojie You'll probably need to provide more detail in order for us to help. On that platform you build RedBoot via these steps: % ecosconfig new eb40 redboot % ecosconfig import ${ECOS_REPOSITORY}/hal/arm/at91/current/misc/redboot_ROMRAM.ecm % ecosconfig tree % make This set of steps builds a RedBoot suitable for installing in the FLASH memory on the board (see the RedBoot documentation for complete details). One way to test RedBoot is to build the RAM based version first, then download that and test it. Once this is in place (and working!) you can change to ROM (in your case ROMRAM) mode and make the changes permanent. In that case, just import the redboot_RAM.ecm file instead.