boot9strap icon indicating copy to clipboard operation
boot9strap copied to clipboard

[REQUEST] Officially use ntrboot.firm from NTR

Open urherenow opened this issue 7 years ago • 5 comments

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.

urherenow avatar Sep 03 '17 04:09 urherenow

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

jason0597 avatar Sep 04 '17 18:09 jason0597

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

urherenow avatar Sep 05 '17 03:09 urherenow

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

Moire9 avatar May 12 '18 00:05 Moire9

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.

urherenow avatar May 12 '18 01:05 urherenow

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

Moire9 avatar May 13 '18 02:05 Moire9