arrow-left

All pages
gitbookPowered by GitBook
1 of 3

Loading...

Loading...

Loading...

Distributions

aka. Distro

hashtag
ARM32 Distros

There are still a few distros out there which support ARM32

  • Raspberry Pi OS

  • Archlinux

  • Fedora

  • Lubuntu 16.04

  • ... (append it pls)

Downloads for older and probably dated builds can be found here:

hashtag
Recommend Distros

To make use of hardware acceleration we need to use grate-driver Following distros support grate-driver out of box:

  • Archlinux

  • PostmarketOS

hashtag
Choosing a Distro

Linux comes in all different flavors just like ice cream, you can choose whatever fits you. For ease anything Debian based is recommended, advanced users can look for Arch or Fedora. Difference is how commands work but deep down everything is nearly same.

hashtag
Install and boot

There are two ways of booting Linux, APX payload or EFI boot, this time let's focus on EFI.

  1. Prepare SD card with any of your choice You can use Balena etcher, Rufus, Raspberry imager etc. Doesn't matter which one

  2. Prepare a FAT32 formatted USB drive with EFI and kernel files, they are linked below, extract to root directory

  3. Put the SD card in your Surface

Turn off tablet, complete shutdown and not sleep mode

  • Plug in the USB drive you prepared

  • Turn on by holding volume down key, release it when the logo appears

  • Let it boot. If it does it will go past the kernel log and load a distro of your choice. It should be safe to unplug the USB once Distro has loaded up. (The distro could have mounted the USB, so be careful with that)

  • postmarketOS
    Ubuntu Serverarrow-up-right
    https://berryboot.alexgoldcheidt.com/images/arrow-up-right
    Distroarrow-up-right

    postmarketOS

    postmarketOS for Surface RT

    hashtag
    Instructions

    https://wiki.postmarketos.org/wiki/Microsoft_Surface_RT_(microsoft-surface-rt)arrow-up-right

    hashtag
    Prebuilt images

    Currently there are no prebuilt images available. Please build your own image using pmbootstrap.

    postmarketOS booting on Surface RT

    Raspberry Pi OS

    Install Raspberry Pi OS on your Surface RT

    Raspberry Pi OS booted for the first time on Surface RT
    circle-exclamation

    Make sure that Secure boot is disabled before you try to boot Linux.

    Use this guide

    hashtag
    Install Raspberry Pi OS

    Installing Raspberry Pi OS is very easy in comparison to some other distros.

    It can be done on a Windows or Linux host and therefore is easily accessible for everyone.

    hashtag
    Install on SD/USB for UEFI

    1. Grab all the "standard files" from - (, , ).

    2. Use (sudo apt install rpi-imager) to image a USB drive as you normally would.

    3. Place the efi folder

    Insert the USB Drive into the Surface RT and

    hashtag
    Install on eMMC for UEFI

    circle-info

    You need to install RaspiOS on USB first

    It is only recommended to install it on eMMC if you really want to use it on eMMC. Otherwise you will wear out your eMMC unnecessarily.

    Taken from Discord user Misterobots:

    1. Once Raspberry Pi OS has booted from USB.

      Go to Start menu -> Accessories -> SD Card Copier.

      Select the USB drive as the "From".

      Select the eMMC (mine was MBG4GA) as the "To".

    This should get you booted from eMMC with both boot and rootfs on the eMMC.

    hashtag
    TODO after booting/installing

    If you want to install Raspi OS on eMMC do the steps below after booting from eMMC.

    There is only one thing to do after you can see the desktop. Open the Terminal and enter sudo raspi-config Choose Advanced Options Choose Expand Filesystem Now your SD Card / eMMC is writable and can use all of its space.

    hashtag
    Battery Level in Panel

    The default plugin always shows 0% charge left. Use the "Battery Monitor" plugin instead. It should be already installed

    hashtag
    Brightness Control

    Unlike KDE, GNOME, MATE or XFCE, Raspberry Pi OS running LXDE does not seem to have any plugin to control the brightness. However, it is supported in the kernel level.

    Download the tool using `pip`.

    Create the following udev rule so that this tool can be run without `sudo`.

    Reboot.

    Now you can run the software with rpi-backlight-gui. You can also create a desktop shortcut. Create the file `~/.local/share/applications/rpi-backlight.desktop` with the following contents.

    See for more details.

    ,
    startup.nsh
    ,
    zImage
    , and
    tegra30-microsoft-surface-rt-efi.dtb
    files onto the "boot"/fat32 partition of the USB drive. Confirming any overwrites.
  • Edit the startup.nsh file on the USB drive to show as below. For further information about kernel params can be found here

  • Download the modules and firmware - kernel modules - and place them in the root directory /. This is important. Without modules some features like Wifand i or CPU Temperature Sensor won't work.

    If you are using Linux you can do this before booting RaspiOS for the first time on your host machine.

    If you are using Windows you need to boot RaspiOS on Surface RT and copy the modules on from e.g another Fat32 USB to the root filesystem. You need to reboot once to load the modules correctly.

  • Check the box that says "New Partition UUIDs". Click Start
  • Edit the startup.nsh (on the eMMC boot partition, that was just copied to) and change the root=/dev/sda2 to root=/dev/mmcblk0p2. Then save.

  • Once the Copy has finished (with no errors), shutdown the Surface RT, remove the USB drive, then power on the Surface RT normally. (do not hold Vol. down)

  • usb-linux-boot.zip
    zImage
    tegra30-microsoft-surface-rt-efi.dtb
    Raspberry Pi OS Imagerarrow-up-right
    Boot to the USB.
    rpi-backlightarrow-up-right
    https://rpi-backlight.readthedocs.io/en/latest/usage.html#adding-a-shortcut-to-the-lxde-panelarrow-up-right
    fs0:
    zImage dtb=tegra30-microsoft-surface-rt-efi.dtb root=/dev/sda2 rootwait console=tty0 cpuidle.off=1
    
    # shutdown if something went wrong
    reset -s
    pip3 install --user rpi-backlight
    echo 'SUBSYSTEM=="backlight",RUN+="/bin/chmod 666 /sys/class/backlight/%k/brightness /sys/class/backlight/%k/bl_power"' | sudo tee -a /etc/udev/rules.d/backlight-permissions.rules
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Name=rpi-backlight GUI
    Exec=rpi-backlight-gui
    Icon=/usr/share/icons/HighContrast/256x256/status/display-brightness.png
    Categories=Utility;