Releases: CTCaer/switch-l4t-platform-t210-nx
Switch L4T Ubuntu 5.1.2
L4T Ubuntu 5.1.2 Changelog
hekate 6.0.6
or newer
is suggested for doing the necessary configuration to the bootstack and kernel.
Otherwise various features won't work correctly.
Kernel/Driver changes
- RAM for T210B01 is now actually allowed to reach max possible frequency
In order for that to happen, DVFS was reworked to allow changes to GPU minimum voltage on the fly.
If RAM frequency changes to one that requires more voltage, depends on GPU binning, it will now automatically get raised.
That's dynamic and on idle or if ram bandwidth requirement and frequency drops, it switches back to stock minimum.
That allows for more fine tuned power draws, without the need to have GPU min voltage raised all the time.
Since RAM OC can raise GPU voltages, again, depends on GPU binning, consideration must be given based on needed workloads.
All previous test results on max ram frequency are now obsolete. - The memory PTSA driver's calculations were "reworked"
That allows efficient use of ram when frequencies exceed 2133 MHz and especially when they exceed 2833 MHz
Driver rework gets enabled automatically depending on bootloader version.
On T210, that feature is disabled. Frequencies of > 2133 will just use the old method (exceeding 1.5 ratio). - T210B01 RAM max frequency allowed is now 3200 MHz (raised from 3000)
- T210B RAM max frequency allowed is now 2366 MHz (raised from 2133)
- A critical issue was fixed that was disallowing a great number of Bluetooth devices to pair
- Fixed a rare bug that would cause a race condition and would stop the booting process
- Fixed all Nvidia bugs on T210B01's True RNG HW driver and a new driver was added to call it, so it can be used for rng seeding properly
- Joycon railed driver now allows more clones to work (for example non-bt clones that do not follow the proper procedure)
- An issue was fixed where the IMU input reports of Switch Lite gamepad would fail to be parsed if IMU chip was Invensense
- Fixed an issue where kernel would try to use CEC on docks with incompatible DP CEC emulation chip
- Added USB Serial driver for Silicon Labs CP210x
Ubuntu/Userspace changes
- Switch Multimedia package (ffmpeg-l4t, ffplay-l4t, mpv-l4t) was updated to allow proper fallback to software codecs.
If pixel format of the medium is provided via probing, the hardware codec will check if it is out of spec (e.g x264/x265 instead of h264/hevc) and will use the software decoding for it. - System FFMpeg was updated with the same changes also
mem-bench
was updated to provide info on the selected timing reducing config.cfg: ###
will show near the frequency.- Added
gpu-info-l4t
command that reports an extensive info about the gpu included in the SoC - Joystick to mouse/keyboard configuration was updated to properly reflect xpad-neo's mapping for Wireless Xbox controllers
Boot Stack changes
-
Initramfs
-- Now if Joycon BT pairing is redumped and Long Term Key (LTK) was changed, the bluetooth database gets updated with it.
No need to remove the pairing or pairing files and reboot like before.
-- Improved Volume button combo detection -
INI config
--ram_oc_vdd2
,ram_oc_vddq
now allow undervolting. Check wiki or config readme for minimum values. -
Misc
-- Fixed an issue where 2397 MHz CPU frequency would not set
-- UBoot-L4T was updated to latest
Full commit log:
https://github.com/CTCaer/switch-l4t-kernel-4.9/commits/linux-5.1.2
https://github.com/CTCaer/switch-l4t-kernel-nvidia/commits/linux-5.1.2
https://github.com/CTCaer/switch-l4t-platform-t210-nx/commits/linux-5.1.2
Wiki
Features: https://wiki.switchroot.org/en/Linux/FeaturesAndPrograms
Installation: https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide
Switch L4T Ubuntu 5.1.1
L4T Ubuntu 5.1.1 Changelog
hekate 6.0.5 v2
or newer
is mandatory for doing the necessary configuration to the bootstack and kernel.
Otherwise various features won't work correctly.
Kernel/Driver changes
- RAM OC support of 2133 for T210 and 3000 MHz for T210B01
- Improved calibration support for Lite Gamepad (Sio). Needs hekate v6.0.5 v2 or newer. Use the
Dump Joy-Con BT
. - Fixed an issue where some Taishin/Silicon Power SD cards where they would fail to init
- Several extra checks were added for SD Card UHS DDR200 tuning.
Any card that requires the Sandisk method of tuning and fails these checks is barred from using it and they fallback to UHS SDR104.
ddr200_disable
is now removed, since it was abused and no one reported the issue to the proper channels. - Stick Calibration is now tighter for Joy-Con/Pro-Con/Lite controllers when factory or user calibration is empty or can't be acquired.
- Fixed an old railed Joy-Con issue which could make UART communications hang if it was plugged during suspend procedure.
- Added Generic and FTDI USB serial drivers as modules
- Support unfused BRCM4354 mascaraed as BRCM4356 WiFi chip on some old Switch units
- Add support for WiFi 5 GHz bonding restriction of VHT80 and VHT160 to mitigate possible bugs in the WiFi firmware if needed.
Ubuntu/Userspace changes
mem-bench
command was added. It is able to use most of RAM bandwidth. Use together with Perf OC All power profile for better results.
Frequency reported there is the actual real frequency of RAM. Reason why it changes everytime, because of clock jitter.- Fixed an issue with
jc-dump-ltk
command failing to acquire Pro-Con or Joy-Con Grip MAC addresses and LTK properly.
Boot Stack changes
-
Initramfs
-- Failed to find rootfs issues can now also be debugged via USB. Simply follow the instruction in the Red screen and connect to a PC.
-- Added support for Procon auto BT pairing creation
Simply add this inswitchroot/joycon_mac.ini
[joycon_02] type=3 mac={MAC address of Procon} host={MAC address of Switch} ltk={LTK (connection key) of Procon}
And fill in the {brackets} with the correct information. All of it can be acquired from the
jc-dump-ltk
command when you connect Procon via USB.
Reminder that if the file is created anew, the line-endings MUST be Unix based. CRLF are not supported. -
INI config
-- Addedram_oc_vdd2
,ram_oc_vddq
for fine tuning RAM voltage and improvedram_oc
key. Read below for more.
-- Addedwifi_disable_vht80
key that can disable WiFi 5GHz bonding of VHT80 and VHT160 to mitigate possible bugs in the WiFi firmware if needed.
All info can be found inREADME_CONFIG.txt
also. -
Misc
-- Added full proper factory calibration support for Lite Gamepad.
Get latest hekate, v6.0.5 v2 or newer, and useDump Joy-Con BT
to enable it.
Full commit log:
https://github.com/CTCaer/switch-l4t-kernel-4.9/commits/linux-5.1.1
https://github.com/CTCaer/switch-l4t-kernel-nvidia/commits/linux-5.1.0
https://github.com/CTCaer/switch-l4t-platform-t210-nx/commits/linux-5.1.1
Switch L4T Ubuntu 5.1.0
L4T Ubuntu 5.1.0 Changelog
hekate 6.0.3
or newer
is mandatory
Kernel/Driver changes
- SD/eMMC Dramatic Performance Increases
Support for SD card UHS DDR200 allowing for up to 200MB/s on UHS-I bus (up from 104MB/s). (Needs hekate 6.0.3).
Read performance increased by 2-20% and write by 50-200% on SD and eMMC. That's by fixing an almost 2 decades old bug.
Fixed an old Nvidia bug where it would decrease SD/eMMC performance by 60% after a deep sleep.
Decreased latency/access times and improved random transfers (4k IOPS)
Added support for SD card cache
SD Card VDDC/VDDQ regulators are now disabled on deep sleep. Increases standby times dramatically on chipped switch that use the proper SD card VDD point.
On failed inits, the SD card will now be power-cycled fully and driver will try to reduce bus timing progressively, instead of falling back to HS25 immediately. Finally, retries are now instant, instead of taking 2-5s. - Deep Sleep
Significantly improved wake up speed on T210 and T210B01
Significantly improved deep sleep on T210B01 (increased by ~10-15 days)
Mitigated a T210B01 HW erratum and fixed several Nvidia driver bugs in SDMMC/PCIE/XUSB/USBPD drivers - GPU DVFS for T210B01
A new mode added for T210B01 that dramatically lowers power consumption on higher GPU clocks.
That also allows GPU to reach 1228 MHz max on select binned GPUs.
GPU clocks are now properly limited by max voltage and max power, increasing safety by not exceeding pmic current limits.
That can also increase max GPU clock to 1152 MHz on select binned GPUs. - Joy-Con/Pro-Con
Improved Sio (Lite Gamepad) init
Increased Sio input report rate to 120HZ (8ms) from 60Hz (16ms)
Reduced traffic from rumble commands
Added plug-in/removal detection via pins for railed Joy-Con
Fixed an issue where the IMU input device would not be unregistered on removal of railed or wireless Joy/Pro-Con - XBOX Controllers
Added support for bluetooth XBOX controllers via XPAD Neo driver
As with USB ones, userspace must load the module. - WiFi/Bluetooth
Updated firmware files to latest from HOS
Fixed several bluetooth driver bugs - USB-PD
VCONN/VBUS is now managed on certain SKUs, increasing deep sleep dramatically. - PCIE/XUSB
Improvements to the drivers in all fronts.
The Suspend/Resume fixes also increase deep sleep times dramatically. - Built-in IMU
Added support for STM LSM6DSO/LSM6DO and LSM6DSE 6-Axis IMU chips.
Now the driver will also automatically choose between LSM6DS3H/DSO/DSE and ICM40607 - Added HW Random engine support for T210B01
- Fixed production settings for DisplayPort on T210B01
- Fixed several pmic settings
- Many more improvements/fixes
Ubuntu/Userspace changes
- Chromium Widevine Support for Movie/Series Streaming Services
Chromium now supports Widevine DRM for streaming platforms. Most sites work via the normal icon.
Others, like Netflix, need the Chromium Streaming one from the app menu. - Switch Tray Icon
The icon is now split into 2 sections. The Switch icon for tools and the Text profile one that allows Power/Fan management.
The following features were added to the icon:
Added Reboot 2 Config app for rebooting to a hekate boot entry with 2 simple steps
Added OLED display color modes
Added Joy-Con Controls Mapping help. Shows how Joy-Con are mapped to keyboard/mouse and how to enable/disable it. - Theme
Unity Dash, the apps side bar, was updated to a modern flat theme. - Apps
Addedtegrastats-l4t
with better formatted output. Useful for live info and overlays. Can be launched from the Switch tray icon.
Addedjc-dump-ltk
for dumping Bluetooth LTK key when user connects Pro Controller via USB. Can be also used for getting LTK from Joy-Con via Grip. - Bluetooth
Bluetooth now gets disabled in Sleep, for not needing user to turn off controllers manually.
This also allows the whole wifi/bt combo chip to power down during sleep and thus decreasing power consumption. - Optional support for DTS audio encoder (dcaenc) for DP/HDMI was added. If wanted, apt package is
alsa-lib-dcaenc
. - Many more improvements/fixes
Boot Stack changes
- L4T Loader
SD Card UHS DDR200 mode support (needs hekate 6.0.3 or newer)
Allow early 2019 Samsung ram to be overclocked to 2133MHz for T210B01 (Mariko) - INI config
bt_ertm_disable
allows disabling Bluetooth ERTM which might hinder usage of some Bluetooth devices
ddr200_disable
allows disabling the automatic SD Card UHS DDR200 support
gpu_dvfsc
allows dramatically decreasing GPU power consumption for Mariko on high clocks and allowing for higher clocks also
limit_gpu_clk
allows limiting max GPU clocks in casegpu_dvfsc
is used and GPU can't withstand lower voltage
As always, check README_CONFIG.txt for more info. - Support for beefy pmic type of T210B01 devboards in U-BOOT
Full log:
https://github.com/CTCaer/switch-l4t-kernel-4.9/commits/linux-5.1.0
https://github.com/CTCaer/switch-l4t-kernel-nvidia/commits/linux-5.1.0
https://github.com/CTCaer/switch-l4t-platform-t210-nx/commits/linux-5.1.0