From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 22 Dec 2012 09:04:28 +0100 Subject: [U-Boot] no mtdparted from U-Boot> prompt In-Reply-To: <1356134446.28896.137.camel@genx> References: <1356047588.28896.58.camel@genx> <50D43318.8090904@atmel.com> <1356114581.28896.89.camel@genx> <1356130404.28896.135.camel@genx> <20121221231341.39F5F201213@gemini.denx.de> <1356134446.28896.137.camel@genx> Message-ID: <20121222090428.158b3d4d@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Fri, 21 Dec 2012 16:00:46 -0800 John Stile wrote: ... > > > > Now it contains: > > > > #define CONFIG_JFFS2_NAND 1 > > > > #define CONFIG_JFFS2_CMDLINE 1 > > > > #define CONFIG_CMD_JFFS2 > > > > #define CONFIG_CMD_MTDPARTS" > > > > If this is an exact copy, then please remove this '"' > > > > It actually reads this: > #define CONFIG_JFFS2_NAND 1 > #define CONFIG_JFFS2_CMDLINE 1 > #define CONFIG_CMD_JFFS2 1 // Required to include cmd_jffs2.c > #define CONFIG_CMD_MTDPARTS 1 // Required for mtdparts command in uboot Adding CONFIG_CMD_MTDPARTS won't work, this option is not available in this very old U-Boot v1.3.4. CONFIG_JFFS2_CMDLINE should add mtdparts command. Please double check where you add this option and ensure that it is not added in some #ifdef ... #elif ... #endif construct. Depending on the CFG_USE_* build options some options in the config file may have no effect at all. > But the command is not available on my system. > Would it help to post my .h or maybe my build log? It might help. Thanks, Anatolij