This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build redboot from the source code


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]