1. change jffs2 size calc method. it should be a bug while set it's size. it was...
commit024f036cacf8650e3167f6f79e1dba6ef9898fda
authorZhiqiang Wang <wang.9264@gmail.com>
Mon, 26 Aug 2013 18:35:35 +0000 (26 14:35 -0400)
committerZhiqiang Wang <wang.9264@gmail.com>
Mon, 26 Aug 2013 18:35:35 +0000 (26 14:35 -0400)
treeb9e837a0a9d3a36f04f0d92ad3443fd7e2774979
parentc1aeacfe396683a0aecf1804ef81a5d4be903f19
1. change jffs2 size calc method. it should be a bug while set it's size. it was set as size= PART_JFFS2_MIN * mtd->erasesize
2. add a PART_JFFS2_GAP build CFLAG to target.mak. PART_JFFS2_GAP was used in linux/linux-2.6/arch/mips/brcm-boards/bcm947xx/nonand-setup.c
   and defined as 5 blocks (256k). lots of current router has flash more than 16Mb. the 256k limit is just too small.
   by adding this build option. we can set it's value in Makefile. or just set "0" to use all unused space.
3. some mksquashfs use squashfs-lzma instead of squashfs for rootfs. we correct some detect method in router/rc and router/httpd

Change-Id: I8a5897b2e26ddea8b9b633f49fa9b336070b4fab
release/src-rt-6.x/linux/linux-2.6/arch/mips/brcm-boards/bcm947xx/setup-nonand.c
release/src-rt-6.x/target.mak
release/src/Makefile
release/src/router/httpd/misc.c
release/src/router/httpd/upgrade.c
release/src/router/minidlna/scanner.c
release/src/router/rc/cifs.c
release/src/router/rc/jffs2.c