summaryrefslogtreecommitdiffstats
path: root/platforms/microblaze.in
diff options
context:
space:
mode:
authorStephan Linz <linz@li-pro.net>2011-03-29 09:01:03 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-04-14 09:08:13 +0200
commit5dd27e8eb09c19d36686f8f09e93dc3563e78734 (patch)
tree4c3acd39f3f34ca87eb0753491da38f86e64dc80 /platforms/microblaze.in
parentb583d35beb7c27164de336e8a32dca4e93992b2a (diff)
downloadptxdist-5dd27e8eb09c19d36686f8f09e93dc3563e78734.tar.gz
ptxdist-5dd27e8eb09c19d36686f8f09e93dc3563e78734.tar.xz
V3: add Xilinx MicroBlaze architecture
This is support for Xilinx MicroBlaze processors. MicroBlaze is a soft core processor designed for Xilinx FPGAs. With this new architecture ptxdist have to handle dynamic platform configurations exported by Xilinx design tools. Some essential changes and extensions inside a few ptxdist core scripts were made to merge external platform configurations into the ptxdist platform configuration. That is very important since the resulting build process have to know about the real CPU features like hardware multiplier, barrel shifter or similar high performance accelerators. So ptxdist knows about this specialty, parse the new platform directory "xlbsp" and use the content for its own platform configuration. The content of the new platform directory "xlbsp" comes from Xilinx design tools and have to be: * auto-config.in (Linux Kernel 2.4 configuration) * Kconfig.auto (Linux Kernel 2.6 configuration) * xilinx.dts (Linux Kernel 2.6 configuration) * config.mk (U-Boot configuration) * xparameters.h (U-Boot configuration) Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms/microblaze.in')
-rw-r--r--platforms/microblaze.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/platforms/microblaze.in b/platforms/microblaze.in
new file mode 100644
index 000000000..e5c979387
--- /dev/null
+++ b/platforms/microblaze.in
@@ -0,0 +1,36 @@
+## SECTION=microblaze_options
+
+menu "microblaze options "
+depends on ARCH_MICROBLAZE
+
+config ARCH_MICROBLAZE_HAVE_XLBSP
+ prompt "Xilinx BSP (TPOS)"
+ bool
+ default y
+ help
+ The Xilinx BSP (shortly "xlbsp") is part of a specific OSELAS.BSP()
+ and consits of different automatically generated files from the
+ Xilinx FPGA design. All files for the xlbsp have to be copied from
+ Xilinx FPGA design project into the OSELAS.BSP() platforms directory
+ ${PTXDIST_PLATFORMCONFIGDIR}/platforms/xlbsp. Then make a link in
+ OSELAS.BSP() platforms directory:
+
+ xlbsp_softcpu.in -> xlbsp/Kconfig.auto
+
+ You have to copy all auto generated files from Xilinx BSP "Third
+ Party OS (TPOS)" to xlbsp in your OSELAS.BSP(). To get TPOS you have
+ to include the EDK user repository from MB-Ref into your Xilinx FPGA
+ design flow.
+
+ See: http://gitorious.org/mbref/mbref
+ or: http://www.li-pro.de/xilinx_mb/mbref/start
+
+if ARCH_MICROBLAZE_HAVE_XLBSP
+
+menu "SoftCPU features"
+source "generated/xlbsp_softcpu.in"
+endmenu
+
+endif
+
+endmenu