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

TOPIC: move project from arm_linux to x86_linux

move project from arm_linux to x86_linux 6 years 8 months ago #9102

  • seec
  • seec's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Karma: 0
hi

is it possible to move an project from dev station RPI to dev station x86

cees
The administrator has disabled public write access.

move project from arm_linux to x86_linux 6 years 8 months ago #9105

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi cees,

The development database, which is BerkeleyDB is probably not compatible, so you have to dump the database to text file and reload it on the x86 station. Use reload.sh to dump and reload the database.

On ARM:

Attach the project

> sdf 'project'

Dump the database by executing the first pass dumpdb in reload.sh

> reload.sh
...

Copy the project tree and merge or copy $pwra_db/pwr_volumelist.dat and $pwra_db/pwr_projectlist.dat.

On x86:

Execute reload.sh but skip the first pass, and start from the second, classvolumes, and go at least to the loaddb pass


> sdf 'project'
> reload.sh
Enter start pass [dumpdb]: classvolumes
...

You have set OperatingSystem in the NodeConfig objects in the directory volume and VolumeAttributes for the root volume before you compile and build the node.

/Claes
The administrator has disabled public write access.

move project from arm_linux to x86_linux 6 years 8 months ago #9117

  • seec
  • seec's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Karma: 0
hi claes

I'm working with version 5.5
The conversion goes well,
but I missing the files:

pwr_jop.jar
pwr_jopg.jar
pwr_rt.jar
pwr_rt_client.jar

in this version (pwr55_5.5.0-1_i386)
I just made a copy from version 5.4 (pwr54_5.4.0-1.3_i386)

Is this forgotten?

(lubuntu 16.04 proview5.5 dev)
Building =Ok
Start Runitime I get these errors:



rt_xtt: error while loading shared libraries: libgstinterfaces-0.10.so.0: cannot open shared object file: No such file or directory
old sev_version: 3, new sev_version: 3
HistServer starting
java.library.path = /usr/lib/jvm/java-7-openjdk-i386/lib/i386/client:/usr/lib/jvm/java-7-openjdk-i386/lib/i386:/usr/lib/jvm/java-7-openjdk-i386/../lib/i386:/usr/pwr55/os_linux/hw_x86/exp/exe
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpwr_rt_gdh in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1889)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at jpwr.rt.Hist.<clinit>(Hist.java:48)
at jpwr.rt.HistServer.main(HistServer.java:89)
I Process pwr_webmonelog_999 exited with status 256
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpwr_rt_gdh in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1889)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at jpwr.rt.Gdh.<clinit>(Gdh.java:52)
at jpwr.rt.GdhServer.openServerSocket(GdhServer.java:267)
at jpwr.rt.GdhServer.main(GdhServer.java:179)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpwr_rt_gdh in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1889)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at jpwr.rt.Gdh.<clinit>(Gdh.java:52)
at jpwr.rt.MhServer.openServerSocket(MhServer.java:233)
at jpwr.rt.MhServer.main(MhServer.java:107)
I Process pwr_webmon_999 exited with status 256
I Process pwr_webmonmh_999 exited with status 256

solved one error with
sudo apt-get install libgstreamer-plugins-base0.10-0

by the way: Now I going to install my project on en Debian9 system with Proview5.5 dev

cees
Last Edit: 6 years 8 months ago by seec. Reason: solved one error
The administrator has disabled public write access.

move project from arm_linux to x86_linux 6 years 8 months ago #9155

  • seec
  • seec's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Karma: 0
Hi claes

I am running Debian8.9 system with Proview5.5 dev (x86_linux)

Moving project is done.

Now I want to distribute my project to RPI
My makefile create object modules in x86_linux/obj
--How can i create these modules in arm_linux/obj

Something has to do with custom_build.sh

--How can i build PlcPgm's in arm_linux/obj , .o and .dat files?

Cees
The administrator has disabled public write access.

move project from arm_linux to x86_linux 6 years 8 months ago #9156

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Cees,

Set OperatingSystem in Volume attributes to CustomBuild. Create a CustomBuild object under the NodeConfig object in the directory volume. In this you specify os to Linux on ARM and which crosscompiler to use. Read more in Proview on Raspberry PI on the Document page.

/Claes
The administrator has disabled public write access.

move project from arm_linux to x86_linux 6 years 8 months ago #9157

  • seec
  • seec's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Karma: 0
hi claes

I have done this,

After build node RPI2

i get this errors (output.pdf)


cees
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 9.341 seconds