summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-09-20 10:29:00 +0200
committerYuval Adam <_@yuv.al>2025-09-20 10:29:00 +0200
commitc38d747cb4f47e0cd098d563fdc687128305879b (patch)
treedb70d42415fa535a2b141db6519d9c0c422305f5
Initial commit
-rw-r--r--README.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..35dc46e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,35 @@
+# Arch Linux ARM for Odroid C4
+
+This repository contains instructions and scripts for building a full Arch Linux ARM image for the Odroid C4 single board computer.
+
+## Prerequisites
+
+On your Arch Linux host system, install the required QEMU packages:
+
+```bash
+sudo pacman -S qemu-base qemu-user-static qemu-user-static-binfmt
+```
+
+## Building the Kernel
+
+1. Clone the Armbian build repository:
+```bash
+git clone https://github.com/armbian/build
+cd build
+```
+
+2. Run the kernel build:
+```bash
+./compile.sh \
+ BOARD=odroidc4 \
+ BRANCH=current \
+ KERNEL_ONLY=yes \
+ KERNEL_CONFIGURE=no \
+ RELEASE=jammy # Doesn't matter for kernel-only
+```
+
+## Notes
+
+- The kernel build uses Armbian's build system to generate a compatible kernel for the Odroid C4
+- The RELEASE parameter doesn't affect kernel-only builds
+- QEMU user-static emulation is required for cross-compilation on x86_64 hosts \ No newline at end of file