Hacking Atmosphere-NX - Custom Firmware in development by SciresM

annson24

The Patient One
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
Does anybody around here has the kips compiled? I'm kinda used to loading atmosphere's kips through hekate and doesn't feel like using fusee-primary and secondary just yet.
 

tiliarou

Well-Known Member
Member
Joined
Feb 4, 2018
Messages
163
Trophies
0
XP
592
Country
France
Does anybody around here has the kips compiled? I'm kinda used to loading atmosphere's kips through hekate and doesn't feel like using fusee-primary and secondary just yet.
Remember that for 6.2 you have to use fusee since hekate is not updated to derive keys with TSEC.

Old kips prior to 0.8.0 : http://bsnx.lavatech.top/atmosphere/

Ave needs to fix build for 0.8.x. If you are in a hurry, you can compile it yourself with "make dist" I believe.
 
  • Like
Reactions: annson24

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,347
Country
United States
Does anybody around here has the kips compiled? I'm kinda used to loading atmosphere's kips through hekate and doesn't feel like using fusee-primary and secondary just yet.
I noticed from this issue and my own attempt that one of the kips (fatal) is pretty stubborn to compile atm.
Though all of the others can be compiled if you're interested in those.
 
Last edited by 8BitWonder,

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,641
Trophies
2
XP
5,857
Country
United Kingdom
From what universe do you come from?
Atmosphère is a Coldboot CFW. RCM comes in before the firmware is booted, Hekate is pushed into RCM, then Atmosphère is booted. The OFW never boot in any part of the process.

What universe are you from? RCM is clearly part of the firmware. Atmosphere replaces parts of Horizon, which is an operating system.

