User Tools

Site Tools


hws_explained

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hws_explained [2018/09/19 03:25]
admin created
hws_explained [2018/09/27 08:55] (current)
gozhev
Line 2: Line 2:
  
 This document contains explanation of some bytes that are stored in the This document contains explanation of some bytes that are stored in the
-first 4K block of the spi flash boot device.+first 4K block of spi flash boot device.
  
-The listig ​below is an output of the following commands:+===== How to Rewrite a Single Byte/Number in a Binary File ===== 
 +  printf '​\x00\x00\x00\x00'​ | dd conv=notrunc bs=1 of=hws.bin seek=80 
 + 
 +===== HWS Listing ===== 
 + 
 +The listing ​below is an output of the following commands:
   # dd if=/​dev/​mtdblock0 of=hws bs=4K count=1   # dd if=/​dev/​mtdblock0 of=hws bs=4K count=1
   # hexdump -ve '"​%08_ax ​   " 1/4 "​%08x"​ "​\n"'​ hws   # hexdump -ve '"​%08_ax ​   " 1/4 "​%08x"​ "​\n"'​ hws
  
-===== Listing ===== 
 My comments are prepended with '#'​ sign. My comments are prepended with '#'​ sign.
 +
 +==== Listing ====
  
   # address ​  # data   # address ​  # data
Line 35: Line 41:
   ​   ​
   #   #
-  # These are 4 offsets of multi-hws parts (do not know what and why it is)+  # These are 4 offsets of multi-hws parts (me do not knows what the purpose 
 +  # of _multi_ hws)
   # see sysparser.pl,​ function fun_uboot   # see sysparser.pl,​ function fun_uboot
   #   #
Line 62: Line 69:
   ​   ​
   #   #
-  # This is a block of **undocumented** ​registers+  # This is a block of registers ​located in ITCM memory. 
 +  # See Documentation/​arm/​tcm.txt for the explanation of what is ITCM.
   #   #
   ​   ​
Line 105: Line 113:
   0000004c ​   00000077   0000004c ​   00000077
   00000050 ​   ffff60f8   00000050 ​   ffff60f8
-  00000054 ​   ​00001000+  00000054 ​   ​00003000
   ​   ​
   #   #
hws_explained.1537316707.txt.gz · Last modified: 2018/09/19 03:25 by admin