Lion+Snow bootloader and Lion DP2 atom 64bit kernel
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…
- Primary Author
-
@andyvand
Published 2011-04-26
- Collection
- OSx86 Core & 10.X
- Archival Footprint
- 39,419 historical reads · 12 curated field notes (from 21 dispatches) · 2011-04-26 – 2011-08-23
- Credited Voices (12)
- @andyvand (6)@RayFlower (3)@vonjytodisoa (2)@nozyczek (2)@Wayang-NT@mindlessmissy@Izaya@akimoa@wsyytb@astin.j@Unrealized@Sacharon
- Hardware Reference
- SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗ AMD Radeon GPUs (QE/CI) ↗ amazon.com
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
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:
rapid share.com/files/791025386/Lion_Kernels_APICFixed_DP1_To_DP4.zip
Author Updates & Technical Revisions
Follow-up dispatches by @andyvand
@RayFlowerSure, 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…
They will still include a 32bit kernel but it requires a 64bit cpu (without legacy mode set) in order to be able to boot...
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.
@akimoaAndy 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...
@nozyczekAnV, Any progress on patching Lion Final kernel for Atom procs? 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.
@Sacharondid 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)
Synthesized Community Field Notes
12 technical responses curated from 21 original dispatches
hum, i guess that is bad news for amd users when it comes to Lion then?
@RayFlowerhum, i guess that is bad news for amd users when it comes to Lion then?
Not until the kernel sources are made public, anyway ..
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:)
@andyvandThey 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!
@andyvandThis is only the first step in the line, next will be an AnVAL and I'm sure cparm will release stuff too
Can't wait for the Lion Version of AnVAL, its the only bootloader that works on my Sandy Bridge based System
Need help
@Wayang-NTworks great ! ... now i can unplug my bootable UFD to boot into Lion 11A430e … 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. vonjytodisoa (at) gmail.com
Procedure please
@andyvandWe'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…
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!
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 !
@andyvandI 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?
nozyczek
@astin.jwhere does the diff file go?
You don't need it if you aren't a developer.
@andyvandI 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.
@andyvandI 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? (:
Sources & Contributor Provenance (12 credited usernames · Thread #7131)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @andyvand | Primary Author | 6 | 2011-04-26 → 2011-08-23 |
| @RayFlower | Core Contributor | 3 | 2011-04-26 → 2011-04-29 |
| @vonjytodisoa | Contributor | 2 | 2011-06-02 |
| @nozyczek | Contributor | 2 | 2011-08-05 → 2011-08-12 |
| @Wayang-NT | Contributor | 1 | 2011-04-26 |
| @mindlessmissy | Contributor | 1 | 2011-04-26 |
| @Izaya | Contributor | 1 | 2011-04-30 |
| @akimoa | Contributor | 1 | 2011-07-07 |
| @wsyytb | Contributor | 1 | 2011-07-26 |
| @astin.j | Contributor | 1 | 2011-08-10 |
| @Unrealized | Contributor | 1 | 2011-08-11 |
| @Sacharon | Contributor | 1 | 2011-08-19 |