The operating system isn't firmware either, but because it's flashed to nand then it gets mislabelled (nintendo themselves don't call it firmware).

If atmosphere came as an nca and could be installed using choidujournx and booted up without tethering, then you could have a point.

Do we really care about the definition of CFW, cold boot and "LCFW" in this topic ?

Apparently so, it has to be CFW because that is what gets blood pumping to the genitals.

I only jumped in because someone was being pedantic because someone else didn't call it CFW.
 
Last edited by smf,

Y0sh1

Well-Known Member
Member
Joined
Dec 31, 2017
Messages
137
Trophies
0
XP
1,313
Country
Ireland
new binaries have just been published without incrementing the version </sad panda>

fixing the reboot to rcm apparently
 

ClickCLK

Well-Known Member
Newcomer
Joined
Oct 21, 2009
Messages
79
Trophies
1
XP
1,444
Country
Serbia, Republic of
RCM is clearly part of the firmware.

FYI, rcm is a very low level interface that runs from flash installed on tegra SoC itself and isn't a part of any switch-unique code, so it isn't a part of switch firmware - it is a part of SoC firmware. You can phisically disconnect emmc chip (where firmware is stored) and even disconnect RAM - rcm will still boot. Rcm mode is present on every devices with tegra SoC.
 
  • Like
Reactions: medoli900

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,641
Trophies
2
XP
5,857
Country
United Kingdom
so it isn't a part of switch firmware

Of course it's part of switch firmware, it's part of the switch. None of the firmware is provided by nintendo, they provide an OS.

Like on your PC, you have UEFI which is the firmware and Windows/Linux/MacOS which is the OS.
 

ClickCLK

Well-Known Member
Newcomer
Joined
Oct 21, 2009
Messages
79
Trophies
1
XP
1,444
Country
Serbia, Republic of
Of course it's part of switch firmware, it's part of the switch. None of the firmware is provided by nintendo, they provide an OS.

Like on your PC, you have UEFI which is the firmware and Windows/Linux/MacOS which is the OS.

No, it's not, and your exple is wrong. On pc UEFI is stored in special spi eeprom chip on motherboard. Uefi boots after cpu and ram are initialised, then it initializes other hardware (such as drives) mounts partitions, and boots the os. Uefi can't boot without ram. And also, you got cpu microcode, which is a very small firmware that initializes cpu at the very low level and translates opcodes into machine language.

Switch, on the other hand, doesn't have this dedicated spi flash chip, and all basic loaders are stored inside the emmc, with very first loaders (in long chain) stored in boot partitions. This loaders initialize ram and then everything else, so this loaders act as uefi on pc ( but have no configuration interface, for security reasons and ease of use for end user). Rcm on the other hand is like part of cpu microcode (but in case with tegra it's not just cpu, it's whole SoC, so many of its components can be initialised with its firmware, such as usb bus). As I wrote earlyer rcm will still work even if no ram present on system.

Also SoC firmware, which contains rcm, is read only and can be flashed only while manufacturing.

And on embedded systems, such as game consoles, all software elements which make this systems work (all loader chains, OS and preinstalled applications) usually called firmware, especially on systems, where user is not able to install different OS.
 

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,641
Trophies
2
XP
5,857
Country
United Kingdom
No, it's not, and your exple is wrong.

The example is correct.

Uefi boots after cpu and ram are initialised,

No it doesn't. Uefi handles the entire boot process, the first opcode executed by the cpu is part of Uefi.

then it initializes other hardware (such as drives) mounts partitions, and boots the os.

The firmware inside the Tegra does the same.

Uefi can't boot without ram.

It should boot enough to tell you that you have no ram.

And also, you got cpu microcode, which is a very small firmware that initializes cpu at the very low level and translates opcodes into machine language.

That isn't part of Uefi, it's an implementation detail of the cpu.

It doesn't do what you think or work how you think.

It's not like a piece of code that runs at startup to initialise the cpu, it's only called in specific circumstances. Like when a complex instruction needs to be decoded, simple instructions are hardcoded. It's nothing to do with firmware at all and isn't considered firmware by anyone.

Switch, on the other hand, doesn't have this dedicated spi flash chip,

That is an implementation detail & irrelevant. Uefi doesn't need to be stored on a flash chip, it could be stored on an SSD and loaded into some ram by dedicated hardware at bootup or it could be embedded into the CPU. Intel decided to store it one way, Nvidia decided to store it another.

Rcm on the other hand is like part of cpu microcode

No it's not, you clearly don't understand what microcode is.

Also SoC firmware, which contains rcm, is read only and can be flashed only while manufacturing.

Actually the hash is read only, you could apply patches to it if you could get a hash collision. Then you could patch out the signature checking & just patch the OS on nand to give what could accurately be described as CFW.

all software elements which make this systems work (all loader chains, OS and preinstalled applications) usually called firmware

Some people call it firmware, even though it isn't called that by nintendo & doesn't meet the industry standard for what firmware is.

The parts of the "system" (as nintendo call it) that atmosphere replaces is not any part which anyone would describe as firmware. Atmosphere doesn't install in the same way as the official updates either, which is how typically CFW is differentiated from a jailbreak.

Just look at PS3 scene evolution of PSJailbreak, CFW and HAN. The PS4 doesn't have CFW either, even though there is little conceptual difference between Atmosphere and the PS4 hen.
 
Last edited by smf,
  • Like
Reactions: tiliarou

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,360
Trophies
1
XP
3,279
Country
Firmware is not the right word for this. It's bootloaders + a full blown self written OS. The only part you can call firmware is the bootrom which does some of the same tasks BIOS/UEFI do.

And the bootrom is not just flash. It's often plain mask rom. The fact that they have factory programmable patches for it points to it beeing baked into the SoC as mask rom.
 

Xana

Well-Known Member
Newcomer
Joined
Mar 2, 2016
Messages
73
Trophies
0
XP
253
Country
United States
So does atmosphere load the required kips and layeredfs through fusee-2 now and are no longer required to be in the modules folder?
fusee-primary launches fusee-secondary, which contains all of the kips built-in. You only need the separate kips when launching atmos directly via hekate.
 

satel

Luigi's Big Brother
Member
Joined
Nov 3, 2004
Messages
2,190
Trophies
1
XP
2,039
Country
Laos
how to update from Atmosphere 0.80 to 0.81 ? do you also need to flash the usb dongle with the 0.81 primary fusee bin or 0.80 is the same ?
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
how to update from Atmosphere 0.80 to 0.81 ? do you also need to flash the usb dongle with the 0.81 primary fusee bin or 0.80 is the same ?
Just copy the files from 0.8.1 and overwrite the old files if it asks you to. Yes, 0.8.1 updated fusee primary

--------------------- MERGED ---------------------------

Does that include the layeredfs kip? And does chainloading fusee primary through hekate work to load directly?
Fusee secondary includes sm, pm, fsmitm, loader, and exosphere. Yea you can chainload fusee-primary with Hekate
 
  • Like
Reactions: satel

satel

Luigi's Big Brother
Member
Joined
Nov 3, 2004
Messages
2,190
Trophies
1
XP
2,039
Country
Laos
Just copy the files from 0.8.1 and overwrite the old files if it asks you to. Yes, 0.8.1 updated fusee primary

thank you very much,also about the folders inside the titles folder of Atmosphere are they important,i usually replace them with my custom theme folders.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Also nice. Never really watched Fallout on Prime, but sounds like a good show. +1