Hardware Did anyone ever tried a RAM upgrade on the switch?

  • Thread starter Thread starter BlackOmegaTM
  • Start date Start date
  • Views Views 72,504
  • Replies Replies 82
  • Likes Likes 2

BlackOmegaTM

Active Member
Newcomer
Joined
Jul 2, 2019
Messages
27
Reaction score
6
Trophies
0
Age
42
XP
178
Country
Brazil
Hello there. Messing with my OG xbox and considering the RAM upgrade for it, I started to wonder if a RAM upgrade would also be possible on the switch?

Any one ever tried this? What type of RAM does de switch use?

I think that, with all the mods for games out there, more ram would allow for better textures mods on selected games, for more homebrew games, would also be nice for running android and l4t linux.

Was it ever attempted?
 
  • Like
Reactions: 6513893 and Drogy
Hello there. Messing with my OG xbox and considering the RAM upgrade for it, I started to wonder if a RAM upgrade would also be possible on the switch?

Any one ever tried this? What type of RAM does de switch use?

I think that, with all the mods for games out there, more ram would allow for better textures mods on selected games, for more homebrew games, would also be nice for running android and l4t linux.

Was it ever attempted?
I think the RAM is integrated in the SoC, so if it is even possible, to upgrade the RAM, you would need to change that
 
  • Like
Reactions: lysdog
Step 11 of https://www.ifixit.com/Teardown/Nintendo+Switch+Teardown/78263 appears to show two standalone chips.

I don't know how low down everything is baked into the system, or indeed if there is some kind of dev unit with more RAM that could help things along here.

That said most of the time you have to make things use it. It might be that Switch code is as general purpose as some PC stuff but I would be a bit surprised. For homebrew that might be one thing but trying to get commercial games to do it is another and few people bother with that.
Also does the Switch use system memory (or possibly share system memory) for textures?

As far as android and linux goes is 4 gigs that limiting?
 
It’s possible. 6gb and 8gb configurations are supported.
But it won’t Just Work(tm). You’d need a custom build of Atmosphere that spoofs the fuses to tell the system that it has 6gb or 8gb of ram (otherwise it’ll only think 4gb exists).
For Linux and Android you’d also likely need a custom build.

If you only use Horizon it’s not worth it, as it won’t really have any benefits. If you use linux, it may be worth it.
 
Any news? I am also interested in this upgrade.
Not Samsung lpdd4 bga200 memory modules should work?
 
Looks like atmosphere already has 6 ang 8 gb support
Code:
/* Initialization. */
size_t KSystemControl::Init::GetIntendedMemorySize() {
   switch (GetKernelConfigurationForInit().Get<smc::KernelConfiguration::MemorySize>()) {
   case smc::MemorySize_4GB:
default: /* All invalid modes should go to 4GB. */
return 4_GB;
case smc::MemorySize_6GB:
return 6_GB;
case smc::MemorySize_8GB:
return 8_GB;
}
}
 
Looks like atmosphere already has 6 ang 8 gb support
Code:
/* Initialization. */
size_t KSystemControl::Init::GetIntendedMemorySize() {
   switch (GetKernelConfigurationForInit().Get<smc::KernelConfiguration::MemorySize>()) {
   case smc::MemorySize_4GB:
default: /* All invalid modes should go to 4GB. */
return 4_GB;
case smc::MemorySize_6GB:
return 6_GB;
case smc::MemorySize_8GB:
return 8_GB;
}
}
That value is obtained from fuses and only if debug mode is enabled, you'd have to modify AMS to hardcode it.
 
Last edited by ZachyCatGames,
I did it. Replaced 2GB ram chip with 3 GB. Tried to rebuild atmosphere 0.15 forced to 6GB but no luck.
IMG_20201029_1725348.jpg
 
I did it. Replaced 2GB ram chip with 3 GB. Tried to rebuild atmosphere 0.15 forced to 6GB but no luck.
View attachment 231703
What did you change in AMS? If you just changed the fuse stuff, that's probably not enough.
Try the build I attached to this message, if it works, I'll post my patch.
 

Attachments

on a different note, what if someone baked a gpu or a ram extension to the dock. I mean yeah there are usb c gpus but it would probably just not work and a ram upgrade might be doable but then there is the problem of bus speeds
 
I did it. Replaced 2GB ram chip with 3 GB. Tried to rebuild atmosphere 0.15 forced to 6GB but no luck.
View attachment 231703

It's all down to the memory controller. I don't really know how custom the SoC is on the Switch (probably not at all considering it's Nvidia we're talking about), but the commercial spec sheet of the Tegra X1 (T210) states that it supports up to 4GB of LPDDR4-1600 (I assume in dual channel).

HFPbeSf.png


As it happens, the Switch Erista has 2x2GB LPDDR4 1600.

Looking at bit at the Tegra X1 reference manual, it seems the addressable memory has two blocks (2GB and 6GB) for DRAM proper.

ug3hp52.png


I'm guessing you'd need to do something fucky like addressing 6GB of a 8GB chip.

The Mariko on the other hand has a Tegra X1+ (T214) that seems to support 8GB of LPDDR4X out of the box. I can't find an Nvidia spec sheet but I'm guessing it caps at LPDDR4X-2133 in dual channel.
 
Sept logo (1 sec)
Atmosphere logo (2-3 sec)
And then black screen
hardcoded even more shit :harold:
Also threw my messy patch file here
if this doesn't work, idfk
 

Attachments

Nope, maybe something wrong in HOS or maybe really x1 does not support >4GB. I will try L4T.
SXOS and Atmosphere work fine but only see 4 GB.
SDEVs and some old EDEVs used 6gb and it's supported in software.
So it should work, no idea why it's not.
If you're on RetroNX, switchroot or some other discord server CTCaer's on, you could asking him ig, he's smarter me lol.
 
Last edited by ZachyCatGames,
  • Like
Reactions: PegLegs

Site & Scene News

Popular threads in this forum