public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] no mtdparted from U-Boot> prompt
Date: Sat, 22 Dec 2012 09:04:28 +0100	[thread overview]
Message-ID: <20121222090428.158b3d4d@wker> (raw)
In-Reply-To: <1356134446.28896.137.camel@genx>

Hi,

On Fri, 21 Dec 2012 16:00:46 -0800
John Stile <john@stilen.com> 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

      reply	other threads:[~2012-12-22  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20 23:53 [U-Boot] no mtdparted from U-Boot> prompt johns at msli.com
2012-12-21  9:59 ` Bo Shen
2012-12-21 18:29   ` johns at msli.com
2012-12-21 22:53     ` John Stile
2012-12-21 23:13       ` Wolfgang Denk
2012-12-22  0:00         ` John Stile
2012-12-22  8:04           ` Anatolij Gustschin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121222090428.158b3d4d@wker \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox