首页 > 编程语言 >Raspberry PI 设置开机自启动脚本 All In One

Raspberry PI 设置开机自启动脚本 All In One

时间:2023-04-16 12:23:09浏览次数:47  
标签:www PI com Raspberry https 自启动 txt config

Raspberry PI 设置开机自启动脚本 All In One

docs

  1. raspi-config
$ sudo raspi-config

https://www.raspberrypi.com/documentation/computers/configuration.html#raspi-config

  1. config.txt
$ cat /boot/config.txt
$ sudo nano /boot/config.txt
$ sudo vim /boot/config.txt

https://www.raspberrypi.com/documentation/computers/config_txt.html

BIOS

https://en.wikipedia.org/wiki/BIOS

example file:

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1
include extraconfig.txt

autoboot.txt

[all]
tryboot_a_b=1
boot_partition=2
[tryboot]
boot_partition=3
[all]
tryboot_a_b=1
boot_partition=3
[tryboot]
boot_partition=2

Display

hdmi_enable_4kp60
# Raspberry Pi 4 Only

By default, when connected to a 4K monitor, the Raspberry Pi 4B, 400 and CM4 will select a 30Hz refresh rate. Use this option to allow selection of 60Hz refresh rates.

IMPORTANT
It is not possible to output 4Kp60 on both micro HDMI ports simultaneously.
WARNING
Setting hdmi_enable_4kp60 will increase power consumption and the temperature of your Raspberry Pi.

https://www.raspberrypi.com/documentation/computers/config_txt.html#common-display-options

demos

  1. 让 Raspberry PI 说出自己的 IP 地址

无显示器 SSH 远程访问 树莓派

# SSH
$ ssh [email protected]

$ ssh [email protected]

(

标签:www,PI,com,Raspberry,https,自启动,txt,config
From: https://www.cnblogs.com/xgqfrms/p/17323041.html

相关文章

  • Android Studio调用高德地图api
    一.搜索高德开放平台,进行注册并登录,进入到自己的控制台,打开应用管理下的我的应用,点击创建新应用。1.关于获取发布版安全码SHA1的过程如下:    打开AndroidStudio下方的Terminal,并自行找到.android在电脑中的位置,找到了之后,按照下图所示:   之后执行keytool-lis......
  • Nios II之PIO中断
    PIO中断应用Quartus软件中集成了Qsys工具,用于搭建SOPC系统,其前身是SOPCBuilder。在Qsys中有一个PIO核的组件,PIO在SOPC系统中用的非常多,LCD、按键、LED、数据采集等等都可以使用PIO组件。PIO可以在Qsys中设置外部中断。如图所示,设置5位按键,勾选边缘捕获,边沿类型为下降沿,中断类型......
  • windows pip问题解决(working)
    当pip无法起效时,尝试python-mpippython-mpip会使用您指定为python的Python解释器来执行pip。因此,/usr/bin/python3.7-mpip表示您正在执行位于/usr/bin/python3.7的解释器的pip。如果您不熟悉这个标志以及它是如何工作的,您可以阅读有关-m的文档......
  • Java Stream API 操作完全攻略:让你的代码更加出色 (四)
    前言  JavaStream是一种强大的数据处理工具,可以帮助开发人员快速高效地处理和转换数据流。使用Stream操作可以大大简化代码,使其更具可读性和可维护性,从而提高开发效率。本文将为您介绍JavaStream操作的所有方面,包括range、range、iterate、generate等操作,让你的代码行......
  • eclpise断点调试Java代码
    Eclipse支持对Java代码进行Debug也就是在执行代码时暂停执行并可以观察相关的信息,比如栈中的变量,堆中的变量,执行的代码,方法调用栈等,这个暂停的位置就是断点一个简单的工程如果需要观察getMax方法的执行,可以在代码编辑器左边缘双击,增加断点,或者右键ToggleBre......
  • 国内git/pip加速镜像
    一、下载加速1.  gitclone https://ghproxy.com/https://github.com/stilleshan/ServerStatus2. 在原来链接的com后面添加 .cnpmjs.org/ 二、pip换源2.1国内源地址阿里云http://mirrors.aliyun.com/pypi/simple/中国科技大学https://pypi.mirrors.ustc.edu.cn/simp......
  • pip 一行命令永久设置全局默认pip源为国内镜像源
    临时使用pipinstall包名-ihttps://pypi.tuna.tsinghua.edu.cn/simplesome-package 升级pippython-mpipinstall--upgradepip 永久设置全局默认pip源为国内镜像源pipconfigsetglobal.index-urlhttps://pypi.tuna.tsinghua.edu.cn/simple ......
  • Kubernetes API相关知识
    Kubernetes集群中,所有组件需要操作集群资源时都通过调用kube-apiserver提供的RESTful接口来实现。kube-apiserver进一步和etcd交互,完成资源信息的更新。Kubernetes中的资源本质上是一个API对象,这个对象的期望状态被APIServer保存在etcd中,然后提供RESTful接口用于更新这些对象。......
  • API接口的要素以及API的作用说明
    对于很多刚接触的产品小白而言,API接口它是一个产品和研发领域的专业术语,大家可能在一些文章中都已经有接触过API接口的概念。实际上,API接口的应用现如今已经非常广泛和成熟,这个概念主要活跃在公司内部的各系统之间的衔接和对接以及公司间合作的场景。接下来我会从三个方面说明,相信......
  • 给deepin-terminal提交的pr
    hello,[email protected]以下是给deepin-teminal提交的pr:终端增加透明与非透明切换快捷键[https://github.com/linuxdeepin/deepin-terminal/pull/268]因需求面问题,未通过终端增加加粗下划线光标设置选项[https://github.com/linuxdeepin/deepin-termina......