5.8. Compiler options ....................... 5.9. Building the kernel ....................5.9.1. RTEMS test suite .................... 5.10. Building the tool chain ....................NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 3
8.2.1. Introduction ....................8.2.2. Requirements ....................8.2.3. Build ......................8.2.4. Targets ......................8.2.5. Comments ...................... 8.2.6. Limitations ..................... 9. Support ..........................NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
1. Introduction 1.1. Overview This document is a quick start guide for the NOEL-ARTYA7-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. See the reference list below.
Linux 64-bit host operating systems. Chapter 5 describes how to use RTEMS with NOEL-ARTYA7-EX. The recommended method to load software onto NOEL-ARTYA7-EX is by connecting to a debug interface of the board through the GRMON hardware debugger (Chapter 4).
Included in the software development environment is a NOEL-ARTYA7-EX BSP for Buildroot which provides the necessary driver support. See Chapter 7 for instructions on how to create a Linux image for NOEL-ARTYA7-EX with Buildroot. 2.4.4. VxWorks 7 Please contact support@gaisler.com for information about NOEL-V BSPs for VxWorks 7.
Start Vivado and select the menu item Flow -> Open Hardware Manager. Once the FPGA has been programmed, remember to close the hardware manager before connecting with GRMON. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
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-ARTYA7-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-ARTYA7-EX board have been set up so that GRMON can connect to the board.
Loading section .htif, size 0x1000 lma 0x40025c00 Loading section .sdata, size 0xa8 lma 0x40027000 Start address 0x40000000, load size 158864 Transfer rate: 62 KB/sec, 7943 bytes/write. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 12
ID: 0x08a010001 executing thread name: UI1 Program received signal SIGTRAP, Trace/breakpoint trap. _CPU_Fatal_halt (source=source@entry=5, error=error@entry=0) at /home/user/riscv/leon-rtems/build/../c/src/lib/libbsp/riscv/riscv/ ../../../../../../bsps/riscv/riscv/start/bsp_fatal_halt.c:43 asm ("ebreak"); (gdb) NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
RTEMS toolchain for NOEL-V. This section gives the reader a brief introduction on how to use RTEMS together with the NOEL-ARTYA7-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.
Page 14
0000000000000000 a2: 000000004001ECC8 t2: FFFFFFFFFFFFFFFF s2: 0000000000000000 a3: 000000000A010001 t3: 0000000000000000 s3: 0000000000000000 a4: 0000000000000000 t4: 0000000000000002 s4: 0000000000000000 NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
• noel32ima_smp • noel64im • noel64imafd • noel64imafd_smp • noel64ima_smp BSP variants suffixed with _smp have SMP enabled in the kernel. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Use the device tree compiler (dtc) to generate a device tree blob (.dtb) from a device tree source file (). NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
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. Frontgrade 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.
Page 18
-b noel $THE_RSB_COMMIT git apply $THE_RSB_PATCHES --check git am $THE_RSB_PATCHES popd pushd rsb/rtems ../source-builder/sb-set-builder --prefix=$THE_PREFIX 5/rtems-riscv popd NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
C and C++ single-threaded applications. This section gives the reader a brief introduction on how to use NCC together with the NOEL-ARTYA7-EX design. It will be demonstrated how to build an an example program and run it on the NOEL-ARTYA7-EX using GRMON.
6.6. Running and debugging with GRMON Once your application is compiled, connect to your NOEL-ARTYA7-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.
This chapter will show how to get started with Buildroot and how to load and execute a Linux image on hardware using GRMON. Frontgrade Gaisler provides a BSP for NOEL-ARTYA7-EX which is included in the Buildroot version down- loadable from https://www.gaisler.com/NOEL-ARTYA7. The Buildroot BSP contains additional driver support for Linux.
Page 22
Image noelv-buildroot/output/images/fw_payload.elf loaded Load the DTB using the dtb command: grmon3> dtb noel-xilinx-artya7.dtb DTB will be loaded to the stack NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 23
0.087982] smp: Brought up 1 node, 4 CPUs 0.099642] devtmpfs: initialized 0.120315] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 24
Starting klogd: OK Running sysctl: OK Saving random seed: OK Starting network: OK Starting sshd: OK Welcome to Buildroot buildroot login: NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 25
You can now log into the system using root as username. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Build for NOEL-V by entering the coremark directory and run the script named build.sh: Example 8.4. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
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-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
There is also an open forum available at https://grlib.community. NOEL-ARTYA7-EX-QSG Frontgrade Gaisler AB | Kungsgatan 12 | SE-411 19 | Göteborg | Sweden | frontgrade.com/gaisler May 2023, Version 1.2...
Page 30
F: +46 31 421407 Frontgrade Gaisler AB, reserves the right to make changes to any products and services described herein at any time without notice. Consult the company or an authorized sales representative to verify that the information in this document is current before using this product.
Need help?
Do you have a question about the NOEL-ARTYA7-EX and is the answer not in the manual?
Questions and answers