OpenWrt Forum Archive

Topic: How to change the "machine" in /proc/cpuinfo?

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

How to change the "machine" in /proc/cpuinfo

# cat /proc/cpuinfo 
system type             : Atheros AR9330 rev 1
[b][u]machine                 : TP-LINK TL-MR3020[/u][/b]
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0598, 0x0c00, 0x0080]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

machine                 : TP-LINK TL-MR3020
any idea?

(Last edited by donpinpon on 29 Jul 2015, 11:42)

Why? That information is provided by the kernel, probably based on the hardware it found during boot-up, or perhaps from the compilation.

The discussion might have continued from here.