L4T Ubuntu - A fully featured linux on your switch

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by bylaws, Apr 28, 2019.

  1. deurk

    deurk Member

    Newcomer
    2
    Feb 14, 2017
    France
    Is CentOS on Switch a possibility?
     
  2. avoy

    avoy Newbie

    Newcomer
    1
    Jun 11, 2019
    United States
    In theory it can be. I believe I saw a post talking about RHEL/CentOS on Jeston

    EDIT: obviously don't quote me on this. I recall something about having to specifically get the packages installed, and in a specific order. This was also for jetson. I don't think older vers of CentOS will have the aarch and arm64 packages required, etc. etc.
     
    Last edited by avoy, Jun 11, 2019
  3. deurk

    deurk Member

    Newcomer
    2
    Feb 14, 2017
    France
  4. avoy

    avoy Newbie

    Newcomer
    1
    Jun 11, 2019
    United States
    Yes, it is similar. I want to say the user "linuxdev" posted on another thread about RHEL/CentOS specific install specs, etc.
     
  5. enderer

    enderer GBAtemp Regular

    Member
    4
    Jul 19, 2015
    United States
    only happened once so far, but it woke up from sleep mode (i assume) when it automatically logged out, after 10 min i think. i'll change auto logout in settings and see if it happens again.
     
  6. enderer

    enderer GBAtemp Regular

    Member
    4
    Jul 19, 2015
    United States
    so i turned off auto logout, and it still woke up (logged out anyway) after about 10 min. i changed auto logout to an hour, and it still woke up after the same amount of time. i'll keep testing.
     
  7. Rizzorules

    Rizzorules "What are you doing?" "Something unexpected."

    Member
    6
    Aug 17, 2013
    Argentina
  8. Nasedase

    Nasedase Advanced Member

    Newcomer
    3
    Jul 30, 2008
    United States
    Florida
    I'm using the official dock.
     
  9. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    The booting issues, isnt an issue with booting, but an issue with xorg crashing. Since fbconsole doesnt work, the screen stays black.

    Yes, assuming there is an arm64 version.
    The auto logout issue has nothing to do with auto logout. It has to do with X server crashing on sleep resume. I noticed this while I was using l4t ubuntu to build the base for l4t Gentoo. Yes, I compiled it all on the switch. Ironically, it was faster than cross compiling, or building in an emulator.
    I will check this out, and get back to you.

    edit: I plugged the switch into the dock, and the console saw the hub, but didnt see some of the devices. Which makes me think there are certain usb drives that need a special driver, or a firmware file is missing for the driver for your device. I didnt look that close, just tried a few devices, and some of them show up, and others dont. I will look into it when I build my own kernel.
     
    Last edited by Gavin_Darkglider, Jun 12, 2019
    Watermelonz likes this.
  10. Crimson Cuttlefish

    Crimson Cuttlefish GBAtemp Regular

    Member
    5
    Aug 15, 2016
    United States
    Is it possible to reboot to payload when on Ubuntu?
     
  11. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Will android need a partition like l4t?
     
  12. epicmartin7

    epicmartin7 GBAtemp Fan

    Member
    5
    Aug 5, 2015
    United States
    Hm... quick question. Considering the NES/SNES Classic OS's are basically Linux down to their core, how possible would it be to boot those via L4T?
     
  13. SnkXIII

    SnkXIII Member

    Newcomer
    1
    May 1, 2019
    Netherlands
    Not yet

    There's no point, lakka uses L4T now, nobody in their right mind would try and do what you ask when there's lakka

    Who knows, lakka keeps everything on 1 partition, although I can't see android playing ball running on fat32, it just doesn't smack of "worth it" to me
     
  14. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Actually lakka keeps everything in on compressed initrd image, that is decompressed and loaded into ram by u-boot, and the kernel uses that as root. In that root there are links(Shortcuts) to folders on the actual partition(For roms, and bios files, and settings). this option works for lakka, as it is a minimal linux, just enough to run retroarch. Remember there are only 4gb of ram on the switch, so if you fill it up before the os boots, then you have none for the system to use for applications. In that sense alone, if the android root is smaller than 1 gb, then I would say it is possible.
     
    SnkXIII likes this.
  15. SnkXIII

    SnkXIII Member

    Newcomer
    1
    May 1, 2019
    Netherlands

    Ah yeah, forgot about that
    Just seems like an unnecessary thing to do, as inconvenient as having to wipe an sd to get l4t ubuntu can be for people (who only have 1 SD with nintendo stuff taking up space, they'd have to backup and put back once fat32 partition is resized), it's probably the better option to have something you'd treat as a proper OS run on something like ext4, at least to get away from that 4GB filesize issue

    Reason I'm saying this is that I don't think android would be or needs to be treated in the same way lakka is right now, it's cool the way it works but android is getting into full-fat OS territory
     
    Gavin_Darkglider likes this.
  16. epicmartin7

    epicmartin7 GBAtemp Fan

    Member
    5
    Aug 5, 2015
    United States
    Well... that's the point of hacking, modding, whatever you want to call it. There is really no motivations for most of these devs besides "because we can." Sure, there's some small motivations in modding a console like running emulators and such... but most devs just do it for the thrill of running code a console isn't supposed to. To them, it's the challenge that makes it fun.

    So yeah. These devs, if they so choose to try and run the NES/SNES Linux OS's on Switch, are very much in their right mind because there's no standard to the Homebrew community at large. It's mainly an open field of awesome demos and experiments.

    Now... from my perspective as a user? I mainly threw out that suggestion not because I want that, but because I thought it would be an interesting idea. Something no one, at least publicly, has at least attempted before. I'm merely trying to kickstart someone's curiosity just for the fun of it. Something that'd be interesting to witness.
     
    ZeroFX likes this.
  17. bylaws
    OP

    bylaws GBAtemp Regular

    Member
    6
    Dec 11, 2018
    United Kingdom
  18. stick267

    stick267 GBAtemp Advanced Fan

    Member
    5
    Dec 17, 2018
    United States
    Legend
     
  19. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Quick update on my Gentoo build: Working Vulkan, and OpenGL, Sound is being a pain, and still doesnt work, even though alsa, and pulse audio see the card, though alsamixer has some strange things I have never seen there before for this card, none of them for volume. lol. GLES/GLESv2 are still not working either, and neither is cuda, as I cant seem to find the cuda-toolkit for the jetson nano. I think it is in the jetpack release, but I havnt checked yet. For now, I am going to work on audio, then I think I will release th base build.

    also for those of you who are having issues with l4t sometimes booting, sometimes not booting, I found that if you boot horizon, then power off and boot back into l4t it works 100% of the time, so something is off somewhere in the boot code.
     
    Last edited by Gavin_Darkglider, Jun 12, 2019
  20. Musc

    Musc Newbie

    Newcomer
    1
    Jun 12, 2019
    Germany
    can somebody please make a stresstest on a switch with original thermal paste and no mods on it. i tested mine with new thermal paste and some thermal pads placed.

    i installed stress-ng and run following command: stress-ng --matrix 0 --matrix-size 64 --tz -t 10m
    it was docked but in a custom dock where it sucks fresh air and not the heated air from the original dock.
    below are the temperatures i got. one with stock clocks and one overclocked to 2 ghz.

    would be very nice if somebody took those 10 minutes :)

    thx in advance =)
     

    Attached Files:

Quick Reply
Draft saved Draft deleted
Loading...