[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xnu
From: |
Joey Korkames |
Subject: |
Re: [PATCH] xnu |
Date: |
Thu, 23 Apr 2009 17:41:46 -0700 |
This patch did not work as well as the last one posted (on my test machine). The last one got
all the way to trying to run /sbin/launchd off the ramdisk - log post of
this one's boot attempt are attached.
Oh, here is my updated menuentry, works well and gives me serial output
of the darwin kernel (as well as on the VGA monitor):
menuentry "PureDarwin 9 (phcoder efiemu)" {
echo "Switching to VESA and booting Darwin (slow)... "
#bootloader must tickle VESA before xnu can use it
loadfont /osstore/STAGE1a/grub2/unifont.pf2
set gfxmode="800x600x32"
set vbe_mode=0x115
terminal_output gfxterm
echo "VESA enabled. Booting Darwin (slow)... "
#efiemu_loadcore /osstore/STAGE1a/grub2/efiemu64.o
efiemu_loadcore /osstore/STAGE1a/grub2/efiemu32.o
efiemu_pnvram
efiemu_prepare
xnu_kernel /osstore/STAGE2/DARWIN/live/mach_kernel -s -f debug=0x08 serial=2 serialbaud=9600 rd=md0
xnu_mkext /osstore/STAGE2/DARWIN/live/System/Library/Extensions.mkext
xnu_ramdisk /osstore/STAGE2/DARWIN/ramdisk.hfs
# ^^30MB too big? (full /System/Library/Extensions) - yes, box will
reboot before kernel turnover
# ^^if ramdisk is invalid, like FBSD, will attempt NFSMOUNT (to nowhere)
- else, tries /sbin/launchd
}
Thanks
-joey
Vladimir Serbinenko writes:
<< HTML content follows >>
New improved version. Numerous bugfixes. Thanks to Florian Idelberger for
the time he spent on testing and to David Miller for pointing a nasty
mistake out. Also I added fsb autodetection for intel cpus (thanks to
Kabyl for the information about Intel speedstep) but I tested fsb
autodetect only on my own laptop so it may or may not work in general.
Parameter fsb= is still present and overrides autodetect
darwin-crash
Description: darwin-crash