From e3dc1781679aa2d02c88f0548ba1c914cd946dd0 Mon Sep 17 00:00:00 2001 From: Kevin Hao Date: Tue, 17 Jun 2014 12:13:19 -0400 Subject: [PATCH] mpc8315e-rdb: add the jffs2 image support There is a 32M NAND flash on this board, so it would be convenient that a jffs2 image is created by default. Also change the default image type from "tar.gz" to "tar.bz2" in order to be compatible with the beaglebone black and edgerouter BSP. (From meta-yocto rev: e2e0d9eee91a773c0e9a151f20d859525821a767) Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf index ef76f2a755..43bdce4b1c 100644 --- a/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +++ b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf @@ -28,3 +28,6 @@ UBOOT_ENTRYPOINT = "0x00000000" KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +JFFS2_ERASEBLOCK = "0x4000"