meta-digi-arm: build JFFS2 images for ccardimx28 and kernel 3.10
Previously jffs2 images flashed from u-boot were not booting Linux. The kernel was unable to mount the rootfs. There have been some patches lately in the kernel that fix this problem, so build jffs2 images. Nevertheless the default image type is still ubifs when using linux 3.x. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9a681704d4
commit
f729e76654
|
|
@ -36,9 +36,6 @@ PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
|||
EXTRA_IMAGEDEPENDS = "u-boot"
|
||||
|
||||
# Flash image types
|
||||
# Do not build ext3/sdcard until they are tested.
|
||||
#SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
|
||||
#IMAGE_FSTYPES ?= "ext3 sdcard sum.jffs2 tar.bz2 ubifs"
|
||||
IMAGE_FSTYPES ?= "sum.jffs2 tar.bz2 ubifs"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
|
|
|||
|
|
@ -25,13 +25,7 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
|||
EXTRA_IMAGEDEPENDS = "u-boot"
|
||||
|
||||
# Flash image types
|
||||
# [TODO] add SDCARD support
|
||||
# At the moment it's failing due to wrong u-boot image
|
||||
# SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
|
||||
# IMAGE_FSTYPES ?= "ext3 sdcard sum.jffs2 tar.bz2 ubifs"
|
||||
#
|
||||
# JFFS2 is not supported by kernel 3.10, so add it only for 2.6.35
|
||||
IMAGE_FSTYPES ?= "${@base_conditional('IS_KERNEL_2X', '1' , 'sum.jffs2', '', d)} tar.bz2 ubifs"
|
||||
IMAGE_FSTYPES ?= "sum.jffs2 tar.bz2 ubifs"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue