libfstools: add uImage.FIT fitblk driver
authorDaniel Golle <daniel@makrotopia.org>
Thu, 23 Nov 2023 00:19:37 +0000 (00:19 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 1 Dec 2023 22:59:52 +0000 (22:59 +0000)
commitbc3b8cdd3de3f5d59016038bb3f7d266fbf1301c
tree0a574d4f74e44189697a988a116b0cbf73ec1afa
parent41e619ed1352eba4ae51b6cf9d18cd62dbfeaa6f
libfstools: add uImage.FIT fitblk driver

The upcoming 'fitblk' block driver exposing the filesystem sub-image(s)
of a uImage.FIT storage on a block device as /dev/fit%u.
In case of the block device being a fixed-sized partition, the remaining
space (for rootfs_data) is mapped to /dev/fitrw.
Recognize both devices and assign the highest priority to the new driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
libfstools/common.h
libfstools/fit.c [new file with mode: 0644]
libfstools/partname.c