根据《ArchLinux 安装指导》安装ArchLinux Arm。
编辑/etc/pacman.d/mirrorlist,先注释掉里面的所有行,然后在文件的最顶端添加
Server = https://mirrors.ustc.edu.cn/archlinuxarm/$arch/$repo
安装X.org驱动
sudo pacman -S xorg xorg-xinit xorg-server xorg-server-utils xterm
sudo pacman -S xf86-video-fbdev
#或
sudo pacman -S xf86-video-fbturbo-git
安装node-webkit缺少的库
sudo pacman -S gtk2 nss libudev0-shim
校准微雪3.2inch RPi LCD(B)屏幕
点准星4次校准
export DISPLAY=:0
sudo pacman -S xinput_calibrator
xinput_calibrator
把校准的数据填到/etc/X11/xorg.conf.d/99-calibration.conf。
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "208 3905 288 3910"
Optin "SwapAxes" "0"
EndSection
试过几次校准,始终无法校准,因为我要用这款LCD显示屏,我就用回官方提供的Raspbian固件了。 《官方屏幕安装指南》http://www.waveshare.net/wiki/3.2inch_RPi_LCD_(B)
安装ArchLinux后的一些设置
Raspberry_install_archlinux_setting
可能会碰到的问题
Filesystem in Read-only mode (Raspberry Pi)
In cmdline.txt, add rw just before rootwait
解决方案来自https://archlinuxarm.org/forum/viewtopic.php?f=31&t=8321