From 6033a9bb9563af3c38638ad8dc298410a791a104 Mon Sep 17 00:00:00 2001 From: Mats Karrman <mats@southpole.se> Date: Fri, 17 Jun 2016 10:31:01 +0200 Subject: [PATCH] image: Use default max data node size for JFFS2 The mkfs.jffs2 -s/--pagesize option has nothing to do with the NAND flash page size but is the "maximum amount of data in data nodes". Use the default 4KiB as we always done before (and be explicit about this also when building the kernel fs image). --- iopsys-brcm63xx-mips/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iopsys-brcm63xx-mips/image/Makefile b/iopsys-brcm63xx-mips/image/Makefile index 7448f6523..92e060c8b 100644 --- a/iopsys-brcm63xx-mips/image/Makefile +++ b/iopsys-brcm63xx-mips/image/Makefile @@ -5,7 +5,7 @@ # See /LICENSE for more information. # -NAND_BLOCKSIZE := 2048-128k +NAND_BLOCKSIZE := 4096-128k MKFS_DEVTABLE_OPT = -D $(CURDIR)/device_table.txt include $(TOPDIR)/rules.mk @@ -90,7 +90,7 @@ define Image/Prepare echo "/vmlinux.lz" >> $(KDIR)/nocomprlist $(STAGING_DIR_HOST)/bin/mkfs.jffs2 \ $(MKFS_JFFS2_ARGS) \ - -v -e 128KiB --squash --no-cleanmarkers \ + -v -e 128KiB -s 4096 --squash --no-cleanmarkers \ --pad -N $(KDIR)/nocomprlist \ -d $(KDIR)/kernel_fs -o $(KDIR)/vmlinux.jffs2 endif -- GitLab