Advice for RPi connection


I am trying to put PX4 onto my Raspberry Pi and connect it to QGroundControl on my host computer. I have followed the build instructions for RPi, using Ubuntu16.04 LTS. It is able to build but unable to upload via SSH. Should I follow the build instructions for Raspberry Pi 2/3 Navio2 Autopilot or am I on the right track? Appreciate all the help I can get. Thank you