4dsdev
Views: 616,458 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 12-11-17 12:02 PM
Guest:

0 users reading Get ARM11 code execution from FIRM_LAUNCH ARM9? | 1 bot

Main - Homebrew discussion - Get ARM11 code execution from FIRM_LAUNCH ARM9? New reply


gudenau
Posted on 11-25-15 07:15 PM Link | #775
I would like to work on a CFW not based on Nintendo's code, but the first part of that (to me anyway) is to get code execution on ARM11 from ARM9 FIRM_LAUNCH. Sure I could make one in ARM9, but that would be limited.

Bonus:
Could I can get all (4 3ds/6 new 3DS) cores at once, not needed at all.

d0k3
Posted on 11-27-15 11:54 AM Link | #783
Posted by gudenau
I would like to work on a CFW not based on Nintendo's code, but the first part of that (to me anyway) is to get code execution on ARM11 from ARM9 FIRM_LAUNCH. Sure I could make one in ARM9, but that would be limited.

Bonus:
Could I can get all (4 3ds/6 new 3DS) cores at once, not needed at all.

I can't help with that, just wanted to say thumbs up for the success of this project. Sounds very interesting!

Syphurith
Posted on 11-27-15 01:05 PM Link | #784
Posted by gudenau
--Snip--

You could contact 173210 and others on github, from those repos of CFWs under active development.
And i would say good for this too.

gudenau
Posted on 11-27-15 03:17 PM (rev. 2 of 11-27-15 03:17 PM) Link | #785
Posted by Syphurith
You could contact 173210 and others on github, from those repos of CFWs under active development.
And i would say good for this too.

They have been of little help.

gudenau
Posted on 11-28-15 11:41 AM (rev. 2 of 11-28-15 12:03 PM) Link | #786
Could I clobber the interupt vectors on ARM11 from ARM9 to do this?
That memory is the bootrom...

Dazzozo
Posted on 11-28-15 12:04 PM Link | #788
Posted by gudenau
That memory is the bootrom...


You're meant to remap it.

gudenau
Posted on 11-28-15 12:14 PM Link | #789
Posted by Dazzozo
You're meant to remap it.


Oh, this might be the way then!

gudenau
Posted on 11-28-15 04:31 PM Link | #790
How would I dump the memory map?

Dazzozo
Posted on 11-28-15 05:34 PM Link | #791
There won't be one after FIRM launch, the ARM11 will be operating with physical addressing.

You will have to enable the MMU yourself.

gudenau
Posted on 11-28-15 10:22 PM Link | #792
Posted by Dazzozo
There won't be one after FIRM launch, the ARM11 will be operating with physical addressing.

You will have to enable the MMU yourself.

This sounds like fun. To bad we can't dump the bootrom; correct?

Dazzozo
Posted on 11-29-15 09:50 AM Link | #794
You don't even need the bootrom for any of this.

gudenau
Posted on 11-29-15 11:40 AM Link | #795
Posted by Dazzozo
You don't even need the bootrom for any of this.

I guess your correct... It is FIRM stuff. -.-
Over over complicating things as per usual.

Dazzozo
Posted on 11-29-15 11:45 AM Link | #796
Posted by gudenau
I guess your correct... It is FIRM stuff. -.-
Over over complicating things as per usual.


As for your overall aim here, I suggest you first spend some time understanding how NATIVE_FIRM operates, before trying to replace it. Specifically, how it brings up the ARM cores and to an extent, how it prepares them for shutdown (and generally how FIRM launch works). Otherwise, you're trying to run before you can walk.

gudenau
Posted on 11-29-15 05:30 PM Link | #798
Posted by Dazzozo
As for your overall aim here, I suggest you first spend some time understanding how NATIVE_FIRM operates, before trying to replace it. Specifically, how it brings up the ARM cores and to an extent, how it prepares them for shutdown (and generally how FIRM launch works). Otherwise, you're trying to run before you can walk.

That was part of the plan, I was just hoping that someone had the ARM stuff figured out so I could get a simple POC setup.


Main - Homebrew discussion - Get ARM11 code execution from FIRM_LAUNCH ARM9? New reply

Page rendered in 0.020 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 91/91, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2017-11-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.