[SOLVED] Development on Raspberry Pi 4

Hi @sgold , i have made some search & found out that , there are architecture profiles for each arm processor architecture , so if we have Cortex-A72 model then its armv8-A or armv7l RaspiBian system 32-bit which is a 64bit hardware that supports 32-bit systems for performance purposes w/ encoding AArch64/A64 using 32-bit instructions :

Rpi4b datasheet on Rpi org said :

Broadcom BCM2711, quad-core Cortex-A72 (ARM v8)
64-bit SoC @ 1.5GHz

On my Rpi4b : armv7l or Cortex-A72 w/ 32bit behavior

uname -a gives : Linux raspberrypi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux

Armv8-A profile Cortex Architecture for mobile & IoT devices such as RPI & android :

More info on arm-profiles arches :

And about armhf the hard floating , armv8-A basically uses armhf debian binaries port as stated here :

pi@raspberrypi:~ $ dpkg --print-architecture
armhf
pi@raspberrypi:~ $ cat /proc/cpuinfo 
processor	: 0
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 1
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 2
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 3
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

Hardware	: BCM2711
Revision	: b03111
Serial		: 10000000a459511c
Model		: Raspberry Pi 4 Model B Rev 1.1

and to be sure of that i have searched through raspibian binaries in /usr/lib/ :

arm-linux-gnueabihf gnu is the gnu public support of linux UIs & builds , eabi is for compilation on bare-metal arm cores , hf is the hard floating point support …

EDIT : this folder contains the jni folder which has the .so binaries for java .

So, now we are sure about what we are dealing w/ : basically : Cortex-A72(Hardware metal device) =armv7l(Software interface through Raspibian) = armv8-A(Hardware Product model name)=armhf(binaries for the system) which uses 32-bit instructions set & armel isnot an arm architecture as i understood from those topics , its only a software compilation of the compiler , i am not sure about armel.

what’s inside the arm-gnueabihf/jni folder :

Please , if anyone have any thing that could help about armel please explain !

EDIT2: the raspibian image of Debian Buster
imagerpi

Thank you

1 Like