From 1016ac1dbc3b23241ab89ef9e9475e6dc54c4283 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 7 Aug 2015 13:59:53 +0200 Subject: [PATCH] linux-sysmocom: Use the only working module scheme In fido the old autoload feature doesn't work anymore and we need to remove it. Otherwise our sysmobts.service file will create the /dev/dspl.. /dev/fpgadl... firmware upload files and we all think that firmware loading is working. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 1 + recipes-bsp/linux/linux-sysmocom_git.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index f447721..7f5d9fa 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -32,6 +32,7 @@ do_configure() { # autoload defaults (alphabetically sorted) module_autoload_leds-gpio = "leds-gpio" module_autoload_mmc_block = "mmc_block" +KERNEL_MODULE_AUTOLOAD += "leds-gpio mmc_block" # Legacy for 3.2 and LCR diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 37be276..1ae4996 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -43,6 +43,7 @@ module_autoload_msgqueue = "msgqueue" module_autoload_rtfifo = "rtfifo" KERNEL_MODULE_PROBECONF_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo" +KERNEL_MODULE_AUTOLOAD_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo" # module configs (alphabetically sorted) module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0"