]> code.ossystems Code Review - openembedded-core.git/commit
wic: Add 512 Byte alignment to --offset
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 21 Aug 2020 19:46:23 +0000 (14:46 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 22 Aug 2020 14:46:51 +0000 (15:46 +0100)
commit938595d1dc4abaf5f7f3a7900add3f0492b805d0
treec7cca684bc6a5bedc32195b718eee7ca11598e53
parentb44b0db3210a8aff46b5b4c3597ed915c57b8c8f
wic: Add 512 Byte alignment to --offset

Allows the --offset argument to use the "s" or "S" suffix to specify
that it is reporting the number of 512 byte sectors.

This is required for some SoCs where the mask ROM looks for an item at a
sector that isn't aligned to a 1KB boundary.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/wic.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/plugins/imager/direct.py