public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
[parent not found: <CAPkEfga-coX6ONW_EZVAJJAAib=aiprHNa_ahoCjpmj5Uk89iA@mail.gmail.com>]
* [ECOS] Re:.
@ 2012-03-21 13:35 Bob
  0 siblings, 0 replies; 7+ messages in thread
From: Bob @ 2012-03-21 13:35 UTC (permalink / raw)
  To: 6122325317, annihilator256, mike_steinke, pergandes, tclug-list,
	mews322000, ecos-discuss


. http://fishscraps.com/iopjdosineijjfn.html?rCID=62sy

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <20050404052142.475.qmail@webmail17.rediffmail.com>]
* RE: [ECOS] Re:
@ 2003-10-29 12:32 Doug Fraser
  0 siblings, 0 replies; 7+ messages in thread
From: Doug Fraser @ 2003-10-29 12:32 UTC (permalink / raw)
  To: 'Gary Thomas', Radu Cernea; +Cc: ecos-discuss

For the config switch <#if defined(CYGHWR_HAL_POWERPC_860)>
you should also include the 821, as it has the same pio
usage as the 860. The 850 and the 823 both use port A,
the 860 (and its variants) and the 821 use port B as noted
below.

Doug Fraser

> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Tuesday, October 28, 2003 10:08 AM
> To: Radu Cernea
> Cc: ecos-discuss@sources.redhat.com
> Subject: [ECOS] Re: 
> 
> 
> 
> Radu Cernea said:
> >>> The difference is in the pin allocation for SMC2:
> >>>
> >>> - Port B21 & B20 for MPC860
> >>> - Port A9 & A8 for MPC850
> >>>
> >>> The current version of quicc_smc1.c initialize the port 
> pins MPC850-like
> >>> (function cyg_hal_smcx_init_channel).
> >>>
> >>> My question is:
> >>> How is it better to add the MPC860 initialization version 
> to the eCos sources?
> >>> Should I create a new file, use a conditional 
> pre-compilation flag, or...?
> >>
> >> What version of quicc_smc1.c are you looking at? There is 
> supposed to be
> > complete
> >> support already in place for SMC1/SMC2 and SCC1/SCC2/SCC4. 
>  If this is not the
> >> case, we need to fix it *there*, not add new code somewhere else.
> > Unfortunately I do not have CVS access (the IT department 
> rules...), so I
> > download snapshots from ecoscentric. In the last one 
> (031026), I'm looking at
> > the file:
> > /ecos/packages/hal/powerpc/quicc/current/src/quicc_smc1.c
> >
> > There is support for SMC2, but the initialization is not 
> the proper one for
> > MPC860. Instead of:
> > 168:    eppc->pio_papar |= 0xc0;
> > 169:    eppc->pio_padir &= ~0xc0;
> > 170:    eppc->pio_paodr &= ~0xc0;
> >
> > It should be something like:
> >     eppc->pip_pbpar |=   0x00000C00;
> >     eppc->pip_pbdir &= ~0x00000C00;
> >     eppc->pip_pbodr &= ~0x00000C00;
> >
> > See, for the reference, the table 34-6 in MPC860UM.pdf
> 
> Fair enough - please send a proper patch for this, along with the
> ChangeLog entry.  It would also be nice to see the corresponding
> patch for the interrupt driven serial driber.
> 
> Note: use something like this:
>   #if defined(CYGHWR_HAL_POWERPC_860) || 
> defined(CYGHWR_HAL_POWERPC_860T)
>     ... your proposed setup
>   #else
>     .. current setup
>   #endif
> 
> 
> 
> 
> 
> -- 
> Before posting, please read the FAQ: 
http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <20021221135742.066511C73067A@sm204.163.com>]
[parent not found: <200006121700.KAA15361@batman.cts.com>]

end of thread, other threads:[~2013-01-21  4:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200310281454.GAA00597@friend.incoop.net>
2003-10-28 15:08 ` [ECOS] Gary Thomas
     [not found] <CAPkEfga-coX6ONW_EZVAJJAAib=aiprHNa_ahoCjpmj5Uk89iA@mail.gmail.com>
2013-01-21  4:41 ` Anthony Tonizzo
2012-03-21 13:35 Bob
     [not found] <20050404052142.475.qmail@webmail17.rediffmail.com>
2005-04-05 16:03 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2003-10-29 12:32 Doug Fraser
     [not found] <20021221135742.066511C73067A@sm204.163.com>
2002-12-21 11:45 ` Gary Thomas
     [not found] <200006121700.KAA15361@batman.cts.com>
2000-06-12 10:05 ` Jonathan Larmour

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).