qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Mac Old World ROM experiment


From: BALATON Zoltan
Subject: [PATCH 0/2] Mac Old World ROM experiment
Date: Sat, 13 Jun 2020 02:54:59 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]