Skip to content

Commit

Permalink
Modify kernel config directly for binder
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <[email protected]>
  • Loading branch information
ajlennon committed Oct 31, 2024
1 parent 62b2370 commit 16be017
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_ASHMEM=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
CONFIG_PSI=y

2 changes: 2 additions & 0 deletions recipes-kernel/linux/linux-lmp-fslc-imx_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ do_configure:append:imx8mm-jaguar-phasora(){
echo "dtb-y += imx8mm-jaguar-phasora.dtb" >> ${S}/arch/arm64/boot/dts/Makefile
}

# TODO: Make binder module based on DISTRO
SRC_URI:append:imx8mm-jaguar-handheld = " \
file://enable_i2c-dev.cfg \
file://imx8mm-jaguar-handheld.dts \
file://enable-binder.cfg \
"

SRC_URI:append:imx8mm-jaguar-phasora = " \
Expand Down
5 changes: 1 addition & 4 deletions recipes-support/waydroid/waydroid.bb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ RDEPENDS:${PN} += "waydroid-data lxc python3-gbinder python3-pygobject libgbinde

# these modules are directly included in android-flavored kernels
# Note: Waydroid requires kernel >= 3.18 !
RDEPENDS:${PN} += " \
kernel-module-binder-linux \
"

RRECOMMENDS:${PN} += "\
kernel-module-binder-linux \
kernel-module-ashmem-linux \
"

Expand Down

0 comments on commit 16be017

Please sign in to comment.