at91: sdcard image with ext4 rootfs

creating sdcard image with ext4 rootfs only and ignoring creating
other filesystem in sdcard image.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
This commit is contained in:
Sandeep Sheriker Mallikarjun 2018-05-04 10:27:48 -07:00 committed by John Crispin
parent 22c398d257
commit 581f5e2392
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ endif
define Device/Default define Device/Default
$(Device/default-nand) $(Device/default-nand)
PROFILES := Default PROFILES := Default
FILESYSTEMS := squashfs ubifs FILESYSTEMS := squashfs ubifs ext4
DEVICE_DTS := $(1) DEVICE_DTS := $(1)
KERNEL_NAME := zImage KERNEL_NAME := zImage
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k

View file

@ -4,6 +4,7 @@ FAT32_BLOCKS:=$(shell echo \
$$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE)))) $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
define Build/at91-sdcard define Build/at91-sdcard
$(if $(findstring ext4,$@), \
rm -f $@.boot rm -f $@.boot
mkfs.fat -C $@.boot $(FAT32_BLOCKS) mkfs.fat -C $@.boot $(FAT32_BLOCKS)
@ -30,7 +31,7 @@ define Build/at91-sdcard
gzip -nc9 $@.img > $@ gzip -nc9 $@.img > $@
rm -f $@.img $@.boot rm -f $@.img $@.boot )
endef endef
define Device/evaluation-sdimage define Device/evaluation-sdimage