97 replies to this topic
#61
Posted 15 May 2012 - 10:43 PM
thanks man , hope some good stuff going on
#62
Posted 16 May 2012 - 06:32 AM
Hmm, I'll test this one ASAP when I'm back home
#63
Posted 16 May 2012 - 09:29 AM
I just read previous post
Hello check this AMD kernel for 10.7.4
http://www.osx86.net...do=file&id=2723
Nothing new, same result that previous kernel version
I mean that Finder from DP2 works but not finder from LIon....
I hope to get soon a true AMD Lion kernel for my AMD box
Leon
#64
Posted 16 May 2012 - 11:06 PM
I'm going to be looking at some of the Assembly code, and see if I can change the SSSE3 calls to SSE3...not sure if I can, but it's an attempt.
#65
Posted 23 May 2012 - 06:51 PM
Still waiting for .....
........ AMD Lion 64 bits kernel
Any news ?
Leon
........ AMD Lion 64 bits kernel
Any news ?
Leon
#66
Posted 23 May 2012 - 10:33 PM
people stopped in the last amd kernel only 32 ,, no 64 support yet
#67
Posted 24 May 2012 - 02:36 PM
From what I can see, what bronzovka changed to get it working on AMD was not in the commpage (written in Assembly), and I believe he is not familiar with Assembly programming. I think the best bet is to wait for nawcom or meklort to release a version with the patched SSSE3 instructions. (I don't know if meklort is working on it, but I do know that nawcom will be; he's just waiting to get his new AMD build, which he said he will hopefully get in May)
#68
Posted 24 May 2012 - 06:50 PM
that's good news , hope something soon ,
and goodluck to all Dev"s
and goodluck to all Dev"s
#69
Posted 29 May 2012 - 05:45 AM
Nawcom put some news on his blog: http://blog.nawcom.com/?p=941
#70
Posted 11 July 2012 - 01:44 PM
I checked on applelife.ru today and read that bronkovza has quit and lion kernel development for the time being due to lack of time. Seems its now all good old nawcom and andyvand
#71
Posted 13 July 2012 - 01:45 AM
Does he have any source code available for the current kernel?
#72
Posted 27 July 2012 - 05:25 AM
I think that a good policy would be that, every time an OsX kernel go open source, the first to become aware of it starts a thread here at insanelymac. This thread should be pinned and would provide a window, for all people with enough knowledge of kernel patching and willing to do the patches, to share opinions and results with themselves and the OsX community, as well as an oportunity to the less-skilled to learn and, hopefully, contribute with something - sometimes good insights come from where they're less expected.
Pooky, RAW X86 shared the codes of his patched AMD kernel: take a look at http://osx86.co/f100...-kernel-t7687/. Where does Apple publish the source cordes of its own vanilla kernels when they become open source (lion's should be open source by now, or else we wouldn't have our patched ones)? It would be good to give a close look at it and compare it to the patched kernels, so we eventually have a (much-needed) AMD_64 Lion kernel (which, by its turn, would be a great starting point for a legacy must-be-64-bit
Pooky, RAW X86 shared the codes of his patched AMD kernel: take a look at http://osx86.co/f100...-kernel-t7687/. Where does Apple publish the source cordes of its own vanilla kernels when they become open source (lion's should be open source by now, or else we wouldn't have our patched ones)? It would be good to give a close look at it and compare it to the patched kernels, so we eventually have a (much-needed) AMD_64 Lion kernel (which, by its turn, would be a great starting point for a legacy must-be-64-bit
#73
Posted 27 July 2012 - 02:21 PM
Apple releases the sources for their kernel(s) here: http://opensource.apple.com/ You can just click one of the Mac OS X versions in the list, and download the xnu file at the bottom of the list.
I'll do my best; the main issue is that the SSSE3 instructions (required for 64-bit on Lion) have to be translated to SSE3 for non-Bulldozer AMDs, and I'm not very experienced in Assembly. However, I'll do my research and see what I can find.
I'll do my best; the main issue is that the SSSE3 instructions (required for 64-bit on Lion) have to be translated to SSE3 for non-Bulldozer AMDs, and I'm not very experienced in Assembly. However, I'll do my research and see what I can find.
#74
Posted 01 August 2012 - 03:11 AM
Great, Pooky! Good luck! If you manage to do it, it hopefully will help in a Mountain Lion legacy kernel development.
#75
Posted 17 August 2012 - 04:25 PM
Sorry if it shows my utter ignorance on the subject, but the ssse3 instructions emulator must necessarily be written in assembly?
#76
Posted 17 August 2012 - 05:52 PM
theconnactic, on 17 August 2012 - 04:25 PM, said:
Sorry if it shows my utter ignorance on the subject, but the ssse3 instructions emulator must necessarily be written in assembly?
A high level language, (aka as an HLL, e. g., C, Java, etc.) can be thought of as the Sargent who orders a private to dig the trenches. Assembly language can be thought of as the private who actually does the digging. In other words, assembly language is closer to the actual machine language that the processor uses than the HLL.
In the early days of compiler design, not much effort was put into creating the most efficient implementation of an algorithm, and higher compiled languages typically ran slower then they should. In those cases where you needed responsive code (say communications on a PC), assembly language was used instead. It's also very tedious to write and rather boring, because one HLL statement can involve from as few as one (shift) to a as many as several hundred (so I was told, other's can correct me). (I recall that OS2 v2.0 was written in assembly! Which was the only way they could ensure a GUI worked responsively on a 80286 at the time; check out MS Windows for 286 and you will understand why.)
Since then, compilers have come a long way in implementing clever short-cuts in code. Nowadays, there's very little to be gained to the point that you'd be challenged to write an assembly level version. But when new instruction come out, there's a learning curve involved with implementing them in an efficient manner in a compiler. Hence, we're better off writing at the assembly language level.
From what little I see on wikipedia, I note that there are 16 discrete instructions for SSSE3. Presuming the various different kinds of execution for each instruction, we're looking at a lot of assembly instructions.
The other problem is that fact that the hardware that can't be use the SSSE3 instruction is now obsolete. As time goes on, more folks will upgrade to hardware and the demand incentive to emulate SSSE3 will fade away. Unless there's a concerted effort by folks on this and other boards to make the patch for a working 64-bit 10.7 and beyond using AMD's sans SSSE3 will be gone by the end of the year.
At least that's my take on it, YMMV.
#77
Posted 17 August 2012 - 09:06 PM
theconnactic, on 17 August 2012 - 04:25 PM, said:
Sorry if it shows my utter ignorance on the subject, but the ssse3 instructions emulator must necessarily be written in assembly?
#78
Posted 18 August 2012 - 06:42 AM
Is there somewhere a starter guide for devs in AMD assembly (or x86 assembly, if it's not any difference)? No, just kidding: i have barely basic knowledge of c-type languages and unfortunately don't have the time and skills necessary to do the task. Let's hope for something from Nawcom, if he's really better from his health issues, or for some undiscovered pro-AMD talented person to show up.
#79
Posted 18 August 2012 - 07:02 AM
PookyMacMan, on 17 August 2012 - 09:06 PM, said:
To add to user_hostile's point, an SSSE3 emulator is unnecessary. With the old SSE3 emulator in years past, that was necessary because the kernel and many applications (and Rosetta) used SSE3. Here with SSSE3, the instructions (AFAIK) are only in the kernel and not in applications; therefore an on-the-fly dynamic emulator is not needed, but rather some brilliant mind needs to translate the SSSE3 instructions to SSE3 so it is a static (doesn't change) translation. 
And you fought my ignorance. So if I understand this problem, it's matter of taking the source code of the kernal, compiling it into assembly, doing a search for the instruction, swapping it out with a macro, and living happily ever after, right?
I'm only trying to understand the scale of the work involved here (the SSSE3 to SSE3 conversion is a separate issue)
#80
Posted 18 August 2012 - 02:35 PM
theconnactic, on 18 August 2012 - 06:42 AM, said:
Is there somewhere a starter guide for devs in AMD assembly (or x86 assembly, if it's not any difference)? No, just kidding: i have barely basic knowledge of c-type languages and unfortunately don't have the time and skills necessary to do the task. Let's hope for something from Nawcom, if he's really better from his health issues, or for some undiscovered pro-AMD talented person to show up.
Yeah, nawcom healthwise is doing great, haven't seen any activity on his blog in a while though. He's still on irc.osx86.hu, which is a good sign.
user_hostile, on 18 August 2012 - 07:02 AM, said:
And you fought my ignorance. So if I understand this problem, it's matter of taking the source code of the kernal, compiling it into assembly, doing a search for the instruction, swapping it out with a macro, and living happily ever after, right?
I'm only trying to understand the scale of the work involved here (the SSSE3 to SSE3 conversion is a separate issue)
I'm only trying to understand the scale of the work involved here (the SSSE3 to SSE3 conversion is a separate issue)
Also tagged with one or more of these keywords: AMD Lion, Kernel
| Topic | Stats | Last Post Info | ||
|---|---|---|---|---|
|
International →
Ελληνικά →
AMD για LionStarted by larrougos, 02 Apr 2012 |
|
|
|
|
OSx86 Project →
OSx86 Installation →
OSx86 10.7 (Lion) →
AMDStarted by evgkursai, 11 Feb 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









