[ECOS] Getting Redboot to run on a mpc555

Gary Thomas gthomas@ecoscentric.com
Sat Aug 24 03:40:00 GMT 2002


On Fri, 2002-08-23 at 10:43, Rycerz Roman-G11565 wrote:
> Hi..
> 
> I am hoping someone can help me...
> 
> I have built Redboot to run on a ETAS EVB555 board.  When I start it up I
> get the following line
> 
> 	$O496E69742064657669636520272F6465762F73657230270A#70
> 
> Having built and run Redboot on a i386pc platform, I am expecting a sign on
> banner...
> 

This is a message using the GDB protocol which says
  "Init device '/dev/ser0'\n"

> I have looked at all the exception interrupts and the only one that
> activates is "0x100" the reset vector.
> 
> The code seems to be in a loop doing a "getc" 

Yup - it's waiting for GDB to acknowledge the output string.

It looks to me like you've misconfigured RedBoot.  First of all,
you should *not* have serial drivers in a RedBoot configuration (serial
diagnostic drivers come from the HAL package).  

On any given platform, you should be able to generate a working
RedBoot, in ROM/FLASH, using this sequence:
  % ecosconfig new <platform> redboot
  % ecosconfig import startup.ROM
  % ecosconfig tree
  % make

where 'startup.ROM' contains:
    cdl_component CYG_HAL_STARTUP {
        user_value ROM
    };

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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



More information about the Ecos-discuss mailing list