demo1984s 的个人博客

用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选项,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网卡内核模块的问题。
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
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