Re: [PATCH] xnu

2009-05-03 Thread Vladimir 'phcoder' Serbinenko
On Sun, May 3, 2009 at 6:32 AM, Bean wrote: > Hi, > > xnu usage is quite complicated, perhaps you could write a wiki page on it. > On it > > On Sun, May 3, 2009 at 7:20 AM, Vladimir 'phcoder' Serbinenko > wrote: > > commited > > > > On Mon, Apr 27, 2009 at 9:42 PM, Vladimir 'phcoder' Serbinenko

Re: [PATCH] xnu

2009-05-02 Thread Bean
Hi, xnu usage is quite complicated, perhaps you could write a wiki page on it. On Sun, May 3, 2009 at 7:20 AM, Vladimir 'phcoder' Serbinenko wrote: > commited > > On Mon, Apr 27, 2009 at 9:42 PM, Vladimir 'phcoder' Serbinenko > wrote: >> >> Update. No need to initialize efiemu manually anymore

Re: [PATCH] xnu

2009-05-02 Thread Vladimir 'phcoder' Serbinenko
commited On Mon, Apr 27, 2009 at 9:42 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > Update. No need to initialize efiemu manually anymore > > On Wed, Apr 15, 2009 at 12:46 AM, phcoder wrote: > >> Hello. Here is my xnu patch. Tested on i386-pc, i386-efi and x86_64-efi. >> On non

Re: [PATCH] xnu

2009-04-24 Thread Joey Korkames
Vladimir Serbinenko writes: << HTML content follows >> Your FSB wasn't detected correctly (or rather not detected at all, what's your CPU?). The actual bug is that if fsb frequency is too low the kernel will crash when trying to use 64-bit mode (you can use -legacy parameter to put xnu in 32-

Re: [PATCH] xnu

2009-04-24 Thread Vladimir Serbinenko
Your FSB wasn't detected correctly (or rather not detected at all, what's your CPU?). The actual bug is that if fsb frequency is too low the kernel will crash when trying to use 64-bit mode (you can use -legacy parameter to put xnu in 32-bit mode). You need to specify fsb with a variable. Can you c

Re: [PATCH] xnu

2009-04-23 Thread Joey Korkames
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 ker

Re: [PATCH] xnu

2009-04-17 Thread Joey Korkames
Thanks for the comments. After reading those and peeking around your code, I have a much better config that allos xnu.mod to give proper panic text: #http://grub.enbug.org/gfxterm loadfont /osstore/STAGE1a/grub2/unifont.pf2 set gfxmode="800x600x32" set vbe_mode=0x115 terminal_output gfxterm

Re: [PATCH] xnu

2009-04-17 Thread Vladimir Serbinenko
> > xnu_kernel /osstore/STAGE2/DARWIN/live/mach_kernel -v -s rd=md0 >> > -v option controls the booter and not the kernel. It's totally ignored by grub which always boots the kernel in verbose mode. In future I'll add a command to load the splash which will switch to splash mode _

Re: [PATCH] xnu

2009-04-17 Thread Vladimir Serbinenko
On Sat, Apr 18, 2009 at 1:22 AM, Joey Korkames > wrote: > I have your whole patch series applied and have been trying to use this to > boot the PureDarwin 9 kernel (on various x86 32 & 64 bit machines): > > menuentry "PureDarwin 9 (phcoder efiemu)" { > #efiemu_loadcore /osstore/STAGE1a/grub

Re: [PATCH] xnu

2009-04-17 Thread Joey Korkames
I have your whole patch series applied and have been trying to use this to boot the PureDarwin 9 kernel (on various x86 32 & 64 bit machines): menuentry "PureDarwin 9 (phcoder efiemu)" { #efiemu_loadcore /osstore/STAGE1a/grub2/efiemu32.o efiemu_loadcore /osstore/STAGE1a/grub2/efiem