树莓派

树莓派安装非官方系统没有raspi-config命令的解决方法:

  1. 安装依赖
1
sudo apt install whiptail parted lua5.1 alsa-utils psmisc
  1. 从Raspberrypi官网下载最新的deb安装包
1
wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20200707_all.deb
  1. 安装Deb安装包
1
sudo dpkg -i raspi-config_20200707_all.deb
  1. 装好软件还是提示缺少依赖执行错误
1
sudo apt install -f -y
  1. 运行raspi-config,需要sudo或以上权限
1
sudo raspi-config

树莓派通过raspi-config启动摄像头时,出错:Your firmwave appears to be out of date (no start_x.elf). Please update:

  1. 查看boot分区所在的设备号,设备号可能是:/dev/mmcblk0p1
1
df -h
  1. 将该设备号挂载在/boot上
1
mount /dev/mmcblk0p1 /boot