Can't seem to hook up omap3 uarts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro QEMU |
New
|
Undecided
|
Unassigned |
Bug Description
I've tried:
qemu-system-arm-M beagle \
-chardev socket,
-chardev socket,
-device omap_uart,
-device omap_uart,
-nographic \
-mtdblock images/
but uart3 ends up connected to stdio, and uart2 to nothing at all.
info qtree shows more than one uart3:
(qemu) info qtree
bus: main-system-bus
type System
dev: omap_uart, id "uart2"
dev-prop: chardev = sock2
irq 3
mmio ffffffff/00000400
dev: omap_uart, id "uart3"
dev-prop: chardev = sock3
irq 3
mmio ffffffff/00000400
...
dev: omap_uart, id "uart3"
dev-prop: chardev = serial0
irq 3
mmio 49020000/00001000
dev: omap_uart, id "uart2"
dev-prop: chardev = uart2
irq 3
mmio 4806c000/00001000
dev: omap_uart, id "uart1"
dev-prop: chardev = uart1
irq 3
mmio 4806a000/00001000
dev: omap2-intc, id ""
gpio-in 96
irq 2
mmio 48200000/00001000
You can't use '-device' to try to change the properties for an existing device on the board. '-device' always creates a new device, so it only really makes sense for pluggable buses like USB/PCI. You might try playing with the '-global' option which lets you set properties on existing devices.