Page 1
NOEL-PF-EX Quick Start Guide 2020 User's Manual The most important thing we build is trust NOEL-PF-EX Quick Start Guide NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
1. Introduction 1.1. Overview This document is a quick start guide for the NOEL-PF-EX design. The guide is mainly how-to oriented and does not go into many technical details. For more in-depth information we refer to respective products User's Manual.
Linux 64-bit host operating systems. Chapter 5 describes how to use RTEMS with NOEL-PF-EX. The recommended method to load software onto NOEL-PF-EX is by connecting to a debug interface of the board through the GRMON hardware debugger (Chapter 4).
Buildroot can be used to easily create a bootable Linux image for NOEL-V [RD-6]. It automatically creates a toolchain and supports a large number of useful userspace applications which can be included in the generated root file system. Included in the software development environment is a NOEL-PF-EX BSP for Buildroot which provides the necessary driver support.
3. Board Configuration This chapter describes boards items as used by the NOEL-PF-EX design. Please see MPF300-SPLASH-KIT User Guide for a detailed legend of the reference designators. 3.1. Debug connectors • J1: USB JTAG/UART interface via FTDI with mini-USB connector. See (Chapter 4).
The first step is to set up a debug link in order to connect to the board. The following section outlines which debug interfaces are available and how to use them on the NOEL-PF-EX design. After that, a basic first inspection of the board is exemplified.
The previous sections have described which debug-links are available and how to start using them with GRMON. The subsections below assume that GRMON, the host computer and the NOEL-PF-EX board have been set up so that GRMON can connect to the board.
RTEMS toolchain for NOEL-V. This section gives the reader a brief introduction on how to use RTEMS together with the NOEL-PF-EX design. It will be demonstrated how to install the toolchain and build an existing sample RTEMS project and run it on the board using GRMON.
The full list of BSP variants provided with the tool chain is: • noel32i • noel32im • noel32imafd • noel32imafd_smp • noel32ima_smp • noel64im • noel64imafd NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
• The below procedure may change or may not be needed in future versions of GRMON or the RTEMS BSP. Use the device tree compiler (dtc) to generate a device tree blob (.dtb) from a device tree source file (). NOEL-PF-EX-QSG www.cobhamaes.com/gaisler...
Giving the kernel configure option --enable-tests will build the RTEMS kernel test suite, consisting of over 600 tests, together with the kernel. Most tests run correctly on NOEL-V. Cobham Gaisler is currently analyzing if failing tests can be explained by general RTEMS issues, RISC-V issues in RTEMS, or because of the NOEL- V integration.
C and C++ single-threaded applications. This section gives the reader a brief introduction on how to use NCC together with the NOEL-PF-EX design. It will be demonstrated how to build an an example program and run it on the NOEL-PF-EX using GRMON.
6.6. Running and debugging with GRMON Once your application is compiled, connect to your NOEL-PF-EX with GRMON. The following log shows how to load and run an application. Note that the console output is redirected to GRMON by the use of the -u command line switch, so that the application standard output is forwarded to the GRMON console.
Buildroot and how to load and execute a Linux image on hardware using GRMON. Cobham Gaisler provides a BSP for NOEL-PF-EX which is included in the Buildroot version downloadable from https://www.gaisler.com/NOEL-PF. The Buildroot BSP contains additional driver support for Linux.
Page 22
40200000 .payload 12.7MB / 12.7MB [===============>] 100% Total size: 12.80MB (97.78Mbit/s) Entry point 0x40000000 Image noelv-buildroot/output/images/fw_payload.elf loaded Load the DTB using the dtb command: grmon3> dtb noel-pf.dtb DTB will be loaded to the stack NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
Page 24
12.229148] random: crng init done Starting syslogd: OK Starting klogd: OK Running sysctl: OK Saving random seed: OK Starting network: OK Welcome to Buildroot buildroot login: You can now log into the system using root as username. NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
8.1.4. coremark The CoreMark benchmark program from EEMBC. See the file coremark/README.NOEL-V for information on how to set the build parameters. Build for NOEL-V by entering the coremark directory and run the script named build.sh: NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
The example binaries will be placed inside the bin directory. 8.2.4. Targets Examples will be built automatically for the following BSP variants: • Single processor BSP variants • noel32i • noel32im • noel32imafd • noel64im NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
RTEMS shell. Type help at the prompt to see the available commands. config.c onfigures driver resources, initializes the Driver Manager and BSP Networking Stack. config_*.c is the subsystem configurations. 8.2.6. Limitations The RTEMS TCP/IP network stack provided is considered experimental for 64-bit NOEL-V. NOEL-PF-EX-QSG www.cobhamaes.com/gaisler December 2020, Version 1.2...
9. Support For support contact the Cobham Gaisler support team at support@gaisler.com. When contacting support, please identify yourself in full, including company affiliation and site name and address. Please identify exactly what product that is used, specifying if it is an IP core (with full name of the library distribution archive file), component, software version, compiler version, operating system version, debug tool version, simulator tool version, board version, etc.
Page 29
Cobham convey a license under any patent rights, copyrights, trademark rights, or any other of the intellectual rights of Cobham or of third parties. All information is provided as is. There is no warranty that it is correct or suitable for any purpose, neither implicit nor explicit.
Need help?
Do you have a question about the NOEL-PF-EX and is the answer not in the manual?
Questions and answers