<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
i am using sifive's u540, RISCV64 with custom kernel 5.10.2 and i am trying to get all hardware information with the help of /proc/cpuinfo but i am not able get all information i need.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
i am attaching current /proc/cpuinfo</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<pre><code>rocessor : 0<div>hart : 2</div><div>isa : rv64imafdc</div><div>mmu : sv39</div><div>uarch : sifive,u54-mc</div><div><code></code><br></div><div><br></div><div>but i am expecting following kind of output</div><div><br></div><div>processor : 0<div>vendor_id : GenuineIntel</div><div>cpu family : 6</div><div>model : 142</div><div>model name : Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz</div><div>stepping : 9</div><div>microcode : 0xde</div><div>cpu MHz : 700.027</div><div>cache size : 3072 KB</div><div>physical id : 0</div><div>siblings : 4</div><div>core id : 0</div><div>cpu cores : 2</div><div>apicid : 0</div><div>initial apicid : 0</div><div>fpu : yes</div><div>fpu_exception : yes</div><div>cpuid level : 22</div><div>wp : yes</div><div><br></div><div>Can someone suggest me how i can print all info with /proc/cpuinfo ??<br></div></div></code><br><br><br>Thanks!<br></pre>
</div>
</body>
</html>