ARM Getting Started Assistance: Beagleboard, Zedboard, or STM32F4Discovery?

Jonathan Brandmeyer jonathan.brandmeyer at gmail.com
Mon Feb 2 16:11:32 UTC 2015


Aha, the rosetta stone.  I couldn't figure out how to release the CPU,
since typing 'c' to continue at the console does nothing.  Maybe it is
really waiting for GDB's 'continue' command instead of 'c' at the
monitor console.  At any rate, the core problem is that in this BSP it
is serial1, not serial0 which is directed to the RTEMS console.  I
don't know if that is standard or not.  These documentation changes
describe how I got the example programs to work on the
xilinx_zynq_a9_qemu BSP.

-Jonathan



diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/README
b/c/src/lib/libbsp/arm/xilinx-zynq/README
index 6bad853..d9b8657 100644
--- a/c/src/lib/libbsp/arm/xilinx-zynq/README
+++ b/c/src/lib/libbsp/arm/xilinx-zynq/README
@@ -10,4 +10,15 @@ make
 make install
 export PATH="$PATH:/opt/qemu/bin"

-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
+Additionally, qemu-system-arm in Debian 8.0 "Jessie", version 2.1.2 (Debian
+1:2.1+dfsg-11) executes successfully.
+
+This BSP directs the RTEMS stdio streams to QEMU serial1, not serial0.
+
+For machine verification with GDB, directing RTEMS stdio to host /dev/null:
+$ 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
+
+
+For interactive verification from the host console, directing RTEMS stdio to
+the host's shell's stdio:
+$ qemu-system-arm -no-reboot -serial mon:stdio -serial stdio -net
none -nographic -M xilinx-zynq-a9 -m 256M -kernel ticker.exe


On Sun, Feb 1, 2015 at 11:32 PM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 01/02/15 22:56, Jonathan Brandmeyer wrote:
>>
>> Similar (same?) problem with qemu on the xilinx_zynq_a9_qemu bsp:
>>
>> jonathan at pheonix:~/src/build_rtems_arm$ qemu-system-arm -S -s
>> -no-reboot -serial mon:stdio -serial /dev/null -net none -nographic -M
>> xilinx-zynq-a9 -m 256M  -kernel
>> ./arm-rtems4.11/c/xilinx_zynq_a9_qemu/testsuites/samples/ticker/ticker.exe
>> Warning: nic cadence_gem.0 has no peer
>> Warning: nic cadence_gem.1 has no peer
>
>
> Please have a look at the -s and -S options in the Qemu documentation.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users


More information about the users mailing list