Microblaze GNU Tools Description
The MicroBlaze toolchain contains all of the compiler and support libraries you need to build executables and libraries for a MicroBlaze architecture. MicroBlaze is both big endian (PLB based systems) and little endian (AXI based systems) such that the correct tools must be used.
The following command can be used to get the tools from the Xilinx GIT server.
bash> git clone git://git.xilinx.com/microblaze-gnu.git
The tools binaries are located in the binaries directory of the GIT repository.
Configuration Of The Tools
The name of the tools specifies the endian-ness (little or big). The name microblazeel-unknown-linux-gnu
specifies the little endian tools. The name microblaze-unknown-linux-gnu specifies the big endian tools.
Set the path to access the tools and setup the environment variable for the Linux kernel build process with the following commands.
export PATH=<dir where tools are located>/microblazeel-unknown-linux-gnu/bin:$PATH export CROSS_COMPILE=microblazeel-unknown-linux-gnu- or export PATH=<dir where tools are located>/microblaze-unknown-linux-gnu/bin:$PATH export CROSS_COMPILE=microblaze-unknown-linux-gnu-
Ramdisk images are contained in repositories that also contain the older versions of the GNU tools for Microblaze.
The following command can be used to get the ramdisk images from the Xilinx GIT server with the "le" being the little endian ramdisk and without "le" being the big endian ramdisk.
bash> git clone git://git.xilinx.com/xldk/microblaze_v2.0_le.git or bash> git clone git://git.xilinx.com/xldk/microblaze_v2.git