Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapdragon801 ERROR [Unknown] Error opening startup file, does not exist: etc/init.d/rcS #10244

Closed
ShiauweiZhao opened this issue Aug 16, 2018 · 5 comments

Comments

@ShiauweiZhao
Copy link
Contributor

ShiauweiZhao commented Aug 16, 2018

when i run

./px4 mainapp.config
INFO  [Unknown] Creating symlink mainapp.config -> /home/linaro/etc
ERROR [Unknown] Error opening startup file, does not exist: etc/init.d/rcS
-- PX4 VERSION: v1.8.0-879-g01744a9ef
-- CONFIG: posix_eagle_default
@yl5006
Copy link
Contributor

yl5006 commented Aug 16, 2018

this is PATH problem, relative path

@RomanBapst
Copy link
Contributor

Maybe related to posix shell work of @bkueng

@RomanBapst
Copy link
Contributor

#10173

@bkueng
Copy link
Member

bkueng commented Aug 16, 2018

Maybe related to posix shell work of @bkueng

Correct. You need to make sure ${PX4_SOURCE_DIR}/ROMFS is uploaded as well (here: https://github.com/PX4/Firmware/blob/master/platforms/posix/CMakeLists.txt#L49) and change the start command to something like ./px4 -s mainapp.config
@zhaoxiaowei1013 @yl5006 can you try that?
@julianoes fyi

@ShiauweiZhao
Copy link
Contributor Author

@bkueng when i use ./px4 -s mainapp.config
it works ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants