All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: cmd: part: add part block command
@ 2020-06-01 10:20 razvan.becheriu at gmail.com
  2020-06-01 10:20 ` [PATCH] cmd: part: Add 'block' sub-command razvan.becheriu at gmail.com
  2020-06-02 17:55 ` [PATCH]: cmd: part: add part block command Tom Rini
  0 siblings, 2 replies; 10+ messages in thread
From: razvan.becheriu at gmail.com @ 2020-06-01 10:20 UTC (permalink / raw)
  To: u-boot


    The Intel Edison OTA process requires a conversion of data size
    from bytes to number of blocks. The following functions are used:

    # function ota_conv_sizes
    # Convert a bytes size to a block size
    # input  bytesize : size in bytes to convert
    # input  blksize  : size of a block in bytes
    # output num_blk  : converted size in blocks

    # function ota_mmc_write
    # Write a memory buffer to mmc drive
    # input floadaddr    : address of buffer to write
    # input u_part_start : block start in mmc
    # input num_blk      : number of block to write

    This patch adds the cmd part sub-command 'block' which returns
    the partition block size in bytes.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-06-05 18:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 10:20 [PATCH]: cmd: part: add part block command razvan.becheriu at gmail.com
2020-06-01 10:20 ` [PATCH] cmd: part: Add 'block' sub-command razvan.becheriu at gmail.com
2020-06-02 17:55   ` Tom Rini
2020-06-02 17:55 ` [PATCH]: cmd: part: add part block command Tom Rini
2020-06-02 18:08   ` razvan becheriu
2020-06-02 18:30     ` Tom Rini
2020-06-02 18:36     ` razvan becheriu
2020-06-02 18:51       ` Tom Rini
2020-06-02 19:23         ` razvan becheriu
2020-06-05 18:01           ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.