Contribute
Register

Native NVRAM problems Latitude 3330

Status
Not open for further replies.
Joined
Dec 12, 2015
Messages
18
Motherboard
Dell Latitude 3330-Clover
CPU
i5-3337U/HM77
Graphics
HD4000 1366x768
Mac
  1. MacBook Pro
I am having trouble with the native NVRAM on my Latitude 3330. Though I can make it work with EmuVariable I would really prefer using native NVRAM.

The following test fails:
Code:
sudo nvram TestVar=test;
--reboot--
sudo nvram -p|grep TestVar

However when I boot in to the Clover UEFI shell and test with dmpstore there are all these macOS variables present.
I delete these variables with:
Code:
dmpstore -d -guid 7C436110-AB2A-4BBB-A880-FE41995C9F82
After booting macOS and rebooting to the UEFI shell these variables are back (as also seen in the linux listing below). So it seems that macOS is able to write to NVRAM.

To test if the macOS can read the NVRAM I add a variable in linux with: (https://firmware.intel.com/blog/accessing-uefi-variables-linux)
Code:
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/MyVar-7c436110-ab2a-4bbb-a880-fe41995c9f82

After rebooting to macOS 'MyVar' is present in the output of
Code:
sudo nvram -p
So it seems that macOS is able to read the NVRAM as well.

So why is the TestVar test failing? How do I continue?

Code:
[liveuser@localhost-live ~]$ ls /sys/firmware/efi/efivars/ -alh 
total 0
drwxr-xr-x. 2 root root    0 Oct 24 14:53 .
drwxr-xr-x. 4 root root    0 Oct 24 18:54 ..
-rw-r--r--. 1 root root    8 Oct 24 14:53 AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
-rw-r--r--. 1 root root    9 Oct 24 14:53 AMITCGPPIVAR-a8a2093b-fefa-43c1-8e62-ce526847265e
-rw-r--r--. 1 root root  133 Oct 24 14:53 AMITSESetup-c811fa38-42c8-4579-a9bb-60e94eddfb34
-rw-r--r--. 1 root root   36 Oct 24 14:53 An00000000-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root   36 Oct 24 14:53 Ar00000000-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root    5 Oct 24 14:53 AssetTag-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    6 Oct 24 14:53 backlight-level-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root  218 Oct 24 14:53 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  125 Oct 24 14:53 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  218 Oct 24 14:53 Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  150 Oct 24 14:53 Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  145 Oct 24 14:53 Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  121 Oct 24 14:53 Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  149 Oct 24 14:53 Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  202 Oct 24 14:53 Boot0008-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  222 Oct 24 14:53 Boot0009-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root  222 Oct 24 14:53 Boot000A-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   86 Oct 24 14:53 Boot0082-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    6 Oct 24 14:53 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    6 Oct 24 14:53 bootercfg-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root   98 Oct 24 14:53 BootFFFA-5990c250-676b-4ff7-8a0d-529319d0b254
-rw-r--r--. 1 root root   98 Oct 24 14:53 BootFFFB-5990c250-676b-4ff7-8a0d-529319d0b254
-rw-r--r--. 1 root root   98 Oct 24 14:53 BootFFFC-5990c250-676b-4ff7-8a0d-529319d0b254
-rw-r--r--. 1 root root   98 Oct 24 14:53 BootFFFD-5990c250-676b-4ff7-8a0d-529319d0b254
-rw-r--r--. 1 root root   98 Oct 24 14:53 BootFFFE-5990c250-676b-4ff7-8a0d-529319d0b254
-rw-r--r--. 1 root root    8 Oct 24 14:53 BootFlow-ef152fb4-7b2f-427d-bdb4-7e0a05826e64
-rw-r--r--. 1 root root    5 Oct 24 14:53 BootList-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    6 Oct 24 14:53 BootOneDevice-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    8 Oct 24 14:53 BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   24 Oct 24 14:53 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root 3.1K Oct 24 14:53 ColdReset-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   38 Oct 24 14:53 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   38 Oct 24 14:53 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   34 Oct 24 14:53 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   34 Oct 24 14:53 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    5 Oct 24 14:53 ConsoleLock-368cda0d-cf31-4b9b-8cf6-e7d1bfff157e
-rw-r--r--. 1 root root    8 Oct 24 14:53 csr-active-config-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    8 Oct 24 14:53 CurrentPriority-0eaccf9f-bdde-4857-b5c0-74ec451e269c
-rw-r--r--. 1 root root 3.1K Oct 24 14:53 db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
-rw-r--r--. 1 root root 1.7K Oct 24 14:53 dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f
-rw-r--r--. 1 root root    5 Oct 24 14:53 DebuggerSerialPortsEnabledVar-97ca1a5b-b760-4d1f-a54b-d19092032c90
-rw-r--r--. 1 root root   26 Oct 24 14:53 DefaultBootOrder-45cf35f6-0d6e-4d04-856a-0370a5b16f53
-rw-r--r--. 1 root root   44 Oct 24 14:53 DefaultLegacyDevOrder-3c4ead08-45ae-4315-8d15-a60eaa8caf69
-rw-r--r--. 1 root root    5 Oct 24 14:53 DFNS-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   12 Oct 24 14:53 DriverHealthCount-7459a7d4-6533-4480-bba7-79e25a4443c9
-rw-r--r--. 1 root root   12 Oct 24 14:53 DriverHlthEnable-0885f288-418c-4be1-a6af-8bad61da08fe
-rw-r--r--. 1 root root    8 Oct 24 14:53 EFILoginHiDPI-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root   34 Oct 24 14:53 ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   34 Oct 24 14:53 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    8 Oct 24 14:53 'fakesmc-key-$Adr-ui32-7c436110-ab2a-4bbb-a880-fe41995c9f82'
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-BATP-flag-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-BBIN-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-BEMB-flag-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-BNum-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    8 Oct 24 14:53 fakesmc-key-EPCI-ui32-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    8 Oct 24 14:53 fakesmc-key-#KEY-ui32-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    6 Oct 24 14:53 fakesmc-key-MSAc-ui16-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    6 Oct 24 14:53 fakesmc-key-MSFW-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    6 Oct 24 14:53 fakesmc-key-MSPS-ui16-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-MSTc-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-MSWr-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 'fakesmc-key-$Num-ui8-7c436110-ab2a-4bbb-a880-fe41995c9f82'
-rw-r--r--. 1 root root   12 Oct 24 14:53 'fakesmc-key-RBr -ch8*-7c436110-ab2a-4bbb-a880-fe41995c9f82'
-rw-r--r--. 1 root root   10 Oct 24 14:53 'fakesmc-key-REV -ch8*-7c436110-ab2a-4bbb-a880-fe41995c9f82'
-rw-r--r--. 1 root root    5 Oct 24 14:53 fakesmc-key-RMde-char-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root   12 Oct 24 14:53 'fakesmc-key-RPlt-ch8*-7c436110-ab2a-4bbb-a880-fe41995c9f82'
-rw-r--r--. 1 root root   36 Oct 24 14:53 flagstate-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    8 Oct 24 14:53 FPDT_Variable-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    8 Oct 24 14:53 GNVS_PTR-0a602c5b-05a0-40c4-9181-edcd891d0003
-rw-r--r--. 1 root root   53 Oct 24 14:53 GsetLegacyIplDefaultValue-3a21751e-bd32-4825-8754-82a47f01b09b
-rw-r--r--. 1 root root   53 Oct 24 14:53 GsetUefiIplDefaultValue-7f3301c7-2405-4765-aa2e-d9ed28aea950
-rw-r--r--. 1 root root   12 Oct 24 14:53 HobRomImage-dde1bc72-d45e-4209-ab85-14462d2f5074
-rw-r--r--. 1 root root   48 Oct 24 14:53 IccAdvancedSetupDataVar-7b77fb8b-1e0d-4d7e-953f-3980a261e077
-rw-r--r--. 1 root root    5 Oct 24 14:53 InSetup-8e1a7a52-df0d-460d-a825-d08acf2bb44d
-rw-r--r--. 1 root root 1.6K Oct 24 14:53 KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    7 Oct 24 14:53 Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    7 Oct 24 14:53 LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   44 Oct 24 14:53 LegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652
-rw-r--r--. 1 root root   12 Oct 24 14:53 MBPDataPoint-818f6bf7-9b70-406e-a8f1-5742274b9532
-rw-r--r--. 1 root root   30 Oct 24 14:53 MeBiosExtensionSetup-1bad711c-d451-4241-b1f3-8537812e0c70
-rw-r--r--. 1 root root    8 Oct 24 14:53 MemCeil.-40312829-7891-4abd-b200-0c541b061939
-rw-r--r--. 1 root root    5 Oct 24 14:53 MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
-rw-r--r--. 1 root root   68 Oct 24 14:53 MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
-rw-r--r--. 1 root root   37 Oct 24 14:53 M-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root  924 Oct 24 14:53 MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23
-rw-r--r--. 1 root root   16 Oct 24 14:53 MonotonicCounter-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root 3.0K Oct 24 14:53 MrcS3Resume-87f22dcb-7304-4105-bb7c-317143ccc23b
-rw-r--r--. 1 root root    5 Oct 24 14:53 MyVar-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    5 Oct 24 14:53 NBGopPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   17 Oct 24 14:53 NBPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root    9 Oct 24 14:53 NetworkStackVar-d1405d16-7afc-4695-bb12-41459d3695a2
-rw-r--r--. 1 root root   72 Oct 24 14:53 NvRamSpdMap-717fc150-abd9-4614-8015-0b3323eab95c
-rw-r--r--. 1 root root   14 Oct 24 14:53 OemCpuData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   44 Oct 24 14:53 OldLegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652
-rw-r--r--. 1 root root   12 Oct 24 14:53 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    5 Oct 24 14:53 OsType-a66919d2-6c45-403e-b00a-9bce58e97315
-rw-r--r--. 1 root root  540 Oct 24 14:53 PBRDevicePath-a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e
-rw-r--r--. 1 root root    8 Oct 24 14:53 PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb
-rw-r--r--. 1 root root   20 Oct 24 14:53 PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb
-rw-r--r--. 1 root root    8 Oct 24 14:53 PciSerialPortsLocationVar-560bf58a-1e0d-4d7e-953f-2980a261e031
-rw-r--r--. 1 root root  264 Oct 24 14:53 PetAlertCfg-d54f49f6-0dd4-4276-b09c-dfe1fd8085f0
-rw-r--r--. 1 root root  100 Oct 24 14:53 P-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root 1.4K Oct 24 14:53 PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   10 Oct 24 14:53 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   10 Oct 24 14:53 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   12 Oct 24 14:53 PreviousBootServiceDataInfo-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
-rw-r--r--. 1 root root   68 Oct 24 14:53 PreviousMemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
-rw-r--r--. 1 root root   36 Oct 24 14:53 Rc00000000-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root   36 Oct 24 14:53 Rd00000000-ff2e9fc7-d16f-434a-a24e-c99519b7eb93
-rw-r--r--. 1 root root   20 Oct 24 14:53 S3CpuThrottle-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   28 Oct 24 14:53 SaPegData-c4975200-64f1-4fb6-9773-f6a9f89d985e
-rw-r--r--. 1 root root    8 Oct 24 14:53 SbAslBufferPtrVar-01f33c25-764d-43ea-aeea-6b5a41f3f3e8
-rw-r--r--. 1 root root   12 Oct 24 14:53 ScramblerBaseSeed-87f22dcb-7304-4105-bb7c-317143ccc23b
-rw-r--r--. 1 root root    5 Oct 24 14:53 SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    9 Oct 24 14:53 security-mode-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root    6 Oct 24 14:53 SerialPortsEnabledVar-560bf58a-1e0d-4d7e-953f-2980a261e031
-rw-r--r--. 1 root root    5 Oct 24 14:53 ServiceTag-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    5 Oct 24 14:53 SetupAmtFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root    6 Oct 24 14:53 SetupDptfFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root 3.1K Oct 24 14:53 Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root    5 Oct 24 14:53 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   17 Oct 24 14:53 SetupPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   14 Oct 24 14:53 SetupSnbPpmFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   84 Oct 24 14:53 SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    6 Oct 24 14:53 SioSerialPortsLocationVar-560bf58a-1e0d-4d7e-953f-2980a261e031
-rw-r--r--. 1 root root  114 Oct 24 14:53 specialbootdevice-7c436110-ab2a-4bbb-a880-fe41995c9f82
-rw-r--r--. 1 root root 3.4K Oct 24 14:53 StdDefaults-4599d26f-1a11-49b8-b91f-858745cff824
-rw-r--r--. 1 root root    5 Oct 24 14:53 TcgInternalSyncFlag-f3ed95df-828e-41c7-bca0-16c41965a634
-rw-r--r--. 1 root root    8 Oct 24 14:53 TcgMonotonicCounter-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root   12 Oct 24 14:53 TcgPPIVarAddr-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    5 Oct 24 14:53 TdtAdvancedSetupDataVar-7b77fb8b-1e0d-4d7e-953f-3980a261e076
-rw-r--r--. 1 root root    6 Oct 24 14:53 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r--. 1 root root    7 Oct 24 14:53 TPMPERBIOSFLAGS-7d3dceee-cbce-4ea7-8709-6e552f1edbde
-rw-r--r--. 1 root root    5 Oct 24 14:53 TxtFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   15 Oct 24 14:53 TxtOneTouch-3d989471-cfac-46b7-9b1c-08430109402d
-rw-r--r--. 1 root root    5 Oct 24 14:53 UIScale-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
-rw-r--r--. 1 root root    6 Oct 24 14:53 UsbMassDevNum-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   20 Oct 24 14:53 UsbMassDevValid-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root   33 Oct 24 14:53 UsbSupport-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r--. 1 root root    5 Oct 24 14:53 WdtPersistentData-78ce2354-cfbc-4643-aeba-07a27fa892bf
 

Attachments

  • hackbook-jan.zip
    3 MB · Views: 64
Status
Not open for further replies.
Top