imbushuo / NintendoSwitchPkg

WIP UEFI EDK2 Implementation for Nintendo Switch or generic Tegra210 platforms
GNU General Public License v2.0
273 stars 22 forks source link

tutorial? #18

Open hwanghyunseo opened 3 years ago

hwanghyunseo commented 3 years ago

nintendo switch windows 10 install tutorial please

WolfLink115 commented 3 years ago

All I know about this is that you need to compile the edk2, then compile the coreboot, then boot the coreboot with shofel2

hwanghyunseo commented 3 years ago

All I know about this is that you need to compile the edk2, then compile the coreboot, then boot the coreboot with shofel2

Builded file link?

FlawwyNX commented 2 years ago

All I know about this is that you need to compile the edk2, then compile the coreboot, then boot the coreboot with shofel2

How?

DremOSDeveloperTeam commented 2 years ago

Pkg building instructions - https://github.com/imbushuo/NintendoSwitchPkg#building Coreboot - https://github.com/imbushuo/Coreboot

FlawwyNX commented 2 years ago

Pkg building instructions - https://github.com/imbushuo/NintendoSwitchPkg#building Coreboot - https://github.com/imbushuo/Coreboot

Hey, how compile coreboot and edk2? I find .inc files in folders I use VS 2022

DremOSDeveloperTeam commented 2 years ago

Use Linux. To my knowledge, there's no way to use Windows to build (other than WSL or WSL2). Some of the instructions are vague, so you may need to use a search engine to find what it means. For example, checkout is a git feature, so you will need git installed on your Linux system.

FlawwyNX commented 2 years ago

Use Linux. To my knowledge, there's no way to use Windows to build (other than WSL or WSL2). Some of the instructions are vague, so you may need to use a search engine to find what it means. For example, checkout is a git feature, so you will need git installed on your Linux system.

But i dont know, what start In Video i see shofel2, what is it? Although now I'm more interested in:

  1. How to make it work?
  2. How to start Windows? (I have Windows 11 ARM Build 22543.100, but I don’t understand what to do after compiling the EDK and Coreboot? Where to put the ISO or how start ISO?
DremOSDeveloperTeam commented 2 years ago

I never used it to run Windows, but with my past experience (3+ years ago) of installing Windows 10 on a Raspberry Pi 3B+, you'll probably have to deploy a the WIM image (this is inside the ISO) using DISM to an SD card. Look up "DISM deploy WIM to drive" or similar for information on this. You will need Windows to deploy. ShofEL2 is what we use to run Linux distributions on the Switch (but we are repurposing it to run Windows here). As you can see under ShofEL2'Ss usage page, the usage would be something like shofel.py edk2.bin coreboot.rom, where edk2.bin would be what is built by NintendoSwitchPkg and coreboot.rom is what's built by the coreboot repository I linked earler. This took me hours, not even mentioning the DISM deploy.

I'm also going off memory, and don't have my computer, so some details might be wrong or unclear, apologies. I also never actually used this to install Windows, I installed Linux instead.

FlawwyNX commented 2 years ago

I never used it to run Windows, but with my past experience (3+ years ago) of installing Windows 10 on a Raspberry Pi 3B+, you'll probably have to deploy a the WIM image (this is inside the ISO) using DISM to an SD card. Look up "DISM deploy WIM to drive" or similar for information on this. You will need Windows to deploy. ShofEL2 is what we use to run Linux distributions on the Switch (but we are repurposing it to run Windows here). As you can see under ShofEL2'Ss usage page, the usage would be something like shofel.py edk2.bin coreboot.rom, where edk2.bin would be what is built by NintendoSwitchPkg and coreboot.rom is what's built by the coreboot repository I linked earler. This took me hours, not even mentioning the DISM deploy.

I'm also going off memory, and don't have my computer, so some details might be wrong or unclear, apologies. I also never actually used this to install Windows, I installed Linux instead.

Oh shit, this hard.... But as the saying goes: Russians, (and Ukrainians) don't give up! :) But I have to work all summer to buy myself a Nintendo Switch (And play Russian roulette in search of the 1st revision) Although the prospect of having Windows in the game console (But without a GPU driver (Is it possible to do it somehow?) weighs me more It's okay if you don't remember something, because I don't know anything XD _I literally know the basics, but I don't know the sequence or how to do it (Thanks to you, I figured out where to start, thanks) Is it okay if I ask you how and what to do? (Well, when I get a Switch (August-September)

WolfLink115 commented 2 years ago

I will write a tutorial soon, I will also be uploading the files as a pre-release until Imbushuo is able to finish the project. I will say this, Windows will not work since there are no drivers. Imbushuo already explained to me about that.

FlawwyNX commented 2 years ago

Я напишу учебник в ближайшее время, я также буду загружать файлы в качестве предварительного релиза, пока Imbushuo не сможет завершить проект. Скажу так, Windows работать не будет, так как драйверов нет. Имбушуо уже объяснил мне об этом.

Of course not fully, but even without drivers it should start, ACPI, Processor driver, and driver for external USB devices are enough Enough for a while, but I'm more interested in whether it will be possible to transfer the driver from linux (Linux for Nintendo Switch has a video card driver, correct me if this is not the case) I remembered Windows weighing 700MB, without dualboot, but it works! And this means that there were no drivers for than the basic ones.

WolfLink115 commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone.

https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

FlawwyNX commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone.

https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

WolfLink115 commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone.

https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

FlawwyNX commented 2 years ago

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

Extract? Hmm, 7-zip opens ISO easily! I even remember how my PC booted even without Rufus files, I just unpacked the files from iso to a USB flash drive and rebooted the computer In general, if I install everything according to that tutorial, and then put in an SD card with Windows 10/11 to Switch, then it should, in theory, boot into WinPE? Question about DISM, there are two versions: Microsoft DISM (on the command line) DISM++ (from other people) What should I use? However, I recommend that you also write instructions for at least starting Windows. It will help people like me :) And, due to the fact that system ports and other things are unpopular in our ru-segment, this came as a shock to some inhabitants of VK Huh, i I feel like some kind of super agent, because I and a few people now know how to "install" Windows on Switch :)))

