This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM3352:init 脚本无法在后台运行多个应用程序。

Guru**** 2616395 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1060909/am3352-init-script-not-able-to-run-multiple-application-in-background

器件型号:AM3352

您好!

我使用的  是 AM335x ti 06.03.00.106处理器 SDK。

我创建了如下脚本。

startapp.service、网址为/lib/systemd/system

startapp.sh、网址为/etc/init.d  

我还在   /etc/systemd/system/multi-user.target.wants  目录中创建了 startApp.sh->/lib/systemd/system/startapp.service 链接。

下面是我的初始化脚本

!/bin/bash

echo "Starting Init Script">"/dev/ttyS0

#加载 WiFi 和蓝牙驱动器
CD /mnt/Application/Driver/wifi
sh insert.sh &
睡眠1

#启动应用程序
CD /mnt/Application
应用程序和

根据上述脚本、我无法在后台模式下运行任何应用程序。

 

谢谢、

前置稳压器

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Prerak、

    感谢您的查询。 systemd 是一个开源组件、我们集成到 SDK 中以帮助进行系统集成、但我们不支持它。 欢迎参考我们在 SDK 中提供的脚本作为示例。 我建议您使用开源资源来处理此问题、因为 TI 不应有任何特定的资源。