X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fmeta-raspberrypi%2Frecipes-kernel%2Flinux%2Flinux-raspberrypi_4.4.bbappend;h=90176c6c5a79beda9e64c704e82eeca8e8b80b1a;hb=2ce5939fab8abdbf775b5d037eb0dd67039c6367;hp=cc6cbeeb537775e751c642fd1b35e74a49d87e16;hpb=e6c981a1ed354a05ab0defd6e970e331306733da;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend index cc6cbeeb5..90176c6c5 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend @@ -1,13 +1,21 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" -LINUX_VERSION = "4.4.16" - -SRCREV = "26550dcfb86b0308a99f726abbfb55abb1b0f78c" - SRC_URI_append = "\ ${@base_conditional('USE_FAYTECH_MONITOR', '1', 'file://0002-faytech-fix-rpi.patch', '', d)} \ " +#------------------------------------------------------------------------- +# smack patches for handling bluetooth + +SRC_URI_append_smack = "\ + file://0001-Smack-File-receive-for-sockets.patch \ + file://0002-smack-fix-cache-of-access-labels.patch \ + file://0003-Smack-ignore-null-signal-in-smack_task_kill.patch \ + file://0004-Smack-Assign-smack_known_web-label-for-kernel-thread.patch \ +" + + + do_configure_append_smack() { # SMACK and Co kernel_configure_variable IP_NF_SECURITY m @@ -66,6 +74,9 @@ do_configure_append() { CMDLINE_DEBUG = "" CMDLINE_append = " usbhid.mousepoll=0" +# Add options to allow CMA to operate +CMDLINE_append = ' ${@base_conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}' + KERNEL_MODULE_AUTOLOAD += "snd-bcm2835" KERNEL_MODULE_AUTOLOAD += "hid-multitouch"