一,zynq petalinux配置开机自启动
1,环境变量和导入.hdf硬件:版本:vivado2017.4,linux-xlnx-xilinx-v2017.4
source /opt/Xilinx/Vivado/2017.4/settings64.sh
source /opt/pkg/petalinux/settings.sh
petalinux-create --type project --template zynq --name test_autostart
petalinux-config --get-hw-description ../linux_base.sdk
cd /test_autostart
2,建立shell脚本文件的app工程:petalinux-create -t apps --template install -n startup --enable
进入test_autostart/project-spec/meta-user/recipes-apps/startup中修改startup.bb文件
#
# This file is the startup recipe.
#
SUMMARY = "Simple startup application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DI
本文详细介绍了如何在ZYNQ Petalinux环境中配置开机自启动程序,包括通过shell脚本和C语言应用程序实现。同时,还讲解了当监控程序崩溃时如何设置自动恢复,并对比了在ARM平台如AM335X、IMX6ULL、RK3566等设备上的开机自启动方法。涉及到的文件路径和脚本配置进行了说明。
订阅专栏 解锁全文
417





