Welcome, Guest
Username: Password: Remember me

TOPIC: Unknow operating system

Unknow operating system 4 years 7 months ago #10349

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

Check again that the Os in the root volume is CustomBuild because it looks as you are running the wrong wb_gcg.sh. When the Os is CustomBuild, wb_gcg.sh should call $pwrp_exe/custom_build.sh which in its turn should call the wb_gcg.sh from the pwrrpi package. You can check the path in the last row of custom_build.sh and see that this file exist in the correct location ($pwre_broot/os_linux/hw_arm/exp/exe/wb_gcg.sh).

/Claes
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10350

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,

What do you mean by "from the pwrrpi package".

At the moment I just installed:
- the raspbian runtime version on my pi (pwr56_5.6.1-1_armhf.deb)
- the development package on my computer (pwr56_5.6.1-1_amd64.deb) using ubuntu 18.04 LTS

I thought a normal installation with cross compile toolchain was enough to generate rpi compatible package ?

I never noticed the pwrrpi56_5.6.1-1_amd64.deb package ? What is it designed for ? Is that the one I should have used.

Sorry in advance if my issues is imply related to a bad version

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10351

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
The plc executable for the rpi node has to be linked with cross compiled Proview runtime archives that you will find in the pwrrpi package, so this should be installed on the development station.

/Claes
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10352

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Ok this is probably the root cause.
I will update my machine tonight with this package.

To my knowledge what does this package include exactly because I thought it was a complete proview development package but dedicated for rpi which is not according to your answer ?

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10353

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Snarf,
pwr56_5.6.1-1_armhf.deb is the development package for the Pi.
pwrrpi56_5.6.1-1_amd64.deb is the package with the cross compiled Arm archives.

To answer your question about the 64 bit.
I always compiled the development station (on 32 bit) from source including the runtime archives for the
Rasberry pi.

But to be honest I expected a link error in your case....

Happy us, Claes is back in town.

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
Last Edit: 4 years 7 months ago by marc.
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10354

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
It's an additional package to the development package that contains the runtime archives such as libpwr_rt.a, libpwr_co.a, libpwr_remote.a etc, crosscompiled for rpi to make it possible to link the plc executable and any c application for rpi.

/Claes
The administrator has disabled public write access.
Time to create page: 9.018 seconds