From c72e2db1345959c633ade0a6e205087b1bfe7c38 Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Sat, 5 Aug 2023 10:13:27 +0800 Subject: [PATCH] refine debian deployment instructions --- deploy/debian.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/deploy/debian.md b/deploy/debian.md index bc4c062..6cb700b 100644 --- a/deploy/debian.md +++ b/deploy/debian.md @@ -1,11 +1,15 @@ # Deploy redroid on Debian ``` +############################## ## Debian 11 (kernel 5.18) +############################## ### the included `binder_linux` NOT support `binderfs` ### so use custom kernel here ### enable binderfs +CONFIG_ANDROID=y +CONFIG_ANDROID_BINDER_IPC=y CONFIG_ANDROID_BINDERFS=y CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" @@ -17,5 +21,15 @@ docker run -itd --rm --privileged \ -p 5555:5555 \ --name redroid11 \ redroid/redroid:11.0.0-latest \ - androidboot.use_memfd=1 + + +############################## +## Debian 12 (kernel 6.1) +############################## + +### enable binderfs +CONFIG_ANDROID_BINDER_IPC=y +CONFIG_ANDROID_BINDERFS=y +CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" + ```