configs/at91sam9g20dfc: add ubifs target filesystem
authorJoshua Henderson <joshua.henderson@microchip.com>
Fri, 6 Apr 2018 20:57:45 +0000 (13:57 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 7 Apr 2018 07:05:26 +0000 (09:05 +0200)
This is a required component to complete the configuration. It also makes sense
to add ubifs so that this board can be flashed with the board/atmel/flasher.sh
script.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
configs/at91sam9g20dfc_defconfig

index 0824868f1c042d68e9f2b74f8b599964828623e0..7511c96fe9cdc3b3271c3a35b1479bd930018581 100644 (file)
@@ -15,6 +15,13 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek"
 
 # Filesystem
 BR2_TARGET_ROOTFS_TAR=y
+BR2_TARGET_ROOTFS_UBI=y
+BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000
+BR2_TARGET_ROOTFS_UBI_SUBSIZE=512
+BR2_TARGET_ROOTFS_UBIFS=y
+BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f800
+BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
+BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
 
 # Bootloaders
 BR2_TARGET_AT91BOOTSTRAP3=y