Hi folks, I got some problems when I using mem (memory changing tools). I tried two different ways, first I added mem tool when I compiled OpenWRT firmware 19.07.8.
It doesn't work when I try: mem 0x10000060. So, I changed i just prepare a new firmware and copy mem file into /bin folder in vocore2, but it doesn't work either.
Can someone help me with it? Thank you!
root@OpenWrt:/bin# mem 0X10000060
can not map memory.
mem tool help
- Vonger
- Posts: 906
- Joined: Sun Oct 19, 2014 6:00 am
Re: mem tool help
Hi,
Recently because of Linux kernel secure update, default /dev/mem is not enabled.
If you need to access memory in user mode. You need to enable it in source code and compile with /dev/mem enable.
In openwrt source code, make menuconfig, enable "Global build settings" => "Kernel build options" => select "/dev/mem virtual device support"
Recently because of Linux kernel secure update, default /dev/mem is not enabled.
If you need to access memory in user mode. You need to enable it in source code and compile with /dev/mem enable.
In openwrt source code, make menuconfig, enable "Global build settings" => "Kernel build options" => select "/dev/mem virtual device support"
2 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests