N.A.T. NAMC-ZYNQ-FMC Manual Download Page 7

NAMC-ZYNQ-FMC – Board Support Package Manual 
 
 
 

Version 1.0 

© N.A.T. GmbH 

 

Board Support Package Description  

1

1.1

 

Introduction 

The  Board  Support  Package  (BSP)  is  shipped  with  the  NAMC-ZYNQ-FMC  to  support 
customers  generating  a  complete  linux  distribution  including  FSBL,  U-Boot  and  kernel 
image  for  the  Xilinx  ZYNQ  FPGA  SoC.  The  BSP  ensures  a  basic  working  infrastructure 
including  necessary  communication  and  memory  interfaces  to  support  customers 
developing their own FMC drivers and applications on top of that. 
 
The  software  part  is  based  on  the  Petalinux  build  system  that  is  officially  supported  by 
Xilinx. Before you can use the BSP you will have to install the necessary Xilinx tools and 
the  N.A.T  sources.  This  is  going  to  be  explained  in  the  next  chapters.  Although  N.A.T 
recommends  using  the  BSP  you  are  completely  free  whether  to  use  your  own  software 
distributions.  It  is  also  possible  to  run  a  bare  metal  application  without  any  OS  on  the 
SoC but there approaches are outside of the manuals scope. 
 
For  generating  the  necessary  hardware  description  files  you  may  use  the  N.A.T  Vivado 
example project that is also included in the board support package. The example project 
contains a block diagram that customers could use as a template to build their logic on 
top of that. It ensures the basic hardware functionality such as standard communication 
interfaces. 
 
Common  information  about  the  Petalinux  build  system  can  be  found  at  “UG1144 
Petalinux Tools Documentation Reference Guide” [2] or at Xilinx wiki: 
 

http://www.wiki.xilinx.com/Petalinux

 

1.2

 

Prerequisite for using the BSP 

Before you can use the BSP you will have to set up a few things:  
 

 

A host system (linux or windows) with Vivado installed 

 

A host system (linux) containing the Petalinux toolchain and SDK 

 
The  N.A.T  reference  FPGA  configuration image  was  created  with  Xilinx  Vivado  2015.2.1 
thus  for  best  compatibility  N.A.T  recommends  to  use  both  the  Petalinux  2015.2.1  build 
system  and  the  corresponding  Vivado  version.  Please  follow  the  Xilinx  Petalinux 
Documentation  “UG1144  Petalinux  Tools  Reference  Guide”  on  how  to  install  the  Xilinx 
tools on your host machine.  
 

1.3

 

BSP structure 

Referring  to  the  table  below,  the  board  support  package  contains  four  folders.  The  bsp 
folder includes the software project containing the build output of the kernel image and 
other components. The image folder contains all images that are needed for the device to 
operate including the FPGA bitstream, u-boot and kernel binaries. The subsystem folder 
is used for holding user configuration (e.g. device-tree). In the /doc folder you can find 
any  necessary  documentation.  The  /src  folder  is  intended  to  be  used  by  the  bsp  for 
holding  user  application  data  and  patch  files  in  order  for  the  software  components  to 
work with the hardware that were made by N.A.T. These files are patched by using the 

Summary of Contents for NAMC-ZYNQ-FMC

Page 1: ...NAMC ZYNQ FMC Board Support Package Manual NAMC ZYNQ FMC FMC AMC Module Board Support Package Manual V1 1...

Page 2: ...NAMC ZYNQ FMC Board Support Package Manual Version 1 0 N A T GmbH II N A T GmbH Konrad Zuse Platz 9 53227 Bonn Oberkassel Phone 49 228 96 58 64 0 Fax 49 228 96 58 64 10 Internet http www nateurope com...

Page 3: ...ng resulting from the use of this product or the documentation In particular N A T will not be responsible for any direct or indirect damages including lost profits lost savings delays or interruption...

Page 4: ...ACKAGE DESCRIPTION 7 1 1 1 INTRODUCTION 7 1 2 PREREQUISITE FOR USING THE BSP 7 1 3 BSP STRUCTURE 7 1 4 VIVADO REFERENCE DESIGN 8 1 5 INSTALLING THE BSP 9 1 6 BUILDING A BOOT IMAGE FOR ZYNQ 10 1 7 PROG...

Page 5: ...NAMC ZYNQ FMC Board Support Package Manual Version 1 0 N A T GmbH V List of Tables Table 1 BSP folder structure 8 Table 2 Makefile description 12...

Page 6: ...on 11 Figure 6 Kernel selection 11 Figure 7 TeraTerm Serial Port Setup 13 Figure 8 MMC Boot Output 13 Figure 9 FRU wizard 14 Conventions If not otherwise specified addresses and memory maps are writte...

Page 7: ...ionality such as standard communication interfaces Common information about the Petalinux build system can be found at UG1144 Petalinux Tools Documentation Reference Guide 2 or at Xilinx wiki http www...

Page 8: ...Vivado reference design The BSP has a folder vivado witch contains the reference design for the ZYNQ FPGA that customers may use as a template for developing further logic on top of that The design wa...

Page 9: ...x build system 1 5 Installing the BSP With having both Xilinx Vivado and Petalinux tools installed the next step is to install the BSP sources and set up several paths First you have to copy the main...

Page 10: ...n the project folder later during the build system configuration The link gets created using the makefile make setup links NOTE Depending on the owner of the petalinux installation it may be the case...

Page 11: ...mponents configuration Figure 5 U boot selection Figure 6 Kernel selection This is the only necessary configuration you need to do to build the reference design as all other configuration is preconfig...

Page 12: ...ges it to a single binary make package Packages FSBL bitstream and u boot BOOT bin and image ub are stored at bsp make patch fsbl Patches FSBL sources as they are overwritten each time a new hardware...

Page 13: ...ure 7 TeraTerm Serial Port Setup When inserting the AMC with connected USB cable into an operational MicroTCA chassis you should see the following output ensuring being connected to the correct COM po...

Page 14: ...C RET n Generated 188 bytes binary data buf 0x3e12 len 256 01 00 00 01 00 08 00 f6 01 07 00 00 00 00 ca 4e 2e 41 2e 54 20 47 6d 62 48 cb 4e 2e 41 2e 54 20 46 4d 43 30 31 ca 30 30 30 30 30 30 30 30 30...

Page 15: ...nx64 o directory Because LD_LIBRARY_PATH is a global setting it affects all binaries run within the shell where it is set In this case a library file is conflicting with a version required by awk The...

Page 16: ...NAMC ZYNQ FMC Board Support Package Manual Version 1 0 N A T GmbH 16 Known bugs and restrictions There are no known bugs or restrictions yet...

Page 17: ...com Petalinux 2 UG1144 Petalinux Tools Reference Guide https www xilinx com support documentation sw_m anuals petalinux2014_4 ug1144 petalinux tools reference guide pdf 3 IPMI FRU Storage Specificati...

Page 18: ...Board Support Package Manual Version 1 0 N A T GmbH 18 Appendix B Document s History Revision Date Description Author 1 0 24 10 2016 initial release mm 1 1 15 05 2017 Added section Programing FMC FRU...

Reviews: