Skip to contentSkip to conversation

rockchip.wks: specify offsets in sectors

PATCH Trevor Woerner 1 participant 1 message Feb 26, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Trevor Woerner

author Applied
#1 lore raw
Quoted 14 lines · Trevor Woerner via lists.yoctoproject.org

In WIC, size arguments can be optionally specified using one of a variety of suffixes (e.g. K, M, G, etc.) thanks to sizetype(). One such suffix being "s/S" for handling sector sizes which are assumed to be 512 bytes, rather than the other size suffixes which are multiples of 1024 bytes.

Using the s/S sizetype allows the definition to match the documentation. Unfortunately we can not use the s/S suffix for --fixed-size.

---
changes in v4:
- add Quentin's tag

Quoted 5 lines

changes in v3:
- new

---
 wic/rockchip.wks | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Applied to meta-rockchip, master branch.