• Pour avoir accès au forum les nouveaux membres inscrits doivent obligatoirement se présenter et attendre que leur présentation soit approuvée par un membre du Staff.
  • Vous n'arrivez pas a publier ou a télécharger ! Merci de lire le Réglement
  • Spécialiste Electronique auto a Paris.

    Specialiste Auto vous proposes avec une Garantie a vie !!!! Suppression FAP ( DEFAP ) Suppression ADBLUE Reparation Calculateur Reparation EZS ELV Reprogrammation Adaptation Boite de vitesse Systeme hybrid Boitier module OCCASSION / NEUF Désactivation Volets de tubulures d'admission ...

    Plus d'information Clique ici

    Contacter nous au 0754373786

    Envoi Possible de Toute la France si vous étes pas de Paris

Hack [Switch] Arch Linux est disponible pour la Switch

laurent68 ™

Ancien Staff
Ancien Staff
Membre Actif
Inscrit
3 Avril 2016
Messages
3,793
Reaction score
1,312
Points
5,108
Nous vous l'annoncions hier, le voilà déjà ! Le développeur Shiny Quagsire a publié le code source de Arch Linux pour le lancer sur la Nintendo Switch.



Attention, il y a très peu de pilotes portés pour la console, donc vous ne pouvez pas vous servir des ports USB, du WiFi, du Bluetooth, le tactile ou de l'audio.


Pour pouvoir exécuter Arch Linux vous devez avoir accès à un exploit TrustZone ou Bootrom, ils ne sont pas officiellement disponibles au public, mais pour retrouver le code de cette distribution cela se passe par ici
Contenu caché
Vous devez répondre au message pour voir ce contenu.

Requirements
  • u-boot running from either TrustZone takeover or bootrom hax. Neither is provided currently, however Switch-compatible u-boot can be found
  • A properly-formatted SD card. Instructions can be found below in Compiling, Installation and Setup
Notes on PSCI
  • Nintendo's Horizon OS TrustZone component can provide PSCI calls which work for Linux (given patches provided on the repo). By default, the device tree is configured for Linux running from u-boot packaged in Nintendo's package2, with all PSCI calls being sent to SMC #1 instead of SMC #0.
  • Use of other trusted firmwares with PSCI on SMC #0 should be able to remove the need for these patches, however it is untested currently.
Notes on debugging
  • By default, the right Joy-Con rail is used for UART logging output, with pin 5 being the console's TX, and pin 8 being the console's RX. See for details.
Compiling, Installation and Setup
Installation of u-boot will depend on loading methods used. However once u-boot is installed, the following instructions can be used:
  • Make sure your SD card is formatted with MBR partitioning, with the first partition being FAT32/exFAT and a second for ext3/ext4. If ext4 has issues booting, try ext3.
  • Download the generic ALARM image and follow the instructions provided to install the filesystem to the ext3/ext4 filesystem on your SD card. You may need a Linux box to do these steps.
  • Clone linux-next using git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
  • cd linux-next && git checkout v4.15
  • Apply the provided patches in the repo using git am -3 -k <patch file>
  • NVIDIA has microcode required for their host1x/DRM subsystems. This should be compiled into the kernel or initramfs for early screen init.
    • Download the linux-firmware package from
    • mkdir extra_firmware
    • Copy nvidia/tegra210/vic04_ucode.bin and nvidia/tegra210/xusb.bin from the package to linux-next/extra_firmware/nvidia/tegra210/vic04_ucode.bin and linux-next/extra_firmware/nvidia/tegra210/xusb.bin
    • It should be noted that while this may be useful for easy debugging, generated kernel images will be dirty and not strictly GPL compliant. It is recommended that, for image-based releases, that these files be installed to the initramfs.
    • TODO: It might be better to just not have an initramfs and have these pulled from the actual root partition, with linux-firmware installed to it.
  • Ensure that you have an AArch64 cross-compiler installed.
  • export ARCH=arm64
  • export CROSS_COMPILE=aarch64-linux-gnu-
  • mkdir -p build/hac-001/
  • make O=build/hac-001/ hac_defconfig
  • make O=build/hac-001/ -j4 Image
  • Copy the Image file from build/hac-001/arch/arm64/boot/Image to the boot/ folder on your SD card's FAT partition.
  • In this repo, mkimage -A arm -T script -O linux -d u-boot/boot.txt u-boot/boot.scr and copy boot.scr to the boot/directory on the FAT partition of your SD card.
  • make O=build/hac-001/ -j4 modules
  • make O=build/hac-001/ modules_install INSTALL_MOD_PATH=/path/to/ALARM/rootfs/, you may need to run as root (with environment variables set again).
  • ALARM has a default initramfs which needs to be wrapped for u-boot. mkimage -T ramdisk -C gzip -d /path/to/initramfs-linux.img /path/to/FAT/boot/initramfs.uImage
  • In the repo, cd device-tree && sh build.sh && cp tegra210-hac-001.dtb /path/to/FAT/boot/
  • Your FAT boot/ directory should have Image, initramfs.uImage, and tegra210-hac-001.dtb
  • Boot through u-boot. If an error has occurred, it will open a USB mass storage device for the SD card.
 

