...
 
Commits (2)
......@@ -171,7 +171,7 @@ IMAGE_FSTYPES = "tar.gz ubi ext4"
# c - eraseblocks count
#MKUBIFS_ARGS = " -m 2048 -e 126976 -c 2048"
MKUBIFS_ARGS = " -m 2048 -e 129024 -c 2048"
MKUBIFS_ARGS = " -m 2048 -e 129024 -c 2560"
# https://www.mankier.com/8/ubinize
# m - minimum i/o unit size
......
......@@ -177,6 +177,8 @@ mount_and_boot() {
fatal "Could not mount rootfs device (not $ROOT_FSTYPE?)"
fi
fatal "root filesystem type is = $ROOT_FSTYPE"
if [ "$ROOT_FSTYPE" = "ubifs" ]; then
#mknod /dev/loop0 b 7 0 2>/dev/null
......