On 13/02/17 09:06, Thapa, Samman wrote:
Hey Sebastian,

Our project involves working with the Realview BSP, so is there a way we can get the needed patches [for Realview] and any instructions to apply those patches.

The Realview BSP was only tested on QEMU. I doubt that it will work on the real hardware out of the box. Please have a look at the attached QEMU patch.

--
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.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

>From a82f3d684ac9dad982c77f9208fdfc2fcda44e33 Mon Sep 17 00:00:00 2001
From: Sebastian Huber <sebastian.hu...@embedded-brains.de>
Date: Wed, 13 Nov 2013 17:47:38 +0100
Subject: [PATCH] FIXME: Hack to support libbsd tests

---
 hw/arm/realview.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 8d845dd..3eeb6d6 100644
--- a/hw/arm/realview.c
+++ b/hw/arm/realview.c
@@ -240,8 +240,8 @@ static void realview_init(QEMUMachineInitArgs *args,
         nd = &nd_table[n];
 
         if (!done_nic && (!nd->model ||
-                    strcmp(nd->model, is_pb ? "lan9118" : "smc91c111") == 0)) {
-            if (is_pb) {
+                    strcmp(nd->model, !is_pb ? "lan9118" : "smc91c111") == 0)) {
+            if (!is_pb) {
                 lan9118_init(nd, 0x4e000000, pic[28]);
             } else {
                 smc91c111_init(nd, 0x4e000000, pic[28]);
-- 
1.8.4.5

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to