...
The sector size configured for the device, in octets.
secs_per_blk
and sec_cnt
can be calculated from more basic parameters :
...
The size of a block on the device, in octets
Take as an example a 16-Mb NOR that is entirely dedicated to file system usage, with a 64-KB block size, configured with a 512-B sector. The following parameters describe the format :
...