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]

eCos on SE7751R board


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

Attachment: patch-ecos.gz
Description: GNU Zip compressed data

-- 
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]