libbsd.txt: Clarify xilinx_zynq_a9_qemu usage

This commit is contained in:
Sebastian Huber 2016-06-13 11:59:04 +02:00
parent 58c4e1c592
commit d6ad59dfee

View File

@ -56,7 +56,7 @@ status' says `rtems_waf` need updating run the submodule update command:
=== Board Support Package Requirements === === Board Support Package Requirements ===
The RTEMS version must be at least 4.11. The Board Support Package (BSP) The RTEMS version must be at least 4.12. The Board Support Package (BSP)
should support the should support the
http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group\__rtems\__interrupt__extension.html[Interrupt Manager Extension] http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group\__rtems\__interrupt__extension.html[Interrupt Manager Extension]
// The first underscores have to be masked to stop asciidoc interpreting them // The first underscores have to be masked to stop asciidoc interpreting them
@ -86,26 +86,26 @@ be configured with a disabled network stack. The BSD library containing the
new network stack is a separate package. Using a BSP installation containing new network stack is a separate package. Using a BSP installation containing
the old network stack may lead to confusion and unpredictable results. the old network stack may lead to confusion and unpredictable results.
The following script is used to build the `arm/realview_pbx_a9_qemu` BSP for The following script is used to build the `arm/xilinx_zynq_a9_qemu` BSP for
our internal testing purposes: our internal testing purposes:
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
#!/bin/sh #!/bin/sh
cd ${HOME}/sandbox cd ${HOME}/sandbox
rm -rf b-realview_pbx_a9_qemu rm -rf b-xilinx_zynq_a9_qemu
mkdir b-realview_pbx_a9_qemu mkdir b-xilinx_zynq_a9_qemu
cd b-realview_pbx_a9_qemu cd b-xilinx_zynq_a9_qemu
${HOME}/git-rtems/configure \ ${HOME}/git-rtems/configure \
--prefix=${HOME}/sandbox/install \ --prefix=${HOME}/sandbox/install \
--target=arm-rtems4.11 \ --target=arm-rtems4.12 \
--enable-rtemsbsp=realview_pbx_a9_qemu \ --enable-rtemsbsp=xilinx_zynq_a9_qemu \
--disable-networking && \ --disable-networking && \
make && \ make && \
make install make install
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
The `arm/realview_pbx_a9_qemu` BSP running on the Qemu simulator has some The `arm/xilinx_zynq_a9_qemu` BSP running on the Qemu simulator has some
benefits for development and test of the BSD library benefits for development and test of the BSD library
* it offers a NULL pointer read and write protection, * it offers a NULL pointer read and write protection,
@ -126,8 +126,8 @@ the above, the `config.inc` used to match the above is:
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
# Mandatory: Select your BSP and installation prefix # Mandatory: Select your BSP and installation prefix
TARGET = arm-rtems4.11 TARGET = arm-rtems4.12
BSP = realview_pbx_a9_qemu BSP = xilinx_zynq_a9_qemu
PREFIX = $(HOME)/sandbox/install PREFIX = $(HOME)/sandbox/install
# Optional: Separate installation base directory # Optional: Separate installation base directory
@ -385,6 +385,18 @@ qemu-system-i386 -m 512 -boot a -cpu pentium3 \
-nodefaults -nographic -serial stdio -nodefaults -nographic -serial stdio
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-------------------------------------------------------------------------------
qemu-system-arm \
-serial null \
-serial mon:stdio \
-nographic \
-M xilinx-zynq-a9 \
-net nic,model=cadence_gem,macaddr=0e:b0:ba:5e:ba:11 \
-net tap,ifname=qtap1,script=no,downscript=no \
-m 256M \
-kernel build/arm-rtems4.12-xilinx_zynq_a9_qemu/media01.exe
-------------------------------------------------------------------------------
Make sure that each Qemu instance uses its own MAC address to avoid an address Make sure that each Qemu instance uses its own MAC address to avoid an address
conflict (or otherwise use it as a test). conflict (or otherwise use it as a test).