“模板:RPILCD-FAQ”的版本间的差异
来自丢石头百科
小 (文本替换 - 替换“http://www.waveshare.net/w/upload”为“http://{{SERVERNAME}}/w/upload”) |
小 (文本替换 - 替换“<source”为“<syntaxhighlight”) |
||
第3行: | 第3行: | ||
先确保自定义镜像可正常进入桌面,运行命令 | 先确保自定义镜像可正常进入桌面,运行命令 | ||
− | < | + | <syntaxhighlight lang="c">sudo raspi-config</source> |
确定已选择:Enable Boot to Desktop/Scratch -> Desktop Log in as user ‘pi’ at the graphical desktop | 确定已选择:Enable Boot to Desktop/Scratch -> Desktop Log in as user ‘pi’ at the graphical desktop | ||
第9行: | 第9行: | ||
下载[http://{{SERVERNAME}}/w/upload/7/79/LCD-show-160715.tar.gz 树莓派LCD驱动],解压,将LCD-show.tar.gz通过网络或U盘,复制到自定义的镜像中,运行命令 | 下载[http://{{SERVERNAME}}/w/upload/7/79/LCD-show-160715.tar.gz 树莓派LCD驱动],解压,将LCD-show.tar.gz通过网络或U盘,复制到自定义的镜像中,运行命令 | ||
− | < | + | <syntaxhighlight lang="c"> |
tar xvf LCD-show.tar.gz | tar xvf LCD-show.tar.gz | ||
第39行: | 第39行: | ||
如果想切换为HDMI显示,只需运行命令: | 如果想切换为HDMI显示,只需运行命令: | ||
− | < | + | <syntaxhighlight lang="c">sudo ./LCD-hdmi</source> |
|||}} | |||}} | ||
{{FAQ|更新镜像之后无法使用?| | {{FAQ|更新镜像之后无法使用?| | ||
更新需按照以下方式进行,否则可能导致镜像无法运行: | 更新需按照以下方式进行,否则可能导致镜像无法运行: | ||
− | < | + | <syntaxhighlight lang="c"> |
sudo apt-mark hold raspberrypi-bootloader | sudo apt-mark hold raspberrypi-bootloader | ||
2019年11月14日 (四) 16:21的版本
|
|
|
|
|
|
|
|