linux-surface / surface-pro-x

Tracking and meta repository for Surface Pro X support.
81 stars 6 forks source link

tutorial #30

Open eeviefogarty opened 2 years ago

eeviefogarty commented 2 years ago

could someone create a full tutorial, im new to compiling linux manually and i would greatly appreciate it. Thanks, Ian

qzed commented 2 years ago

I've added an Arch Linux PKGBUILD for the kernel at https://github.com/linux-surface/aarch64-packages/tree/main/linux-surface. Not really a guide but that should at least simplify building the kernel. You can cross-compile that from an x86 host via the makepkg-aarch64 tool (if you do that consider setting MAKEFLAGS="-j$(nproc)" to use all cores). I'll probably use that to add a GitHub action to provide pre-built kernels at some point.

My current plan is to create some sort of script (or maybe container) to simplify/automate creating a bootable USB stick that could then be used for either running Linux directly or as base for installing to the NVME. I haven't completely fleshed out how that will work yet (especially considering that I'd like for this to work on x86 so that we could automate it via GitHub).

After that I'll have a look at some sort of step-by-step guide or similar documentation.