]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 30 Sep 2020 15:54:58 +0000 (05:54 -1000)
commitb9296bdeaacc1dce97aac9c9bf0d70555bb36646
tree8c0f48d0ebec085279786e5d94e423c6e80070d3
parent0ff25797126772f40e357a2f3cf81eccf659adaf
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>
(cherry picked from commit 938595d1dc4abaf5f7f3a7900add3f0492b805d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/wic.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/plugins/imager/direct.py