From 005455abd7912c19aebff093015553eab9edbd53 Mon Sep 17 00:00:00 2001 From: Andrey1970AppleLife Date: Sun, 11 Apr 2021 01:45:10 +0300 Subject: [PATCH] DataBase: Updated IM112 --- AppleModels/DataBase/iMac/IM112.yaml | 12 ++++-------- Library/OcMacInfoLib/AutoGenerated.c | 4 ++-- Utilities/macserial/modelinfo_autogen.h | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/AppleModels/DataBase/iMac/IM112.yaml b/AppleModels/DataBase/iMac/IM112.yaml index 8bcea765f51..20d8e41be43 100644 --- a/AppleModels/DataBase/iMac/IM112.yaml +++ b/AppleModels/DataBase/iMac/IM112.yaml @@ -4,7 +4,7 @@ BIOSLegacyVersion: "IM112.88Z.F000.B00.1906132310" BIOSReleaseDate: "06/13/2019" SystemManufacturer: "Apple Inc." SystemProductName: "iMac11,2" -SystemVersion: "1.2" +SystemVersion: "1.0" # Note, this one is used by macserial SystemSerialNumber: "W8034342DB7" SystemSKUNumber: "" @@ -23,13 +23,9 @@ ChassisManufacturer: "Apple Inc." ChassisType: 0xD ChassisVersion: "Mac-F2238AC8" ChassisAssetTag: "" -# FIXME: check -FirmwareFeatures: 0xE00DE137 -# FIXME: check +FirmwareFeatures: 0xC00C9423 FirmwareFeaturesMask: 0xFF1FFF3F -# FIXME: check -ExtendedFirmwareFeatures: 0x00000000E00DE137 -# FIXME: check +ExtendedFirmwareFeatures: 0x00000000C00C9423 ExtendedFirmwareFeaturesMask: 0x00000000FF1FFF3F MemoryFormFactor: 0x9 # FIXME: check values (most should be correct?) and add missing, if any @@ -143,7 +139,7 @@ AppleModelCode: # Note, first board code is used by macserial # FIXME: check AppleBoardCode: - - "000" + - "DCJN" # Note, first year is used by macserial AppleModelYear: - 2010 diff --git a/Library/OcMacInfoLib/AutoGenerated.c b/Library/OcMacInfoLib/AutoGenerated.c index b5ae8d97b9e..0a44f93c3c7 100755 --- a/Library/OcMacInfoLib/AutoGenerated.c +++ b/Library/OcMacInfoLib/AutoGenerated.c @@ -2170,7 +2170,7 @@ CONST MAC_INFO_INTERNAL_ENTRY gMacInfoModels[] = { .SmcPlatform = {107, 55, 52, 0, 0, 0, 0, 0}, .BIOSVersion = "99.0.0.0.0", .BIOSReleaseDate = "06/13/2019", - .SystemVersion = "1.2", + .SystemVersion = "1.0", .SystemSKUNumber = "", .SystemFamily = "iMac", .BoardVersion = "iMac11,2", @@ -2182,7 +2182,7 @@ CONST MAC_INFO_INTERNAL_ENTRY gMacInfoModels[] = { .MemoryFormFactor = 0x9, .PlatformFeature = MAC_INFO_PLATFORM_FEATURE_MISSING, .ChassisAssetTag = "", - .FirmwareFeatures = 0xE00DE137ULL, + .FirmwareFeatures = 0xC00C9423ULL, .FirmwareFeaturesMask = 0xFF1FFF3FULL, }, { diff --git a/Utilities/macserial/modelinfo_autogen.h b/Utilities/macserial/modelinfo_autogen.h index 41f98c5a20c..da117b57914 100755 --- a/Utilities/macserial/modelinfo_autogen.h +++ b/Utilities/macserial/modelinfo_autogen.h @@ -472,7 +472,7 @@ static const char *AppleBoardCode[][APPLE_BOARD_CODE_MAX] = { /* Xserve3,1 */ {"63C", "1PH"}, /* iMac10,1 */ {"000"}, /* iMac11,1 */ {"000"}, - /* iMac11,2 */ {"000"}, + /* iMac11,2 */ {"DCJN"}, /* iMac11,3 */ {"000"}, /* iMac12,1 */ {"DJWK", "DM66", "DNJK", "DP0H", "DKG1", "DM65", "DNJJ", "DKG2", "DM67", "DNJL", "DP0K", "DP00"}, /* iMac12,2 */ {"DJWM", "DMT3", "DMT5", "DJWN", "DM69", "DJWP", "DM6C"},