arm64和armhf有什么区别? [英] What is difference between arm64 and armhf?

查看:2382
本文介绍了arm64和armhf有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Raspberry Pi Type 3具有64位CPU,但其体系结构不是arm64而是armhf. arm64armhf有什么区别?

Raspberry Pi Type 3 has 64-bit CPU, but its architecture is not arm64 but armhf. What is the difference between arm64 and armhf?

推荐答案

armhf代表手臂硬浮点",是给

armhf stands for "arm hard float", and is the name given to a debian port for arm processors (armv7+) that have hardware floating point support.

例如在beaglebone黑色上:

On the beaglebone black, for example:

:~$ dpkg --print-architecture
armhf

尽管其他命令(例如uname -a或'arch')只会显示armv71

Although other commands (such as uname -a or 'arch') will just show armv71

:~$ cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 995.32
Features        : half thumb fastmult vfp edsp thumbee neon vfpv3 tls
...

功能"中列出的vfpv3是指浮点支持.

顺便说一句,armhf(如果您的处理器支持它)基本上取代了Raspbian,如果我正确理解的话,它是主要是重新构建armhf,以解决原始树莓派上缺乏浮点支持的问题.当然,如今,围绕Raspbian建立了一个完整的生态系统,因此他们可能不会放弃它.但是,这就是为什么beaglebone直接运行debian的部分原因,即使您已经习惯了Raspbian,也没关系,除非您想要一些特殊的包含在内的非自由软件,例如Mathematica.

Incidentally, armhf, if your processor supports it, basically supersedes Raspbian, which if I understand correctly was mainly a rebuild of armhf with work arounds to deal with the lack of floating point support on the original raspberry pi's. Nowdays, of course, there's a whole ecosystem build up around Raspbian, so they're probably not going to abandon it. However, this is partly why the beaglebone runs straight debian, and that's ok even if you're used to Raspbian, unless you want some of the special included non-free software such as Mathematica.

这篇关于arm64和armhf有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