2018-08-06 10:21:16

by Robin Gong

[permalink] [raw]
Subject: [PATCH v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER

To support loading sdma firmware automatically from rootfs, enable
CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
Please get sdma firmware from below link and put it into
rootfs entry -- /lib/firmware/imx/sdma/:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma

Signed-off-by: Robin Gong <[email protected]>
---
arch/arm/configs/imx_v6_v7_defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index e2c1276..5e35d7e2 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -90,6 +90,8 @@ CONFIG_RFKILL_INPUT=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
+CONFIG_FW_LOADER_USER_HELPER=y
+CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
CONFIG_CMA_SIZE_MBYTES=64
CONFIG_IMX_WEIM=y
CONFIG_CONNECTOR=y
--
2.7.4



2018-08-27 02:22:59

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER

On Tue, Aug 07, 2018 at 02:20:55AM +0800, Robin Gong wrote:
> To support loading sdma firmware automatically from rootfs, enable
> CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
> Please get sdma firmware from below link and put it into
> rootfs entry -- /lib/firmware/imx/sdma/:
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma
>
> Signed-off-by: Robin Gong <[email protected]>

Changed subject prefix like 'ARM: imx_v6_v7_defconfig: ...', and applied
the patch.

Shawn