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,

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,750
Country
United States
is it possible to have a dual boot SD card? id love to get this running but I'm not switching SD cards just to get GC emulation earlier than HOS
 
D

Deleted User

Guest
hekate_ipl.ini file to autoboot L4T:

Code:
[config]
autoboot=1
autoboot_list=1
bootwait=0
customlogo=0
verification=2
backlight=100
autohosoff=0
Thanks, Ill grab this again in the morning!

--------------------- MERGED ---------------------------

Still can't seem to get my usb stick to detect in linux though. Plug it in and...... nothing.

And just to confirm, yes, it's an original and works perfectly fine, not a clone.
This is the one I have https://ae01.alicdn.com/kf/HTB12Pme...B-128GB-256GB-usb3-0-mini-Pen.jpg_640x640.jpg

--------------------- MERGED ---------------------------

I'm not too great with Linux and terminal (only mild dabling), so if someone can or wants to make a little guide with commands to build the Vulkan build of Dolphin on our glorious little tablet, that would be a huge help to some of us!
 
Last edited by ,
  • Like
Reactions: MassiveRican

jug5

Member
Newcomer
Joined
Apr 29, 2019
Messages
8
Trophies
0
Age
113
XP
68
Country
United States
Thanks for this great work, dead easy to setup and working very well so far.

The problem I have is the kernel is ultra stripped down to the point of lacking basic features (supporting my USB3 NIC and no nfs).

Which kernel sources should I be building from? Also what is the cross compile target?
 
Last edited by jug5,

MFxTonyx420

New Member
Newbie
Joined
Apr 29, 2019
Messages
1
Trophies
0
Age
34
XP
66
Country
United States
What is your Twitter, I will dm a link for mine that I helped another person with.

Hello, I'm having a somewhat similar issue. My digitizer isn't working on my Switch so my touchscreen doesn't work at all. I am not able to get past where it wants me to accept the terms. any chance you will be able to help me out as well? My Twitter is @mftAR15


**EDIT** nvm, i fixed the issue by using a wireless mouse
 
Last edited by MFxTonyx420,

jug5

Member
Newcomer
Joined
Apr 29, 2019
Messages
8
Trophies
0
Age
113
XP
68
Country
United States
Would you mind explaining more about this process? I am a SX OS user too and completely lost.

Just go to github and pick up CTCaer/tx_custom_boot.py and use it to create a boot.dat with hekate inside. That's the easiest. I can't post links sorry, in the CTCaer/hekate repo issue #82 links to the python script.
 

achoissoumsaco

Member
Newcomer
Joined
Apr 28, 2019
Messages
14
Trophies
0
Age
36
XP
103
Country
Brazil
Just go to github and pick up CTCaer/tx_custom_boot.py and use it to create a boot.dat with hekate inside. That's the easiest. I can't post links sorry, in the CTCaer/hekate repo issue #82 links to the python script.

Thank you very much for the prompt response. I'm still a bit confused. I could find the tx_custom_boot.py, downloaded it, but I still don't know what I am supposed to do with this file. Should I put it in some directory of Hecate?
 

jug5

Member
Newcomer
Joined
Apr 29, 2019
Messages
8
Trophies
0
Age
113
XP
68
Country
United States
Thank you very much for the prompt response. I'm still a bit confused. I could find the tx_custom_boot.py, downloaded it, but I still don't know what I am supposed to do with this file. Should I put it in some directory of Hecate?
Correct, extract the latest hekate bin in the same directory then change line 31 (stage2_fn = 'hekate_ctcaer_3.2.bin') of tx_custom_boot.py to the filename of hekate in the same directory. Then just run the tx_custom_boot.py and it will create a new boot.dat file. Put that in the FAT32 partition of the microsd card.

It works with a 64gb micro sd?
Yes anything larger than 16GB.
 
  • Like
Reactions: achoissoumsaco

achoissoumsaco

Member
Newcomer
Joined
Apr 28, 2019
Messages
14
Trophies
0
Age
36
XP
103
Country
Brazil
Correct, extract the latest hekate bin in the same directory then change line 31 (stage2_fn = 'hekate_ctcaer_3.2.bin') of tx_custom_boot.py to the filename of hekate in the same directory. Then just run the tx_custom_boot.py and it will create a new boot.dat file. Put that in the FAT32 partition of the microsd card.

Wow, that cleared a lot. Thank you. Did everything you said, including realocating a bit of space in the microsd to send the boot.dat to the FAT32 partition. The only trouble I am facing now is how to run the python script. Sorry, I am a noob. Can you help me with this?
 

iotdevnet

Active Member
Newcomer
Joined
Apr 29, 2019
Messages
29
Trophies
0
Age
46
XP
85
Country
Bulgaria
Someone managed to solve the black screen problem? I leaved my switch on that black screen for about 15 minutes and nothing.

Hi to all this ubuntu make me register here :)
To the question yes you need to format your sdcard first recomending on linux and do this

dd if=/dev/zero of=/dev/"yoursdcard" bs=4M
then restore the image with this comand

dd if=/"path to the image" of=/dev/"yoursdcard" bs=4M

then use gparted to resize the ext4 partition to fir your sdcard size

put your cart to switch then make l4t autoboot shutdown from menu
power on switch and inject the peyload to boot hecate :) that all this works 100% all the time

===========================================


Anyone installed kodi? I keep getting packages have unmet dependencies.

Yes tryed game of trons 1080p on Kodi works perfectly fine :)
Kodi is installing and working and i saw they use Nvidia drivers :) not mesa

Tomorow more testing and usb ethernet adapters not work maybe the kernel is some striped one we need kernel with more drivers guys :)
 
D

Deleted User

Guest
Anyone installed kodi? I keep getting packages have unmet dependencies.
I installed it earlier. After you reboot, you'll have to change the front end you're using away from kodi, underneath the password bar, but it's still there, and it works.

--------------------- MERGED ---------------------------

Also, to make sure you're on latest, terminal
Sudo apt-get update
Sudo apt-get upgrade
 

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
I installed it earlier. After you reboot, you'll have to change the front end you're using away from kodi, underneath the password bar, but it's still there, and it works.

--------------------- MERGED ---------------------------

Also, to make sure you're on latest, terminal
Sudo apt-get update
Sudo apt-get upgrade
I've tried installing it, always results in error. I've already tried the update and upgrade. Nothing works.
 

Deleted member 418227

Active Member
Newcomer
Joined
Mar 19, 2017
Messages
39
Trophies
0
XP
586
Country
United States
I'm fairly certain some Class-10 64GB SanDisk MicroSDs are causing issues with this. I just went from one of those to a normal speed 16GB Samsung and it installed on the first go.

Someone else in the thread has mentioned this same SanDisk card having issues:

its a sandisk ultra 64gb, dont know what is going on. its possible to be compatibility issues?

I was struggling to get this card to boot and when it did it was extremely unstable.

tldr: If anyone's having issues with booting or instability, try using a different SD.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol