Difference between revisions of "NOR"

From The iPhone Wiki
Jump to: navigation, search
(New page: NOR typically refers to the NOR flash chip the application processor boots from. The baseband also uses a NOR flash. ==How to Access== This can be accessed using a patched iBoot or a kern...)
 
m
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
NOR typically refers to the NOR flash chip the application processor boots from. The baseband also uses a NOR flash.
+
'''NOR''' typically refers to the NOR flash chip the application processor boots from. The baseband also uses a NOR flash. (See [https://en.wikipedia.org/wiki/Flash_memory Wikipedia's article about flash memory] for background on NOR flash in general.)
   
 
==How to Access==
 
==How to Access==
This can be accessed using a patched iBoot or a kernel hack. It can possibly be dumped using /dev/kmem
+
This can be accessed using a patched [[iBoot (Bootloader)|iBoot]] or a [[kernel]] hack. It can possibly be dumped using /dev/kmem
   
 
==Memory Map==
 
==Memory Map==
  +
fill this in
 
  +
<table border=1 width=100%>
  +
<tr>
  +
<td width=50%><center><b>Offset</b></center></td>
  +
<td width=50%><center><b>Description</b></center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0x0</center></td>
  +
<td width=50%><center>Configuration Data<br><br>
  +
'''0x0''': "2GMI" fourcc<br>
  +
'''0x4''': Block Size (0x40)<br>
  +
'''0x8''': Images Section Location Offset<br>
  +
'''0xC''': Images Section Location (In blocks)<br>
  +
'''0x10''': Images Section Length<br>
  +
'''0x30''': Checksum of this config data<br></center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0x4000</center></td>
  +
<td width=50%><center>[[NOR (SysCfg)|SysCfg]] Section</center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0x8000</center></td>
  +
<td width=50%><center>[[NOR (Firmware Images)|Images]] Section</center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0xFC000</center></td>
  +
<td width=50%><center>[[NOR (NVRAM)|NVRAM]] Section (Note: This copy is the one iBoot uses)</center></td>
  +
</tr>
  +
<tr>
  +
<td width=50%><center>0xFE000</center></td>
  +
<td width=50%><center>[[NOR (NVRAM)|NVRAM]] Section (copy)</center></td>
  +
</tr>
  +
</table>
   
 
==Hardware==
 
==Hardware==
*iPhone -- some CFI compliant parallel nor
+
* [[M68AP|iPhone]] -- some CFI compliant parallel NOR
*iPhone 3G -- 1MB SPI NOR flash
+
* [[N82AP|iPhone 3G]] -- 1MB SPI NOR flash
  +
* [[N18AP|iPod touch (3rd generation)]] and beyond -- The NOR is replaced with a dedicated partition of [[NAND]]

Latest revision as of 09:46, 26 March 2017

NOR typically refers to the NOR flash chip the application processor boots from. The baseband also uses a NOR flash. (See Wikipedia's article about flash memory for background on NOR flash in general.)

How to Access

This can be accessed using a patched iBoot or a kernel hack. It can possibly be dumped using /dev/kmem

Memory Map

Offset
Description
0x0
Configuration Data

0x0: "2GMI" fourcc
0x4: Block Size (0x40)
0x8: Images Section Location Offset
0xC: Images Section Location (In blocks)
0x10: Images Section Length

0x30: Checksum of this config data
0x4000
SysCfg Section
0x8000
Images Section
0xFC000
NVRAM Section (Note: This copy is the one iBoot uses)
0xFE000
NVRAM Section (copy)

Hardware