New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux_tegra: init #31452
linux_tegra: init #31452
Conversation
This tracks the kernel.org kernel for Nvidia's ARM-based Tegra SoCs and dev boards. Tegra fixes and enhancements are often available here long before they're merged into the mainline kernel.
cc @dezgeg |
Packaging this sort of repo worries me a bit. Specifically, I'm under the assumption that Thierry can rebase it at will, which could potentially make old git hashes unreachable... |
@dezgeg I don't think that happens with But I don't object, it's easy enough for me to just keep using this as an overlay. Shall I close the PR, then? |
At least when I tried in my kernel repo,
|
@dezgeg Ahh, ok. As I said, it's been awhile since I updated the git rev anyway as later versions didn't work for me, and I guess I'd forgotten that it happens sometimes. Fair enough, I'll close this PR. |
@dhess BTW, if you do want to test some experimental Tegra stuff, the cpufreq patches for the TX1 landed on the mailing list a few days ago, here's them in a branch: https://github.com/dezgeg/linux/commits/tx1-cpufreq with the corresponding nixpkgs hack: dezgeg@3c62787.
to:
Also I keep around a hack patch for the TK1 that boosts the eMMC performance quite a bit: dezgeg@c97e3ef (unfortunately, upstream backed away from enabling the stuff since it breaks suspend-to-RAM sometimes and nobody's looked into fixing that). |
@dezgeg Wow, nice improvement! Do you know if anything major for TX2 went into 4.14? I want to get mine going in NixOS but I've had no luck so far, even with the |
Nothing that looks related to that. eMMC support should have been there since 4.12 or so, PCIe support has patches on the list, not sure if that will make it to 4.15. |
(Requesting review from @dezgeg)
Motivation for this change
This tracks the kernel.org kernel for Nvidia's ARM-based Tegra SoCs and dev boards. Tegra fixes and enhancements are often available here long before they're merged into the mainline kernel.
I've been running this kernel on both an Nvidia Jetson TK1 and a Jetson TX1 for several months. The machines are
armv7l-linux
andaarch64-linux
build servers, respectively, for my NixOps deployments, and have been under occasional very heavy load with no issues. (The TK1's built-in NIC does hang from time to time, but this also happens on the mainline kernel. It appears to be an issue with the RealTek chipset, not a Tegra-specific problem. I have replaced it with an ASIX-based USB 3.0 Ethernet adapter, which works great.)The TX1's filesystem is hosted on an NVMe device on PCIe riser card, which is nice. (The TK1 runs off an SD card.)
Unfortunately, this kernel does not yet work on my Jetson TX2, but I will continue trying new versions until I can get one that does.
Note that the
linux-tegra
fork updates fairly infrequently, and often with many commits at once. The particular revision used in this commit is a few months old. The latestlinux-tegra
changes as of a few days ago did not work for me, but I try new ones from time to time and am willing to continue maintaining this derivation as long as I'm running NixOS on Jetsons, which should be for the foreseeable future.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)