12-27-2019, 03:52 PM
Perhaps @TomWoBs' point was that he has an armv8-a CPU but the architecture reported is arm7l.
Tom, system info is returning the architecture of the instruction set supported by the kernel, not the architecture of the CPU.
Yes the CPU for the RPi2B is armv8-a, but that just means it can support the AArch64 (64-bit) instruction set [1] as well as the AArch32 (32-bit) instruction set supported by armv7l CPUs.
Since in your example you are running the 32-bit kernel, only the 32-bit armv7l instruction set portion of the CPU is available. Hence uname and other functions report armv7l.
ARM architecture is a complicated subject and IMHO the nomenclature is murky (https://en.wikipedia.org/wiki/ARM_architecture).
Regards,
Kent
[1] Caveat: I'm speaking Raspberry Pis and their CPUs. There are also 32-bit-only armv8-a chips such as the Cortex-32.
Tom, system info is returning the architecture of the instruction set supported by the kernel, not the architecture of the CPU.
Yes the CPU for the RPi2B is armv8-a, but that just means it can support the AArch64 (64-bit) instruction set [1] as well as the AArch32 (32-bit) instruction set supported by armv7l CPUs.
Since in your example you are running the 32-bit kernel, only the 32-bit armv7l instruction set portion of the CPU is available. Hence uname and other functions report armv7l.
ARM architecture is a complicated subject and IMHO the nomenclature is murky (https://en.wikipedia.org/wiki/ARM_architecture).
Regards,
Kent
[1] Caveat: I'm speaking Raspberry Pis and their CPUs. There are also 32-bit-only armv8-a chips such as the Cortex-32.