[PATCH] x86/64: Add CONFIG_DEVMEM=y for targets/x86/64
Tomasz Maciej Nowak
tmn505 at gmail.com
Tue Feb 9 12:02:13 EST 2021
Hi.
W dniu 09.02.2021 o 17:46, Supriya Mane pisze:
> Setting 'CONFIG_DEVMEM=y' provides access to /dev/mem.
> Fixes "cannot access '/dev/mem' : No such file or directory"
>
> Signed-off-by: Supriya Mane <sm.supriya at globaledgesoft.com>
> ---
> target/linux/x86/64/config-5.4 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/linux/x86/64/config-5.4 b/target/linux/x86/64/config-5.4
> index f09deca5b0..a483d6ea2a 100644
> --- a/target/linux/x86/64/config-5.4
> +++ b/target/linux/x86/64/config-5.4
> @@ -115,6 +115,7 @@ CONFIG_CRYPTO_SIMD=y
> # CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set
> CONFIG_CRYPTO_XTS=y
> # CONFIG_DEBUG_HOTPLUG_CPU0 is not set
> +CONFIG_DEVMEM=y
> CONFIG_DMA_ACPI=y
> CONFIG_DMA_SHARED_BUFFER=y
> # CONFIG_DPTF_POWER is not set
>
Normally for Your own compiled images You set it in:
Global build settings > Kernel build options > /dev/mem virtual device support
Why do You need it enabled by default for OpenWrt provided images at https://openwrt.org/downloads?
Regards
--
TMN
More information about the openwrt-devel
mailing list