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

记录精彩的程序人生

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

香蕉派 BPI-M1 单板计算机

BPI-M1

香蕉派 BPI-M1 单板计算机采用全志A20芯片方案

  • 全志A20 双核 1.0GHz CPU(A40i芯片可选)
  • Mali-400 MP2 with Open GL ES 2.0/1.1.
  • 1 GB DDR3 内存
  • 1x SATA 硬盘接口.
  • 1x 千兆网口
  • 1x USB otg 和 2x USB 2.0接口
  • 1X MIC
  • AV 视频端品输出
  • HDMI 高清输出口
  • IR遥控器
  • CSI 摄像头接口
  • DSI 屏接口
  • 26 PIN gpio

系统镜像

SkiffOS

Ubuntu编译,安装必须的包:

sudo apt-get install -y \
  bash \
  bc \
  binutils \
  build-essential \
  bzip2 \
  cpio \
  diffutils \
  file \
  findutils \
  git \
  gzip \
  libarchive-tools \
  libncurses-dev \
  make \
  patch \
  perl \
  rsync \
  sed \
  tar \
  unzip \
  wget

下载源码:

> git clone https://github.com/skiffos/skiffos
> cd skiffos
> make
make[1]: Entering directory '/home/ubuntu/Data/github.com/skiffos/skiffos/build'

╔═╗┬┌─┬┌─┐┌─┐
╚═╗├┴┐│├┤ ├┤
╚═╝┴ ┴┴└  └
 Embedded OS

Welcome to SkiffOS 2026.01-56-g2f402b15!

 ✓ SKIFF_WORKSPACE is: default
✖ Set SKIFF_CONFIG, for example: odroid/xu4,apps/docker

Configurations
Set SKIFF_CONFIG to one or more of the following (comma separated):
...
bananapi/m1: Configuration for the BananaPi M1.
...

export SKIFF_WORKSPACE=default
export SKIFF_CONFIG=bananapi/m1,skiff/core
make configure
make compile

BPI-M1 debian 10 image:

2019-09-18-debian-10-buster-mate-desktop-grub-preview-bpi-m1-sd-emmc.img

WiFi连接

网络图标没有WiFi选项,lsusb识别到RTL8188EUS 802.11n Wireless Network Adapter

固件也存在:

> ls /lib/firmware/rtlwifi/rtl81*

rtl8188eufw.bin

记载驱动模块报错:

> sudo modprobe rtl8188eu
modprobe: FATAL: Module rtl8188eu not found in directory /lib/modules/5.1.1-BPI-Kernel

问题很可能出在内核模块本身没有被正确安装,需要编译并安装独立驱动。

先用有线网络ssh登录,更新 apt 源,然后解决WiFi网卡内核模块的问题。

更新 apt 源

替换成 archive 源

Debian10(buster)已经停止支持,对应发行版的软件源会被从 Debian 主源中删除,移动到 archive.debian.org,需要替换 /etc/apt/sources.list 的内容。

# archive 源
deb http://archive.debian.org/debian buster main contrib non-free
# deb-src http://archive.debian.org/debian buster main contrib non-free

deb http://archive.debian.org/debian buster-updates main contrib non-free
# deb-src http://archive.debian.org/debian buster-updates main contrib non-free

deb http://archive.debian.org/debian-security buster/updates main contrib non-free
# deb-src http://archive.debian.org/debian-security buster/updates main contrib non-free

替换成 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