Auteur Sujets similaires Forum Réponses Date
popostef Demande Nouvelle puce Switch Switch 0
S Question Switch Bannie Switch 0
P Question Puce Switch Switch 2
scorpionoir1982 Discussion [PS4/PC/PSP/Switch] Super Mario 64, le portage progresse Discussions Ps4 5
Manfire Discussion Switch Jeux eshop Discussion 5
sfrancky Question switch 2019 hac-001(-01) Switch 7
M Discussion [Switch] crackée = détection ou pas ? Discussion 5
H Discussion aide pour switch Discussion 6
laurent68 ™ Homebrew [Switch] Le dongle AceNS Pro Hack/ Homebrew 9
laurent68 ™ Homebrew [Switch] pPlay v1.5 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] ClawSwitch le portage de Captain Claw Hack/ Homebrew 0
laurent68 ™ Discussion [Switch] Un nouveau FirmWare en approche ! Discussion 1
laurent68 ™ Homebrew [Switch/PSVita] uae4all2 v1.91 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] Fluffy v1.5.1 - une interface graphique pour TinFoil Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] Le mod Bowsette pour New Super Mario Bros U Deluxe Hack/ Homebrew 0
laurent68 ™ Homebrew [Emu] Switch : Yuzu se met à jour en Nightly 1608 et Canary 1819 Hack/ Homebrew 0
laurent68 ™ Discussion [Switch] Le créateur de SwitchMe s'exprime Discussion 0
laurent68 ™ Homebrew [Switch] hacPack v1.36 Hack/ Homebrew 11
laurent68 ™ Homebrew [Switch] hacBrewPack v1.30 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] Motezazer publie le décryptage TSEC du 6.2.0 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] nxmtp v0.1.4 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] 90DNS est disponible Hack/ Homebrew 0
laurent68 ™ Discussion [Switch] Des jeux SNES pour le Nintendo Switch Online Discussion 1
laurent68 ™ Homebrew [Switch] TUG v1.0 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] NX Game Info v0.3.2a Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] OpenLara version finale Hack/ Homebrew 1
laurent68 ™ Homebrew [Switch] SwitchSDTool v1.10 Hack/ Homebrew 2
laurent68 ™ Homebrew [Switch] KipSelect est disponible avec GFX (maj) Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] SX Installer v1.2 Hack/ Homebrew 0
laurent68 ™ Discussion [Switch] Le site BuildServNX est disponible Discussion 0
laurent68 ™ Homebrew [Switch] Switch Layout Editor en v1.0 Beta 2.1 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] pPlay v1.3 de Cpasjuste Hack/ Homebrew 0
laurent68 ™ Hack [Switch] Retour sur l'emuNAND du SX OS, sa fiabilité et le risque de ban Hack/ Homebrew 1
laurent68 ™ Homebrew [Switch] OpenLara maintenant sur Switch Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch/Vita] Uae4All2 Mod v1.84 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] vm-switch est disponible en version 1.0.0 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] ThemeInstaller V3.6 & NXThemes Installer 1.2 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] JKSV mis à jour par J-D-K Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] Bejeweled NX Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] EdiZon V1.7.0 "New user selection!" Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] SX OS 2.5.2 Stable Hack/ Homebrew 4
laurent68 ™ Homebrew [Switch] N64 aarch64 dynarec sur Horizon disponible en béta Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] Lugaru for Switch Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] SDLPoP v1.1 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] MelonDS v0.7.3 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] SSNC Checker Script - vérifier si une Switch est patchée ou non Hack/ Homebrew 0
laurent68 ™ Discussion [Switch] iyenal vous propose son moteur/SDK Gen7 Engine Discussion 0
laurent68 ™ Homebrew [Switch] EdiZon 1.6.0 Hack/ Homebrew 0
laurent68 ™ Homebrew [Switch] SX Installer 1.1 Hack/ Homebrew 1
laurent68 ™ Homebrew [Switch] ArgonNX v0.2 Hack/ Homebrew 0
Sujets similaires


















































Cliquez ici pour vous connecter en utilisant votre compte social
AdBlock Détecté

Nous comprenons, les publicités sont ennuyeuses !

Bien sûr, le logiciel de blocage des publicités fait un excellent travail pour bloquer les publicités, mais il bloque également les fonctionnalités utiles de notre site Web. Pour la meilleure expérience du site, veuillez désactiver votre AdBlocker.

J'ai désactivé AdBlock