Test if ARM / xilinx_zynq_a9_qemu built correctly?

James Marshall jcmarsh at gwmail.gwu.edu
Wed Oct 19 14:54:32 UTC 2016

Good morning,

I'm trying to build the xilinx_zynq_a9_qemu bsp for 4.12. I can't seem to
get ticker.exe to run, but I don't know if the problem is with the build
process or my qemu install.

The 'make' command ran in about 4 minutes, and returned a lot of messages
like "make[5]: Nothing to be done for `all'." This makes me suspect my
configuration. Also, the *.exe files generated by 'make' where not copied
over by 'make install' (but I don't know if they should have been). When I
try to run ticker.exe with qemu I don't get any output and have to kill the
qemu process. So maybe I need to run qemu with different arguments.

Any help would be much appreciated. Thanks in advance,

To build I did the following:
  $ cd $RTEMS_DIR
  $ mkdir rsb; cd rsb
  $ git clone git://git.rtems.org/rtems-source-builder.git
  $ cd rtems-source-builder/rtems/
  $ ../source-builder/sb-set-builder --prefix=${RTEMS_DIR}/4.12
  $ export PATH=${RTEMS_DIR}/4.12/bin:$PATH
  $ which autoconf

RTEMS source:
  $ cd $RTEMS_DIR
  $ git clone git://git.rtems.org/rtems rtems-src
  $ cd rtems-src
  $ ./bootstrap
  $ cd ..; mkdir xilinx-zynq-qemu; mkdir install-xilinx-zynq; cd
  $ ../rtems-src/configure --target=arm-rtems4.12
--enable-rtemsbsp=xilinx_zynq_a9_qemu --enable-tests=samples
  $ make
  $ make install

To install qemu (as
per $RTEMS_DIR/rtems-src/c/src/lib/libbsp/arm/xilinx-zynq/README):
  $ cd $RTEMS_DIR
  $ mkdir install-qemu
  $ git clone git://git.qemu.org/qemu.git qemu
  $ cd qemu
  $ git checkout a1bff7
  $ mkdir build; cd build
  $ ../configure --prefix=${RTEMS_DIR}/install-qemu
--interp-prefix=${RTEMS_DIR}/install-qemu --disable-werror
(--disable-werror is needed to avoid failing on the use of a deprecated
libusb function (see end of email))
  $ make
  $ make install
  $ export PATH="$PATH:${RTEMS_DIR}/install-qemu/bin"
  $ which qemu-system-arm

Test with ticker.exe:
  $ cd
  $ qemu-system-arm -S -s -no-reboot -serial mon:stdio -serial /dev/null
-net none -nographic -M xilinx-zynq-a9 -m 256M -kernel ticker.exe

The output from configure is available here:
Output from make:
Output from 'make install':
Build directory tree:

qemu libusb warning: $RTEMS_DIR/rtems/qemu/hw/usb/host-libusb.c:243:5:
warning: ‘libusb_get_port_path’ is deprecated (declared at
/usr/include/libusb-1.0/libusb.h:1358): Use libusb_get_port_numbers instead
     rc = libusb_get_port_path(ctx, dev, path, 7);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20161019/dd1210d4/attachment.html>

More information about the users mailing list