🛠 PINE A64 ou PINE A64+ ? Le pièg du réseau gigabit dès le premier regard

Pine64 PINE A64 / PINE A64+ (Allwinner A64) · debutant · Schéma : IMG-pine64-debutant-2-distinguer-a64-a64plus.svg — deux PINE A64 cote a cote, la version de base avec son PHY Ethernet RTL8201 annote 10/100 et la version A64+ avec son PHY RTL8211 annote gigabit, fleches vers le connecteur RJ45, pastilles RAM 512Mo/1Go/2Go representees, terminal affichant ethtool Speed

Objectives

Before any networking project with the PINE A64, here is a trick question: do you have a “base” PINE A64 or a PINE A64+? The difference is invisible at first glance and changes everything: the base version is limited to 10/100 Mbps (Realtek RTL8201 PHY, RMII link), while only the PINE A64+ is gigabit (Realtek RTL8211 PHY, RGMII link). Kickstarter backers discovered the difference by measuring ~11 MB/s. You will identify your board via software, without disassembling it, and understand why the Ethernet port is not a USB adapter.

Hardware

Complete code

# 1) Identité de la carte selon le device tree mainline :
cat /proc/device-tree/compatible
#   « pine64,pine64\0allwinner,sun50i-a64 »       -> PINE A64 de base (10/100)
#   « pine64,pine64-plus\0allwinner,sun50i-a64 »  -> PINE A64+ (gigabit)

# 2) RAM embarquée (512 MB, 1 GB ou 2 GB selon le modèle) :
free -h

# 3) Vitesse réelle du lien Ethernet négociée :
sudo ethtool eth0 | grep -E 'Speed|Link'
#   Speed: 100baseT/Full  -> PHY RTL8201 (RMII), carte de base
#   Speed: 1000baseT/Full -> PHY RTL8211 (RGMII), PINE A64+

# 4) Prouver que l'Ethernet est l'EMAC interne du A64, pas un NIC USB :
ls -l /sys/class/net/eth0/device
#   -> .../1c30000.ethernet  (le contrôleur EMAC intégré au SoC)

Expected verification

The compatible string distinguishes them unambiguously: mainline officially distinguishes the two boards (pine64,pine64 vs pine64,pine64-plus, separate device tree files in the kernel tree). ethtool confirms the negotiated speed: 100 Mbit/s maximum on the base, 1000 on the +. And the sysfs link to 1c30000.ethernet proves that both variants use the A64's internal EMAC — contrary to a persistent myth, there is no gigabit “via USB2” on this board, as the schematics and DTS show nowhere.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials