系统烧写
Ubuntu for Raspberry Pi
old releases of Ubuntu MATE
Mate 版本
18.04未知
20.04Mate desktop
工具
- 格式化SD卡:SD Card Formatter
- 烧写系统:Win32 Disk Imager
或者
Rasp official Ubuntu installation
这里我装的是20.04的arm64 server
上电前先改SD卡system boot 中的 network-config
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"XXL":
password: "********"
初次上电启动后,输入ubuntu作为用户和密码,等待初始化完成重设密码,再
sudo reboot
WiFi配置可能会有各种问题,建议直接插网线
sudo apt update && sudo apt upgrade
桌面区别,这里我选xubuntu
sudo apt install xubuntu-desktop
sudo reboot
图形化界面选择 What is LightDM?GDM?
sudo dpkg-reconfigure gdm3
sudo dpkg-reconfigure lightdm
管理员设置
sudo passwd root
su root
至此初始配置完毕
IO口资源
//GPIO
sudo apt install python3-gpiozero
pinout
//OR
sudo apt install wiringpi
gpio readall
wiringpi error
开启交换空间SWAP
..
sudo apt-get install dphys-swapfile
sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile //按CTRL + X,然后按Y,再按ENTER键保存文件
sudo /etc/init.d/dphys-swapfile restart
//或
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
free -m
VPN setting
//查看CPU架构
uname -a
ROS安装
只有华为源有 binary-arm64/Packages
sudo wget -O /etc/apt/sources.list https://repo.huaweicloud.com/repository/conf/Ubuntu-Ports-bionic.list
sudo apt update
但是还是不行,吐了
各种尝试未果,无法在树莓派20.04 server上安装ROS Noetic
等树莓派22.04发行试试能不能装ROS2
Intel Realsense 不支持ARM64架构
垃圾树莓派毁我青春
拿来当玩具吧