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
hws_explained [2018/09/25 15:39]
gozhev [Listing]
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
hws_explained.txt ยท Last modified: 2018/09/27 08:55 by gozhev