Fixed
Created: Jan 30, 2015
Updated: Mar 31, 2016
Resolved Date: Feb 4, 2015
Found In Version: 7.0
Fix Version: 7.0.0.4
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: BSP
root@fsl_t2080rdb:~# /etc/init.d/edac start
Starting edac: success
Loading edac DIMM labels: /dev/mem: Operation not permitted
success
It's because CONFIG_STRICT_DEVMEM is enabled for the BSP:
$ grep DEVMEM build/linux-windriver/linux-fsl_t2xxx-cgl-build/.config
CONFIG_STRICT_DEVMEM=y
I think STRICT_DEVMEM should be disable when with edac feature to allow userspace (root) access to /dev/mem.
1) configure with:
--enable-rootfs=glibc-cgl --enable-kernel=cgl --enable-board=fsl-t2xxx --with-template=feature/edac
2) build
make fs
3) boot up the target and start edac:
# /etc/init.d/edac start