Signed-off-by: Peter A. G. Crosthwaite
---
device_tree.c | 10 +-
device_tree.h |2 +-
hw/arm_boot.c |4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/device_tree.c b/device_tree.c
index d7a9b6b..92a383e 100644
--- a/device_tree.c
+++ b/device_tree.c
First revision of fdt generic platform for xilinx microblaze platforms.
Adds machine model "microblaze-fdt" which can be used along with the --hw-dtb
option to lauch dts driven machine models for microblaze platforms.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/microblaze/Makefile.o
First revision of fdt generic infrastructure. These modules allow
for fdt generic machine models, which create machines to match a device
tree specification.
Signed-off-by: Peter A. G. Crosthwaite
---
default-configs/microblaze-softmmu.mak |1 +
default-configs/microblazeel-softmmu.mak
getprop currently return a pointer into the device tree itself. These pointers
will be corrupted if the device tree is written to in anyway. To make getprop()
safe, duplicate the property so that the value doesnt change over the lifetime
of the returned pointer.
Signed-off-by: Peter A. G
.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/fdt_generic_devices.c| 45 +++
hw/fdt_generic_devices.h|8 +++
hw/microblaze/Makefile.objs |1 +
3 files changed, 54 insertions(+), 0 deletions(-)
create mode 100644 hw
Extended the wrapper interface (around libfdt) for device tree. Node Property
getters have been added (qemu_devtree_getprop*) as well as helpers to search/
navigate the nodes of a FDT blob.
Signed-off-by: Peter A. G. Crosthwaite
---
device_tree.c | 158
fdt generic platform support for 16550 uarts.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/fdt_generic_devices.c | 39 +--
1 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/hw/fdt_generic_devices.c b/hw/fdt_generic_devices.c
index 91b3c5b
Add a function co_queue_enter_next() which will immediately transfer
control to the coroutine at the head of a co queue. This can be used for
implementing simple work queues where the manager of a co-queue only
needs to enter queued routines one at a time.
Signed-off-by: Peter A. G. Crosthwaite
From: Chris Wulff
There was a missing include of qemu-log and a variable name in a printf was out
of date.
Signed-off-by: Chris Wulff
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_timer.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_timer.c b/hw
If the inherit flag is set, and the specified property is not found, then search
the parents for it as well.
Signed-off-by: Peter A. G. Crosthwaite
---
device_tree.c | 11 ---
device_tree.h |4 ++--
hw/arm_boot.c |6 --
3 files changed, 14 insertions(+), 7 deletions
Rather than exit(1) on fail return an Error*. Clients can then handle errors as
they wish.
Signed-off-by: Peter A. G. Crosthwaite
---
device_tree.c | 25 ++---
device_tree.h |9 +++--
hw/arm_boot.c |8 ++--
3 files changed, 31 insertions(+), 11 deletions
async io (suggested - Stefan Hajnoczi) (2/4)
instantiated two spi flashes instead of one in ml605 ref design (4/4)
changed from v1:
minor sylistic changes (1/4)
converted spi api to modified txrx style (1-3/4)
heavily refactored m25p80 model (2/4)
Peter A. G. Crosthwaite (13):
ssi: Support for
of
all responses from the (mulitple) devices.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/ssi.c | 24 +---
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/hw/ssi.c b/hw/ssi.c
index e5f14a0..35d0a04 100644
--- a/hw/ssi.c
+++ b/hw/ssi.c
@@ -2,6 +2,8
Slave creation function that can be used to create an SSI slave without
qdev_init() being called. This give machine models a chance to set properties.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/ssi.c |9 +++--
hw/ssi.h |1 +
2 files changed, 8 insertions(+), 2 deletions(-)
diff
Added device model for m25p80 style SPI flash family.
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v4:
Added write-1 flag (EEPROM mode).
n25q128 table entry indentation fix.
updated for new SSI interface.
various debug messages cleaned up and added.
changed from v3:
changed licence to
setters with
direct calls to qdev_connect_gpio_out().
Signed-off-by: Peter A. G. Crosthwaite
---
hw/stellaris.c | 26 --
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 01050d1..a7b68f4 100644
--- a/hw/stellaris.c
Added SPI controller to the reference design, with two n25q128 spi-flashes
connected.
Signed-off-by: Peter A. G. Crosthwaite
---
Changed since v5:
Removed redundant (char*) cast with qdev_get_prop_string
hw/petalogix_ml605_mmu.c | 27 +++
1 files changed, 27
Added the two SPI controllers to the zynq machine model. Attached two SPI flash
devices to each controller.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_zynq.c | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c b
Added maintainership for SSI, M25P80 and the Xilinx SPI controllers.
Signed-off-by: Peter A. G. Crosthwaite
---
MAINTAINERS |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 61f8b45..0ebe247 100644
--- a/MAINTAINERS
+++ b
Added default CS behaviour for SSI slaves. SSI devices can set a property
to enable CS behaviour which will create a GPIO on the device which is the
CS. Tristating of the bus on SSI transfers is implemented.
Signed-off-by: Peter A. G. Crosthwaite
---
Changed since v5:
Addressed PMM review
an index selecter is
not possible.
Signed-off-by: Peter A. G. Crosthwaite
---
changed since v5:
moved implementation to irq.c as per PMM review
hw/irq.c | 17 ++---
hw/irq.h | 11 ++-
hw/qdev.c |6 +++---
3 files changed, 27 insertions(+), 7 deletions(-)
diff --git
Removed the explicit SSI mux and wired the CS line directly up to the SSI
devices.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/ssd0323.c |1 +
hw/ssi-sd.c|1 +
hw/stellaris.c | 98 ++--
3 files changed, 19 insertions(+), 81
Added a FIFO API that can be used to create and operate byte FIFOs.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/Makefile.objs |1 +
hw/fifo.c| 78 ++
hw/fifo.h| 47
3 files changed
Device model for xilinx XPS SPI controller (v2.0)
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v4 (Near total rewrite):
removed timer delay. This was innacturate anyways removed for simlicity.
updated for new SSI interface.
factored out txrx fifos using fifo.h
changed from v3
Added device model for the Xilinx Zynq SPI controller (SPIPS).
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm/Makefile.objs |1 +
hw/xilinx_spips.c| 352 ++
2 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 hw
for the Zynq platform. The next two are changes/additions to the qemu
boot process to faciliate booting of zynq-linux. The final patch is the initial
revision of the zynq machine model.
Most of this work was originally authored by Xilinx, as indicated by (c)
notices in added files.
Peter A. G
Device model for Cadence UART
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_uart.c | 619 +
2 files changed, 620 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_uart.c
diff --git a
Xilinx zynq-7000 machine model. Also includes device model for the zynq-specific
system level control register (SLCR) module.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
Device model for cadence watchdog timer (WDT)
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_wdt.c | 260 ++
2 files changed, 261 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_wdt.c
diff --git
Xilinx zynq-7000 machine model. Also includes device model for the zynq-specific
system level control register (SLCR) module.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/xilinx_zynq.c | 192 ++
hw/zynq_arm_sysctl.c | 546
Device mode for cadence gem ethernet controller.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_gem.c | 1441 ++
2 files changed, 1442 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_gem.c
diff
parameterised the initrd load address for arm boot process. Machine models
can populate the initrd field with a non-zero address to specifiy that the
default value of 0x00d0 should be overridden.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm-misc.h |2 ++
hw/arm_boot.c | 12
Added linux specific kernel dtb option. This option can be specified to inject
an argument device tree blob (dtb) into linux.
Signed-off-by: Peter A. G. Crosthwaite
---
qemu-options.hx |3 +++
vl.c|4
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qemu
Device model for cadence triple timer counter (TTC)
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_ttc.c | 545 ++
2 files changed, 546 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_ttc.c
diff
/pl330.c.
Peter A. G. Crosthwaite (2):
pl330: initial version
xilinx_zynq: added pl330 to machine model
MAINTAINERS |1 +
Makefile.target |1 +
hw/pl330.c | 1395 ++
hw/xilinx_zynq.c | 18 +
4 files changed, 1415 insertions
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_zynq.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 7290c64..033ba09 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -61,6 +61,9 @@ static void
Device model for Primecell PL330 dma controller.
Signed-off-by: Peter A. G. Crosthwaite
---
MAINTAINERS |1 +
Makefile.target |1 +
hw/pl330.c | 1395 +++
3 files changed, 1397 insertions(+), 0 deletions(-)
create mode 100644
two (as per the controllers functionality)
Patch 4 instantiates the XPS SPI controller in the petalogix ML605 reference
platform and connects one m25p80 to it.
Peter A. G. Crosthwaite (4):
SPI: initial support
m25p80: initial verion
xilinx_spi: initial version
petalogix-ml605: added spi
Added spi controller to the reference design, with a single cs line and a
m25p80 style spi-flash connected
Signed-off-by: Peter A. G. Crosthwaite
---
hw/petalogix_ml605_mmu.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/hw/petalogix_ml605_mmu.c b
device model for xilinx XPS SPI controller (v2.0)
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/xilinx_spi.c | 477 +++
2 files changed, 478 insertions(+), 0 deletions(-)
create mode 100644 hw/xilinx_spi.c
diff
defined spi bus and spi slave QOM interfaces. Inspired by and loosley based on
existing I2C framework.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/spi.c| 175 +++
hw/spi.h| 86
Added device model for m25p80 SPI flash
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/m25p80.c | 495 +++
2 files changed, 496 insertions(+), 0 deletions(-)
create mode 100644 hw/m25p80.c
diff --git a
/pl330.c.
Changed from v1:
minor code formatting errors (1/2)
added GPLv2 copyright to 330 model (1/2)
Peter A. G. Crosthwaite (2):
pl330: initial version
xilinx_zynq: added pl330 to machine model
MAINTAINERS |1 +
Makefile.target |1 +
hw/pl330.c | 1403
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_zynq.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 7290c64..033ba09 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -61,6 +61,9 @@ static void
Device model for Primecell PL330 dma controller.
Signed-off-by: Peter A. G. Crosthwaite
Signed-off-by: Kirill Batuzov
---
changed from v1:
GPLv2 license
some code formatting fixes
MAINTAINERS |1 +
Makefile.target |1 +
hw/pl330.c | 1403
Added some missing #includes for this file. Previously this file
relied on its clients to pre-include its dependencies.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx.h b/hw/xilinx.h
index 090e6f7
This is a microblaze target specific function that belongs outside
of xilinx.h (which is a collection of target independent device model
instantiator functions)
Signed-off-by: Peter A. G. Crosthwaite
---
hw/microblaze_pic_cpu.c |2 +-
hw/microblaze_pic_cpu.h |8
hw
Change the timer clock frequency to 133MHz which is correct. the old 2.5MHz
value was for the pre-silicon emulation platform.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/cadence_ttc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/cadence_ttc.c b/hw/cadence_ttc.c
argument.
Means you can use a dtb with a command line already present and boot without
QEMU nuking your command line.
The patches are independent. A block on patch one whould not block patch 2 and
vice versa. Sent as one series for reviewer convenience.
Peter A. G. Crosthwaite (2):
arm_boot
Added a switch to tell the bootloader that the image is linux and should be
bootstrapped as such. This is needed to boot an elf that is linux.
Syntax would be:
qemu-system-arm ... -kernel linux.elf -machine linux=on
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm_boot.c |1 +
qemu
The dtb command line should only be overwritten if the user provides a command
line. Otherwise whatever command line was in the dtb should stay unchanged.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm_boot.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a
.
changed since v2:
addressed reviewer comments from Igor mitsyanko and Peter Maydell (1/2)
Peter A. G. Crosthwaite (2):
pl330: initial version
xilinx_zynq: added pl330 to machine model
Makefile.target |1 +
hw/pl330.c | 1411
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_zynq.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 7290c64..033ba09 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -61,6 +61,9 @@ static void
Device model for Primecell PL330 dma controller.
Signed-off-by: Peter A. G. Crosthwaite
Signed-off-by: Kirill Batuzov
---
changed from v2 (in order of diff appearance):
GPL version changed to v2 or later
Register and field names changed to match TRM
id field corrected
PL330ChanState enum
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
simplified tcg local variable usage aqcross branch
changed from v2:
fixed tcg local variable usage across branch
reworked carry logic (with new write_carryi() function)
made LOG_DIS show lwx swx properly
changed from v1:
implemented
) (2/4)
instantiated two spi flashes instead of one in ml605 ref design (4/4)
changed from v1:
minor sylistic changes (1/4)
converted spi api to modified txrx style (1-3/4)
heavily refactored m25p80 model (2/4)
Peter A. G. Crosthwaite (5):
SSI: Built in multiple device support
m25p80: initial
Added support for multiple devices attached to a single SSI bus (Previously
SSI masters with multiple slaves were emulated as multiple point to point SSI
busses)
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
added ssi_create_slave_noinit
changed from v2:
This patch is new (totally
Added device model for m25p80 SPI flash
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
changed licence to v2 or later (PMM review)
generalised device model - rather than being fixed to the fl064k, it can handle
a wide range of m25p80 devices
refactored erase commands (previously
device model for xilinx XPS SPI controller (v2.0)
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
typedef'd struct XilinxSPI
changed unsigned int -> uin32_t
removed unused vars (c_fifo_exist and cmd_ongoing)
txfifo_reset removed duplicate s->regs[R_SPISR] &= ~SR_TX_F
Setup the stellaris_ssi_bus device to use a single multi-slave ssi bus instead
of two busses.
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
This patch is new
hw/stellaris.c | 17 +++--
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/hw/stellaris.c b
Added spi controller to the reference design, with a single cs line and a
m25p80 style spi-flash connected
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
set spi flashes as being fl06k
changed from v2:
changed spi -> ssi
added two spi flashes to machine model instead of
The lazy initialisation of r_check was throwing an error on --enable-debug.
Removed the lazy initialisation of r_check and swx_addr.
Signed-off-by: Peter A. G. Crosthwaite
---
target-microblaze/translate.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/target
[Original cover by Igor]
First patch introduces standard SD host controller model. This is accumulated
version of my previous patch I sent a while ago and a recent SDHCI patch by
Peter A. G. Crosthwaite.
Second patch introduces Exynos4210-specific SDHCI built on top of standard SDHCI
model.
[New
Allows for repeating of -sd arugments in the same way -pflash and -mtdblock
can be repeated.
Signed-off-by: Peter A. G. Crosthwaite
---
vl.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 23ab3a3..a381e90 100644
--- a/vl.c
+++ b/vl.c
@@ -2437,7
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_zynq.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 7290c64..42b6e69 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -130,6 +130,18 @@ static void
From: Igor Mitsyanko
Exynos4210 SD/MMC host controller is based on SD association standart host
controller ver. 2.00
Signed-off-by: Igor Mitsyanko
---
Makefile.target |1 +
hw/exynos4210.c | 20 +++
hw/exynos4210_sdhci.c | 438
provide a translation layer to change from Xilinx names to
QEMU names.
Peter A. G. Crosthwaite (11):
xilinx_uartlite: changed device name
xilinx_timer: added default frequency
xilinx_timer: changed nr_timers to one_timer_only
xilinx_timer: changed device name
xilinx_intc: changed device name
Changed device name to xlnx,xps-uartlite. This is the exact name of the device
in the xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/petalogix_s3adsp1800_mmu.c |2 +-
hw/xilinx_uartlite.c |5 +++--
2 files changed, 4 insertions(+), 3 deletions
Changed device name to xlnx,axi-ethernet. This is the exact name of the
device in the xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |4 ++--
hw/xilinx_axienet.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw
Changed device name to xlnx,xps-timer. This is the exact name of the device
in the xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |2 +-
hw/xilinx_timer.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/xilinx.h b/hw
Changed device name to xlnx,xps-ethernetlite. This is the exact name of the
device in the xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |4 ++--
hw/xilinx_ethlite.c |5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw
Changed device name to xlnx,axi-dma. This is the exact name of the device in the
Xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h|2 +-
hw/xilinx_axidma.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/xilinx.h b/hw
Changed device name to xlnx,xps-intc. This is the exact name of the device
in the xilinx EDK development tools.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |2 +-
hw/xilinx_intc.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/xilinx.h b/hw
Even though the xilinx tools do have C_ on all params by default, drop this
for consistency with all the other xilinx IP (I.E. param names are the xilinx
names without the C_ prefix)
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |4 ++--
hw/xilinx_axienet.c |4 ++--
2
The axidma irq orders are reversed in both the device model and the instantion.
Undid both reversal (for no net change). Also needs to be reversed for
consistency with Xilinx tools IRQ listing.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h|4 ++--
hw/xilinx_axidma.c |2
Changed "txpingpong" prop to "tx-ping-pong". Same for rx. This is done to
make the property name exactly match what is output by the xilinx tools for
this IP.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx.h |4 ++--
hw/xilinx_ethlite.c |4 ++--
The configurable property for this IP in the Xilinx tools is a boolean switch
"one-timer-only" that flicks this timer from being dual channel to single.
Updated QEMU to work the same way for better match with the IP core and its TRM.
Signed-off-by: Peter A. G. Crosthwait
Added a reasonable default frequency for the xilinx timer (the 62MHz from
s3adsp machine model).
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_timer.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c
index 3ab2f2b..e9fde28
P8 changes the names of all the types etc to better match AXI stream
Paolo Bonzini (2):
qom: revamp interfaces
xilinx: remove PROP_PTR properties
Peter A. G. Crosthwaite (6):
xilinx_axidma: Added missing TypeInfo
object: create default canonical paths for orphans
object: make interfaces co
From: Paolo Bonzini
This commit is composed of several changes:
1) it provides a complete set of macros that serve as building blocks
for the definition of Interface types.
2) make Interface public. This is because this type serves as the
base class for the actual implementation objects that a
Something is broken with casting to an interface type then setting a link. Cast
these two to object for linking instead and it all works.
Needs investigation why.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/petalogix_ml605_mmu.c |4 ++--
hw/xilinx.h |4 ++--
2 files
The qdev name was wrong, fixed. This will fold into a patch 2 of this series,
but creating seperately for ease of review and diff tracking.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/petalogix_ml605_mmu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw
The "axidma peer" connection is really the axi stream interface. renamed
appropriately.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/axi-stream.c | 15 +++
hw/axi-stream.h | 35 +++
hw/microblaze/Makefile.objs |
Will fold into previous patch on next revision, but made seperate for review
of interdiff
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_axidma.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c
index b82c02e..267b19b
have bogus paths (apparently).
Signed-off-by: Peter A. G. Crosthwaite
---
qom/object.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qom/object.c b/qom/object.c
index e6c3cfb..1eba795 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -983,6 +983,13 @@ gchar
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
hw/petalogix_ml605_mmu.c | 17 +++
hw/xilinx.h | 22 ---
hw/xilinx_axidma.c | 39 +++---
hw/xilinx_axidma.h | 52
.
Signed-off-by: Peter A. G. Crosthwaite
---
qom/object.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qom/object.c b/qom/object.c
index 1eba795..c3a7a47 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -191,7 +191,7 @@ static void type_class_interface_init(TypeImpl *ti
[Original cover by Igor]
First patch introduces standard SD host controller model. This is accumulated
version of my previous patch I sent a while ago and a recent SDHCI patch by
Peter A. G. Crosthwaite. Second patch introduces Exynos4210-specific SDHCI
built on top of standard SDHCI model
From: Igor Mitsyanko
Custom Exynos4210 SD/MMC host controller, based on SD association standard host
controller ver. 2.00.
Signed-off-by: Igor Mitsyanko
---
changed from v3:
rebased for new Makefile system
fixed commit msg typo (Andreas review)
hw/arm/Makefile.objs |1 +
hw/exynos4210.c
Allows for repeating of -sd arugments in the same way as -pflash and -mtdblock.
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
fixed commit msg typo
vl.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 204d85b..b6d624b 100644
--- a/vl.c
The Xilinx Zynq device has two SDHCI controllers. Added to the machine model.
Signed-off-by: Peter A. G. Crosthwaite
---
changed from v3:
fixed indentation
tweaked commit msg
hw/xilinx_zynq.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/hw/xilinx_zynq.c
Patch 1 is trival, just deleted a redundant include that shouldn't be there.
Patch 2 is a major bugfix for Microblaze platforms - the timer was deadlocking
the system.
Peter A. G. Crosthwaite (2):
xilinx_timer: Removed include of qemu-timer
xilinx_timer: Fixed deadlock issue
The Xilinx timer does not interact with the qemu_timer API, so dont include it.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_timer.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c
index 0683ce1..e8b7a59 100644
--- a/hw
set_limit. Changed
the call to set_count() to an equivalent call of set_limit() instead, which
brings the workaround into play.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/xilinx_timer.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c
. P2 is all the
device-land stuff.
Anthony Liguori (1):
qom: reimplement Interfaces
Peter A. G. Crosthwaite (2):
xilinx_axi*: Re-implemented interconnect
qom: Converged dynamic cast for interfaces & objs
hw/Makefile.objs |1 +
hw/petalogix_ml605_mmu.c | 24 +++--
hw/stre
From: Anthony Liguori
The current implementation of Interfaces is poorly designed. Each interface
that an object implements end up being an object that's tracked by the
implementing object. There's all sorts of gymnastics to deal with casting
between these objects.
By an interface shouldn't be
(), when link are set, which pretty much makes linking to
interfaces impossible. So either:
1: This patch
2: Explictly test objects/classes for interfacage in the link setting code
3: Ban linking to interfaces
Signed-off-by: Peter A. G. Crosthwaite
---
include/qemu/object.h | 20
Re-implemented the interconnect between the Xilinx AXI ethernet and DMA
controllers. A QOM interface "stream" is created, for the two stream interfaces.
As per Edgars request, this is designed to be more generic than AXI-stream,
so in the future we may see more clients of this interface beyond AXI
zynq.
Peter A. G. Crosthwaite (3):
xilinx_zynq: added smp support
arm_boot: parameterized intird and dtb locations
xilinx_zynq: set initrd and dtb locations
hw/arm-misc.h|8 ++
hw/arm_boot.c| 34 ---
hw/xilinx_zynq.c | 66
Added fields that allows a machine model to specify where the initrd and dtb
are loaded. Leaving the fields 0 will use to old default values (previously
hardcoded in arm_boot.c)
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm-misc.h |8
hw/arm_boot.c | 34
101 - 200 of 265 matches
Mail list logo