4dsdev
Views: 1,609,347 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-21-24 04:19 PM
Guest:

0 users reading Get ARM11 code execution from FIRM_LAUNCH ARM9? | 2 bots

Main - Homebrew discussion - Get ARM11 code execution from FIRM_LAUNCH ARM9? Hide post layouts | New reply


gudenau
Posted on 11-26-15 12:15 AM 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 04:54 PM 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 06: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 08:17 PM (rev. 2 of 11-27-15 08: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 04:41 PM (rev. 2 of 11-28-15 05: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 05:04 PM Link | #788
Posted by gudenau
That memory is the bootrom...


You're meant to remap it.

gudenau
Posted on 11-28-15 05: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 09:31 PM Link | #790
How would I dump the memory map?

Dazzozo
Posted on 11-28-15 10: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-29-15 03:22 AM 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 02:50 PM Link | #794
You don't even need the bootrom for any of this.

gudenau
Posted on 11-29-15 04:40 PM 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 04:45 PM 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 10: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? Hide post layouts | New reply

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