SciresM / boot9strap

Boot9/Boot11 code execution.
GNU General Public License v3.0
969 stars 65 forks source link

[REQUEST] Officially use ntrboot.firm from NTR #21

Open urherenow opened 7 years ago

urherenow commented 7 years ago

I already do this myself, but it makes sense for everybody. When launching from an NTRBoot card, if it loads SafeB9SInstaller as ntrboot.firm, then you don't need to remove the SD card more than once. The current guide has the b9s install, followed by removing the card to replace boot.firm with Luma. Instead, you should have both Luma as boot.firm and safeb9sinstaller as ntrboot.firm.

EDIT: I'd make a pull request, but I honestly don't know to do it properly (ie. only have boot9strap_ntr.firm look for ntrboot.firm, while boot9strap.firm looks for boot.firm) so I just built it once normally, then made the change and made a clean build to use the ntr.firm for flashing to the flashcart.

jason0597 commented 7 years ago

I made a similar issue 18 days ago, #17 It has the same suggestion

urherenow commented 7 years ago

Neither your title, nor your reasoning is correct. You should close #17.

Moire9 commented 6 years ago

How do I do it myself? What line should I change? I'm looking to do this.

urherenow commented 6 years ago

Stage2/arm9/itcm_stub/source/main.c

Line 43

And

arm9/source/main.c

Line 27

It’s been a while since any b9s stuff has changed so I’ve had no reason to compile again. The line 27 one is probably the only thing you need to change. The problem is that for my solution, it has to be built normally for your SD root, then cleaned and built with the change for the ntr version for the flash card.

The only thing I can think of to automate it (because I'm not very experienced in programming) is to use a variable and some scripting in the makefile and make a large change (considering its current size) to the .py script.

Moire9 commented 6 years ago

@urherenow What are the dependencies? I can't figure them out. (only one I know of is armips)