qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [OpenBIOS] Apple's BootX


From: Jd Lyons
Subject: Re: [Qemu-ppc] [OpenBIOS] Apple's BootX
Date: Fri, 26 Jan 2018 03:24:17 -0500


> On Jan 25, 2018, at 10:14 AM, Natalia Portillo <address@hidden> wrote:
> 
> Hi,
> 
> Instead of going directly, go thru
> https://opensource.apple.com/
> 
> then you can choose the Mac OS X version and see only the tarballs
> applicable to that specified version like this:
> 
> https://opensource.apple.com/release/mac-os-x-1013.html
> 
> gives BootX-36 for Mac OS X 10.1.3.
> 
> On 25/01/18 15:01, Jd Lyons via OpenBIOS wrote:
>> In an effort to figure out why qemu-system-ppc hangs at BootX when using
>> some emulated and KVM CPU’s, I suppose it would be good to enter some
>> breakpoints in the code.
>> 
>> I found some BootX sources at:
>> 
>> https://opensource.apple.com/tarballs/BootX/
>> 
>> Tho I’m not sure what versions correspond to which release of OS X?
>> 
>> And it’s not clear how to build them, tho I haven’t tried yet.
>> 
>> I found some info on BootX as well as some idea how to do what I’m
>> looking to do:
>> 
>> https://people.ffii.org/~zoobab/bh.udev.org/filez/apple/mac6100/BootX.pdf
>> 
>> *There are few other useful debugging tech- niques. Setting "auto-boot?"
>> to false will cause the system to enter the OpenFirmware User In-
>> terface by default. Changing kFailToBoot to 0 in include.tproj/sl.h will
>> alter BootX’s default be- havior on error, so that it will return to
>> Open- Firmware. Finally, calling Enter(), will cause BootX to drop back
>> into the OpenFirmware User **Interface. This can be used as a break
>> point. The "dumpl" word will dump some memory, by en- tering the
>> address, then the length, then "dumpl". By calling printf in BootX
>> immediately before En- ter(), the address can be easily determined, and
>> the variable can then be examined and altered from OpenFirmware. Finally
>> typing the "go" command will resume BootX’s execution. *
>> 
>> 
>> I noted when I boot from boot usb0/disk:3,\\:tbxi while holding
>> command+v BootX sends some info to the screen, seemingly via open
>> firware, while displaying the “Apple Logo” boot graphic. The info show
>> some of the boot process and what stage it’s loading” loading
>> mach_kernel’ “ loading the .mkext”
>> 
>> It would be nice to get this output going via Open Bios, if anyone has
>> any idea how I might be able to do that?
>> 
>>   
>> 
>> 
> 

Thanks, it’s been so many years since I looked at these sources, I forgot I 
could navigate the site that way.

> -- 
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you




reply via email to

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