Integrated Test - bkushal26/ELM_Bring_up_Petalinux GitHub Wiki

This page serves as an instruction page to run the integrated Test for ELM2 Bring up.

Integrated Tests

Current script Tests following interfaces-

  • Gigabit Ethernet Module (GEM)
    • Ping Test
    • Iperf Test
  • I2C
    • EEPROMS (MAC and Utility EEPROM)
    • Clock Synthesizers (Si5344, Si5338)
  • Clock frequency Check (Frequency Meter)
  • Enable Xilinx Virtual Cable setup

Getting started

  • The script is already copied onto the board at this path /root/topModule
  • In the Git repo, the script can be found at - ELM_Bring_up_Petalinux/topWrapper/

Note for Test on a new setup/desktop- To run this script from the desktop (other than madorsky-d2), the user first needs to change the path of directories in test the scripts, relative to the desktop being used for tests. This can be done by editing the path given for each test interface.

Running the Test

  • To run the script from the board-
> cd /root/topModule
> sh ELM_bring_UP.sh

  • This will print a help menu->
****************************************************************************
   Embedded Linux Mezzanine
   Board Bring Up Tests
****************************************************************************
   Select one of the options below:
   +-----+--------------------------------------------------------------+
   |index| Petalinux Based:-                                            |
   +-----+--------------------------------------------------------------+
   | '0' | Gigabit Ethernet Module (GEM)                                |
   | '1' | I2C Clock Synthesizers                                       |
   | '2' | I2C EEPROMs                                                  |
   | '3' | Clock Distribution Network(frequency_meter)                  |
   | '4' | Xilinx Virtual Cable                                         |
   +-----+--------------------------------------------------------------+
   +-----+--------------------------------------------------------------+
   |index|     Stand-Alone Tests:-                                      |
   +-----+--------------------------------------------------------------+
   | 'x' | DDR                                                          |
****************************************************************************
Select the next Test by putting respective index, press 'e' to exit > e

  • User can start with any test or jump to any test. Note for GEM- GEM bring up includes 2 tests, Ping and Iperf. To run Iperf test, the user first needs to enable iperf server on the host PC, which can be done using the ping_iperf_server.sh