NyaImageTool v1.1
Reading CPIO, EXT2 filesystems.
There is possible convert ext2 initramfs to cpio initramfs for reducing result image size.
For example, exists kernel uImage (~8MiB), ramfs ext2.gz (~32MiB) and devtree (~8KiB). There are can be converted to FIT image (~16MiB) by such script:
load input/dtb.bin devtree dtb
load input/kernel.bin kernel legacy
load input/ramfs.bin ramfs legacy
set devtree arch arm
store output/composite_image.fit