Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.
-
Upload
bruno-tucker -
Category
Documents
-
view
214 -
download
1
Transcript of Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.
![Page 1: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/1.jpg)
Status: EPICS on
Xilinx FGPAs
Peter Zumbruch
GSI
![Page 2: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/2.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 2
Strategy
Hardware ML403 Based on VMware image
provided by KIP (N.Abel) containing all necessary Tools
• Xilinx ISE 8.2• necessary IP cores (later)
uClinux running on ML403 (N.Abel)
![Page 3: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/3.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 3
Strategy (2)
Install EPICS on/in image Compile locally EPICS develop configuration files for cross
compile • ppc architecture • uClinux OS
cross compile EPICS for ppc/os• EPICS base• IOC, (one) i.e. (static) executable
![Page 4: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/4.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 4
Strategy (3)
Include this into image to upload to FPGA
Tests IOC locally IOC remote access move to other Virtex 4 platforms
![Page 5: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/5.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 5
Status
Hardware ML403 Based on VMware image
• Ethernet IP core license (invalid license)
uClinux running on ML403 (N.Abel)
![Page 6: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/6.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 6
Status (2)
Install EPICS on/in image Compile locally EPICS develop configuration files for cross
compile (: prepared/in test: prepared/in test))• ppc architecture • uClinux OS
cross compile EPICS for ppc/os • which compiler to use?
![Page 7: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/7.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 7
Details: Configuration Files
EPICS Build systems uses sets of CONFIG files (Makefiles included in build process) to define necessary informations
• -I , isystem
• -L
• CFLAGS, CXXFLAGS, FLAGS
• (CROSS)-COMPILER
• HOST/TARGET OS
• ...
prepare
d for
linux-x86.uClinux-ppc405
![Page 8: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/8.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 8
Details: Cross Compiler
Two different gcc-based configurations available:Xilinx EDK
• powerpc-eabi-{gcc,g++,ar,ld}• 3.4.1
uClinux Distribution• powerpc-linux-uclibc-gcc• no g++ available
• (Toolchain not in VMware image)
• 3.4.2
![Page 9: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/9.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 9
Details: Cross Compiler - Problems
configurations differ (gcc/g++ –v)
eabiThread model nfp
with-newlib
with-cpu:405
with-headers
with-float=soft c++
disable-nls
with-gnu-ld
EDK single
uClib ? posix
• powerpc-eabi-{gcc,g++,ar,ld}• doesn't find cc1, cc0 when compiling
![Page 10: Status: EPICS on Xilinx FGPAs Peter Zumbruch GSI.](https://reader036.fdocuments.in/reader036/viewer/2022082818/56649eb65503460f94bc0694/html5/thumbnails/10.jpg)
April 17, 2008 Status: EPICS on Xilinx FPGA - Peter Zumbruch, GSI 10
Problems (2)
If cross-compile succeeded ...get knowledge how to get back to
FPGA ...