demo1984s 的个人博客 demo1984s 的个人博客

记录精彩的程序人生

目录
香蕉派BPI-M3 单板计算机
/      

香蕉派BPI-M3 单板计算机

BPI-M3

香蕉派BPI-M3 单板计算机采用全志A83T 8核芯片方案设计

  • 全志A83T Octa-core 1.8GHz Powerful CPU.
  • 2 GB LPDDR3 内存.
  • 8 GB eMMC 存储.
  • SATA 硬盘接口
  • HDMI 高清视频输出
  • IR 红外遥控
  • 板载WiFi & Bluetooth 蓝牙
  • MIPI DSI 显示屏接口
  • CSI camera 摄像头接口

BPIM3hadwarespecweb.jpg

Banana Pi BPI-M3 硬件规格
CPUAllwinner A83T ARM Cortex-A7 Octa-Core 1.8 GHz, 512KB L1 cache and 1MB L2 cache
GPUPowerVR SGX544MP1 Comply with OpenGL ES 2.0 OpenCL 1x, DX9_3
Memory2 GB LPDDR3 (shared with GPU)
StorageOn Board 8GB eMMC Flash, Micro SD-Card slot, SATA 2.0 Port (USB-to-SATA bridge)
Network10/100/1000 Mbit/s Ethernet (Realtek RTL8211E/D) + Wi-Fi 802.11 b/g/n (AP6212) + Bluetooth BT4.0
Video Input(s)A CSI input connector allows for the connection of a designed camera module
Video Output(s)HDMI 1.4 (Type A Full), MIPI Display Serial Interface (DSI) for raw LCD Panel
Audio Input(s)On board microphone
Audio Output(s)3.5mm jack and HDMI
USB portsUSB 2.0 PORT (x2), USB OTG (x1)
RemoteIR Receiver (x1)
GPIO40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). Some of I/O Pin can be used for specific functions as UART, I2C, SPI or PWM
SwitchesReset, Power and U-boot
LEDPower Status and 8P8C
Power Source5 volt @2A via DC Power and/or Micro USB (OTG)
Size & Weight92x60mm, 48g
OSAndroid and Linux

系统镜像

2018-07-18-debian-9-stretch-mate-desktop-preview-bpi-m3-sd-emmc.img.zip

WiFi连接

WiFi显示被禁用,打开 Root Terminal

一、检查WiFi状态和解除禁用
检查WiFi是否被软禁用:
rfkill list
显示Soft blocked: yes,需要解除禁用:
sudo rfkill unblock wifi
启用WiFi射频:
sudo nmcli radio wifi on
二、使用命令行连接WiFi
扫描可用网络:
sudo nmcli dev wifi list
连接到指定WiFi(替换为您的SSID和密码):
sudo nmcli dev wifi connect "您的WiFi名称" password "您的WiFi密码"

更新 apt 源

替换成 Freexian 源

https://mirror.tuna.tsinghua.edu.cn/help/debian-elts/

安装 Freexian 的 APT 源密钥:

wget https://deb.freexian.com/extended-lts/archive-key.gpg -O /tmp/elts-archive-key.gpg
mv /tmp/elts-archive-key.gpg /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg

替换sources.list内容:

# Freexian 源
deb https://mirrors.tuna.tsinghua.edu.cn/debian-elts jessie main contrib non-free

配置中文环境

配置 locale

# 配置语言环境
sudo dpkg-reconfigure locales
# 在配置界面用空格键选择 zh_CN.UTF-8 UTF-8 和 en_US.UTF-8 UTF-8,按回车键
# 选择默认语言环境 zh_CN.UTF-8,按回车键

# 检查
locale -a | grep zh_CN
zh_CN
zh_CN.gb18030
zh_CN.gbk
zh_CN.utf8

安装中文字体包

# 安装文泉驿系列字体
sudo apt install fonts-wqy-zenhei fonts-wqy-microhei xfonts-wqy

配置系统环境变量

# 编辑 /etc/environment 文件
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_ALL="zh_CN.UTF-8"

# 编辑 /etc/default/locale 文件
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"

# 重启系统
sudo reboot
# 重启后会发现界面已经是中文了