User Tools

Site Tools


hws_explained

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hws_explained [2018/09/25 15:37]
gozhev
hws_explained [2018/09/27 08:55] (current)
gozhev
Line 3: Line 3:
 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 spi flash boot device. first 4K block of spi flash boot device.
 +
 +===== 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: The listing below is an output of the following commands:
Line 8: Line 13:
   # 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 (me do not knows what 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
   #   #
hws_explained.1537879075.txt.gz · Last modified: 2018/09/25 15:37 by gozhev