summaryrefslogtreecommitdiffstats
path: root/libbsd.txt
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-13 11:59:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-13 12:00:08 +0200
commitd6ad59dfeed47ea182097a38194ef24d2a41cda7 (patch)
treeaf5b82cc8e21c2459d564e9be21f616f5b458476 /libbsd.txt
parentnfsclient: Port to LibBSD (diff)
downloadrtems-libbsd-d6ad59dfeed47ea182097a38194ef24d2a41cda7.tar.bz2
libbsd.txt: Clarify xilinx_zynq_a9_qemu usage
Diffstat (limited to 'libbsd.txt')
-rw-r--r--libbsd.txt32
1 files changed, 22 insertions, 10 deletions
diff --git a/libbsd.txt b/libbsd.txt
index 91bb29ab..082d28ad 100644
--- a/libbsd.txt
+++ b/libbsd.txt
@@ -56,7 +56,7 @@ status' says `rtems_waf` need updating run the submodule update command:
=== 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
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
@@ -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
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:
-------------------------------------------------------------------------------
#!/bin/sh
cd ${HOME}/sandbox
-rm -rf b-realview_pbx_a9_qemu
-mkdir b-realview_pbx_a9_qemu
-cd b-realview_pbx_a9_qemu
+rm -rf b-xilinx_zynq_a9_qemu
+mkdir b-xilinx_zynq_a9_qemu
+cd b-xilinx_zynq_a9_qemu
${HOME}/git-rtems/configure \
--prefix=${HOME}/sandbox/install \
- --target=arm-rtems4.11 \
- --enable-rtemsbsp=realview_pbx_a9_qemu \
+ --target=arm-rtems4.12 \
+ --enable-rtemsbsp=xilinx_zynq_a9_qemu \
--disable-networking && \
make && \
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
* 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
-TARGET = arm-rtems4.11
-BSP = realview_pbx_a9_qemu
+TARGET = arm-rtems4.12
+BSP = xilinx_zynq_a9_qemu
PREFIX = $(HOME)/sandbox/install
# Optional: Separate installation base directory
@@ -385,6 +385,18 @@ qemu-system-i386 -m 512 -boot a -cpu pentium3 \
-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
conflict (or otherwise use it as a test).