Openembedded on xilinx virtex 4,5 support

In this lasts weeks I’have been working on Openembedded
for generic support for Xilinx virtex4, virtex5; Only u-boot and the
Linux kernel needs attention to be configured for the final target arch
since it can be Powerpc 405, 440 or Microblaze. Final arch settings needs
some user configuration in local.conf file it should be set the target
board options:

# Generic Powerpc 440 based board
MACHINE = “xilinx-virtex5”
TARGET_ARCH = “powerpc”
TARGET_CPU = “440”
TARGET_TUNE = “ppc440”
# Hardware project options
XILINX_BSP_PATH = “${HOME}/workspace/ppc44x/xilinx-ml507”
XILINX_BOARD = “ml507”

The machine can be xilinx-virtex4, xilinx-virtex5 or xilinx-mb-gen (generic microblaze)
the final arch can be override by setting TARGET_* values, for example for virtex5
family board targeting microblaze
TARGET_ARCH = “microblaze”
TARGET_CPU = “microblaze”
TARGET_TUNE = “microblaze”
I know that this is kind of odd but until I fix how to override this values inside conf
machine files this would be useful for testing stage.

The logic for setting the target options for u-boot and the kernel are handled in
xilinx-bsp.class where I add some logic for the configure settings based on the
TARGET_ARCH and XILINX_BOARD values, a similar approach is needed in config machine
files to do the black magic on setting the default options for a particular target

I had problems with running any ace file (fpga bitstream + elf executable) from compact
flash on ML405 target board, on power-up the board was just flashing a led indicating an
error on compact flash read, and to solve the problem I had to add an option on
`etc/bitgen.ut` file

-g Match_cycle:NoWait

I’m not sure but it seems that my compact flash is the problem;

There’s a lot still to be done specially for Microblaze support, where I have to still
deal with glibc or uClibc to be integrated in OE, or to get working an external toolchain
Also fully test Angstrom on ml405 board since it’s failing when running init scripts it
complains about permissions errors.

The OE code changes can be found at


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s