From c0b04d337a7698eb8d1c190f5c728b8f2f839aea Mon Sep 17 00:00:00 2001 From: maade93791 <70593890+maade69@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:58:41 +0300 Subject: [PATCH] add microdroid kernel build instructions --- static/build.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/static/build.html b/static/build.html index 6a0a5307..bd29d4cf 100644 --- a/static/build.html +++ b/static/build.html @@ -83,6 +83,7 @@ Kernel
device/generic/goldfish/board/kernel/x86_64.mk
.
+ To sync the 6.6 kernel sources:
+ +mkdir -p android/kernel/6.6 +cd android/kernel/6.6 +repo init -u https://github.com/GrapheneOS/kernel_manifest-6.6.git -b 15 +repo sync -j8+ +
To build the 6.6 kernel image for microdroid:
+ +tools/bazel run //common:kernel_aarch64_microdroid_dist --lto=full -- --dist_dir=microdroid_dist+ +
Replace the prebuilt kernel image in the OS source tree at
+ packages/modules/Virtualization/microdroid/kernel/android15-6.6/arm64/kernel-6.6
with your image
+ microdroid_dist/Image
.