Raspberry PI4 - error even with glibc >2.15 and beta version

gentleman74
gentleman74
Joined: 3 Jun 12
Posts: 3
Credit: 138522
RAC: 0
Topic 219889

Dear all, Raspberry PI4 with 64 bit kernel, does not work. Glibc setting >2.15 and beta version.

Linux raspberrypi 4.19.80-v8+ #1275 SMP PREEMPT Mon Oct 28 18:49:38 GMT 2019 aarch64 GNU/Linux

mikey
mikey
Joined: 22 Jan 05
Posts: 12715
Credit: 1839117036
RAC: 3622

gentleman74 wrote:Dear all,

gentleman74 wrote:

Dear all, Raspberry PI4 with 64 bit kernel, does not work. Glibc setting >2.15 and beta version.

Linux raspberrypi 4.19.80-v8+ #1275 SMP PREEMPT Mon Oct 28 18:49:38 GMT 2019 aarch64 GNU/Linux

Read this thread [url]https://einsteinathome.org/content/install-ubuntu-1910-pi-4[/url]

gentleman74
gentleman74
Joined: 3 Jun 12
Posts: 3
Credit: 138522
RAC: 0

I have no problem with WiFi

I have no problem with WiFi connection, but there is problem I would need AArch64 compiled version with Cortex A72 gcc optimization. Is there any chance that You can compile it? Existing Raspberry version crash immediately with error messsage.

mikey
mikey
Joined: 22 Jan 05
Posts: 12715
Credit: 1839117036
RAC: 3622

gentleman74 wrote:I have no

gentleman74 wrote:
I have no problem with WiFi connection, but there is problem I would need AArch64 compiled version with Cortex A72 gcc optimization. Is there any chance that You can compile it? Existing Raspberry version crash immediately with error messsage.

Not me no, I have almost no clue about those kinds of things being mostly a Windows guy. I was just pointing you to a Linux version that did work on the Pi 4.

Holmis
Joined: 4 Jan 05
Posts: 1118
Credit: 1055935564
RAC: 0

gentleman74 wrote:I have no

gentleman74 wrote:
I have no problem with WiFi connection, but there is problem I would need AArch64 compiled version with Cortex A72 gcc optimization. Is there any chance that You can compile it? Existing Raspberry version crash immediately with error messsage.

Maybe one of these threads and apps could work?
Make sure to read the opening post in the threads.

https://einsteinathome.org/content/high-speed-linux-brp-app-raspberry-pi-3

https://einsteinathome.org/content/high-speed-linux-brp-app-odroid-c2

MarkJ
MarkJ
Joined: 28 Feb 08
Posts: 437
Credit: 139002861
RAC: 0

As far as I know the project

As far as I know the project supplied app is 32 bit, assuming the BRP 1.47 app. Aarch64 is 64 bit.

With x86_64 they have to install 32 bit compatibility libraries, I’m not sure if you can to do the same with Aarch64 In order to run 32 bit apps.

I would suggest you install Raspbian on it then you should be able to run the project supplied 1.47 app.

PorkyPies
PorkyPies
Joined: 27 Apr 16
Posts: 199
Credit: 33740629
RAC: 522

I did a bit of googling and

It seems the Raspberry Pi foundation have an experimental aarch64 kernel for the Rpi which is what Gentleman74 is running. It runs on the 3B, 3B+ and the 4B.

I did a bit of googling and came up with this: https://forum.armbian.com/topic/4764-running-32-bit-applications-on-aarch64/

The Cavium Thunder based chips don’t work, not that it shouldn’t effect you seeing as you are using a Rpi. The ability to run 32 bit apps is an optional feature in the ARM specs and Cavium didn't implement it.

The best solution would be if the project built an aarch64 version of the BRP4 1.47 app but it’s not likely to be high on their list of things to do.

Holmis
Joined: 4 Jan 05
Posts: 1118
Credit: 1055935564
RAC: 0

PorkyPies wrote:The best

PorkyPies wrote:
The best solution would be if the project built an aarch64 version of the BRP4 1.47 app but it’s not likely to be high on their list of things to do.

In the opening post in the first link I posted N30DG said: "If running a other Cortex-A53-device that has 64bit(AARCH64)-support you should consider using this Version for best performace."

The link points to the second link I posted.

Will this app run on the Pi4 Gentleman74 is running?

Looking at the task list of the Pi4 something has changed and the device is now returning validating tasks, so looking good.

PorkyPies
PorkyPies
Joined: 27 Apr 16
Posts: 199
Credit: 33740629
RAC: 522

Holmis wrote:In the opening

Holmis wrote:

In the opening post in the first link I posted N30DG said: "If running a other Cortex-A53-device that has 64bit(AARCH64)-support you should consider using this Version for best performace."

The link points to the second link I posted.

Will this app run on the Pi4 Gentleman74 is running?


I believe it needs fma instruction set, but we’re not sure if the Pi4 has that. If it has the instruction set then yes it should work.

It would be better still if the project could supply a compatible app, even if it’s considered as a beta app. We’ll see if we can get the project to adopt it Smile

N30dG-ARM
N30dG-ARM
Joined: 20 Oct 17
Posts: 23
Credit: 22094059
RAC: 0

Just to clarify some

Just to clarify some Things:

What I've wrote about the FMA has nothing to do with a app will run or not. It was targeting on a increased invalid-rate when you build your own Aarch64-BRP-App. But yes, my optimized app need's FMA-instructions, but all ARMv8-CPU's have that feature.

Read more about this here: https://einsteinathome.org/goto/comment/174281

 

And yes my Version, orginal made for the Odroid-c2 should in theory work on the PI4 with a 64bit-OS. It is build with the Cortex-A53 in mind, but that souldn't hurt performance on a A72. I've tested it on A72-Cores of a RK3399 and it worked just fine. But I havn't tested it on a PI4 yet, I probably should... but can't find my PI4... If I only could remeber where I put it. It was just waiting for a 64bit-OS to arrive.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.