Hikey970 - Not able to find /dev/mem

Board based on the Kirin 970 - HI3670 Application Processor
More info: http://www.96boards.org/product/hikey970/ (Website coming soon…)
Buy now: https://www.seeedstudio.com/HiKey-970-Development-Board-p-3046.html

Hi All,

I’ve recently bought Hikey970 board and installed Lebuntu on it. However, when i checked the config file, the CONFIG_DEVMEM was not set.
So, i downloaded the kernel from https://github.com/96boards-hikey/linux and did a make defconfig. The .config file generated had the CONFIG_DEVMEM set. I compiled the new kernel and I installed it.

In one of the programs i am trying to execute on the board as shown below:
"int fd = open("/dev/mem", O_RDWR | O_SYNC)"

When i run the executable, i get an error saying No such device or address.

Can someone please help me with this?