- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Dear Experts,
I am currently working on the Agilex F-series Transceiver SOC Development kit with EMMC as the booting device. I need guidance on how to autoboot a custom application after Linux boot-up.
Could you please provide me with the necessary steps to achieve this? Your valuable insights and support would be highly appreciated.
Thank you in advance for your help.
Regards
Raju Satrasala
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Raju,
Before I begin my investigation, i have item below to clarify:-
1) Does autoboot mean startup application?
2) Can you share your <application.bb>
3) can you share your layers.bb?
Thank you.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @mabdrahi ,
Yes,After linux booting is completed,custom application should start executing.
Please find the attached bblayers.conf & test-app_1.0.0.bb files.
Thanks & Regards
Raju Satrasala
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi
you may try to create file test.service with content below
[Unit]
Description=raju test app run at startup
[Service]
ExecStart=/usr/bin/raps -H -f
[Install]
WantedBy=multi-user.target
---------------then change and add below in test-app_1.0.0.tbb --------------
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE_${PN} = "cpeng.service"
SRC_URI = "file://raju_apps.c"
SRC_URI += "file://test.service"
S = "${WORKDIR}"
FILES_${PN} += "${systemd_unitdir}/system/test.service"
do_install() {
install -d ${D}${bindir}
install -m 0755 raps ${D}${bindir}
install -d ${D}/${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/test.service ${D}/${systemd_unitdir}/system
}
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Good day Raju,
If the solution work at your side, I will close the case.
Thanks
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @mabdrahi ,
Thanks for the response.
For autobooting the custom application,first autlogin should work.
In our case it is not working as expected,so need to complete the
autologin then will try the steps provided by you.
Thanks & Regards
Satrasala Raju
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @mabdrahi ,
After the discussion with Intel Team,
I have find a way for autologin and autoboot and its working as expected.
Thanks for the valuable support.
Thanks & Regards
Satrasala Raju
