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

查看:97
本文介绍了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 代表arm hard float",是给 一个 debian 端口,用于具有硬件浮点支持的 arm 处理器 (armv7+).

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 black为例:

On the beaglebone black, for example:

:~$ dpkg --print-architecture
armhf

虽然其他命令(例如uname -aarch)只会显示armv7l

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

:~$ 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
...

Features 下列出的 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天全站免登陆