
Dear Stefan Roese,
In message 1237465836-26622-1-git-send-email-sr@denx.de you 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@denx.de Signed-off-by: Kyungmin Park kyungmin.park@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.
Please provide a fix!
Best regards,
Wolfgang Denk