[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode
From: |
Mark Cave-Ayland |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode |
Date: |
Tue, 7 Jun 2016 09:24:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 |
On 07/06/16 08:04, Cédric Le Goater wrote:
>>>> 2. I have an old ibook G4 from which I dd'ed the disk. openbios
>>>> complains for some invalid state. is that supported ?
>>
>> Yes, OpenBIOS should boot most things these days (MorphOS is the only
>> execption I know of where the bootloader won't execute correctly as it
>> assumes real mode). The above message means that OpenBIOS couldn't find
>> a bootloader, or it could but was unable to execute it, e.g. due to
>> incompatible architecture - which OS is your image running?
>
> I am pretty sure it is a Mac OS X v10.5. I still have the hardware but it
> is running Linux now :
>
> # cat /proc/cpuinfo
> processor : 0
> cpu : 7447A, altivec supported
> clock : 1333.333000MHz
> revision : 1.5 (pvr 8003 0105)
> bogomips : 36.86
>
> total bogomips : 36.86
> timebase : 18432000
> platform : PowerMac
> model : PowerBook6,7
> machine : PowerBook6,7
> motherboard : PowerBook6,7 MacRISC3 Power Macintosh
> detected as : 287 (iBook G4)
> pmac flags : 0000001a
> L2 cache : 512K unified
> pmac-generation : NewWorld
> Memory : 1024 MB
>
> # lsprop /proc/device-tree/address@hidden/address@hidden/
> reg fff00000 00100000
> info fff00000 00003f00 000493f0 20050705
> 815fda85 fff08000 00078001 000493f0
> 20050705 23765c6c fff80000 00080002
> 000493f0 20050705 b3364dca fff03f00
> 00000083 000493f0 20050705 c2b72d61
> fff03f80 00000084 e24a68ca 15a82001
> ffffffff fff04000 00004005 6e767261
> 6d000000 00000000 00000000 00000000
> [140 bytes total]
> name "boot-rom"
> security-modes 6e6f6e65 2c206675 6c6c2c20 636f6d6d
> 616e642c 206e6f2d 70617373 776f7264
> image 00080000 (524288)
> model "Apple PowerBook6,7 4.9.3f0 BootROM built on 07/05/05 at
> 11:14:11"
> write-characteristic
> "flash"
> hwi-flags 402a1220 (1076498976)
> BootROM-version "$0004.93f0"
> BootROM-build-date
> "07/05/05 at 11:14:11"
> linux,phandle ff89cb08
> has-config-block
>
>
>> Have you tried both mac99 and g3beige machines?
>
> yes.
(I'm wondering if we should start a new thread here either just on
qemu-ppc or over on the OpenBIOS list)
OpenBIOS will read hfs/hfsplus filesystems fine - I wonder if maybe it
can't locate a suitable partition in the Apple Partition Map?
If you boot to the Forth prompt with -prom-env 'auto-boot?=false' can
you try the following to see if you can list the disk contents:
dir hd:,\
If that doesn't work it means that the partition auto-detection is
failing, so try manually forcing the partition number until you find one
that works e.g.
dir hd:0,\
dir hd:1,\
etc.
up until around partition 10? Once you find one that works it should be
possible to boot that partition directly e.g.
boot hd:1
ATB,
Mark.
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, (continued)
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Cédric Le Goater, 2016/06/05
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Mark Cave-Ayland, 2016/06/05
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Cédric Le Goater, 2016/06/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Cedric Le Goater, 2016/06/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Mark Cave-Ayland, 2016/06/06
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Cédric Le Goater, 2016/06/07
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode,
Mark Cave-Ayland <=
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, David Gibson, 2016/06/05
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Benjamin Herrenschmidt, 2016/06/06
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/3] ppc: complete the new HV mode, Cédric Le Goater, 2016/06/06
Re: [Qemu-ppc] [PATCH 0/3] ppc: complete the new HV mode, David Gibson, 2016/06/05