Comments (14)
@d0k3 this is most likely an issue with the MPU, most likely it is improperly set up (see here: https://github.com/d0k3/Decrypt9WIP/blob/master/source/abstraction/bs-start.s#L15-L37 ) I think the easiest way to fix this would simply be removing this: https://github.com/d0k3/Decrypt9WIP/blob/master/source/abstraction/gw-start.s#L43-L45
since the MPU is the Memory Protection Unit, and by default, I think, ITCM is protected it makes sense you're having trouble reading from it with the MPU enabled ;) anyways, hope you get it fixed :)
from decrypt9wip.
I don't think the answer is disabling cache. Based on 3dbrew, ITCM should have been configured to be in a RO region of memory by the 3DS software. Only other suggestions would be to flush cache (perhaps clean it also?), then letting it run. For a real good stretch, adding an interrupt handler to catch memory aborts could be a way to identify if something weird memory access wise is happening.
from decrypt9wip.
There is nothing wrong with the MPU setup for the bootstrap binary (bs-start.s, which is used by Brahma & A9LH), everything works there. The two problems with editing gw-start.s for me are (1) I can't test this entrypoint myself, and (2) CakeHax (which works fine atm) will also be affected by gw-start.s.
It is confirmed, though, that this problem only happens with accesses to ITCM. You can confirm this yourself by using the system info feature in D9 (will crash from GW entrypoint) or trying to dump ITCM with GodMode9 (will crash, too).
from decrypt9wip.
@d0k3 my point was, you didn't carry over any of the ACTUAL MPU settings from bs-start.s, just the cache enables, itcm enable and MPU enable, which might cause problems since FIRMs MPU settings are still in place :)
from decrypt9wip.
Okay, should be fixed now, in ca977ef. Can anyone help me test this?
from decrypt9wip.
Didn't mean to close, so anyone with an O3DS and compilation skills available?
from decrypt9wip.
yes
from decrypt9wip.
My sysNAND web browser is glitchy,it's always freeze on most pages, so I cannot test...
from decrypt9wip.
9.2 old3ds. works.
Interestingly, when I built the project with "make" first, then "make gateway" the launcher.dat was defective. when I built with "make gateway" straight from a cleaned repo, the launcher was good.
from decrypt9wip.
One bug though, when running sys info on this build, it freezes right after the NAND CID line is printed.
from decrypt9wip.
That's because TWL Customer ID needs access to ITCM, which the GW Launcher.dat entrypoint does not provide reliably. There are other problems with the Launcher.dat entrypoint, and I don't want this to hinder development, so the Gateway Launcher.dat entrypoint is now considered deprecated, see 9f376bd
Closing this issue for now, Launcher.dat bugs will no more be fixed.
from decrypt9wip.
@d0k3 What is exactly the LauncherTemplate.dat and what is the difference with CakeHax?
from decrypt9wip.
This is the wrong place to ask questions such as this. LauncherTemplate.dat uses the GW closed source entrypoint (same es GW software). CakeHax is an open source entrypoint by mid-kid.
from decrypt9wip.
@mariogamer2 this is for D9 issues not CFW#101
from decrypt9wip.
Related Issues (20)
- Can't Dump Home Menu DLC HOT 1
- Ability to not dump a file to CIA/CXI if it already exists HOT 4
- SeedDB limit? HOT 5
- .firm version for latest Luma? HOT 3
- Content Decryptor, CIA Builder Game directory not found HOT 2
- Console info has wrong data HOT 1
- System Info Bug HOT 1
- Update to work with B9S 1.1/1.2? HOT 3
- Decrypt9 won't boot HOT 2
- Data abort crash on payload load HOT 1
- Can't convert .3ds to .cia anymore HOT 1
- decrypt9 boot error
- Error while dumping downloaded DLC HOT 2
- Decrypt9 unable to build CIA from game installed in EmuNAND HOT 8
- Ak2I " cardtrige is not ak2I".
- CTRNAND partition disappeared after CTRTransfer HOT 6
- Titlekey Decrypt (SysNAND): failed! HOT 1
- Ak2i Flash not restoring HOT 1
- Question
- Decrypt9WIP Doesn't Open HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decrypt9wip.