InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #31  
Old 08-19-2011, 01:02 PM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
Uhm am i the only one that desires a ssse3 emulator for snow leopard?
Reply With Quote
  #32  
Old 08-19-2011, 02:45 PM
fumoboy007 fumoboy007 is offline
Jaguar
 
Join Date: Jul 2010
Posts: 40
Quote:
Originally Posted by RayFlower View Post
Uhm am i the only one that desires a ssse3 emulator for snow leopard?
No, you are not.

HP Pavilion a6110n
Asus M2N68-LA (NARRA2) | AMD Athlon 64 X2 4400+ | 6 GB DDR2 RAM | nVidia nForce 430 | nVidia GeForce 9500 GT (nVidia GeForce 6150 SE onboard) | Realtek ALC888S | Atheros 5212 (D-Link WDA-2320)
Reply With Quote
  #33  
Old 08-22-2011, 01:34 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Quote:
Originally Posted by RayFlower View Post
Uhm am i the only one that desires a ssse3 emulator for snow leopard?
Latest AMD Fusion Mobile & Embedded cores have SSSE3 implementation & I think we will see Desktop CPUs with SSSE3 support end of this year.

There are some Mini-ITX boards using AMD Zacate (Brazos) cores - some less then 100€ (like the E350IS-E45 just 88€, 1.6 GHz Dualcore, up to 8GB DDR3).
If those would work with patched XNU, they'd be a real budget friendly alternative to the feeble & expensive Intel Atom platforms...

Anyway working Lion Kernel would be most wanted currently...

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
  #34  
Old 08-23-2011, 09:53 AM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
Quote:
Originally Posted by Imkantus View Post
Latest AMD Fusion Mobile & Embedded cores have SSSE3 implementation & I think we will see Desktop CPUs with SSSE3 support end of this year.

There are some Mini-ITX boards using AMD Zacate (Brazos) cores - some less then 100€ (like the E350IS-E45 just 88€, 1.6 GHz Dualcore, up to 8GB DDR3).
If those would work with patched XNU, they'd be a real budget friendly alternative to the feeble & expensive Intel Atom platforms...

Anyway working Lion Kernel would be most wanted currently...
Hum, time to upgrade then.
A lion kernel would be nice indeed but it would also be nice to have a fully working snow leopard kernel too.
I would like to avoid buying intel the next time i build a new computer but there isn't even power management for AMD yet so I'll stick with my pehom II x4 a bit longer
Reply With Quote
  #35  
Old 08-23-2011, 11:29 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by Imkantus View Post
As you should know, Finder (and some other stuff) is 64-Bit only since Lion DP2 (and any later release).
I have tried Lion GM using your DP1 Kernel on Atom N230, apart from not having Finder, there were problems caused by launchd not working properly... it was kinda eating up my 1GB RAM - so I gave up on that...

So a 64-Bit capable CPU is definitely required for running Lion & a Kernel running 32-Bit legacy mode only would be practical useless.

Anyway a 32-Bit Kernel capable of booting Lion on AMD / VIA / old Intel forced into 64-Bit mode would be a great success at this point - as even if you cannot make a custom dyld at the moment, we could bin-patch the Apple one manually like been done on Snow Leopard earlier...

