UEFI Patch & ASRock E3C226D2I

To get OSX booting on the ASRock E3C226D2I you can either patch the OSX Kernel (Power Management Patch) or you can patch the BIOS err… UEFI Firmware. I have chosen the latter and it works straight forward. Specifically what this Firmware Patch does is to prevent locking MSR 0xE2 and therefore make the system compatible with native OS X power management, wich nowadays is integrated in the Kernel.

The tools is available on GitHub and the Firmware is available here.

This is how you patch your firmware:

Xeon:~ userone$./UEFIPatch 226D2IL2.10 
patch: replaced 10 bytes at offset E82h 75080FBAE80F89442430 -> EB080FBAE80F89442430
Image patched
Xeon:~ userone$

And you will get a file: 226D2IL2.10.patched, which you shall flash to your machine using the Instant Flash function during boot or in the BIOS.

Unfortunately after, you have to add clover again. So go into the UEFI Shell.

Shell> fs0:EFI\CLOVER\CLOVERX64.efi

And go the relevant menu to add the clover entries. Thats it folks !

Advertisements

Western Digital, Seagate, HGST – where to store my files ?

Recently I am looking for new HDDs – either 6TB or 8TB and there are a couple of options. WD, Seagate and HGST all of 6TB disks in their lineup. 8TB are available from Seagate and HGST:

6TBs all of them have in their line-up:

By chance I found the article ‘What is the Best Hard Drive?‘ by Backblaze, a cloud storage provider. They have interesting statistics as well as graph. For example like this: Maybe Seagate is not my prime option. I am however also not so convinced that putting Helium (as HGST does), is such a smart move – the HGST drives in the chart are not He drives by the way.

Asus RT-AC66U, AdvancedTomato and flashing it on OSX

I just got a new router, the Asus RT-AC66U but I chose to installĀ AdvancedTomato firmware on it.
I was searching for tutorials, everything I found described how to do it using the Asus Restore utility which is Windows only šŸ˜¦
Also I was reluctant to setup a Windows VM just to only install Tomato. So instead I used the tftp tool which is included in OSX šŸ™‚ .

  1. Download the AdvancedTomato firmware (in my case for RT-AC66U)
  2. Set a static IP on Ethernet on your OSX machine:192.168.1.2, 255.255.255.0
  3. cd into the folder where you have downloaded the tomato firmware
  4. Restart the router in restore mode:
    1. Turn the router off
    2. While holding the reset button using a pen, turn on the router
    3. Keep holding the reset button for about 5 seconds until the power led starts flashing
  5. Connect a cable between the LAN port 1 (NOT the WAN port) on the router and your computer.
    • Verify that you can ping 192.168.1.1
  6. Upload the firmware using tftp in terminal:
    • tftp -e 192.168.1.1
    1. In the tftp shell execute these commands (enter the part after tftp> )
      • tftp> timeout 90
      • tftp> verbose
      • tftp> status
        • The output of the status command should be something like:
          • Connected to 192.168.1.1. Mode: octet Verbose: on Tracing: off Rexmt-interval: 5 seconds, Max-timeout: 90 seconds
          • The main thing to watch out for in the output is that the mode is binary (octet) and that the timeout is high enough for the upload to complete.
  7. Still using the tftp shell, upload the trx file to the router:
      • tftp> put tomato-RT-AC66U_AT-RT-AC6x-2.5-124-AIO-64K.trx
      • The output should be:
        • puttingĀ tomato-RT-AC66U_AT-RT-AC6x-2.5-124-AIO-64K.trx to 192.168.1.1tomato-RT-AC66U_AT-RT-AC6x-2.5-124-AIO-64K.trx [octet]
      • The upload should finish in about 10 seconds:
        • Sent 16940400 bytes in 9.5 seconds [5041231 bits/sec]
  8. Wait for 5-10 minutes
    • After the upload is complete is that the router will restart and then install the firmware.
      • After the power light should stops flashing wait for 5-10 minutes, this is currently the only know indicator.
  9. NVRAM reset:
    • Turn off the router
    • While pressing the WPS button turn the router back on
    • Keep holding the WPS button for 30 seconds
    • After releasing the WPS button the router does a restart and the different lights flashes in the process, when the restart is complete all the lights should be on, including the WIFI lights (it took about 15 seconds on my router before all the lights were turned on)

Success, after the NVRAM reset you can ping 192.168.1.1

  1. Finally, go and configure AdvancedTomato –Ā http://192.168.1.1
    • Default user is root and password is admin
      • Change the password
    • Ā By default there is no security on WIFI
      • Enable security on the WIFI