Difference between revisions of "/usr/local/bin/ioflashstoragetool"

From The iPhone Wiki
Jump to: navigation, search
(Created page with "This tool seems be present in restore ramdisk for formatting NAND flash. == Usage == <pre> ioflashstoragetool: Low-level NAND flash utility Options: ...")
 
(Category:Filesystem and parents)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This tool seems be present in restore ramdisk for formatting NAND flash.
+
This tool seems be present in restore ramdisks for formatting NAND flash.
   
 
== Usage ==
 
== Usage ==
Line 46: Line 46:
 
4096 pages/superblock -> 8192 vbas/superblock
 
4096 pages/superblock -> 8192 vbas/superblock
 
</pre>
 
</pre>
  +
  +
== Parents ==
  +
{{parent|usr|local|bin}}
  +
  +
  +
[[Category:Filesystem]]

Latest revision as of 12:29, 19 June 2015

This tool seems be present in restore ramdisks for formatting NAND flash.

Usage

ioflashstoragetool: Low-level NAND flash utility

Options:                                                                      
  --verbose           Be talkative about what the tool is doing.              
  --noisy             Be extremely noisy while doing things.                  
  --quiet             Don't show progress output.                             
                                                                              
Multi-bank addressing:                                                        
  p<page>             Addresses all banks, starting at bank 0, page <page>.   
  b<block>            Addresses all banks, starting at bank 0, block <block>. 
    In these modes, page/block counts are per-bank and all operations start   
    at bank zero.  <page>/<block> may be decimal or hex preceeded by 0x.      
                                                                              
Single-bank addressing:                                                       
  <bank>p<page>       Addresses bank <bank>, starting at page <page>.         
  <bank>b<block>      Addresses bank <bank>, starting at block <block>.       
    In these modes, page/block counts are for the selected bank only.         
    <bank> is decimal, <page>/<block> may be decimal or hex preceeded by 0x.  
                                                                              
Commands:                                                                     
  format <partition table type>                                                        
    Writes partition table to pages 0 and 1 of block 0 of all devices.        
    The <partition table type> may be one of: s5l8720x s5l8920x               
      --force               Performs format even if an AND signature is       
                            detected. 

NAND info example output

NAND Configuration
Vendor:           	Hynix
Lithography:      	26nm
Capacity:         	64GB
Firmware Version: 	020076P.........  (30 32 30 30 37 36 50 00 00 00 00 00 00 00 00 00)
ManufacturerID:   	0x4201220182ad
Num of CEs:       	4
PPN Device:       	Yes
PPN Version:      	1.0.6
PPN Toggle:       	No
4 CEs of 4 CAUs of 2048 blocks of 256 pages of 8192 bytes data, 32 bytes spare
2040 superblocks
4096 pages/superblock -> 8192 vbas/superblock

Parents

(root)/usr/local/bin