How did you manage to compile Lion Kernel in Snow Leopard?
With some minor code modifications.
Mods for custom dyld (for Lion) are complete, custom dyld for Lion builds now.
Mods for xnu are coming along (I just worked the entire night yesterday, I think it compiles allready for 32bit but requires some minor fixes for 64bit (warning fixes)... work continues).
I'll release all my work once it's done, somebody with Xcode 4.1 could recompile the kernel in order to make it fully Lion compiled.
Compiling the kernel under Snow Leopard (with Xcode 3.2.6/4.0) is possible with some minor code fixes (variables used uninitialized, just set them to 0 on the beginning of the defines).
Also Apple didn't change much on their decryption algo's, current implementation should work, however I had to rewrite amd_insn_patcher (and also add the changes to the kernel) because of a new 6 byte (instead of 8) _sysenter_trap routine.
Code mods on that part are complete and it puts it into it as it was doing with 10.6 (but uses a uint32_t as first and uint16_t as second code wrapper).
I've left the patcher for Snow Leopard's _sysenter trap into it, it just checks which precise _sysenter_trap is used and patches accordingly.
The change was just a nopl (%eax) to nop... (3B -> 1B).
I guess it will take at most a week to get the code wrapped up completely (and fixed for Lion), it'll work on all 64bit machines, even though having SSSE3 is really recommended since Lion.
I've checked for any SSSE3 checks in the kernel, there where none, it just catalogs the available instruction sets so if there would be any messages, they aren't coming from the kernel.
I should really check how these SSSE3 instructions (it aren't that many) work so I can devise a solution for them.
But first... the kernel ofcourse...
BTW: On InsanelyMac I uploaded Rev2 of the V8 (10.8.0) kernel with some minor fixes for AMD K10 FSB (as latest chameleon fixes that) with the option to double the FSB on those AMD models with -doublefsb boot arg.
I also did some minor changes for Via Nano, it now gets the CPU frequency through EFI booter.
Besides that it includes the custom dyld built with Apple's libunwind-30 code (which compiles fine on Snow Leopard too) but it didn't fully fix some apps crashing.
pbs still gave me some issues (unless I upxed it with my custom upx, then it worked fine).
I'll look into a solution for this as most crashes come from libauto.dylib (Auto::Zone::Zone).
QuickDraw (QD) also gave for some apps a crash.
Too bad we haven't got Apple's libCoreSymbolication library (with matching header) or we would be able to fix the last issues with the custom dyld.
Work continues thus and new solutions are sure to surface (I'm thinking hard for improvements/expansions).
I'll keep you posted...
Reply With Quote
  #36  
Old 08-23-2011, 11:57 AM
akimoa's Avatar
akimoa akimoa is offline
Panther
 
Join Date: Feb 2011
Location: London ,England
Posts: 129
Quote:
BTW: On InsanelyMac I uploaded Rev2 of the V8 (10.8.0) kernel with some minor fixes for AMD K10 FSB (as latest chameleon fixes that) with the option to double the FSB on those AMD models with -doublefsb boot arg.
Works like a charm Thanx for that !


AMD Phenom x4 955 3,2 GHZ Black Edition
Graka:
ATI HD 5770 (Batmobil) 1 GB DDR5 (GIGABYTE)
Lion 10.7 Kexts / Vervet Framebuffer
Mem:
8 GIG RAM Kingston 4x2
OS:
Snow Leopard Retail 10.6.8 Legacy Kernel V8 2
AnV cparm Boot Beta 3
Mobo:
GA-MA-770 UD3 (GIGABYTE)
AMD Tutorial (German)
Another AMD Tutorial (English)
http://f.cl.ly/items/0M2n330k2r2j2L1q2a2g/logo.png
Reply With Quote
  #37  
Old 08-23-2011, 01:05 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
I have one more request.
Could somebody please zip and upload the dyld from Lion GM?
I need it because it checks for code signatures and I need to devise a patch against it.
It is required because if you patch the stock dyld (and/or libSystem.dylib) the code signatures won't be valid anymore.
If I have the stock dyld I can disassemble my custom one (which has this code excluded) and the stock one and check the differences.
If I find this difference I can make a patch (using amd_insn_patcher) which also nops out the code that does the actual code signature check in dyld.
It'll then work with the stock Apple Lion dyld too.
It's important because we need to get these things working 100% for AMD under Lion.
Thanks in advance ;-)
BTW: Don't use rapidshare/mediafire/upload.to/etc as my works internet blocks these in the proxy, upload directly here or on InsanelyMac please.
EDIT: Anyone? Please do it ASAP as I would like to devise a patch against it today... Just zip /usr/lib/dyld please + upload...

Last edited by andyvand; 08-23-2011 at 01:24 PM.
Reply With Quote
  #38  
Old 08-23-2011, 01:33 PM
m28ew m28ew is offline
Jaguar
 
Join Date: Jul 2009
Posts: 47
Quote:
Originally Posted by andyvand View Post
I have one more request.
Could somebody please zip and upload the dyld from Lion GM?

Here's the file mate

MD5: 14acaee6a4e4f19b2cb1392bcebfaebb
Attached Files
File Type: zip dyld.zip (234.1 KB, 23 views)
Reply With Quote
  #39  
Old 08-23-2011, 01:33 PM
akimoa's Avatar
akimoa akimoa is offline
Panther
 
Join Date: Feb 2011
Location: London ,England
Posts: 129
Here ya go
Attached Files
File Type: zip dyld.zip (234.1 KB, 3 views)


AMD Phenom x4 955 3,2 GHZ Black Edition
Graka:
ATI HD 5770 (Batmobil) 1 GB DDR5 (GIGABYTE)
Lion 10.7 Kexts / Vervet Framebuffer
Mem:
8 GIG RAM Kingston 4x2
OS:
Snow Leopard Retail 10.6.8 Legacy Kernel V8 2
AnV cparm Boot Beta 3
Mobo:
GA-MA-770 UD3 (GIGABYTE)
AMD Tutorial (German)
Another AMD Tutorial (English)
http://f.cl.ly/items/0M2n330k2r2j2L1q2a2g/logo.png
Reply With Quote
  #40  
Old 08-23-2011, 01:45 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by akimoa View Post
Here ya go
Thanks a lot guys...
It'll help in making good patches...



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply