From: BALATON Zoltan <balaton@eik.bme.hu>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: Howard Spoelstra <hsp.cat7@gmail.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH 0/2] Mac Old World ROM experiment
Date: Sat, 13 Jun 2020 02:54:59 +0200 [thread overview]
Message-ID: <cover.1592009699.git.balaton@eik.bme.hu> (raw)
Based on https://github.com/dingusdev/dingusppc this series allows
experimenting with binary ROM image from a G3 beige machine. It does
not get very far though. Running with
-bios 78F57389.rom -d unimp,guest_errors -trace enable="pci*" | uniq -c
I get the logs below and hangs reading the last reg. It seems to
expect macio to be mapped at 0xf3000000 (also confirmed by comments in
https://github.com/dingusdev/dingusppc/blob/master/devices/macio.h and
some logs I've found on-line) but I don't see where it would set this
up so maybe this needs to be mapped by default there?
Regards,
BALATON Zoltan
1 pci_cfg_read grackle 00:0 @0x0 -> 0x21057
1 pci_cfg_read grackle 00:0 @0xa8 -> 0x0
1 pci_cfg_write grackle 00:0 @0xa8 <- 0x40e0c
1 pci_cfg_read grackle 00:0 @0xac -> 0x0
1 pci_cfg_write grackle 00:0 @0xac <- 0x12000000
1 pci_cfg_read grackle 00:0 @0xac -> 0x12000000
1 pci_cfg_write grackle 00:0 @0xac <- 0x2000000
1 pci_cfg_read grackle 00:0 @0x70 -> 0x0
1 pci_cfg_write grackle 00:0 @0x70 <- 0x11000000
1 machine_id_read(0, 2)
1 pci_cfg_read grackle 00:0 @0x8 -> 0x6000140
1 pci_cfg_read grackle 00:0 @0xf0 -> 0x0
1 pci_cfg_write grackle 00:0 @0xf0 <- 0x12900000
1 Unassigned mem write 00000000f3000024 = 0x80000000
1 Unassigned mem write 00000000f3000028 = 0xffffffff
1 Unassigned mem write 00000000f3000038 = 0x33eff3a
1 Unassigned mem write 00000000f3000038 = 0x1befffa
1 machine_id_read(0, 2)
1 Unassigned mem read 00000000f3000038
1 Unassigned mem write 00000000f3000038 = 0xc000010
1 Unassigned mem write 00000000f3017e00 = 0x10
1 Unassigned mem write 00000000f3016600 = 0x58
1 Unassigned mem write 00000000f3016000 = 0x38
1 Unassigned mem write 00000000f3016400 = 0x30
1 Unassigned mem write 00000000f3017800 = 0x0
1 Unassigned mem write 00000000f3017600 = 0x1c
1 Unassigned mem write 00000000f3017c00 = 0x7f
1 Unassigned mem read 00000000f3017600
1 Unassigned mem write 00000000f3017600 = 0x0
1 Unassigned mem write 00000000f3017c00 = 0x84
1 Unassigned mem read 00000000f3016000
1 Unassigned mem write 00000000f3016000 = 0x30
3138 Unassigned mem read 00000000f3016000
6627 Unassigned mem read 00000000f3017a00
1 Unassigned mem read 00000000f3016000
1 Unassigned mem write 00000000f3016000 = 0x10
6681 Unassigned mem read 00000000f3016000
6710 Unassigned mem read 00000000f3017a00
6710 Unassigned mem read 00000000f3016000
6600 Unassigned mem read 00000000f3017a00
5543 Unassigned mem read 00000000f3016000
1 Unassigned mem read 00000000f3000034
1 Unassigned mem read 00000000f3016000
1 Unassigned mem write 00000000f3016000 = 0x30
1234 Unassigned mem read 00000000f3016000
1195 Unassigned mem read 00000000f3017a00
1 Unassigned mem read 00000000f3017400
1 Unassigned mem read 00000000f3016000
1 Unassigned mem write 00000000f3016000 = 0x0
1 Unassigned mem read 00000000f3016000
5441 Unassigned mem read 00000000f3017a00
6820 Unassigned mem read 00000000f3016000
6710 Unassigned mem read 00000000f3017a00
5439 Unassigned mem read 00000000f3016000
1 pci_cfg_write grackle 00:0 @0x80 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x88 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x90 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x98 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x84 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x8c <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x94 <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0x9c <- 0xffffffff
1 pci_cfg_write grackle 00:0 @0xa0 <- 0x0
1 pci_cfg_read grackle 00:0 @0xf0 -> 0x12900000
1 pci_cfg_write grackle 00:0 @0xf0 <- 0x12900000
1 machine_id_read(0, 2)
1 pci_cfg_read grackle 00:0 @0x8 -> 0x6000140
1 pci_cfg_read grackle 00:0 @0xf0 -> 0x12900000
1 pci_cfg_write grackle 00:0 @0xf0 <- 0x12940000
1 pci_cfg_write grackle 00:0 @0xf0 <- 0x12940000
1 pci_cfg_write grackle 00:0 @0xf4 <- 0x40010fe4
1 pci_cfg_write grackle 00:0 @0xf8 <- 0x7302293
1 pci_cfg_write grackle 00:0 @0xfc <- 0x25302220
1 pci_cfg_read grackle 00:0 @0xa0 -> 0x0
1 pci_cfg_write grackle 00:0 @0xa0 <- 0x67000000
1 pci_cfg_read grackle 00:0 @0xf0 -> 0x12940000
1 pci_cfg_write grackle 00:0 @0xf0 <- 0x129c0000
545701 Unassigned mem read 00000000f3014020
1 Unassigned mem write 00000000f30723f0 = 0x1c
1 Unassigned mem write 00000000f30723e0 = 0x42
1 Unassigned mem write 00000000f30723d0 = 0xf0
1 Unassigned mem write 00000000f30723c0 = 0xff
1 Unassigned mem write 00000000f3013020 = 0x9
1 Unassigned mem write 00000000f3013020 = 0xc0
1 Unassigned mem write 00000000f3013020 = 0xd
1 Unassigned mem write 00000000f3013020 = 0x0
1 Unassigned mem write 00000000f3013020 = 0xc
1 Unassigned mem write 00000000f3013020 = 0xa
1 Unassigned mem write 00000000f3013020 = 0xe
1 Unassigned mem write 00000000f3013020 = 0x1
1 Unassigned mem write 00000000f3013020 = 0xb
1 Unassigned mem write 00000000f3013020 = 0x50
1 Unassigned mem write 00000000f3013020 = 0x5
1 Unassigned mem write 00000000f3013020 = 0xea
1 Unassigned mem write 00000000f3013020 = 0x4
1 Unassigned mem write 00000000f3013020 = 0x44
1 Unassigned mem write 00000000f3013020 = 0x3
1 Unassigned mem write 00000000f3013020 = 0xc1
806156 Unassigned mem read 00000000f3013020
BALATON Zoltan (2):
mac_oldworld: Allow loading binary ROM image
mac_oldworld: Add machine ID register
hw/ppc/mac_oldworld.c | 38 +++++++++++++++++++++++++++++---------
1 file changed, 29 insertions(+), 9 deletions(-)
--
2.21.3
next reply other threads:[~2020-06-13 1:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-13 0:54 BALATON Zoltan [this message]
2020-06-13 0:54 ` [PATCH 1/2] mac_oldworld: Allow loading binary ROM image BALATON Zoltan
2020-06-13 0:54 ` [PATCH 2/2] mac_oldworld: Add machine ID register BALATON Zoltan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1592009699.git.balaton@eik.bme.hu \
--to=balaton@eik.bme.hu \
--cc=david@gibson.dropbear.id.au \
--cc=hsp.cat7@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).