Poky Linux Microblaze support

From SecretLab

Jump to: navigation, search

Local conf settings

# Set target machine
MACHINE ?= "virtex5mb"
# Set Xilinx EDK tools location
XILINX_LOC = "/opt/Xilinx/13.1/ISE_DS"
# Set xilinx XPS project location
XILINX_BSP_PATH = "/opt/xlnx/hwd/xilinx-virtex5mb"
# Set external toolchain mode
TCMODE = "external-xilinx"
# Set xilinx toolchain location
XILINX_TOOLCHAIN = "/opt/xlnx/microblaze_v2.0/microblaze-unknown-linux-gnu"

Build init ram image

cd /opt/poky
source oe-init-build-env
bitbake initramfs-image

Deploy simpleImage using Xilinx XPS

Setup Xilinx tools

source xlnx-setup-env

Start XPS and open hardware project

xps

Download bitstream

Launch XDB debugger

Goto Poky deploy images directory

cd /opt/poky/build/tmp/deploy/images

Download simpleImage

dow simpleImage.system-2.6.37-r10-virtex5mb-20110613174431.bin

Execute simpleImage

run
Personal tools