Phytec phyCORE-AM335x Quick Start Instructions

Hide thumbs Also See for phyCORE-AM335x:
Table of Contents

Advertisement

Quick Links

®
phyCORE
-AM335x
QuickStart Instructions
Document No.:
L-779e_6
Release Nos.:
SO-498v6
PD15.2.1
Ubuntu 14.04
Edition:
April 2016
A product of a PHYTEC Technology Holding company

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the phyCORE-AM335x and is the answer not in the manual?

Questions and answers

Summary of Contents for Phytec phyCORE-AM335x

  • Page 1 ® phyCORE -AM335x QuickStart Instructions Document No.: L-779e_6 Release Nos.: SO-498v6 PD15.2.1 Ubuntu 14.04 Edition: April 2016 A product of a PHYTEC Technology Holding company...
  • Page 2 GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product. PHYTEC Messtechnik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages that might result.
  • Page 3: Table Of Contents

    Using the integrated Qt Creator Debugger ..........55 Getting Started with the BSP ................59 5.1 Add new Packages to the Root Filesystem with Yocto ...........59 5.2 Writing the Root Filesystem into the Target’s Flash ..........63 © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 4 Build the Board Support Package and Install the SDK ......70 6.1.5 Set up Eclipse and Integrate Plug-ins ........... 72 6.1.6 Install and Setup Qt Creator..............74 6.1.7 Setting up a TFTP server..............81 6.1.8 Optional Settings................82 Revision History....................83 © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 5: Conventions, Abbreviations And Acronyms

    Text in italic indicates proper names of development tools and corresponding controls (windows, tabs, commands etc.) used within the development tool, no interaction takes place. White Text on black background shows the result of any user interaction (command, program execution, etc.) © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 6 At the beginning of each chapter you can find information about the time required to read the following chapter. You have successfully completed an important part of this Application Guide. You can find information to solve problems. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 7: Introduction

    ... work with Eclipse and Qt Creator ..setup your own Linux host system. This first section gives a short introduction on the Phytec phyCORE-AM335x Kit and its QuickStart. Also, you will find general requirements and information to successfully pass the QuickStart.
  • Page 8: Overview Of These Quickstart Instructions

    [PCM-051-xxx] 1.3 Overview of these QuickStart Instructions This QuickStart gives you an overview of the phyCORE-AM335x. Its content ranges from the first startup, to building your own kernel and file system, to the point of building your own Eclipse...
  • Page 9: Eclipse

    The Yocto Project is an open source collaboration to create custom Linux-based systems for embedded products regardless of the hardware architecture. We use the Yocto Project to create the Board Support Package (BSP) for our hardware. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 10 [PCM-051-xxx] © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 11: Getting Started

    We can not guarantee to successfully support you with your own environment. To follow this QuickStart you need our phyCORE-AM335x virtual machine hard disk image. The hard disk image includes all software installations and configurations (e.g. pre-built Yocto BSP, Eclipse, Qt Creator) necessary for a successful start-up of the phyCORE-AM335x.
  • Page 12 You will see the modified Ubuntu desktop : For further use of the virtual machine the pre-created login data is: username: „phyvm“ — password: „phytec“. Now you are ready to connect your PC with the phyCORE-AM335x. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 13: Starting The Hardware

    After connecting the board to the power supply, the target starts booting and the outputs Microcom will be shown in the terminal while booting. When the target has finished loading the system, you should see a screen similar to the following: © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 14 [PCM-051-xxx] Enter Enter as the login name and press root As a good example (and helpful for understanding the next step) enter ifconfig © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 15 Getting Started You will get information about the configuration of the Ethernet interface on the phyCORE-AM335x. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 16 Ethernet adapter in our virtual machine. In the Unity-panel (left side of your desktop) click the Dash Home icon. Enter System Settings in the search field (you will see the corresponding icon showing up while typing the search string). © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 17 192.168.3.10 Finally click Save to save these connection settings and close the windows. You are now ready to test the Ethernet network connection. Click the SSH for Target icon on your desktop. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 18 , click the icon and check the settings for the physical interface to which you have connected the Ethernet cable. You have successfully set up all configurations to access your phyCORE-AM335x from your host. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 19: Working With Eclipse

    3.1.1 Work with the Demo Project Click the Eclipse icon to start the application. You can find this icon on your desktop. Change the workspace directory to /opt/prj_workspace/Eclipse if necessary and confirm with OK. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 20 [PCM-051-xxx] Now you can see the Eclipse workbench. First we will import an existing project. Select File ► Import from the menu bar. Expand General, select Existing Projects into Workspace and click Next. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 21 Working with Eclipse Select Browse. Double-click the HelloWorld directory under /opt/prj_workspace/Eclipse/. Click OK. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 22 The HelloWorld program will be compiled and the HelloWorld executable is built for the target. Then the HelloWorld file is copied to the target using secure copy. After the file has been copied to the target, the program is executed on the target using SSH. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 23 You have successfully passed the first steps with the Eclipse IDE. You are now able to import existing projects into the Eclipse workspace. Yo u can compile an existing project and execute the program on the target. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 24: Creating A New Project

    GNU C/C++ cross development toolchain. Open Eclipse if it is not already opened. Select File ► New ► Project from the menu bar. A new dialog opens. Select C Project and click Next. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 25 Working with Eclipse Enter the project name and click Next. myHelloWorld Click Finish. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 26 You will find the executable file, which can only run on your host system, in the workspace/myHelloWorld/Debug directory. To compile your project for phyCORE-AM335x instead, you will have to use the GNU C/C++ cross compiler. Right-click the myHelloWorld project and choose Properties.
  • Page 27 Working with Eclipse Enter into the Command input field. ${CC} Select GCC C Linker. Enter into the Command input field and add in the Command line ${CC} ${LDFLAGS} pattern after ${COMMAND}. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 28 [PCM-051-xxx] Select GCC Assembler. Change the Command input field to ${AS}  Click Apply. Select the Build Steps tab. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 29 Be sure to enter the semicolon before the ssh command. Ensure that the file myHelloWorld on the target will have execution rights, because otherwise ssh will fail. Click Apply. Click OK. Select Project ► Clean from the menu bar. Confirm with OK. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 30 If no errors occur while building the project, you will see the following output: You have successfully created your first own project with the Eclipse IDE. You have configured the project to create an application for your target platform. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 31: Modifying The Demo Application

    Double-click HelloWorld.c in the myHelloWorld project. First include the following two additional header files: #include <unistd.h>  #include <fcntl.h>  Then add the function write_tty(), which writes n bytes to the first serial interface (which, on the phyCORE-AM335x, is connected to the system console /dev/console): void write_tty (char *buffer, int count)  {    int out; ...
  • Page 32 Type . to start the application. /myHelloWorld You will see the following output: .Welcome to the World of PHYTEC! (serial). .Welcome to the World of PHYTEC!... Close Microcom. When you start the application via an SSH session, you only see one output line. When you execute the program with Microcom, you see two output lines.
  • Page 33: Starting A Program Out Of Eclipse On The Target

    A program can also be executed on the target without compiling a project. In the following section you will learn how to start a program on the target as an external tool. Select Run ► External Tools ► External Tools Configurations from the menu bar. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 34 [PCM-051-xxx] Double-click Program a new program configuration will be opened. In the Name input field, enter: myHelloWorld Target Enter in the Location input field. /usr/bin/ssh Enter into the Arguments field.  root@192.168.3.11 ./myHelloWorld © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 35: Debugging An Example Project

    Select Run. Now the program is executed on the target and you will see the output .Welcome to the World of PHYTEC! (serial) in the Microcom window. If you want to execute the program the next time, you can use the Run External Programs button from the menu bar.
  • Page 36: Starting The Gdb Server On The Target

    GDB server on the target. Start Eclipse if the application is not started yet. Right-click on the myHelloWorld project in the Navigator window. Select Debug As ► Debug Configurations. A dialog to create, manage and run applications appears. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 37 Make sure that the Standard Create Process Launcher is used (as shown in the bottom of the window, left from the Apply button). Otherwise click Select other… and select the above named launcher. Select the Debugger tab. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 38 [PCM-051-xxx] Select gdbserver Debugger from the Debugger drop-down box. Enter in the GDB Debugger field arm‐phytec‐linux‐gnueabi‐gdb Keep the GDB command file field empty. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 39 (the target's IP address) in the Host name input field. 192.168.3.11 The host's GDB will connect to this IP address to communicate with the target's GDB server. Click Apply. Click Debug. A new dialog appears. Select Yes to switch to the Debug perspective. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 40 You have configured your project for remote debugging. You have started the GNU debugger in Eclipse and connected the host's GDB with the target's GDB server. You can now start to debug the project. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 41: Setting A Breakpoint

    If you resume the application, the debugger will stop at this line. Select the last line in main(). Right-click into the small grey border on the left-hand side and select Toggle Breakpoint to set a new breakpoint. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 42: Stepping Through And Watching Variable Contents

    Expand buf in the Variables window. Click the Step Over button in the Debug window to step to the next line. You will see the content of the buf variable in the Variables window. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 43 Working with Eclipse Click on the variable buf. Then click the button Step into to enter the function write_tty(). The debugger stops in write_tty(). You will see the following variable window: © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 44: Stepping Through And Changing Variable Contents

    Open Microcom if the application is not already opened. Go back to Eclipse. Click the Step Over button twice. Switch to Microcom. Because we changed the count variable to 7 only the first seven characters (Welcome) are displayed in the Microcom console. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 45: Using The Memory Monitor

    Select the Memory tab in the frame where you can find the Console. Click + Add Memory Monitor. Enter the address of the buffer and click OK. Remember that the variable's address might be different on your system. Select the tab + New Renderings. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 46 0xbef9ec47 (or at the specific ddress used on your system). Now click the Resume button from the menu bar. The debugger stops at the breakpoint in the last line of main(). © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 47 Eclipse for remote debugging. You can step through a project, watch and change the content of variables, and you can use the memory monitor to view the content at a memory address. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 48 [PCM-051-xxx] © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 49: Working With Qt Creator

    Qt application: systemctl stop phytec‐qtdemo  After the Qt demo is stopped with the command above we can start to use Qt Creator. If you want to remove the phytec-qtdemo from the autostart enter the following command: systemctl disable phytec‐qtdemo  © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 50: Importing The Demo Application

    Be sure to start Qt Creator in a terminal. Otherwise paths to the correct toolchain will be missing. The user interface of Qt Creator appears: Now we import the example project by clicking Open Project.    © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 51 Working with Qt Creator This opens a dialog in which the path to /opt/prj_workspace/Qt is set automatically. Double-click the HelloWidget folder. Select HelloWidget.pro and click Open. The HelloWidget project is now imported into your Qt Creator workspace. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 52: Work With The Demo Application

    Qt Creator opens the design mode and you can see the design of our project, which has a menu bar with an exit action under the menu item miniQT, one label and three buttons including one with the Phytec logo inside. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 53 Working with Qt Creator Right-click the “Hide Logo” button and select Go to slot … from the context menu. A window opens allowing you to select a signal. Select clicked() and click OK. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 54 Now Qt Creator jumps into the mainwindow.cpp where you can find the definition of the function on_btn_hideLogo_clicked(). You see that clicking this button changes the status of the btn_Logo button from visible to hidden. Next we build and run the example. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 55: Compile And Run The Demo Application On The Target

    4.4 Compile and Run the Demo Application on the Target Now we want to compile and run the demo application on the phyCORE-AM335x. To carry out the steps described in this section and section 4.6 you need an RDK with display and touchscreen.
  • Page 56 On the connected display you will see the HelloWidget application. Click the big button with the Phytec logo to enable and disable the Welcome label. To see the different build steps click Compile output which can be found in the bottom menu bar.
  • Page 57: Compile And Run The Demo Application On The Host

    In some cases you do not want to compile and run the application on the target. For example if the phyCORE-AM335x is not connected to the host or if you only changed some user interface relevant things and you do not want to copy the application and all the necessary resources to the target.
  • Page 58 Click outside of the context menu to close it. Now you can start the compilation and execution of the application by clicking the green triangle. After the application is compiled a window opens displaying the application running. Close the running application. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 59: Debugging The Demo Application

    Save the changes with CTRL + S. Open the Application Output if it is not already opened. Build and run the application on the Desktop with the build configuration Release, as it was shown in the chapter before. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 60 Now the logo was hidden before we pressed the Show Logo button again and we see the appropriate messages from qDebug() in the Application Output. QDebug is a simple way to generate debug information. In the next chapter we use the debugger integrated in Qt Creator. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 61: Using The Integrated Qt Creator Debugger

    You now see a red filled circle with a small sand glass in front of this line. The next step is to change the build configuration from Release to Debug. In the gray bar on the left-click the button with the small Desktop icon. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 62 Start Debugging by clicking on the green filled triangle with the small magnifier. The debugger starts and Qt Creator changes his view to the Debug mode. The demo application is shown on the connected display. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 63 The debugger stops at the created breakpoint, because the function is called. You can now watch the stack, or the Locals and Expressions. Step into the setVisible function by pressing the Step Into button. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 64 Continue the stopped application by clicking on Continue. Now the demo application is continued and waiting for user interactions. Stop the Debugger by pressing Stop Debugger. You have successfully finished our short introduction to the Debugger from Qt Creator. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 65: Getting Started With The Bsp

    In this chapter of the QuickStart we describe only the basic Yocto usage. For in-depth explanations refer to the Yocto Reference Manual. In this part you will learn how to use the Yocto Project and the Phytec BSP. 5.1 Add new Packages to the Root Filesystem with Yocto The BSP was pre-build in the virtual machine, but to save disk space some parts were removed after building.
  • Page 66 Before we add the package we check if the right configuration is set. Open the configuration file with any editor, e.g. VI, with the following command: vi conf/local.conf Check the MACHINE variable in this file. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 67 Getting Started with the BSP By default the variable is set to phycore-am335x-1. This is the correct MACHINE for the module in the standard RDK (module ordering number PCM-051-12102F0C). © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 68 When your needed layer is not in our BSP you must first checkout the layer to the folder /opt/PHYTEC_BSPs/am335x/source/ . Please note that there is no a guarantee that the build process proceeds successfully with all new packages added. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 69: Writing The Root Filesystem Into The Target's Flash

    Flash memory. Before the images can be written into the Flash, it must be uploaded to the phyCORE-AM335x from a TFTP server. This will be done from the command line of the bootloader. The partition of the root filesystem will be formatted.
  • Page 70 Copy the root filesystem to the folder /tftpboot: cp phytec‐qt5demo‐image‐phycore‐am335x‐1.ubifs /tftpboot/ Open Microcom and press the RESET button on the target. You will see the output .Hit any key to stop autoboot.. Press any key to stop autoboot. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 71 /dev/nand0.root.ubi.root  Enter to boot the phyCORE-AM335x with the new kernel and root filesystem. boot After the target has successfully finished booting, type to log in. root Now we can test the newly installed editor nano by trying to open a file with it.
  • Page 72 [PCM-051-xxx] In this section you learned how to prepare the partition of the root filesystem and how to download the root filesystem from a TFTP server into the Flash of the target. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 73: Setup Your Own Linux Host Pc

    We recommend to have at least 80 GB of free disk space available. Before we can start with the modification we must first install Ubuntu. Download Ubuntu 14.04.4 LTS from www.ubuntu.com and create a bootable medium. Boot Ubuntu from your created boot medium. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 74 [PCM-051-xxx] Select Install Ubuntu in the first Welcome window. The Preparing to install Ubuntu… window appears. From Ubuntu it is advised that you select Download updates while installing and Install this third-party software now. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 75: Installation Of Software Packages

    Finally you must restart your system after the installation is finished. After that the system boots up and you can log into Ubuntu. Configure your network connection now and connect the phyCORE-AM335x. 6.1.2 Installation of Software Packages First of all various software packages that are required must be installed using the package manager APT.
  • Page 76: Set The Git Configuration

      The phyLinux script is a basic management tool for Phytec Yocto BSP releases. It is mainly a tool to get started with the BSP structure. You can get all the BSP sources without the need of interacting with Repo or Git.
  • Page 77 Close and save the file with :x and Enter   Now you are ready to build your first images. Build the BSP: bitbake phytec‐qt5demo‐image  Generate the SDK needed for Eclipse and Qt Creator: bitbake phytec‐qt5demo‐image ‐c populate_sdk  Install the SDK into the recommended default directory: deploy/sdk/yogurt‐glibc‐*.sh  © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 78: Set Up Eclipse And Integrate Plug-Ins

    Before we start Eclipse we must set the correct environment to our SDK: sudo vi /usr/bin/eclipse  Enter following line before #!/bin/sh: . /opt/yogurt/AM335x‐PD15.2.1/environment‐setup‐cortexa8hf‐vfp‐neon‐ phytec‐linux‐gnueabi  Afterwards open Eclipse and insert the path to the created workspace in the pop-up window: eclipse © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 79 A window opens to add a plug-in to Eclipse. In the drop-down menu Work with select Indigo Update Site - http://download.eclipse.org/releases/indigo The available plug-ins appear in the selection area below now. Expand Programming Languages and check C/C++ Development Tools. Click Next. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 80: Install And Setup Qt Creator

    Because we want the same qmake version as in our BSP we install Qt Creator manually. Download Qt Creator with following command: wget http://download.qt.io/official_releases/qt/5.4/5.4.2/qt‐ opensource‐linux‐x64‐5.4.2.run  Set execute privileges: sudo chmod +x qt‐opensource‐linux‐x64‐5.4.2.run  Run the Qt Creator installation routine ./qt‐opensource‐linux‐x64‐5.4.2.run  This opens a window for the installation.   © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 81 Step trough the installation and if you are asked specify the following installation directory:  /opt/x64_Qt5.4.2  In the Select Components window select the entries shown in the picture below and click Next.   Proceed trough the license agreement and start the installation.   © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 82 Set the correct environment to our SDK: sudo vi /usr/bin/qtcreator.sh  Enter following line before #!/bin/sh: . /opt/yogurt/AM335x‐PD15.2.1/environment‐setup‐cortexa8hf‐vfp‐neon‐ phytec‐linux‐gnueabi  Create a workspace for Qt Creator e.g. mkdir ‐p /opt/prj_workspace/Qt/build  Start Qt Creator with the following command in a terminal: /usr/bin/qtcreator.sh  © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 83 Setup your own Linux Host PC Add the phyCORE-AM335x as device with following inputs by opening Tools --> Options --> Devices --> Add --> Generic Linux Device: Name: AM335x   192.168.3.11 Username: root Keep the password empty © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 84 Default build directory field:   ../build/%{CurrentProject:Name}  Select tab Qt Versions and click Add… to add a new one. Name: AM335x_Qt5.4.3  qmake Location:   /opt/yogurt/AM335x‐PD15.2.1/sysroots/x86_64‐yogurtsdk‐ linux/usr/bin/qt5/qmake  © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 85 Setup your own Linux Host PC Select tab Compilers and click Add select GCC Name:  arm‐gcc  Compiler Path: /opt/yogurt/AM335x‐PD15.2.1/sysroots/x86_64‐yogurtsdk‐ linux/usr/bin/arm‐phytec‐linux‐gnueabi/arm‐phytec‐linux‐gnueabi‐gcc  Select tab Debuggers an click Add Name:  arm‐gdb  Path: /opt/yogurt/AM335x‐PD15.2.1/sysroots/x86_64‐yogurtsdk‐ linux/usr/bin/arm‐phytec‐linux‐gnueabi/arm‐phytec‐linux‐gnueabi‐gdb  © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 86   AM335x  Device Type:  Generic Linux Device Sysroot:   /opt/yogurt/AM335x‐PD15.2.1/sysroots/cortexa8hf‐vfp‐neon‐ phytec‐linux‐gnueabi  Compiler:   arm‐gcc  Debugger:   arm‐gdb  Qt version:   AM335x_Qt5.4.3 Select Debugger on the left side of the window and click on the GDB tab. © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 87: Setting Up A Tftp Server

    First change the file /etc/default/tftp-hpa as follows: TFTP_USERNAME="tftp"  TFTP_DIRECTORY="/tftpboot"  TFTP_ADDRESS="0.0.0.0:69"  TFTP_OPTIONS="‐‐secure" Then create a folder called /tftpboot. The TFTP server will access this folder later. mkdir /tftpboot Finally we have to set the right permissions: chmod 777 /tftpboot © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 88: Optional Settings

    You have successfully set up the TFTP server. In the future the phyCORE-AM335x can access to the /tftpboot/ folder to load the images. 6.1.8 Optional Settings In the following section we list the optional settings. These settings are not mandatory for a successful operation of this QuickStart.
  • Page 89: Revision History

    Change ptxdist to Yocto Update for working with Ubuntu 14.04.4 Update for working with PD15.2.1 Update for working with SO-498v6 Add Programming with Qt Creator Remove chapter Updating the Software (now in BSP Manual L-818e) © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 90 [PCM-051-xxx] © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 91 How would you improve this manual? Did you find any mistakes in this manual? page Submitted by: Customer number Name: Company: Address: Return to: PHYTEC Messtechnik GmbH Postfach 100403 D-55135 Mainz, Germany Fax : +49 (6131) 9221-33 © PHYTEC Messtechnik GmbH 2016 L-779e_6...
  • Page 92 Published by © PHYTEC Messtechnik GmbH 2016 Ordering No. L-779e_6 Printed in Germany...

Table of Contents