Running forte on 64-bit Raspberry Pi 4 running Ubuntu 20.04.2 LTS [message #1839916] |
Thu, 01 April 2021 01:10  |
Eclipse User |
|
|
|
I create all my 4diac applications on Linux (currently 64-bit Ubuntu on a Virtual Box). I am trying to cross-compile forte for a 64-bit Raspberry Pi 4 that is currently running Ubuntu 20.04 LTS. That is a 64-bit architecture (dpkg -- print-architecture shows "arm64" on the Pi, and "amd64" on my Ubuntu Virtual Box)
I followed all the 4diac instructions to cross-compile forte for a Raspberry Pi. That worked fine. However, the cross-compiled forte ends up as a 32-bit application. The command "file forte" shows this:
forte: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.16, BuildID[sha1]=098efaa4d5bddcd88e63309664bb0c294213d091, with debug_info, not stripped
Obviously that will not run on the Pi. Entering ./forte displays "./forte: No such file or directory".
I have tried enabling 32-bit support on Ubuntu but that is not working. Lots of missing libraries that would not load.
Is there a way of cross-compiling forte as a 64-bit app by configuring CMake differently?
Thank you in-advance for any help. If I can get this going, I am happy to document the process of setting it up and make it available on the forum. The 4diac cross-compilation instructions worked really well - I am almost there <smile>.
Another thought - an alternative might be to switch the Pi OS to be Ubuntu Server 20.04.2 LTS which is the 32-bit version. I suspect the forte performance difference would be minimal ???
Cheers,
Barry
.
[Updated on: Thu, 01 April 2021 02:17] by Moderator
|
|
|
|
|
|
|
Re: Running forte on 64-bit Raspberry Pi 4 running Ubuntu 20.04.2 LTS [message #1851183 is a reply to message #1840003] |
Tue, 29 March 2022 17:25  |
Eclipse User |
|
|
|
Hi Barry and Alois,
RPI 4B is very powerful, I have done some MQTT and Node-RED work with python on RPI 4B. All worked great. However, we always expect a new version from RPI organization and RPI 5B may be at the door soon. Here is some unconfirmed information I copied from:
https://raspberryexpert.com/raspberry-pi-5-release-date-specs-price/#:~:text=There%20is%20no%20regularity%20in,will%20be%20a%20surprise%20launch.
"
In an interview with a popular news website, they asked the RPi co-founder Eben Upton whether they are working on a Raspberry Pi. And his answer was "We're thinking about it. We're not quite sure what it'll look like yet".
This is giving a hint that there are no drastic developments made for the next Pi. But they are in the early stages of development.
Raspberry Pi 5 Specifications (Expected)
Quad-core Cortex-A76 (ARM v8.2) 64-bit SoC @ 2GHz
4GB, 8GB or 16GB LPDDR5 SDRAM
2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.2
2 × traditional HDMI ports
Micro-SD card slot for loading OS and data
5V DC via USB-C connector
5V DC via GPIO header
"
[Updated on: Tue, 29 March 2022 17:29] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.09347 seconds