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]
Other format: [Raw text]

RE: redboot in Innovator omap1510


I forgot to mention -- look in the archives for this list about 1 year ago
for emails from a fellow named Mike Beymer -- I believe he had some success
building a RedBoot that could be loaded by CCS and documented what he did.

--wpd

> -----Original Message-----
> From: Doyle, Patrick [mailto:WPD@dtccom.com] 
> Sent: Thursday, July 22, 2004 3:55 PM
> To: 'Marcelo Leal'
> Cc: ecos discuss list
> Subject: RE: [ECOS] redboot in Innovator omap1510
> 
> 
> I only had limited success convincing CCS to load ELF files 
> and ultimately
> gave up.  I haven't tried recently with an Innovator, but the 
> last time I
> tried with a custom board, I couldn't get it to work.  What I've done
> instead is to write/adapt a simple program that can be 
> compiled with CCS
> that a) runs in SRAM only; b) can download an SREC file into 
> SRAM; and c)
> can jump to the entry point given in that file.  I use that, 
> and CCS, to
> load an SRAM version of RedBoot onto the target, and use the 
> SRAM version
> RedBoot to initialize the flash and install a ROM based 
> version of RedBoot
> into the flash.
> 
> I could email you the current incarnation of the code (which 
> uses serial
> ports and/or config MUX registers specific to our board) off 
> list if you
> would like -- the tarball is about 66K long.  I might even be 
> able to track
> down an innovator version, but it might be quicker for you to 
> simply adapt
> the current version back to the innovator.  It's been so long 
> since I've
> looked at it, I don't honestly remember what would have changed.
> 
> --wpd
> 
> 
> > -----Original Message-----
> > From: Marcelo Leal [mailto:mcfleal@yahoo.com.br] 
> > Sent: Thursday, July 22, 2004 3:44 PM
> > To: Doyle, Patrick
> > Cc: ecos discuss list
> > Subject: RE: [ECOS] redboot in Innovator omap1510
> > 
> > 
> > I achieve to compile redboot for RAM, SRAM and ROM
> > with the "arm-linux" toolchain. But now, the problem
> > is to load the "redboot.elf" (SRAM) with CCS. A error
> > is generated.
> > I also tried "arm-elf-strip redboot.elf".
> > How do I have to load the redboot with CCS?
> > 
> > Thanks.
> > 
> > --- "Doyle, Patrick" <WPD@dtccom.com> escreveu:
> > > I suspect your problem is related to using the
> > > "arm-linux" toolchain instead
> > > of the "arm-elf" toolchain.  I just compiled RedBoot
> > > for the innovator in
> > > both the RAM and SRAM versions last night without
> > > any difficulties using the
> > > "arm-elf" toolchain (available at
> > > http://ecos.sourceware.org/getstart.html).
> > > 
> > > --wpd
> > > 
> > > > -----Original Message-----
> > > > From: Marcelo Leal [mailto:mcfleal@yahoo.com.br] 
> > > > Sent: Thursday, July 22, 2004 8:14 AM
> > > > To: ecos discuss list
> > > > Subject: [ECOS] redboot in Innovator omap1510
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > Somebody that has some experience in the
> > > compilation
> > > > of redboot for the Innovator, could help me?
> > > > I only achieve to compile redboot for RAM. When I
> > > try
> > > > to compile the version for SRAM occurs the
> > > following
> > > > one:
> > > > 
> > > > 
> > > > section .got [2001d280 -> 2001d283] overlaps
> > > section
> > > > .rodata [2001902c -> 2001d9e7]
> > > > section .got.plt [2001d284 -> 2001d28f] overlaps
> > > > section .rodata [2001902c -> 2001d9e7]
> > > > collect2: ld returned 1 exit status
> > > > make[1]: **
> > > > [/temp/redboot/sram/install/bin/redboot.elf] Erro
> > > 1
> > > > make[1]: Saindo do diretório
> > > > `/temp/redboot/sram/redboot/current'
> > > > make: ** [build] Erro 2
> > > > 
> > > > 
> > > > For this I used the following commands:
> > > > 
> > > > $ ecosconfig new innovator redboot
> > > > 
> > > > => I change arm-elf to arm-linux in ecos.ecc
> > > > 
> > > > $ ecosconfig import
> > > >
> > >
> > /temp/ecos/packages/hal/arm/arm9/innovator/current/misc/redboo
> > > > t_SRAM.ecm
> > > > 
> > > > $ ecosconfig tree
> > > > 
> > > > $ make
> > > > 
> > > > Thanks.
> > > > 
> > 
> > =====
> > -
> > 
> > Marcelo Leal
> > mcfleal@yahoo.com.br
> > CPqD Telecom & IT Solutions
> > 
> > 
> > 	
> > 	
> > 		
> > _______________________________________________________
> > Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis!
> > http://br.info.mail.yahoo.com/
> > 
> 
> Patrick Doyle
> DSP Design Engineer
> (603) 546-2179
> 
>  
> 
> This communication is from DTC Communications, Inc. and is 
> intended to be
> confidential and solely for the use of the persons or 
> entities addressed
> above.  If you are not an intended recipient, be aware that 
> the information
> contained herein may be protected from unauthorized use by 
> privilege or law,
> and any copying, distribution, disclosure, or other use of 
> this information
> is prohibited.  If you have received this communication in 
> error, please
> contact the sender by return e-mail or telephone the above number
> immediately and delete or destroy all copies.  Thank you for your
> cooperation.
> 
>  
> 
> 
> 
> -- 
> Before posting, please read the FAQ: 
> http://ecos.sourceware.org/fom/ecos
> and search the list 
> archive: http://ecos.sourceware.org/ml/ecos-discuss
> 


Patrick Doyle
DSP Design Engineer
(603) 546-2179

 

This communication is from DTC Communications, Inc. and is intended to be
confidential and solely for the use of the persons or entities addressed
above.  If you are not an intended recipient, be aware that the information
contained herein may be protected from unauthorized use by privilege or law,
and any copying, distribution, disclosure, or other use of this information
is prohibited.  If you have received this communication in error, please
contact the sender by return e-mail or telephone the above number
immediately and delete or destroy all copies.  Thank you for your
cooperation.

 



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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