Changeset 2c4840f in rtems-libbsd


Ignore:
Timestamp:
Feb 13, 2017, 7:38:45 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
ea395a7
Parents:
1fd5083
Message:

README.waf: Change BSP, add QEMU command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.waf

    r1fd5083 r2c4840f  
    4242message during the configure phase.
    4343
    44 We will build an ARM Realview PBX A9 QEMU BSP using the name
    45 'arm/realview_pbx_a9_qemu'.
     44We will build an Xilinx Zynq QEMU BSP using the name
     45'arm/xilinx_zynq_a9_qemu'.
    4646
    4747Steps
     
    6262PATH="$sandbox/rtems-4.12/bin:$PATH" ./bootstrap
    6363cd "$sandbox"
    64 mkdir b-realview_pbx_a9_qemu
    65 cd b-realview_pbx_a9_qemu
     64mkdir b-xilinx_zynq_a9_qemu
     65cd b-xilinx_zynq_a9_qemu
    6666PATH="$sandbox/rtems-4.12/bin:$PATH" "$sandbox/rtems/configure" \
    6767  --target=arm-rtems4.12 --prefix="$sandbox/rtems-4.12" \
    68   --disable-networking --enable-rtemsbsp=realview_pbx_a9_qemu
     68  --disable-networking --enable-rtemsbsp=xilinx_zynq_a9_qemu
    6969PATH="$sandbox/rtems-4.12/bin:$PATH" make
    7070PATH="$sandbox/rtems-4.12/bin:$PATH" make install
     
    7474git submodule update rtems_waf
    7575waf configure --prefix="$sandbox/rtems-4.12" \
    76   --rtems-bsps=arm/realview_pbx_a9_qemu
     76  --rtems-bsps=arm/xilinx_zynq_a9_qemu
    7777waf
    7878waf install
     79qemu-system-arm -no-reboot -serial null -serial mon:stdio -net none \
     80  -nographic -M xilinx-zynq-a9 -m 256M \
     81  -kernel build/arm-rtems4.12-xilinx_zynq_a9_qemu/selectpollkqueue01.exe
    7982-------------------------------------------------------------------------------
    8083
     
    108111
    109112    $ cd "$sandbox"
    110     $ mkdir b-realview_pbx_a9_qemu
    111     $ cd b-realview_pbx_a9_qemu
     113    $ mkdir b-xilinx_zynq_a9_qemu
     114    $ cd b-xilinx_zynq_a9_qemu
    112115    $ PATH="$sandbox/rtems-4.12/bin:$PATH" "$sandbox/rtems/configure" \
    113116        --target=arm-rtems4.12 --prefix="$sandbox/rtems-4.12" \
    114         --disable-networking --enable-rtemsbsp=realview_pbx_a9_qemu
     117        --disable-networking --enable-rtemsbsp=xilinx_zynq_a9_qemu
    115118    $ PATH="$sandbox/rtems-4.12/bin:$PATH" make
    116119    $ PATH="$sandbox/rtems-4.12/bin:$PATH" make install
     
    128131   be in your path or environment [1].  You can use
    129132   '--rtems-archs=arm,sparc,i386' or
    130    '--rtems-bsps=arm/realview_pbx_a9_qemu,sparc/sis,i386/pc586' to build for
     133   '--rtems-bsps=arm/xilinx_zynq_a9_qemu,sparc/sis,i386/pc586' to build for
    131134   more than BSP at a time.  Note, you must provide the architecture and BSP as
    132135   a pair. Providing just the BSP name will fail:
     
    135138   $ cd rtems-libbsd
    136139   $ waf configure --prefix="$sandbox/rtems-4.12" \
    137        --rtems-bsps=arm/realview_pbx_a9_qemu
     140       --rtems-bsps=arm/xilinx_zynq_a9_qemu
    138141
    1391428. Build and install.  The LibBSD package will be installed into the prefix
     
    144147   $ waf
    145148   $ waf install
     149
     1509. Run the tests on QEMU, for example:
     151
     152   $ qemu-system-arm -no-reboot -serial null -serial mon:stdio -net none \
     153   $   -nographic -M xilinx-zynq-a9 -m 256M \
     154   $   -kernel build/arm-rtems4.12-xilinx_zynq_a9_qemu/selectpollkqueue01.exe
    146155
    147156[1] It is good practice to keep your environment as empty as possible. Setting
Note: See TracChangeset for help on using the changeset viewer.