AlainTox714 Posted November 23, 2020 Share Posted November 23, 2020 Hi, everyone Would it be possible to load a SMBIOS.bin file within Clover? All my search failed to find an option for doing this. Link to comment Share on other sites More sharing options...
Slice Posted November 23, 2020 Share Posted November 23, 2020 This moment such option is not planned. Why do you want it? Link to comment Share on other sites More sharing options...
AlainTox714 Posted November 23, 2020 Author Share Posted November 23, 2020 Thanks for the quick reply, I would like that option to inject a perfect SMBIOS builded externaly for my motherboards. I noticed that the SMBIOS even if it works is not really perfect as it could be. Link to comment Share on other sites More sharing options...
Slice Posted November 24, 2020 Share Posted November 24, 2020 This moment such option is not planned. Why do you want it? Link to comment Share on other sites More sharing options...
AlainTox714 Posted November 24, 2020 Author Share Posted November 24, 2020 (edited) Hi, Slice I understood that this option is not planned I already told you why I would like to have it: I noticed that the SMBIOS even if it works is not really perfect as it could be, in fact I would say its look like like a big mess when dumped after being patched. Also there is some changes that could be done to make it more compliant with Apple and which I understand are too specific to be taken in account by the bootloader. Edited November 24, 2020 by AlainTox714 Link to comment Share on other sites More sharing options...
Slice Posted November 24, 2020 Share Posted November 24, 2020 Sorry for the double post, it is the forum bug. You can't just replace the binary SMBIOS.bin because there are many other dependencies. Moreover it is dynamically created data by BIOS and may be changed from one boot to another. It is Clover affair to correct all of them by the method invented for Clover. If you want something more then you may compile Clover by yourself to change SMBIOS as you want. Link to comment Share on other sites More sharing options...
AlainTox714 Posted November 24, 2020 Author Share Posted November 24, 2020 Thanks, Slice I perfectly understand that some hardware modification and/or Bios settings will modify the SMBIOS data so it is required to create a new SMBIOS at every boot and Clover does it fine. I will compile Clover on my own and see if I can inject an SMBIOS.bin file by modifying the code. Any clue/advice to do this? 1 Link to comment Share on other sites More sharing options...
Slice Posted November 26, 2020 Share Posted November 26, 2020 See file smbios.cpp The pointer void *Smbios; //pointer to SMBIOS data is the pointer to binary data that you want to replace. Link to comment Share on other sites More sharing options...
AlainTox714 Posted November 26, 2020 Author Share Posted November 26, 2020 Thanks again Slice, With this info should not be to hard. Link to comment Share on other sites More sharing options...
Recommended Posts