Closed jedichen121 closed 5 years ago
Sorry I missed this issue. Can you confirm if this is still a problem?
Hi, I just tried it again with the latest px4 code. The issue is still there. Same old error. Maybe this some tools used does not support arm v7?
Yes these containers are built with desktop use in mind. If you're interested we could try adding an arm version as well. I don't know how involved this will be.
I would start with px4-dev-base (https://github.com/PX4/containers/blob/master/docker/px4-dev/Dockerfile_base) and try to build it directly on your raspberrypi.
Here's Ubuntu armhf - https://hub.docker.com/r/armhf/ubuntu/
I tried to run the px4 autopilot in a container on raspberry pi 3. However, every time I tried to build it shows
standard_init_linux.go:195: exec user process caused "exec format error"
I installed docker on raspbian using the convenience script. I then followed steps described in this page. https://dev.px4.io/en/test_and_ci/docker.htmlI've tried different make command, such as
make posix_rpi_native
,make posix_sitl_default
, andmake posix_sitl_default gazebo
, but all gave the same results.I thought it might be caused by the OS I'm running. So I've used raspbian stretch lite download from raspberrypi.com, two versions of Emlid image (stretch and jessie) from emlid website. But none of these works.
Below are some information that might help debug.
The output of the command is:
Running
docker images
it shows the correct container has been downloaded:Output of
docker version
:Output of
docker info
: