Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36861
ARCH:=arm
BOARD:=kirkwood
BOARDNAME:=Marvell Kirkwood
-FEATURES:=targz usb jffs2
+FEATURES:=targz usb jffs2_nand
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
LINUX_VERSION:=3.3.8
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
+NAND_BLOCKSIZE := 2048:128k
define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
)
endef
-define Image/Build/jffs2-128k
+define Image/Build/jffs2-nand-2048-128k
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
bs=2048 conv=sync
endef