L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Join our discord: https://discord.gg/53mtKYt

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

Credits

Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,

Gigaboy

Active Member
Newcomer
Joined
May 12, 2019
Messages
31
Trophies
0
Age
22
Website
www.gigaboy.dev
XP
205
Country
United States
Also, is there a way to detect if the Switch is docked? I wanna write a bash script that enables overclocks when docked, but returns to normal when undocked. I assume there's some way to detect when a display is added/remove, but I don't do much bash programming so I wasn't sure.
 

sergio_prado

Well-Known Member
Newcomer
Joined
Feb 26, 2014
Messages
72
Trophies
1
Age
41
Location
Barueri, Brazil
XP
647
Country
Brazil
If someone could upload their '/etc/nv_boot_control.conf' file here that would be great. I seem to have deleted my copy? Idk, I have 3 broken packages that say they need it. (nvidia-l4t-xusb-firmware, nvidia-l4t-initrd, and nvidia-l4t-apt-source)

There's no such file in that folder or any other folder.(I searched for it everywhere).
 

Gigaboy

Active Member
Newcomer
Joined
May 12, 2019
Messages
31
Trophies
0
Age
22
Website
www.gigaboy.dev
XP
205
Country
United States
There's no such file in that folder or any other folder.(I searched for it everywhere).
That's odd. It was saying that it couldn't read that file when trying to update those 3 packages. I thought it must've been deleted by accident, but I guess not. I guess I'll just try a fresh install of L4T since I haven't done anything important on it yet
 

GuillermoTell15

Member
Newcomer
Joined
Jan 26, 2018
Messages
8
Trophies
0
Age
29
XP
66
Country
Spain
Is there KVM support? It'd be interesting to test if a Windows 10 ARM VM works. I'm aware of Imbushuo's attempt to boot it, but as it's incomplete and I have no idea about implementing Tianocore EDKII it looks impossible for now.
 

Gigaboy

Active Member
Newcomer
Joined
May 12, 2019
Messages
31
Trophies
0
Age
22
Website
www.gigaboy.dev
XP
205
Country
United States
Hey, it's me again. Has anyone tried using a pro controller to play dolphin emu? Mine says it's connected and paired under bluetooth settings, but dolphin says device not found when choosing input method for emulated wiimote
 

bailli

Well-Known Member
Member
Joined
Oct 16, 2006
Messages
228
Trophies
1
Website
Visit site
XP
2,500
Country
Gambia, The
Very different topic:
I am trying to build a game which uses Haxe and Lime. For Haxe itself there exists a ppa which includes arm64 packages, and I guess I managed to compile Lime correctly (was a bit tricky as hxcpp does not really expect a Linux arm64 target). At least a few sample applications work.

However the application I actually want to compile crashes at startup with sigbus and running it through gdb suggests it crashes somewhere in the pthreads library.

Has anybody expierenced something similar? It might actually be a bug in pthreads as googling showed that this happens on non x86 platforms...
 
Last edited by bailli,

dbrown1986

Member
Newcomer
Joined
Nov 25, 2020
Messages
8
Trophies
0
Age
37
XP
104
Country
United States
Hekate just tells me that it can't find the install files when I put them on the FAT32 partition I created in Hekate. What am I missing?

EDIT: Nevermind. Copied the files over to the SD again and now it's behaving as it should.

Now I just have to figure out if there is any way to resize the 7GB install partition that Hekate created, back into the Ubuntu Ext4 partition. You'd think it would be easy, but since the partition is first on the partition table; before the Ubuntu partition, there are some limitations to creating, removing or resizing partitions to the left of another partition without causing errors or data loss.
 
Last edited by dbrown1986,

Eggman54

Active Member
Newcomer
Joined
Sep 26, 2020
Messages
30
Trophies
0
Age
30
XP
128
Country
United States
I can't update anything or install anything using sudo apt says i got an error in source.list this is after a fresh install.
 
Last edited by Eggman54,

Eggman54

Active Member
Newcomer
Joined
Sep 26, 2020
Messages
30
Trophies
0
Age
30
XP
128
Country
United States
trying to map joycons dpad buttons to arrows on keyboard just need help locating button index in this file
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "MapButton1" ""
Option "MapButton2" ""
Option "MapButton3" "button=2"
Option "MapButton4" ""
Option "MapButton5" "button=1"
Option "MapButton6" "button=3"
Option "MapButton7" ""
Option "MapButton8" ""
Option "MapButton9" "disable-all"
Option "MapButton10" "key=122"
Option "MapButton11" "key=123"
Option "MapButton12" "key=232"
Option "MapButton13" "key=233"
Option "MapButton14" "key=22"
Option "MapButton15" "key=36"
Option "MapButton16" "key=9"
Option "MapButton17" ""
Option "MapButton18" ""
EndSection
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Hello, I just tried to update from 3.02 to 3.20 L4T and after following the 4 step instructions, on the 1st post, launching Ubuntu kicks right back to Hekate. Happens pretty fast, right after showing the switchroot logo. I was able to reverse the procedure and get back to 3.02 just fine. Wondering what I did wrong? Thanks in advance.
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
I just needed to make one change in one config file, uenv.txt, and I was able to get to the desktop. I am using the premade multiboot image from psxtools.de
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
It seems the special order of the partitions on the psxtools.de image is breaking my reboot2payload out of Ubuntu. It wasn't working b4 the upgrade to 3.20 either, they ship the same boot.scr with their sd files for ubuntu as come with the update to 3.20. I just get to RCM mode when I reboot. Soo I should be looking at editing my boot.scr ?? Anyone have a newb guide for that? Thanks!
 

bakedbeans

Member
Newcomer
Joined
Jan 13, 2018
Messages
21
Trophies
0
Age
44
XP
158
Country
Algeria
How much of the switch special treatment has been submitted and hopefully merged in the upstream mainline kernel?
Various other console linux ports never made it there
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
380
Trophies
1
Age
39
XP
1,863
Country
Germany
It seems the special order of the partitions on the psxtools.de image is breaking my reboot2payload out of Ubuntu. It wasn't working b4 the upgrade to 3.20 either, they ship the same boot.scr with their sd files for ubuntu as come with the update to 3.20. I just get to RCM mode when I reboot. Soo I should be looking at editing my boot.scr ?? Anyone have a newb guide for that? Thanks!

I made the image files.
The psxtools image is made for ArgonNx.
I add another reboot to payload file inside Ubuntu.
Add the 3.2 updatec And change the uenv.txt
Change the rootdev to emmcblk0p8

Or pull the update file from ams plus and pick the Ubuntu folder from the zip and copy it to your SD card.

https://mega.nz/folder/7BQDxApC#a7G-vdiz9PV62VtuhV6_WQ
 
Last edited by evil_santa,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
  • K3Nv2 @ K3Nv2:
    Ativan is pretty legit
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The last time I had to take something to help me sleep, I was prescribed Trazadone it was pretty OK to be honest.
  • Psionic Roshambo @ Psionic Roshambo:
    Not something I need at all these days, doing a lot better lol
    Psionic Roshambo @ Psionic Roshambo: Not something I need at all these days, doing a lot better lol