[oe] [meta-handheld][PATCH] zaurus: use mkfs.jffs2 -n option only for NAND

Andrea Adami andrea.adami at gmail.com
Mon Oct 14 21:45:22 UTC 2013


Please disregard this patch: is wrong (-n is set in IMAGE_CMD_JFFS2)
and superseded

Sorry for the noise
Andrea


On Mon, Oct 14, 2013 at 11:34 PM, Andrea Adami <andrea.adami at gmail.com> wrote:
> And remove it for collie (NOR).
>
> Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
> ---
>  conf/machine/akita.conf  | 2 +-
>  conf/machine/c7x0.conf   | 2 +-
>  conf/machine/collie.conf | 4 ++--
>  conf/machine/poodle.conf | 2 +-
>  conf/machine/spitz.conf  | 4 ++--
>  conf/machine/tosa.conf   | 2 +-
>  6 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/conf/machine/akita.conf b/conf/machine/akita.conf
> index 12a2fe9..e6f020b 100644
> --- a/conf/machine/akita.conf
> +++ b/conf/machine/akita.conf
> @@ -11,7 +11,7 @@ require conf/machine/include/tune-xscale.inc
>  PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt"
>  MACHINE_FEATURES += "iwmmxt"
>
> -EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x20000"
> +EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x20000 -n"
>  EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
>
>  # UBI: max akita (128-7 MiB = 968 PEBs)
> diff --git a/conf/machine/c7x0.conf b/conf/machine/c7x0.conf
> index ffa998d..08a528e 100644
> --- a/conf/machine/c7x0.conf
> +++ b/conf/machine/c7x0.conf
> @@ -11,7 +11,7 @@
>  require conf/machine/include/zaurus.inc
>  require conf/machine/include/tune-xscale.inc
>
> -EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000"
> +EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000 -n"
>  EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
>
>  # UBI: max c7x0 (128-7 MiB = 7744 PEBs)
> diff --git a/conf/machine/collie.conf b/conf/machine/collie.conf
> index 26bc257..9f45f56 100644
> --- a/conf/machine/collie.conf
> +++ b/conf/machine/collie.conf
> @@ -5,8 +5,8 @@
>  require conf/machine/include/zaurus.inc
>  require conf/machine/include/tune-strongarm1100.inc
>
> -EXTRA_IMAGECMD_jffs2 = "-p 14680064 -l -e 0x20000 -n"
> -EXTRA_IMAGECMD_sum.jffs2 = "-p -l -e 0x20000 -n"
> +EXTRA_IMAGECMD_jffs2 = "-p 14680064 -l -e 0x20000"
> +EXTRA_IMAGECMD_sum.jffs2 = "-p -l -e 0x20000"
>
>  # UBI: max collie (14.125 = 113 PEBs)
>  # 14.125 x 1024 : 128 = 113 PEBs
> diff --git a/conf/machine/poodle.conf b/conf/machine/poodle.conf
> index 53dbc4a..ce3c8b3 100644
> --- a/conf/machine/poodle.conf
> +++ b/conf/machine/poodle.conf
> @@ -8,7 +8,7 @@
>  require conf/machine/include/zaurus.inc
>  require conf/machine/include/tune-xscale.inc
>
> -EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000"
> +EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000 -n"
>  EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
>
>  # UBI: max poodle (64-7 MiB = 3648 PEBs)
> diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf
> index 6a74165..0ecce8b 100644
> --- a/conf/machine/spitz.conf
> +++ b/conf/machine/spitz.conf
> @@ -12,7 +12,7 @@
>  #
>  # SL-C3000 (16-7 MiB = 576 PEBs)
>  # 9 x 1024 : 16 = 576 PEBs
> -# EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000"
> +# EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000 -n"
>  # MKUBIFS_ARGS = "-m 512 -e 15872 -c 576 -x zlib"
>  # UBINIZE_ARGS = "-m 512 -p 16384 -s 256"
>
> @@ -22,7 +22,7 @@ require conf/machine/include/tune-xscale.inc
>  MACHINE_FEATURES += "iwmmxt"
>  PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt"
>
> -EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x20000"
> +EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x20000 -n"
>  EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
>
>  # UBI: max spitz (128-7 MiB = 968 PEBs)
> diff --git a/conf/machine/tosa.conf b/conf/machine/tosa.conf
> index 0ec93c7..3c19225 100644
> --- a/conf/machine/tosa.conf
> +++ b/conf/machine/tosa.conf
> @@ -8,7 +8,7 @@
>  require conf/machine/include/zaurus.inc
>  require conf/machine/include/tune-xscale.inc
>
> -EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000"
> +EXTRA_IMAGECMD_jffs2 = "-p -l -e 0x4000 -n"
>  EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}"
>
>  # UBI: max tosa (128-7 MiB = 7744 PEBs)
> --
> 1.8.1.5
>



More information about the Openembedded-devel mailing list