mem tool help

Posts: 1
Joined: Mon Jan 31, 2022 8:45 pm

mem tool help

Mon Jan 31, 2022 8:50 pm

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.

Posts: 898
Joined: Sun Oct 19, 2014 6:00 am

Re: mem tool help

Thu Mar 03, 2022 4:09 am

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"

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: No registered users and 11 guests