Go to advanced search

by madotuki
Mon Feb 13, 2017 12:01 pm
Forum: Bare metal, Assembly language
Topic: Trying Bare Metal on Raspberry Pi 2
Replies: 98
Views: 35455

Re: Trying Bare Metal on Raspberry Pi 2

Hi timanu90, CPUID: 00000000 ACTLR: 00006040 start to take asid ASID: 00000001 TTBA0: 00030000 SCTLR: 00C5187F Enabled MMU CPUID: 00000001 ACTLR: 00006040 NSACR: 00060C00 start to take asid ASID: 00000001 TTBA0: 00030000 CPUID: 00000002 ACTLR: 00006040 NSACR: 00060C00 start to take asid ASID: 000000...
by madotuki
Mon Feb 13, 2017 12:58 am
Forum: Bare metal, Assembly language
Topic: Trying Bare Metal on Raspberry Pi 2
Replies: 98
Views: 35455

Re: Trying Bare Metal on Raspberry Pi 2

I checked that primary core enables MMU and secondary cores can write to SCTLR register. But, they are hangs with no abort. I think that this isn't caused by CP15SDISABLE because secondary cores can write SCTLR.I and SCTLR.D bit. I don't know why, they including primary core stop the working when se...
by madotuki
Sat Feb 11, 2017 2:08 pm
Forum: Bare metal, Assembly language
Topic: Trying Bare Metal on Raspberry Pi 2
Replies: 98
Views: 35455

Re: Trying Bare Metal on Raspberry Pi 2

Hi LdB, Thank you for your reply. I check about the CP15SDISABLE input but I can't find out the way to change the state to LOW in ARM ARM, Cortex-A7 MPCore PRM. Could you tell me the reference about it ? Then, I add Alignment Bit to SCTLR but alignment fault wasn't caused. MMU is working on primary ...
by madotuki
Sat Feb 11, 2017 3:25 am
Forum: Bare metal, Assembly language
Topic: Trying Bare Metal on Raspberry Pi 2
Replies: 98
Views: 35455

Re: Trying Bare Metal on Raspberry Pi 2

Hi, I'm trying to get MMU working with multi core but they hangs when the they write 1 to SCTLR.M. :oops: Primary core change the mode from HYP to SVC, set vectors to 0x00000000 and set sp for each mode (0x00100000 ~ 0x001FFFFC) and jump to system initialization process. Primary core setups UART and...

Go to advanced search