[U-Boot] [PATCH v4] Separate mtdparts command from jffs2
Stefan Roese
sr at denx.de
Sat May 16 06:08:34 CEST 2009
Hi Wolfgang,
On Friday 15 May 2009 17:32:17 Wolfgang Denk wrote:
> > Currently the mtdparts commands are included in the jffs2 command
> > support. This doesn't make sense anymore since other commands (e.g. UBI)
> > use this infrastructure as well now. This patch separates the mtdparts
> > commands from the jffs2 commands making it possible to only select
> > mtdparts when no JFFS2 support is needed.
> >
> > Signed-off-by: Stefan Roese <sr at denx.de>
> > Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>
> As it turns out, that split was incomplete or incorrect.
>
> It seems that since commit 68d7d65100 we have two different,
> incompatible implementations of mtdparts_init() - one in
> common/cmd_jffs2.c and another one in common/cmd_mtdparts.c
>
> When NAND and JFFS2 and MTDPARTS are enabled at the same time, the
> mtdparts_init() from common/cmd_mtdparts.c is called, which obviously
> does not pereform the required intializations for JFFS2: all JFFS2
> related commands just return without any error messages but also
> without any useful output either.
Sorry about this.
> Please provide a fix!
OK, I'll try to come up with a patch quickly.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list