FlawwyNX commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone. https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

And a few more questions:

  1. Everything commands can be copied? (with & or is it like a space?)
  2. If i get are problems, can you help?
WolfLink115 commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone. https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

And a few more questions:

  1. Everything commands can be copied? (with & or is it like a space?)
  2. If i get are problems, can you help?

I don't understand the question asked in #1. Number 2, yeah, I can likely do my best to help. As to the installation, as I said with windows PE, you can just extract the iso onto the SDCard. The actual windows ISO is a different story. Dism++ might be the better option.

FlawwyNX commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone. https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

And a few more questions:

  1. Everything commands can be copied? (with & or is it like a space?)
  2. If i get are problems, can you help?

I don't understand the question asked in #1. Number 2, yeah, I can likely do my best to help. As to the installation, as I said with windows PE, you can just extract the iso onto the SDCard. The actual windows ISO is a different story. Dism++ might be the better option.

1st question is already a translator problem (Yes, I know English in B1, but sometimes I don't know how to write this or that word) Plus in our schools we study British English, not American, so my British accent is easy to see :D

WolfLink115 commented 2 years ago

Build guide on my GitHub. I will also upload the files if you guys would like. I also apologize if there are any typos. I types this all out on my phone. https://github.com/WolfLink115/NintendoSwitchPkg/blob/master/buildinstructions.txt

Thanks for the instruction to launch Coreboot and EDK2 But, how do you start Windows? At least to the recovery mode or even to WinPE?

Windows PE, you would need to download/make a Windows PE ISO and extract that ISO to an SDCard. EDK2 should automatically detect it and load up WinPE. With actual windows? No idea if that is possible ATM considering there are no windows drivers (except for CPU ofc), but you would have to use the same method the Raspberry Pi does afaik. Just apply the install.wim to the SDCard using Dism.

And a few more questions:

  1. Everything commands can be copied? (with & or is it like a space?)
  2. If i get are problems, can you help?

I don't understand the question asked in #1. Number 2, yeah, I can likely do my best to help. As to the installation, as I said with windows PE, you can just extract the iso onto the SDCard. The actual windows ISO is a different story. Dism++ might be the better option.

1st question is already a translator problem (Yes, I know English in B1, but sometimes I don't know how to write this or that word) Plus in our schools we study British English, not American, so my British accent is easy to see :D

No problem. I kinda figured that you were using a translator, and seeing as English can be a pretty complex language to speak, and that is saying something considering that is the only language in which I can speak lol

Anyway, let me know if there is anything else I can help with. I will likely take a bit to respond as I am currently watching a movie.

DremOSDeveloperTeam commented 2 years ago

I never used it to run Windows, but with my past experience (3+ years ago) of installing Windows 10 on a Raspberry Pi 3B+, you'll probably have to deploy a the WIM image (this is inside the ISO) using DISM to an SD card. Look up "DISM deploy WIM to drive" or similar for information on this. You will need Windows to deploy. ShofEL2 is what we use to run Linux distributions on the Switch (but we are repurposing it to run Windows here). As you can see under ShofEL2'Ss usage page, the usage would be something like shofel.py edk2.bin coreboot.rom, where edk2.bin would be what is built by NintendoSwitchPkg and coreboot.rom is what's built by the coreboot repository I linked earler. This took me hours, not even mentioning the DISM deploy. I'm also going off memory, and don't have my computer, so some details might be wrong or unclear, apologies. I also never actually used this to install Windows, I installed Linux instead.

Oh shit, this hard.... But as the saying goes: Russians, (and Ukrainians) don't give up! :) But I have to work all summer to buy myself a Nintendo Switch (And play Russian roulette in search of the 1st revision) Although the prospect of having Windows in the game console (But without a GPU driver (Is it possible to do it somehow?) weighs me more It's okay if you don't remember something, because I don't know anything XD _I literally know the basics, but I don't know the sequence or how to do it (Thanks to you, I figured out where to start, thanks) Is it okay if I ask you how and what to do? (Well, when I get a Switch (August-September)

This goes off topic, but I recommend you use L4T Ubuntu for this. It has GPU drivers, and gaming on Linux is more than possible with Proton, especially if you're just looking for some light games to give your thumbs something to do on the go.

Now back onto topic, I'll hopefully work on this issue when I get home tomorrow, assuming this still isn't resolved.

WolfLink115 commented 2 years ago

I never used it to run Windows, but with my past experience (3+ years ago) of installing Windows 10 on a Raspberry Pi 3B+, you'll probably have to deploy a the WIM image (this is inside the ISO) using DISM to an SD card. Look up "DISM deploy WIM to drive" or similar for information on this. You will need Windows to deploy. ShofEL2 is what we use to run Linux distributions on the Switch (but we are repurposing it to run Windows here). As you can see under ShofEL2'Ss usage page, the usage would be something like shofel.py edk2.bin coreboot.rom, where edk2.bin would be what is built by NintendoSwitchPkg and coreboot.rom is what's built by the coreboot repository I linked earler. This took me hours, not even mentioning the DISM deploy. I'm also going off memory, and don't have my computer, so some details might be wrong or unclear, apologies. I also never actually used this to install Windows, I installed Linux instead.

Oh shit, this hard.... But as the saying goes: Russians, (and Ukrainians) don't give up! :) But I have to work all summer to buy myself a Nintendo Switch (And play Russian roulette in search of the 1st revision) Although the prospect of having Windows in the game console (But without a GPU driver (Is it possible to do it somehow?) weighs me more It's okay if you don't remember something, because I don't know anything XD _I literally know the basics, but I don't know the sequence or how to do it (Thanks to you, I figured out where to start, thanks) Is it okay if I ask you how and what to do? (Well, when I get a Switch (August-September)

This goes off topic, but I recommend you use L4T Ubuntu for this. It has GPU drivers, and gaming on Linux is more than possible with Proton, especially if you're just looking for some light games to give your thumbs something to do on the go.

Now back onto topic, I'll hopefully work on this issue when I get home tomorrow, assuming this still isn't resolved.

The issue here is the tutorial, which I have already covered and provided the files, which is all on my GitHub.

OfficiallyMelon commented 2 years ago

Just Install Windows Files with Rufus onto sd and boot EDK2 Someone needs to Build Touch/Usb Support Its not useful without that

OfficiallyMelon commented 2 years ago

If you Want 64/32 Bit Windows Games Use Box64 and Box86 on L4T https://github.com/ptitSeb/box64 https://github.com/ptitSeb/box86

FlawwyNX commented 1 year ago

I never used it to run Windows, but with my past experience (3+ years ago) of installing Windows 10 on a Raspberry Pi 3B+, you'll probably have to deploy a the WIM image (this is inside the ISO) using DISM to an SD card. Look up "DISM deploy WIM to drive" or similar for information on this. You will need Windows to deploy. ShofEL2 is what we use to run Linux distributions on the Switch (but we are repurposing it to run Windows here). As you can see under ShofEL2'Ss usage page, the usage would be something like shofel.py edk2.bin coreboot.rom, where edk2.bin would be what is built by NintendoSwitchPkg and coreboot.rom is what's built by the coreboot repository I linked earler. This took me hours, not even mentioning the DISM deploy. I'm also going off memory, and don't have my computer, so some details might be wrong or unclear, apologies. I also never actually used this to install Windows, I installed Linux instead.

Oh shit, this hard.... But as the saying goes: Russians, (and Ukrainians) don't give up! :) But I have to work all summer to buy myself a Nintendo Switch (And play Russian roulette in search of the 1st revision) Although the prospect of having Windows in the game console (But without a GPU driver (Is it possible to do it somehow?) weighs me more It's okay if you don't remember something, because I don't know anything XD _I literally know the basics, but I don't know the sequence or how to do it (Thanks to you, I figured out where to start, thanks) Is it okay if I ask you how and what to do? (Well, when I get a Switch (August-September)

This goes off topic, but I recommend you use L4T Ubuntu for this. It has GPU drivers, and gaming on Linux is more than possible with Proton, especially if you're just looking for some light games to give your thumbs something to do on the go. Now back onto topic, I'll hopefully work on this issue when I get home tomorrow, assuming this still isn't resolved.

The issue here is the tutorial, which I have already covered and provided the files, which is all on my GitHub.

Hey Wolf, you remember how we were able to make a guide to start Windows on the installation screen? So, although small, there is progress in this. We make Discord server for this, if you want, join https://discord.gg/VTdzx8mU