petalinux高版本设置自动登录和开机自启动配置
- 游戏开发
- 2025-08-27 19:30:01

petalinux-config -c rootfs 依次选择ImageFeatures -> serial-autologin-root
这是配置
进来就是root权限
创建并安装名为 myapp-init 的新建应用程序 petalinux-create -t apps --template install -n myapp-init --enable
编辑 project-spec/meta-user/recipes-apps/myapp-init/myapp-init.bb文件 删除.bb文件中原有的内容,把以下内容写入.bb文件中:修改后
#this file is the myapp-init recipe. # SUMMARYpetalinux高版本设置自动登录和开机自启动配置由讯客互联游戏开发栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“petalinux高版本设置自动登录和开机自启动配置”