Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rxtools: Add init #450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

rxtools: Add init #450

wants to merge 1 commit into from

Conversation

173210
Copy link
Contributor

@173210 173210 commented Feb 29, 2016

init is an alternative for bigpayload in CakeHax and can be an entry point for delebile's arm9loaderhax.

@urherenow
Copy link
Contributor

if this is what I just tried, it does not work. The current roxas75/rxTools arm9loaderhax branch at least loads the menu (but data installation suite is broken).

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

It needs modifications for arm9loaderhax. Please consider it's just for CakeHax for now.

@AlbertoSONIC
Copy link
Contributor

Is this really needed? rxTools arm9loaderhax branch already works fine in both arm9loaderhax and other entrypoints, using cakehax bigpayload and modded makefile which outputs arm9loaderhax.bin (which basically is code.bin with first 0x12000 part removed)

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

Yes. arm9loaderhax branch will not work with CakeHax and possibly causes unexpected results.

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

Ok, I read again and found it has a dirty hack to extract bigpayload from CakeHax. So it may work. But still it's a hack and can be corrupted.

@AlbertoSONIC
Copy link
Contributor

Well if you think doing a separate init is better then my dirty hack then I'll merge this... But please fix arm9loaderhax support ;)

@AlbertoSONIC
Copy link
Contributor

Also, rxTools will be renamed to RX Custom Firmware so maybe tools.bin won't fit that much

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

Originally init was developed because bigpayload sets MPU up incorrectly for new 3DS. Now we need to update MPU configuration in the initial bootstrap.

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

RX Custom Firmware

Wow.

@AlbertoSONIC
Copy link
Contributor

Mmm so now code.bin is the init and tool.bin is the actual RX code?

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

Yes.

@AlbertoSONIC
Copy link
Contributor

So code.bin is what will be renamed to arm9loaderhax.bin and placed in sd root...

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

No. code.bin includes ROP, but arm9loaderhax.bin shouldn't.

@AlbertoSONIC
Copy link
Contributor

init.bin?

@urherenow
Copy link
Contributor

You told me earlier that it was the same thing... Is that why it didn't work?

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

@urherenow First, it will generate bin/init.bin (previously rxtools.bin), then bin/tool.bin. bin/init.bin will be assembled with CakeHax. The result is code.bin.

@RinMaru
Copy link

RinMaru commented Feb 29, 2016

wait your not planing on making rxcfw a9lh only right?

@173210
Copy link
Contributor Author

173210 commented Feb 29, 2016

@Zetchzie This pull request and arm9loaderhax branch won't kill other entry points.

@RinMaru
Copy link

RinMaru commented Feb 29, 2016

thank god im not ready to set a9lh as my default.

@urherenow
Copy link
Contributor

Before everything is working AND emunand9 and decrypt9 can be launched directly from the RXcfw, AuReiNand is better for a9lh anyway. It already works, and the sysnand launch with 9.0 native_firm also keeps it compatible with Gateway.

@mariogamer2
Copy link
Contributor

@AlbertoSONIC Maybe a name more than this XD

init is an alternative for bigpayload in CakeHax and
can be an entry point for delebile's arm9loaderhax.
@173210
Copy link
Contributor Author

173210 commented Mar 2, 2016

77512fe: Updated the MPU configuration according to delebile's arm9loaderhax.
https://github.com/delebile/arm9loaderhax/blob/d52f7b46ec734d7a3390e098883872336ed0481b/payload_stage1/source/_start.s

Probably it boots. But no new 3DS support. But I have an idea to fix that.

@RinMaru
Copy link

RinMaru commented Mar 2, 2016

so nightlys are no longer a thing its been canceled. when is the next beta expected?

@AlbertoSONIC
Copy link
Contributor

@173210 Cakes has an MPU settings code which works on both arm9loaderhax and other entrypoints. It's also working on new 3ds... You may take a look at it (it's the one I used in arm9loaderhax branch, it works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants