Hi,
I have been trying to work out which physical memory areas are being used by Linux on my microzed board from the command line.
Apparently "/Proc/iomem" should give a lot of useful info but I am unable to use it.
To illustrate i have included a few commands I have given and the responses:
zynq> uname -a
Linux 192.168.1.10 3.8.0-xilinx #2 SMP PREEMPT Thu Jun 13 10:25:52 PDT 2013 armv7l GNU/Linux
zynq> whoami
root
zynq> /proc/iomem
-/bin/ash: /proc/iomem: Permission denied
zynq>
The first command returns the Linux version, that is OK.
To verify the user login I have types "whoami" and get the response "root".
Then I have tried to use "/proc/iomem" and I get a "permission denied" response.
That is what gets me baffled: if the root user can't get the info, who does ?