[poky] [PATCH 2/4] mpc8315e-rdb: add the jffs2 image support
Bruce Ashfield
bruce.ashfield at windriver.com
Tue Jun 17 09:13:19 PDT 2014
From: Kevin Hao <kexin.hao at windriver.com>
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.
Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
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 ef76f2a755c0..43bdce4b1c5b 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"
--
1.8.1.2
More information about the poky
mailing list