-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing/generic CPU info for the Nintendo Switch system [ARM64 | NVIDIA Tegra X1] #245
Comments
Awesome! Could you provide the output of As far as I can see, PS: Out of curiosity, is it difficult to install Ubuntu on the switch. I had the original 2017 model too and was wondering how easy would be to mess around it and install Ubuntu or other distro. |
Well, implementing it via PCI detection should not be that hard. I wonder if that would be enough to detect the SoC in this case. Could you run If both returns sensible values, then it is indeed possible to detect the SoC using this approach (I assume that will depend on the level of support of the Linux kernel). |
Hi, I run cpufetch with the --verbose option and it gave this output: This is also the output the the two commands: root@switch:/home/switch# grep '0x10de' /sys/bus/pci/devices/*/vendor 2> /dev/null
/sys/bus/pci/devices/0000:00:02.0/vendor:0x10de
root@switch:/home/switch# cat /sys/bus/pci/devices/0x10de/device
cat: /sys/bus/pci/devices/0x10de/device: No such file or directory
root@switch:/home/switch# cat /sys/bus/pci/devices/0000:00:02.0/device
0x0faf If you want to try switch Linux, This is a basic guide: To boot Linux on a switch manufactured before march 2018, you will just need a little item called a RCM Jig (the RCM loader is not needed) for about a ~$5 on Amazon. As well as a USB type c cable. Switches made after March 2018 need a modchip installed. The only software you will need is the switch homebrew boot loader called hekate, a separate GUI add on for hekate, as well as a software on a Linux PC called fusee-interfacee-tk. I do not recommended booting into any custom firmware (CFW) such as atmosphere, and any other tools that tamper with Nintendo's and licensed third party's software. Your console can get quickly banned (with all sign in accounts too) if you are connected to the internet with any changes/payloads on the switch console. Nintendo does keep logs that are synced between them and your console too. Nintendo has also took legal action with some software that tampers with the Switch's OS or any licensed game (Like lockpickRCM & Yuzu). Luckily booting into Linux on the switch does completely by pass the Switch's OS and licensed games (and does not tamper with it in any why) so it should be OK. First you will need to have a microSD card with at least 32GB of storage. Also highly recommended to have a SD card with a high amounts of IOPS (random read/write speed) for the card. you will create the first partition with a 8GB fat32 filesystem where you will put the hextrate's bootloader folder, all the contents of the bootlogos.zip folder, and the install files for a switch Linux distro. The rest of the sd card will be a empty ext4 partition for the installer to write to. To boot into hextrate, you run the fusee-interfacee-tk using sudo on your Linux PC, with the USB cable in the PC and SD card in the switch, slide the RCM Jig where the right joy-con is docked and then press & hold the vol+ button while plugging in the USB C cable into the switch, you console should boot to what is called RCM mode (there will be nothing on the screen, but fusee-interfacee-tk will tell you that the switch is ready). Using fusee-interfacee-tk load and send the hekate bin file and your console should now be in hextrate!, Just do not boot into any the sub options of the Launch section since your at risk of banning your console. You can follow this guide of to find a l4t/switchroot Linux for switch install image, set it up. and when done your you can boot into Linux under the "More configs" section. They also switchroot just released a port of Ubuntu 24.04 (Kubuntu & Unity) as well. You can follow this guide to install switch Linux: See what disros are available to download/install: Needed sd files (other then Linux): About new Ubuntu 24.04 switch release: https://www.omgubuntu.co.uk/2024/05/ubuntu-24-04-nintendo-switch |
The program hardinfo also states that its a 2017 Nintendo switch as well. Its likely that there detecting the motherboards model name. I'm just wondering which linux file would show the motherboard model then we know that it will be the right CPU. |
I have implemented the SoC detection based on the PCI devices, as discussed, in a new branch called |
@Dr-Noob Hello, It works (on a 2017 switch)! Thank you. |
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:
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
:Output of
cpufetch --debug
:Output of
lscpu
: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/
The text was updated successfully, but these errors were encountered: