PDA

View Full Version : Lion+Snow bootloader and Lion DP2 atom 64bit kernel


andyvand
04-26-2011, 06:32 AM
We've worked hard on making a non-double faulting bootloader (the credits go to cparm for this).
I've constructed a PC EFI 10.6 that will work on both Lion and older.
It is no longer required to use the kernelcache (you can use also Extensions.mkext or just .kext files)
This is only the first step in the line, next will be an AnVAL and I'm sure cparm will release stuff too http://www.insanelymac.com/forum/style_emoticons/default/wink.gif
I've also attached atom / new Celeron patched kernel but it'll only work for 64bit cpu's (apple is dropping their legacy 32bit support since Lion with every step...).
Even with DP1 and perfect bootloader and patched kernel it'll halt execution after launchd is launched so...
Patch for Snow Leopard PC EFI 10.6 is also included...
Update: I patched the kernels for Atom (DP1 32+64bit cpus work, DP2 to DP4 64bit cpus work) and also added a little APIC fix (needed for some computers like the HP Mini...).

Atom APIC fixed Kernels for DP1 to DP4:
https://rapidshare.com/files/791025386/Lion_Kernels_APICFixed_DP1_To_DP4.zip

Wayang-NT
04-26-2011, 10:57 AM
works great !!! ... now i can unplug my bootable UFD to boot into Lion 11A430e .... :D :D :D thanks ....

RayFlower
04-26-2011, 12:03 PM
hum, i guess that is bad news for amd users when it comes to Lion then?

mindlessmissy
04-26-2011, 08:24 PM
hum, i guess that is bad news for amd users when it comes to Lion then?

Not until the kernel sources are made public, anyway ..

RayFlower
04-26-2011, 09:25 PM
Sure, but even then 32bit legacy mode disappears.
Seing how the 64bit amd kernel works so far on SnowLeopard I'm guessing it would take a lot of effort to make it work at all, and even then you can't run 32bit apps.
Well thats what the current situation is on SL at the moment.

Anyhow, I'll gladly install Lion on my MBP, going for 64bit kernel only seems like the right move:)

andyvand
04-29-2011, 06:59 AM
Sure, but even then 32bit legacy mode disappears.
Seing how the 64bit amd kernel works so far on SnowLeopard I'm guessing it would take a lot of effort to make it work at all, and even then you can't run 32bit apps.
Well thats what the current situation is on SL at the moment.

Anyhow, I'll gladly install Lion on my MBP, going for 64bit kernel only seems like the right move:)
They will still include a 32bit kernel but it requires a 64bit cpu (without legacy mode set) in order to be able to boot...

RayFlower
04-29-2011, 04:20 PM
They will still include a 32bit kernel but it requires a 64bit cpu (without legacy mode set) in order to be able to boot...

Aha, thanks for clearing that up!

Izaya
04-30-2011, 03:34 PM
This is only the first step in the line, next will be an AnVAL and I'm sure cparm will release stuff too http://www.insanelymac.com/forum/style_emoticons/default/wink.gif

Can't wait for the Lion Version of AnVAL, its the only bootloader that works on my Sandy Bridge based System :)

vonjytodisoa
06-02-2011, 08:09 PM
works great !!! ... now i can unplug my bootable UFD to boot into Lion 11A430e .... :D :D :D thanks ....
Hi, You are blessing by GOD!!!
Can someone help me, for adress to download the 10.6.7 and Lion (like torrent if possible), and the driver 9600GT, so I try install the 10.6.2 but never find the graphic card. [email protected]

vonjytodisoa
06-02-2011, 08:12 PM
We've worked hard on making a non-double faulting bootloader (the credits go to cparm for this).
I've constructed a PC EFI 10.6 that will work on both Lion and older.
It is no longer required to use the kernelcache (you can use also Extensions.mkext or just .kext files)
This is only the first step in the line, next will be an AnVAL and I'm sure cparm will release stuff too http://www.insanelymac.com/forum/style_emoticons/default/wink.gif
I've also attached atom / new Celeron patched kernel but it'll only work for 64bit cpu's (apple is dropping their legacy 32bit support since Lion with every step...).
Even with DP1 and perfect bootloader and patched kernel it'll halt execution after launchd is launched so...
Patch for Snow Leopard PC EFI 10.6 is also included...

Kernel for DP2 Atom / New celeron 64bit:
https://rapidshare.com/files/459219349/kernels_Lion_DP2_Atom.zip

What are you in your mind, may GOD do especial superhuman like you!! SO!!!!
Can you send the procedure step by step for the install please!!!!

andyvand
07-07-2011, 06:32 AM
I patched up the DP1 to DP4 kernels for Atom cpus (DP2 to DP4 are 64bit only though).
I also included a little patch to fix APIC errors on some computers (like the HP Mini netbook).
It's available from the first post.

akimoa
07-07-2011, 09:35 AM
Andy like u just modified these Atom Lion kernels..anyway u could patch one for AMD too? i guess not only me would love to see that !

andyvand
07-07-2011, 12:28 PM
Andy like u just modified these Atom Lion kernels..anyway u could patch one for AMD too? i guess not only me would love to see that !
I'm looking into it... it's not as easy as this as the code would increase...
The problem is also the fake cpuid + sysenter calls (adding the functions + changing interrupt 0xFB + 0xFC to the corresponding virtual interrupts).
Research continues...

wsyytb
07-26-2011, 01:29 AM
thanks for sharing , great job!

nozyczek
08-05-2011, 04:24 PM
I patched up the DP1 to DP4 kernels for Atom cpus (DP2 to DP4 are 64bit only though).
I also included a little patch to fix APIC errors on some computers (like the HP Mini netbook).
It's available from the first post.

AnV,
Any progress on patching Lion Final kernel for Atom procs?
Thanks
nozyczek

andyvand
08-09-2011, 11:39 AM
AnV,
Any progress on patching Lion Final kernel for Atom procs?
Thanks
nozyczek
I haven't had much time yet as I've been working (at Belgacom, my work) a lot but I've allready decompiled the kernel and will patch it when I have the time. ;)

astin.j
08-10-2011, 11:10 AM
where does the diff file go??

Unrealized
08-11-2011, 07:10 PM
where does the diff file go??

You don't need it if you aren't a developer.

nozyczek
08-12-2011, 12:50 PM
I haven't had much time yet as I've been working (at Belgacom, my work) a lot but I've allready decompiled the kernel and will patch it when I have the time. ;)

Cool, thx.

Sacharon
08-19-2011, 01:46 PM
I haven't had much time yet as I've been working (at Belgacom, my work) a lot but I've allready decompiled the kernel and will patch it when I have the time. ;)
Hey,
did you had any success with it by now? Is there any way to support you in that task? (:

andyvand
08-23-2011, 11:34 AM
Hey,
did you had any success with it by now? Is there any way to support you in that task? (:
Just need to find some time for it.
I'm currently working on a legacy kernel for Lion (will only run on 64bit cpu's though).
I'll get back to this when I have the time (I have the GM kernel so I can patch it and I know the required binary patches well, cvs build of otx disassembles the kernel well and allows me to look up what needs to be changed)