So, I did some more testing.
I started over from my patched reBAR image, opened it with MMtool 4.50, extracted the rebarDxe.ffs driver then deleted it from the firmware, added the NvmExpressDxe_small.ffs and re-added rebarDxe.ffs after it.
Flashing with M-flash did not work, period - machine froze. But, I then created a USB boot disk using the official AMI AFU For Aptio 4 utility (AfuEfi64) and, through the (very buggy) EFI command line, I managed to program my new image on that motherboard…
Download page is here : Support Docs Archives - AMI select the Aptio 4 download (they all seem to link to the same large archive, so unzip it, then go to the Aptio 4 archive, unzip it again, go down the afuefi path, get to the 64 (-bit) folder and unzip its content : here, you have a text file, a PDF file and the afuefix64.efi utility. The 32-bit version won’t work, so don’t bother with it.
What I used : a 16 Gb USB key, FAT32-formatted (anything smaller should work, though)
2 files on the key : afuefix64.efi and the firmware file (unzipped) linked on this post.
Once you’re on the EFI prompt, you must enter the commands (it allow autocompletion with tab) :
fs1: # or fs0: depending on your drives setup
cls # to clear the screen : it puts the cursor back to top, but fails to clear or scroll the screen
afuefix64.efi [image] /p /b /n
it will test then flash the image, you can reboot the system once it’s done (if the progress bars end up beyond the bottom of your screen, you’ll know when your CapsLock or NumLock key starts reacting again - it should take up to 10 minutes). Note that it may fail to clean up the EEPROM, I suggest you wipe it (reset UEFI to default settings, or JMP_BATT). Remember, you can save and load settings to/from file…
What has been tested (all under Debian forky) :
- reBAR works (tested with a 8 Gb AMD GPU, PCIe 3.0 x16 : 8 Gb aperture)
- USB 3.0 5 Gt/s is ok;
- migrated my Debian install from a SATA SSD to the NVMe using gparted : booted and worked right away;
- SecureBoot works (patched or not, it’s very buggy on that motherboard though, get ready for frustrations);
- Windows 11 (Tiny11 24h2), installs, boots and updates on NVMe drive. ReBAR won’t work though (might be a driver limitation, both/any of chipset and GPU);
- SecureBoot certificates can still be updated using
upfwmgr update.
The firmware I’m using (it’s running that here computer, actually) is attached :
MSI7832v290-rebar-nvme.zip (6.2 MB)
Next, I’ll try and see if I can install and load a TPM 2.0 module - that would allow this system to get a HSI-1 rating with no runtime error 