This is a small patch for RBS that makes qemu to build with Leon3 support.
Leon3 support is enabled by downloading three patches from gaisler.org/qemu .
The patches can be moved to rtems-tools or some other server if this is
more convenient.

Jiri.
>From 3829486b22011a6219328c4caeba143024a6107d Mon Sep 17 00:00:00 2001
From: Jiri Gaisler <j...@gaisler.se>
Date: Sun, 16 Nov 2014 19:54:48 +0100
Subject: [PATCH] bare/qemu: add patches for leon3 support.

---
 bare/config/devel/qemu-git-1.cfg | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/bare/config/devel/qemu-git-1.cfg b/bare/config/devel/qemu-git-1.cfg
index 2c923cf..82544d4 100644
--- a/bare/config/devel/qemu-git-1.cfg
+++ b/bare/config/devel/qemu-git-1.cfg
@@ -32,6 +32,16 @@
 #%patch add qemu pw://patchwork.ozlabs.org/patch/347502/raw/CAN-bus-Kvaser-PCI-CAN-S-single-SJA1000-channel-emulation-added.patch
 #%hash md5 CAN-bus-Kvaser-PCI-CAN-S-single-SJA1000-channel-emulation-added.patch 7bd24fa8b55116c9a1301afd7dfa69d3
 
+#
+# Patches to build qemu-sparc with Leon3 support
+#
+%patch add qemu https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
+%hash md5 0001-LEON3-Add-emulation-of-AMBA-plug-play.patch 5f0cfc249fb83fd93603ab4f55f03233
+%patch add qemu https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
+%hash md5 0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch 1f963963a269fd3ff89cb633c122156a
+%patch add qemu https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
+%hash md5 0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch 59b684eaaee77f94bdef6a12b6e544e2
+
 %if %{_host} == mingw32
  %patch add qemu pw://patchwork.ozlabs.org/patch/99999999/raw/qemu-channel-win32-cdecls.patch
 %endif
-- 
1.9.1

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

Reply via email to