Comments (9)
Almost definitely yes.
It just requires to put the time into making it work.
(NOTE: I literally have a spare early model switch set aside for that purpose, but never got around to it...)
from mobile-nixos.
I am very interested, then!
Please tell me how can I help - and what I should know in order to help :)
from mobile-nixos.
First, I'll note that I won't have the time or energy to handle that in any predictable time frame. Though I can answer precise questions.
So, I guess the first thing I would do is learn about all the components involved into booting the kernel and initrd/stage-1, and make a strong mental model.
Since you'll maybe need some help, you should probably make a write-up so one can follow your mental model.
When I say learn about all the components, this would map what basically is "the bootloader" stage, and then knowing the format of kernel+initrd expected to be used by Hekate and other parts of the tooling.
Is that providing enough hints to start? Do ask additional questions, the more precise they are, the more likely I'll be able to help providing an answer quickly :).
Why do I care only about kernel+initrd?
Because anything else after is 99.99% likely to be squarely and entirely managed by the Linux distro with the semantics they want. That's not limited to Nintendo Switch, but basically to all targets. With the caveat that sometimes (e.g. android devices) you have to contend with some limitations (pre-specified partitions) but nothing outright problematic.
My expectation here is that the rootfs of linux distros on switch is just a partition on the SD card. So pretty much the most trivial scenario.
from mobile-nixos.
My impression is that there is some gap between what is said and how it happens.
The mental model I can think of is more or less like "installing a barebones distro" like Slackware:
- Pick the storage device
- Fill it with the files you need
- Write specific sequences of bytes at specific physical places on the storage device
- especially the bootloader, that should transfer the control to the OS
- Plug the configured storage device on a machine and push the power button
In my limited knowledge (looking at tutorials for exotic hardware), sometimes this is a 1-1 correspondence.
from mobile-nixos.
Anyone looking into this, please note that you'll need an old, unpatched model of Switch so you can make it boot from the sd card.
https://www.reddit.com/r/SwitchPirates/wiki/before/
from mobile-nixos.
The modchip does not work?
https://wiki.switchroot.org/wiki/faq
Switchroot does not endorse the manufacture of or provide user support for modchips, but a chipped unit can run Switchroot Android 11, L4T Ubuntu Bionic & Jammy 5.0.0 and up, L4T Fedora, and L4T Lakka (in beta)
from mobile-nixos.
@AndersonTorres My understanding is that such chips are illegal, and are hard to find for cheap. My whole purpose for wanting nixos on a Switch was to be able to run a server OS on dirt cheap / easy hardware, for educational purposes. Requiring students to buy extra hardware that's expensive, difficult to set up, and possibly illegal is a no-go.
But sure, if your use case does not require things to be cheap or easy, then yeah I guess you can try a mod chip :)
from mobile-nixos.
Then your issue is with the hardware.
I do not believe the software stack will be affected by this modchip.
Obviously I am not talking about the legal conundrums with that firm that sells cards.
from mobile-nixos.
Yes, I'm just letting people know before they start hacking that they have to buy an unpatched Switch in order to even begin on this.
I stupidly bought a Switch thinking any Switch would be moddable, not noticing that "jailbroken" applies to only some very old Switches, or Switches that have been illegally(?) modified at the hardware level.
Just trying to save others from making the same dumb mistake :)
from mobile-nixos.
Related Issues (20)
- Plan and document the (updated) Mobile NixOS boot story, from platform firmware to stage-2
- Deprecate and remove `stage-0` as a Mobile NixOS implementation detail
- LUKS password entry hangs on Shift key
- user preference option for stage-1 gui rotation HOT 9
- ubootTools overlay seemingly superfluous HOT 1
- Enable cr50 TPM on mainline chromeos family
- Pinephone Pro installer img from Hydra not working? HOT 1
- acer-lazor installer image fails to build due to firmware error
- BGRT support broken for rotated displays (non-native panel orientation)
- Would fairphone support be practical for NixOS? HOT 4
- Pinephone installer img from Hydra not working? HOT 8
- Can't login with a fresh image - Acer Spin 513
- Partition images generated by `make_ext4fs` have all files end up in `lost+found` HOT 7
- Oneplus 6(T): Update copy-firmware instructions
- Kernel Configuration HOT 1
- PinePhone Pro Functionality HOT 3
- oneplus-enchilada build fails
- How to install on SD card? HOT 3
- Device Request: Add pinetab 2 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-nixos.