summaryrefslogtreecommitdiff
path: root/common/tools
diff options
context:
space:
mode:
authorOlivier Dufour2013-02-05 10:32:41 +0100
committerCyril Jourdan2013-02-11 13:22:44 +0100
commit5748c8fdb99d7d7ab4ed33eb01d60e39d6ccdafa (patch)
tree6d30090871e12df68658a6f8b8686ad35501bc47 /common/tools
parent920b5cc7cb90b3f0412c601c976d3b40e7c29448 (diff)
common/tools/flashfs: add polux flashfs management, refs #3745
Diffstat (limited to 'common/tools')
-rw-r--r--common/tools/flashfs/.gitignore1
-rwxr-xr-xcommon/tools/flashfs/Makefile7
-rw-r--r--common/tools/flashfs/image_200/autoconf/NOPRUNE0
-rw-r--r--common/tools/flashfs/image_200/bin/NOPRUNE0
-rw-r--r--common/tools/flashfs/image_200/etc/config/NOPRUNE0
-rw-r--r--common/tools/flashfs/image_200/etc/network/NOPRUNE0
-rwxr-xr-xcommon/tools/flashfs/image_200/etc/rcS.d/99custom1
-rw-r--r--common/tools/flashfs/image_200/tmp/NOPRUNE0
8 files changed, 7 insertions, 2 deletions
diff --git a/common/tools/flashfs/.gitignore b/common/tools/flashfs/.gitignore
index c60a7cd4c2..e54e845ea1 100644
--- a/common/tools/flashfs/.gitignore
+++ b/common/tools/flashfs/.gitignore
@@ -1 +1,2 @@
/flashfs.500.jffs2
+/flashfs.200.jffs2
diff --git a/common/tools/flashfs/Makefile b/common/tools/flashfs/Makefile
index 3d3752aae0..9070c8ffeb 100755
--- a/common/tools/flashfs/Makefile
+++ b/common/tools/flashfs/Makefile
@@ -4,18 +4,21 @@ BLOCK_SIZE= 65536 #for spansion S29GL064A10
# FLASHDISK_SIZE : Size of your flash file system
# it must be more than 512KB (524288B)
# and at least 5 x (size of a block)
+FLASHDISK_SIZE_200 = 524288
FLASHDISK_SIZE_500 = 1048576
DIR=$(CURDIR)
FLASHFS_BIN = mkfs.jffs2
IMAGE_500 = $(DIR)/image_500
+IMAGE_200 = $(DIR)/image_200
TMP_IMAGE = /tmp/fimage
FLASHDISK_500 = $(DIR)/flashfs.500.jffs2
+FLASHDISK_200 = $(DIR)/flashfs.200.jffs2
-all: buildjffs2-500
+all: buildjffs2-500 buildjffs2-200
clean:
- rm -rf $(FLASHDISK_500) $(TMP_IMAGE)
+ rm -rf $(FLASHDISK_500) $(FLASHDISK_200) $(TMP_IMAGE)
buildjffs2-%:
rm -rf $(TMP_IMAGE)
diff --git a/common/tools/flashfs/image_200/autoconf/NOPRUNE b/common/tools/flashfs/image_200/autoconf/NOPRUNE
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common/tools/flashfs/image_200/autoconf/NOPRUNE
diff --git a/common/tools/flashfs/image_200/bin/NOPRUNE b/common/tools/flashfs/image_200/bin/NOPRUNE
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common/tools/flashfs/image_200/bin/NOPRUNE
diff --git a/common/tools/flashfs/image_200/etc/config/NOPRUNE b/common/tools/flashfs/image_200/etc/config/NOPRUNE
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common/tools/flashfs/image_200/etc/config/NOPRUNE
diff --git a/common/tools/flashfs/image_200/etc/network/NOPRUNE b/common/tools/flashfs/image_200/etc/network/NOPRUNE
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common/tools/flashfs/image_200/etc/network/NOPRUNE
diff --git a/common/tools/flashfs/image_200/etc/rcS.d/99custom b/common/tools/flashfs/image_200/etc/rcS.d/99custom
new file mode 100755
index 0000000000..1a2485251c
--- /dev/null
+++ b/common/tools/flashfs/image_200/etc/rcS.d/99custom
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/common/tools/flashfs/image_200/tmp/NOPRUNE b/common/tools/flashfs/image_200/tmp/NOPRUNE
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common/tools/flashfs/image_200/tmp/NOPRUNE