Jump to content
242 posts in this topic

Recommended Posts

Hi guys,

 

Here is the beta AppleSMBIOSEFI I have been working on. It will work with original AppleSMBIOS but will try to fix or add some values that original AppleSMBIOS misses. Therefore, you don't have to worry about AppleSMBIOS being updated.

 

It is based on original AppleSMBIOS and it only works with EFI system right now. It is for both Tiger and Leopard. In addiation, it should fix "About This Mac" crash problem and wrong "Bus Speed" issue.

 

You can change the memory speed. Just boot with "memorySpeed=n" (n is the speed number you want)

You can change the memory type. Just boot with "memoryType=n" (n is the type number you want, 18 is DDR, 19 is DDR2)

 

Example:

memoryType=19 memorySpeed=533

 

Again, it is just the beta version and you still need the original AppleSMBIOS with it.

 

Chun-Nan

 

==============================

static const char *

SMBMemoryDeviceTypes[] =

{

"RAM", /* 00h Undefined */

"RAM", /* 01h Other */

"RAM", /* 02h Unknown */

"DRAM", /* 03h DRAM */

"EDRAM", /* 04h EDRAM */

"VRAM", /* 05h VRAM */

"SRAM", /* 06h SRAM */

"RAM", /* 07h RAM */

"ROM", /* 08h ROM */

"FLASH", /* 09h FLASH */

"EEPROM", /* 0Ah EEPROM */

"FEPROM", /* 0Bh FEPROM */

"EPROM", /* 0Ch EPROM */

"CDRAM", /* 0Dh CDRAM */

"3DRAM", /* 0Eh 3DRAM */

"SDRAM", /* 0Fh SDRAM */

"SGRAM", /* 10h SGRAM */

"RDRAM", /* 11h RDRAM */

"DDR SDRAM", /* 12h DDR */

"DDR2 SDRAM", /* 13h DDR2 */

"DDR2 FB-DIMM" /* 14h DDR2 FB-DIMM */

};

==============================

 

AppleSMBIOSEFI.zip

 

Update: 5/6/2008

1. It will use value of "cpu->externalClock" first. If that value returns 0, it will use value of "FSBFrequency".

2. Add "FSB" flag. You can change the FSB value in case the value is still not correct. Just boot with "FSB=n" (n is the speed number you want) However, it doesn't update the value back to "FSBFrequency" yet.

 

AppleSMBIOSEFI_b2.zip

 

Update: 7/2/2008

1. based on AppleSMBIOS-28

2. Added "serial-number", "board-id", and "system-type". The default serial-number is "W1234567890".

3. Released AppleSMBIOSEFI from memory after adding the values.

4. It should work both on Tiger and Leopard. (I used Tiger to compile the source code.)

 

AppleSMBIOSEFI_28.zip

AppleSMBIOSEFI_28Air.zip

 

P.S. CoolbookController won't work with AppleSMBIOSEFI_28 because model is set to "MacPro3,1". Try AppleSMBIOSEFI_28Air instead or change the model to the ones supported by CoolbookController.

AppleSMBIOS.vanilla.zip

1. use the Finder and copy it in the folder /System/Library/Extensions

2. open terminal and type

 

sudo chmod -R 755 /System/Library/Extensions/AppleSMBIOS.kext

 

then type

 

sudo chown -R 0:0 /System/Library/Extensions/AppleSMBIOS.kext

 

Reboot.

Ok I'm confused. AppleSMBIOSEFI.kext is the kext we install and this tricks the vanilla SMBIOS into reading your system information correctly using EFI? Is that correct?

 

My bios does not send the correct information to my system. For example my bios sends to OSX that my FSB is 179mhz x 4 = 716mhz so I have to use the -g flag to force my system to 200mhz and thus I get my 800mhz in OSX even though it shows 716mhz.

 

Could this AppleSMBIOSEFI.kext correct that? I am guessing not. Currently I am using a SUPERHAI SMBIOS and it pulls my FSB as 716mhz because in his SMBIOS he pulls the information from a special string which I would bet is the same thing used in this AppleSMBIOSEFI.kext.

 

Please correct me if I'm wrong or explain how this one works differently?

1. use the Finder and copy it in the folder /System/Library/Extensions

2. open terminal and type

 

sudo chmod -R 755 /System/Library/Extensions/AppleSMBIOS.kext

 

then type

 

sudo chown -R 0:0 /System/Library/Extensions/AppleSMBIOS.kext

 

Reboot.

 

Argh...

 

i mean where it was the kext..i found it inside the package.

 

thnx

×
×
  • Create New...