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: eCos on SE7751R board


I forgot to mention there are also a few changes to
packages/hal/sh/se7751r/v2_0/include/platform.inc (when compared to
packages/hal/sh/se7751/v2_0/include/platform.inc):

CYGARC_REG_WCR2
CYGARC_REG_RTCOR
CYGARC_REG_MCR

Paul

On Thu, Jul 24, 2003 at 12:23:50PM -0700, Paul van Gool wrote:
> Hi,
> 
> I'm not sure if this is the right list but attached to this mail is a
> compressed diff file that contains the changes we made to eCos 2.0 in
> order to get it to run on Hitachi's SE7751R development board.
> 
> It's largely based on the SE7751 target of course. We added a new
> target called se7751r and copied the se7751 specific files for
> our new target. So there is a lot of duplicate code now ;-).
> 
> The required changes when going from se7751 to se7751r are:
> 
> - CYGHWR_HAL_SH_OOC_XTAL: has to be 20MHz instead of 27MHz.
> 
> - CYGHWR_HAL_SH_OOC_PLL_1: 12 is also an allowed value
>   bringing the CPU clock to 20MHz x 12 = 240 MHz.
> 
> - CYGHWR_HAL_SH_OOC_CLOCK_MODE was set to 0 in our case.
> 
> - A change was made to sh_se7751r_flash.c in
>   packages/devs/flash/sh/se7751r/v2_0/src
> 
>   void
>   plf_flash_init(void)
>   {
>       flash_data_t id[4];
> 
>   The size of the array was initially 2. Rod Campbell
>   reported a similar problem a few months ago for
>   other targets.
> 
> - We made a change to the pcnet Ethernet driver to get it to work
>   on 100BaseT. The changes are to:
> 
>   packages/devs/eth/amd/pcnet/v2_0/src/amd_pcnet.h
>   packages/devs/eth/amd/pcnet/v2_0/src/if_pcnet.c
> 
> Thanks.
> 
> Paul
> -- 
> Paul van Gool                                               Rincon Networks
> paul.vangool@rinconnetworks.com                              (805)-705-1442



-- 
Paul van Gool                                               Rincon Networks
paul.vangool@rinconnetworks.com                              (805)-705-1442

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


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