[PATCH] x86/64: Add CONFIG_DEVMEM=y for targets/x86/64

Supriya Mane sm.supriya at globaledgesoft.com
Tue Feb 9 11:46:37 EST 2021


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
-- 
2.17.1


-- 
Disclaimer:This message is intended only for the designated recipient(s). 
It may contain confidential or proprietary information and may be subject 
to other confidentiality protections. If you are not a designated 
recipient, you may not review, copy or distribute this message. Please 
notify the sender by e-mail and delete this message. GlobalEdge does not 
accept any liability for virus infected mails.




More information about the openwrt-devel mailing list