0 > cd /pci@80000000/mac-io@3/escc-legacy/ch-a ok
0 > .properties
name "ch-a"
device_type "serial"
compatible "chrp,es4"
reg 00012004 00000001
00012006 00000001
0001200a 00000001
AAPL,address 81092004
AAPL,interrupts f
ok
Boot without a binary target
(qemu) info registers
NIP fff0b000 LR fff0b000 CTR fff0afe4 XER 00000000 CPU#0
MSR 00000030 HID0 00000000 HF 00000000 idx 1
TB 00000000 335938117 DECR 3959029194
GPR00 00000000fff0c1b0 0000000007df7e70 0000000000000000 00000000fff4b7c0
GPR04 00000000fffb7b68 0000000000000000 0000000000000008 0000000000000038
GPR08 0000000000000004 0000000000000014 00000000fffb8398 0000000007df7e80
GPR12 0000000000000000 0000000000000000 00000000fffb7b74 00000000fffb0000
GPR16 00000000fff325df 00000000fffb7018 0000000000000000 00000000fffb8398
GPR20 00000000fffb0000 00000000fffb601c 00000000fffb7028 00000000fffb601c
GPR24 0000000000000008 00000000fffb0000 00000000fffb0000 0000000007c5a864
GPR28 00000000fffb7024 0000000000000000 00000000ffffffff 00000000fffb8318
CR 20000202 [ E - - - - E - E ] RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
SRR0 fff27e40 SRR1 00000030 PVR 00080301 VRSAVE 00000000
SPRG0 07e00000 SPRG1 07df7e20 SPRG2 20000204 SPRG3 00000000
SPRG4 00000000 SPRG5 00000000 SPRG6 00000000 SPRG7 00000000
SDR1 07e00000 DAR 07c9c000 DSISR 42000000
Testing we can write to register and our binary is loading.
(qemu) info registers
NIP 00000400 LR fff02604 CTR fff0aa48 XER 00000000 CPU#0
MSR 00001000 HID0 00000000 HF 00000000 idx 1
TB 00000000 113498160 DECR 4181469134
GPR00 0000000000000000 0000000007de8000 0000000000000000 00000000deadbeef
GPR04 0000000000000000 00000000fff02620 0000000000000000 0000000000000000
GPR08 00000000fff36000 0000000000000004 0000000009dffffc 0000000000210038
GPR12 0000000000000000 0000000000000000 0000000000000000 000000000000008c
GPR16 00000000fff3289f 00000000fffb7018 00000000fff34a1f 0000000004000000
GPR20 0000000000000001 00000000fffb601c 00000000fffb7028 00000000fffb601c
GPR24 0000000000000010 00000000fffb0000 00000000fffb0000 0000000007df7a78
GPR28 00000000fffb7024 00000000fffb7298 00000000fffb0000 00000000fffb8318
CR 40000202 [ G - - - - E - E ] RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
SRR0 00200024 SRR1 40003030 PVR 00080301 VRSAVE 00000000
SPRG0 07e00000 SPRG1 07de8000 SPRG2 40000202 SPRG3 00000000
SPRG4 00000000 SPRG5 00000000 SPRG6 00000000 SPRG7 00000000
SDR1 07e00000 DAR 09e00000 DSISR 42000000