Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: PPC build

PPC build 16 years 5 months ago #65

  • ssamineni
  • ssamineni's Avatar
Hello,

I am currently developing a profibus datalink driver for powerpc
I was wondering wether proview will build for ppc. If so can you give me some
pointers. If it possible I would like to add the support in proview for our profibus driver.


Thank you
Srinivas
The administrator has disabled public write access.

Re:PPC build 16 years 5 months ago #66

  • admin
  • admin's Avatar
  • OFFLINE
  • Administrator
  • Posts: 7
  • Karma: 0
Hello !

In principle it is possible to build for ppc. There is though quite a lot of things to prepare.
At the moment all makefiles need to be duplicated for ppc (there are a lot).
The makefiles for x86 are located in directories named .../hw_x86/.... You need to create similar directories for ppc (hw_ppc). I suggest you search in the source tree for directories named like this and duplicate them for hw_ppc.

You have to set up your build environment correctly (choosing hw_ppc) as your hardware. Look at the \"Build howto\"-guide on how to set your environment up.

Build it !

By the way, what type of Profibus-card are you using ? Why are you running on ppc ?

/ Robert
The administrator has disabled public write access.

Re:PPC build 16 years 5 months ago #67

  • ssamineni
  • ssamineni's Avatar
Hi Robert,

I am developing the profibus stack (datalink and phy layer) from ground up.
The driver runs on the PPC and the datalink/phy layer runs on a RISC co-processor that is coupled with PPC core.

Initially I would like to port your app to run on the ppc , later on I can support the ppc running in a pc as PCI daughter card.

I will look at the make files as suggested. Is there is defined interface that proview uses to talk the profibus drivers (ie is there any intermediate layer or the app directly talks to the datalink)?.


Thanks
Srinivas
The administrator has disabled public write access.

Re:PPC build 16 years 5 months ago #68

  • admin
  • admin's Avatar
  • OFFLINE
  • Administrator
  • Posts: 7
  • Karma: 0
Hi Srinivas,

Now I understand better, very interestering.

There is a defined interface that at the moment works only with the driver for the Profibus-PCI-card we are using (Softing). We should make some minor changes to this interface. Then it will be relatively easy to implement also an interface for your driver.

I think you can start by building the existing software and see that it works as is. Then we can get back to how you implement the interface. For a starter you can study the \"Guide to I/O-system\"-document.

Good luck !

Robert
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.824 seconds