careyjames
Posts: 16
Joined: Mon Nov 16, 2015 10:40 pm
Contact: Website

Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:07 pm

why does my Raspberry pi 4 shows armv7l at lscpu command?

Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

uname -a
Linux kalipi-cj 4.19.55-Re4son-v7l+ #1 SMP Sun Jun 30 15:39:30 AEST 2019 armv7l GNU/Linux

shouldn't it say v8 and 64bit somewhere?

root@kalipi-cj:~# 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 : BCM2835
Revision : c03111
Serial : 10000000994a9b6c

also the chip number miss matches too the rpi4 should be:
Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
betta fsck yourself before you wreck yo self.

trejan
Posts: 397
Joined: Tue Jul 02, 2019 2:28 pm

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:18 pm

This is normal.

Raspbian is 32 bit and the ARM cores are running 32 bit mode (AArch32) which shows up as armv7.

In the FAQ:
Why does cpuinfo report I have a BCM2835?

The upstream Linux kernel developers had decided that all models of Raspberry Pi return bcm2835 as the SoC name. At Raspberry Pi we like to use as much upstream kernel code as possible, as it makes software maintenance much easier, so we use this code. Unfortunately it means that cat /proc/cpuinfo is inaccurate for the Raspberry Pi 2, Raspberry Pi 3 and Raspberry Pi 4, which use the bcm2836/bcm2837, bcm2837 and bcm2711 respectively. You can use cat /proc/device-tree/model to get an accurate description of the SoC on your Pi model.

User avatar
DougieLawson
Posts: 35540
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:19 pm

It's a quirk of the way the Linux Kernel (upstream) decided to set things up for ARM processors. The RPF/RP(T) folks could fix it, but they have better, harder, more important, more useful things to spend their time on than wasting it on a cosmetic change.

If you need to know the processor model use cat /sys/firmware/devicetree/base/model;echo
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

careyjames
Posts: 16
Joined: Mon Nov 16, 2015 10:40 pm
Contact: Website

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:19 pm

but i have 64 bit kali arm installed...then too?
betta fsck yourself before you wreck yo self.

trejan
Posts: 397
Joined: Tue Jul 02, 2019 2:28 pm

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:22 pm

careyjames wrote:
Mon Jul 15, 2019 9:19 pm
but i have 64 bit kali arm installed...then too?
You've got 32 bit Kali. There is no 64 bit version yet for RPi 4.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23075
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:22 pm

careyjames wrote:
Mon Jul 15, 2019 9:19 pm
but i have 64 bit kali arm installed...then too?
That is up to the Kali developers then.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

careyjames
Posts: 16
Joined: Mon Nov 16, 2015 10:40 pm
Contact: Website

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:26 pm

@jamesh

the 64 bit version of kali that i had on my 3b+ loaded just fine into my rpi4 everything works... :D

i just put the sd card in and bam there it was. then i ran apt update && apt -y full-upgrade, rebooted a few times and still works...??
Last edited by careyjames on Mon Jul 15, 2019 9:35 pm, edited 3 times in total.
betta fsck yourself before you wreck yo self.

careyjames
Posts: 16
Joined: Mon Nov 16, 2015 10:40 pm
Contact: Website

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:26 pm

does this mean it automatically dumbed down because it knew it needed too?
betta fsck yourself before you wreck yo self.

User avatar
DougieLawson
Posts: 35540
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:31 pm

jamesh wrote:
Mon Jul 15, 2019 9:22 pm
careyjames wrote:
Mon Jul 15, 2019 9:19 pm
but i have 64 bit kali arm installed...then too?
That is up to the Kali developers then.
I think you'll find that Kali steal all of your hard work in Raspbian Lite for the base of their operating system and then add some hacking tools.
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ejolson
Posts: 3232
Joined: Tue Mar 18, 2014 11:47 am

Re: Raspberry pi 4 shows armv7l at lscpu command?

Mon Jul 15, 2019 9:37 pm

careyjames wrote:
Mon Jul 15, 2019 9:07 pm
why does my Raspberry pi 4 shows armv7l at lscpu command?

Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
As already explained by others, everything is as expected. The Cortex-A72 processor is listed above and it is running in 32-bit ARMv7 mode. There will likely be multiple 64-bit distributions as soon as a few pesky bugs in the Linux driver stack are ironed out. Fortunately, the current performance is still more than double the previous model and for many tasks about the same as full 64-bit mode anyway.

Your guess is as good as mine when the 64-bit kernels will be good enough for a reliable third-party distribution to appear. My guess says sometime between the end of summer and Christmas.

Return to “General discussion”