public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Raghu Bulusu <RBulusu@reptron.com>
Cc: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] CQ7750
Date: Mon, 30 May 2005 15:08:00 -0000	[thread overview]
Message-ID: <1117212607.19176.183.camel@hermes> (raw)
In-Reply-To: <798224455D1F52429C9A29E5374CDED886A6C5@k-byteexchange.kbyte.net>

On Fri, 2005-05-27 at 12:43 -0400, Raghu Bulusu wrote:
> Hi,   
> 
>    I tried modifying the Hal of SH/CQ7750 for a new board with SH7750
> processor. I am building the Redboot image using Ecos Configtool 2.0.
> I am trying to get the LED's on the board turn on and off to make sure that
> the processor is reading from the flash. I know the LED's are turned on at
> this part of file hal_stub.c in the initHardware function	
> 
> #ifdef HAL_STUB_PLATFORM_INIT          ----- ??
> // If the platform defines any initialization code, call it here.
>     HAL_STUB_PLATFORM_INIT();    ----- this calls the led on function
> #endif        
> 
> where is HAL_STUB_PLATFORM_INIT defined??? in the packages/Hal/*  
> 

Did you try looking in the sources?  A quick 'grep' shows where this is
defined (for each platform):

% find hal/sh -type f | xargs fgrep "HAL_STUB_PLATFORM_INIT("
hal/sh/cq7708/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              hal_diag_led_on()
hal/sh/cq7708/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/cq7750/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              hal_diag_led_on()
hal/sh/cq7750/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/dreamcast/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              hal_diag_led_on()
hal/sh/dreamcast/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/edk7708/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              hal_diag_led_on()
hal/sh/edk7708/current/include/plf_stub.h:# define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/hs7729pci/current/include/plf_stub.h:#define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/se7751/current/include/plf_stub.h:#define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/se77x9/current/include/plf_stub.h:#define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT
hal/sh/sh4_202_md/current/include/plf_stub.h:#define HAL_STUB_PLATFORM_INIT()              CYG_EMPTY_STATEMENT

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

  reply	other threads:[~2005-05-27 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29 12:11 Raghu Bulusu
2005-05-30 15:08 ` Gary Thomas [this message]
2005-05-30 15:13 Raghu Bulusu
2005-05-31  8:32 ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1117212607.19176.183.camel@hermes \
    --to=gary@mlbassoc.com \
    --cc=RBulusu@reptron.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).