• Rust Development
    • Using Cross to Cross-comp...
  • Compile a C program for the board using SDK
    • Create a BSP using phyLinux
      • Add a Given Recipe to BSP
        • Add LVGL Demo into BSP
          • AM64x: Boot-selection
            • Copy SD Card Image to an SD Card
              • Copy Software to the Board via SSH and SCP
                • Getting and Running the PHYTEC VM
                  • Install FTDI Driver on Windows
                    • Set Static IP Address in Ubuntu 20.04 LTS
                      • Setup a Second Network Interface in the Virtual Machine
                        • Setup qbee Device Management on phyBOARD-Polis
                          • Using phyLinux to build a yocto BSP with a build-container
                            • Using thingsboard.io to connect phyBOARD-Polis to the Cloud

                              Copy Software to the Board via SSH and SCP

                              Goal

                              • Copy files via SCP to the board
                              • Connect a board via TCP/IP with the host and connect to the board via SSH

                              Preconditions

                              1. The virtual machine is correctly installed on the host, see: Getting and Running the PHYTEC VM
                              2. The board is correctly connected with the host system via a network cable (here you need to check the Quick Start Guide that came with the kit)
                              3. The host system is configured so that the network connection is set to a fixed IP address (192.168.3.10), see: Set Static IP Address in Ubuntu 20.04 LTS

                              Find the board in the virtual machine

                              1. Open a terminal
                              2. Open an SSH connection

                                Connect to board via ssh
                                ssh root@192.168.3.11
                                # the given warning can be ignored and you can store the key
                                # the login password is root

                                If there is no error and you can see a prompt from the board, everything is correct.

                              3. Log out from the board:

                                logout
                                board-prompt# exit

                              Copy a Binary from the Host System to the Board

                              Copy files from host to board
                              HOST$ cd <folder/whereThe files/stored>
                              HOST$ scp <file-to-copy> root@192.168.3.11:/home/root/
                              # you have to enter the password "root" 
                              # the file will be copied

                              You can find the file on the board when there is no error.

                              Login to the board:

                              Check if file is copied
                              HOST$ ssh root@192.168.3.11
                              # Enter passwort: root
                              Board-prompt$ ls
                              # The result of the command should containt the file, if not there is an error
                              Board-prompt$ chmod +x <filename>
                              Board-prompt$ ./<filename>