Skip to content

v0.2.1-beta

Compare
Choose a tag to compare
@0nelight 0nelight released this 14 Sep 20:54
· 8 commits to main since this release

This Release was tested successfully MacBookPro Late 2013 13" Big Sur!

The Script now takes in Command Line Arguments so no need to compile and hardcode the defective Memory area within the C code anymore.

A severe Bug #5 was fixed because unaligned Address where not handled correctly by the App.

The three Command Line Arguments are taken in from the Calling EFI-Application fe. rEFInd:

Lowest Error Address (as reported by memtest86+)
Highest Error Address (as reported by memtest86+)
Wait time in milliseconds before the program exits

You should put this code at the end of your refind.conf File - adjusting your folder-paths and the command line options:

menuentry "Disable RAM-Areas with args" {
    icon /EFI/BOOT/icons/vol_efi.png
    loader /EFI/tools/disable-ram-area.efi
    options "0x300000000 0x309FFFF48 3000"
}

Follow the rEFInd Documentation of how to boot into rEFInd.
To get the Lowest & Highest Error Address from memtest86+ you have to change the #1 (comment) in memtest86+.