Re: [OE-core] [PATCH] wic: allow sizes to be specified in sectors

2024-02-17 Thread Trevor Woerner
Sorry, please ignore. The assumption that everything is a multiple of 1024 runs very deep throughout wic and is hard-coded in too many places for a patch this simple to work. On Sat 2024-02-17 @ 03:51:03 PM, Trevor Woerner wrote: > The partition layout of boot devices for some SBCs (e.g.

[OE-core] [PATCH] wic: allow sizes to be specified in sectors

2024-02-17 Thread Trevor Woerner
The partition layout of boot devices for some SBCs (e.g. Rockchip[1]) are specified in multiples of sectors (which are multiples of 512 bytes, instead of 1024). Therefore allow wic to understand partition sizing specified in sectors as well. [1] https://opensource.rock-chips.com/wiki_Partitions