Difference between revisions of "TYPE"

From The iPhone Wiki
Jump to: navigation, search
m
(finished list)
Line 1: Line 1:
The '''TYPE''' tag is a 32-bit unsigned integer (<code>uint32_t</code>) that when viewed in big-endian format, states the type of firmware image the IMG2/[[IMG3 File Format|IMG3]] is. Is is compared with the second parameter of <code>[[image_load]]</code> (register <code>r1</code><sup>[1]</sup>). If it does not match, <code>image_load(void);</code> will fail and the image will not be loaded. If <code>0</code> is passed in <code>r1</code>, then the check is skipped.
+
The '''TYPE''' tag is a 32-bit unsigned integer (<code>uint32_t</code>) that when viewed in little-endian format, states the type of firmware image the IMG2/[[IMG3 File Format|IMG3]] is. Is is compared with the second parameter of <code>[[image_load]]</code> (register <code>r1</code><sup>[1]</sup>). If it does not match, <code>image_load</code> will fail and the image will not be loaded. If <code>0</code> is passed in <code>r1</code>, then the check is skipped.
   
 
== Types ==
 
== Types ==
 
* [[Ramdisk]]: rdsk (0x7264736B)
 
* [[Ramdisk]]: rdsk (0x7264736B)
 
* [[AppleLogo]]: logo (0x6C6F676F)
 
* [[AppleLogo]]: logo (0x6C6F676F)
* [[BatteryCharging0]]:
+
* [[BatteryCharging0]]: chg0 (0x63686730)
* [[BatteryCharging1]]:
+
* [[BatteryCharging1]]: chg1 (0x63686731)
* [[BatteryFull]]:
+
* [[BatteryFull]]: batF (0x62617446)
* [[BatteryLow0]]:
+
* [[BatteryLow0]]: bat0 (0x62617430)
* [[BatteryLow1]]:
+
* [[BatteryLow1]]: bat1 (0x62617431)
* [[DeviceTree]]:
+
* [[DeviceTree]]: dtre (0x64747265)
* [[GlyphCharging]]:
+
* [[GlyphCharging]]: glyC (0x676C7943)
* [[GlyphPlugin]]:
+
* [[GlyphPlugin]]: glyP (0x676C7950)
 
* [[iBEC]]: ibec (0x69626563)
 
* [[iBEC]]: ibec (0x69626563)
* [[iBoot]]: ibot
+
* [[iBoot]]: ibot (0x69626F74)
* [[iBSS]]: ibss
+
* [[iBSS]]: ibss (0x69627373)
 
* [[Kernelcache]]: krnl (0x62736E6C)
 
* [[Kernelcache]]: krnl (0x62736E6C)
 
* [[LLB]]: illb (0x696C6C62)
 
* [[LLB]]: illb (0x696C6C62)
* [[NeedService]]:
+
* [[NeedService]]: nsrv (0x6E737276)
 
* [[RecoveryMode]]: recm (0x7265636D)
 
* [[RecoveryMode]]: recm (0x7265636D)
   

Revision as of 03:17, 5 October 2013

The TYPE tag is a 32-bit unsigned integer (uint32_t) that when viewed in little-endian format, states the type of firmware image the IMG2/IMG3 is. Is is compared with the second parameter of image_load (register r1[1]). If it does not match, image_load will fail and the image will not be loaded. If 0 is passed in r1, then the check is skipped.

Types

References

  1. Apple on ARM __fastcall
Tango Utilities-terminal.png This firmware article is a "stub", an incomplete page. Please add more content to this article and remove this tag.