Install gpiod
sudo apt update sudo apt install gpiodSix command-line tools are available:
* gpiodetect - list all gpiochips present on the system, their names, labels and number of GPIO lines * gpioinfo - list all lines of specified gpiochips, their names, consumers, direction, active state and additional flags * gpioget - read values of specified GPIO lines * gpioset - set values of specified GPIO lines, potentially keep the lines exported and wait until timeout, user input or signal * gpiofind - find the gpiochip name and line offset given the line name * gpiomon - wait for events on GPIO lines, specify which events to watch, how many events to process before exiting or if the events should be reported to the console
sudo apt-get update sudo apt-get install nvidia-jetpack
CUDA:
终端命令行执行:nvcc -V,
如果提示:bash: nvcc: command not found
则先导入环境变量:
$ export PATH=/usr/local/cuda-11/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11/lib64:$LD_LIBRARY_PATH
再执行nvcc -V即可。
cudnn:
终端命令行执行:
$ dpkg --list | grep cudnn
opencv:
终端命令行执行:
$ dpkg --list | grep libopencv
tensorRT:
终端命令行执行:
$ pip list | grep tensorrt
network: version: 2 renderer: NetworkManager ethernets: eth0: # 有线网卡的名字 mtu: 9000 #设置的mtu值,如果加上此项过后,需重启系统才会生效。 addresses: [11.22.33.44/24] # 填IP地址,后面有一个/24 dhcp4: no # IPv4关闭自动获取IP dhcp6: no # IPv6关闭自动获取IP gateway4: 11.22.33.2 # 设置网关,注意网关前3位跟IP地址前3位肯定是一致的。 nameservers: addresses: [22.33.44.1,22.33.44.2] # 设置DNS解析主、备的服务器IP地址,如果有多个中间用逗号隔开,但不要有空格
此BSP补丁仅适用于品立自研系列产品,详细操作方法请见README文档,
echo 255 > /sys/kernel/debug/tegra_fan/target_pwm (L4T老版本)
或者
echo 255 >/sys/devices/pwm-fan/target_pwm
或者
sudo systemctl stop nvfancontrol.service
echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1 (Jetpack5.*)
运行如下命令:
head -n1 /etc/nv_tegra_release