Skip to content

Missing/generic CPU info for the Nintendo Switch system [ARM64 | NVIDIA Tegra X1] #245

Closed
@WiiNewU

Description

@WiiNewU

Hi, when running cpufetch on ported Ubuntu 22.04 LTS (4.9.140-l4t kernel) for the Nintendo Switch, It just provides generic ARM CPU information. I have a screenshot of cpufetch with this issue pplus neofetch underneath showing some OS/hardware info:
cpufetch and neofetch on Nintendo Switch

The Nintendo Switch uses two types of CPU depending on when its manufactured, The original 2017 release (in this case) is the standard Tegra X1 (64bit 4 core ARM CPU, might have missing e cores) with a 20 nm process. In 2019 there was an updated Tegra X1+ soc at a 16 nm process for better energy efficiency / less heat. Also fixed some exploits. Both the Tegra X1 & X1+ are found in the NVIDIA shield TV box as well.

Here is an output of /proc/cpuinfo:

processor	: 0
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 1
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 2
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 3
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

Output of cpufetch --debug:

cpufetch v1.05-8-gdfa2 (Linux ARM build)
[Core 0] 0x411FD071 2091 MHz
[Core 1] 0x411FD071 2091 MHz
[Core 2] 0x411FD071 2091 MHz
[Core 3] 0x411FD071 2091 MHz

Output of lscpu:

Architecture:            aarch64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               ARM
  Model name:            Cortex-A57
    Model:               1
    Thread(s) per core:  1
    Core(s) per cluster: 4
    Socket(s):           -
    Cluster(s):          1
    Stepping:            r1p1
    CPU max MHz:         2091.0000
    CPU min MHz:         102.0000
    BogoMIPS:            38.40
    Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32
Caches (sum of all):     
  L1d:                   128 KiB (4 instances)
  L1i:                   192 KiB (4 instances)
  L2:                    2 MiB (1 instance)

Thank you,

Sources:
https://www.nintendo.com/us/switch/tech-specs/#switch-section
https://en.wikipedia.org/wiki/Tegra#Tegra_X1
https://www.nvidia.com/en-us/shield/shield-tv/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions