Compile and upload from virtualbox ubuntu

I tried to compile and upload the firmware from a ubuntu which is installed on virtualbox ubuntu 18.04, the virtual box is installed on windows 10.

The code I customized is tested and uploaded successfully on a native installed ubuntu.

The USB is tested to be working on the virtualbox installed ubuntu, cause if you simply run qgroundcontrol, the pixhawk shows up connected.

So now the only problem is that I cannot run this command:

make px4fmu-v5_default upload

looks like the make process completed successfully while the upload process doesn’t. Here is the output message. Please help out. Thank you very much!

[193/193] Creating /home/xu/gitlarky/BuildFirmwa…uild/nuttx_px4io-v2_default/px4io-v2_default.px4
[955/956] uploading px4
Loaded firmware for 32,0, size: 1569740 bytes, waiting for the bootloader…
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.
Attempting reboot on /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0-if00 with baudrate=57600…
If the board does not respond, unplug and re-plug the USB connector.

1 Like