Guest User

Ubuntu on Wintel W8 / Ainol Mini PC

a guest
Jul 30th, 2015
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. Recommended BIOS Settings for Ubuntu 14.04 on Wintel W8 Boards
  2. =====================================================================
  4. The Wintel W8[1] mini PC (also sold as the Ainol Mini PC[2]) comes pre-loaded with Android 4.4 (64-bit) and Windows 8.1 (32-bit). At boot, an icon-based dual-boot loader will ask which OS you want to boot into.
  6. I wanted to have a single-boot (not dual-boot) installation of Ubuntu 14.04 LTS, the latest LTS release at the time of this writing. This paste documents the steps I needed to take to successfully accomplish this.
  8. [1]
  9. [2]
  11. -----------------------------------------------------------------------
  13. Step 1: Boot up.
  14. If you want to install a 32-bit flavour of Linux, you will need to boot the mini PC, and at the dual-boot screen you should select Windows.
  15. If you want to install a 64-bit flavour of Linux, you will need to boot the mini PC, and at the dual-boot screen you should select Android.
  17. Once the selected OS has been booted, just yank the power cable out of the device (don't shut it down gracefully.)
  19. This step is necessary because when Android is selected, the 64-bit UEFI firmware is uploaded/flashed/whatever, and ditto for 32-bit firmware when Windows is selected.
  22. Step 2: Enter BIOS.
  23. Power on your mini PC with a USB keyboard attached, and immediately, repeatedly press the ESC key (don't hold it down, tap the key frequently). This should throw you into the modern blue and white/black BIOS screen (see the images in [1] for examples).
  26. Step 3: Reset Defaults.
  27. Head over to "Save & Exit" tab, and select the option to restore to factory settings/defaults. Once this is done, don't save nor exit, just continue immediately on to step 3.
  30. Step 4: "Boot" tab.
  31. Head to the "Boot" tab and set "Quiet Boot" to Disabled.
  34. Step 5: "Security" tab.
  35. Look for the "Secure Boot" setting and set it to Disabled.
  38. Step 6: "Chipset" tab.
  39. Look for the "RPMB Provision" setting and set it to Disabled.
  41. This will stop the Ubuntu installer from trying to probe the /dev/mmcblk0rpmb block device and erroring out.
  44. Step 7: "Advanced" tab.
  45. This is the most important setting, and will fix the eMMC speed from being ~128KB/sec to ~42MB/sec reads. Change the "SCC eMMC 4.5 HS200 Support" setting to Disabled.
  47. The rest of the settings should read:
  48. LPSS & SCC Devices Mode: ACPI mode
  49. SCC eMMC Support: Enable eMMC 4.5 Support
  50. eMMC Secure Erase: Disabled
  51. eMMC Write Protect: Enabled
  52. SCC eMMC 4.5 DDR50 Support: Enabled
  53. SCC eMMC 4.5 HS200 Support: Disabled (this is the one setting we changed in this step)
  54. SCC SDIO Support: Enabled
  55. SCC SD Card Support: Enabled
  56. SDR25 Support for SDCard: Enabled
  57. DDR50 Support for SDCard: Disabled (note: this is greyed out on my screen)
  58. MIPI HSI Support: Enabled
  60. Step 8: Save and Reset.
  61. Head to the "Save & Exit" tab and select "Save and Reset".
  63. You should press ESC again just like you did in step 2 to re-enter BIOS, and select an installation media from the "Save & Exit" tab to boot from. This should be either a USB FLASH drive with installation files on it or USB CD-ROM drive with the installation CD inserted).
  65. TIP: Use the Desktop ISO so you can "Try Ubuntu without installing" and just confirm that eMMC speeds are in the tens of MB/sec, and that any other devices you require are functional.
  67. NOTES:
  68. - The WiFi (RTL8723BS) isn't working out-of-the-box. Once you have Ubuntu successfully installed you will need to source these and install them just like any other kernel modules.
  69. - Audio over HDMI on Linux is broken, however it looks like others have got it working with a lot of work:
  70. - Remember, this kit uses UEFI, so read up on installing Ubuntu on UEFI machines if it's not an area you're familiar with (TLDR is: use GPT partition table, and have the first partition be 100MB-200MB in size with the type set to EFI, then your usual Linux partitions thereafter.)
Add Comment
Please, Sign In to add comment