[clug] Desktop commandline & remote embedded device

Bryan Kilgallin bryan at netspeed.com.au
Sat Nov 15 05:31:24 MST 2014


Eyal:

> Maybe I am missing something(*), but if your phone did not have a 
> /proc/cpuinfo (as lscpu claims)
> then no amount of mounting any which way will make it materialize.

I had used my terminal window via SSH to read that file.

>
> * Am I correct, that on your phone (in the ssh window) you were unable 
> to do this?
>     cat /proc/cpuinfo

It works fine, as below. I gather that the experienced Linux programmers 
would not attempt to use say lscpu to obtain this information about an 
attached embedded-system device. But rather, knowing that program merely 
consulted say the cpuinfo file, they would rather read that directly as 
you have suggested.

root at om-gta02:~# cat /proc/cpuinfo
Processor    : ARM920T rev 0 (v4l)
BogoMIPS    : 199.47
Features    : swp half thumb
CPU implementer    : 0x41
CPU architecture: 4T
CPU variant    : 0x1
CPU part    : 0x920
CPU revision    : 0
Cache type    : write-back
Cache clean    : cp15 c7 ops
Cache lockdown    : format A
Cache format    : Harvard
I size        : 16384
I assoc        : 64
I line length    : 32
I sets        : 8
D size        : 16384
D assoc        : 64
D line length    : 32
D sets        : 8

Hardware    : GTA02
Revision    : 0360
Serial        : 0000000000000000

-- 
www.netspeed.com.au/bryan/



More information about the linux mailing list