Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1496 - can not enable /dev/mem by "make kernel_menuconfig" #6456

Closed
openwrt-bot opened this issue Apr 15, 2018 · 3 comments
Closed

FS#1496 - can not enable /dev/mem by "make kernel_menuconfig" #6456

openwrt-bot opened this issue Apr 15, 2018 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

Vonger:

  • Device problem occurs on
    all ramips device, other device might effect too, but I can not test.

  • Software versions of OpenWrt/LEDE release, packages, etc.
    Truck, my test from Linux 4.9 to 4.14

  • Steps to reproduce
    make kernel_menuconfig, select Device Drivers -> Character devices -> /dev/mem virtual device support
    then make the firmware, upgrade to device, there is no file node /dev/mem.

If I directly hack the kernel, modify kernel/driver/char/mem.c, remove macro CONFIG_DEVMEM, /dev/mem will appear on firmware.

@openwrt-bot
Copy link
Author

NeoRaider:

Did you try enabling CONFIG_KERNEL_DEVMEM in the OpenWrt toplevel .config? ("Global build settings" -> "Kernel build options" -> "/dev/mem virtual device support" in make menuconfig)? Settings in toplevel .config take precedence over kernel .config.

@openwrt-bot
Copy link
Author

Vonger:

thank you for the info, I will try.

@openwrt-bot
Copy link
Author

Vonger:

ah ,solved :) it is hidden so deep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant