summaryrefslogtreecommitdiffstats
path: root/bare/config/devel/qemu-git-1.cfg
blob: dc011de93fa62fadf350148fbe97dbe24dc50024 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# Qemu from git
#

%if %{release} == %{nil}
 %define release 1
%endif

%include %{_configdir}/base.cfg

%include %{_configdir}/bare-config.cfg

#
# Stable version. Qemu is fast moving.
#
%define qemu_version 42d58e7c6760cb9c55627c28ae538e27dcf2f144

#
# Qemu is from GIT unless the RSB has been released.
#
# We need to handle the release process
#
%if %{rsb_released} && %{!defined without_release_url}
 %source set qemu %{rtems_release_url}/%{rtems_version}/sources/qemu-git-42d58e7.tar.xz
%else
 %source set qemu git://git.qemu-project.org/qemu.git?pull?checkout=%{qemu_version}?submodule=dtc
%endif

#
# Patches from Qemu's patchworks site.
#
%patch add qemu pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
%hash md5 Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch 0b1f163808efd1e86ab858053d5df71d

#
# These patches are broken.
#
#%patch add qemu pw://patchwork.ozlabs.org/patch/347503/raw/CAN-bus-simple-SJA1000-PCI-card-emulation-for-QEMU.patch
#%hash md5 CAN-bus-simple-SJA1000-PCI-card-emulation-for-QEMU.patch fbbe8f02867b8b8ee7c23c83cf1e1efa
#%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

#
# Patch to send halt signal to qemu-system-or32 process when RTEMS terminates
#
%patch add qemu %{rtems_http_git}/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
%hash md5 0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch 6aa9dfc4522466ab4a463129b3b9cb1d

#
# The Qemu build instructions. We use 1.x.x Release 1.
#
%include %{_configdir}/qemu-1-1.cfg