Porting OpeniBoot

From The iPhone Wiki
Revision as of 22:33, 23 April 2010 by CPICH (talk | contribs) (New page: This page should act as temporary place holder for any technical information found regarding porting Openiboot to newer devices. == 3GS == '''Reboot (WDT)'''. There is not a specific WDT...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page should act as temporary place holder for any technical information found regarding porting Openiboot to newer devices.

3GS

Reboot (WDT). There is not a specific WDT device in 3GS device tree. The reboot sequence instead accesses several registers in PMGR.

LDR     R1, =0xBF10021C
LDR     R3, =0xBF100214
MOVS    R0, #0
MOVS    R2, #1
STR     R0, [R1]
STR     R2, [R3]
LDR     R2, =0xBF100210
MOV.W   R3, #0x80000000
STR     R3, [R2]
MOVS    R3, #4
STR     R3, [R1]
STR     R0, [R2]