public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] no mtdparted from U-Boot> prompt
@ 2012-12-20 23:53 johns at msli.com
  2012-12-21  9:59 ` Bo Shen
  0 siblings, 1 reply; 7+ messages in thread
From: johns at msli.com @ 2012-12-20 23:53 UTC (permalink / raw)
  To: u-boot

This is my first post to the list.
I am using u-boot-1.3.4 in buildroot-2011.11
My device is a at91sam9g20-ek
I have a patch adding: include/configs/at91sam9g20ek.h
which I gather acts as a config file for u-boot.

U-Boot> help
does not list mtdparts

But my bootargs does use it:
bootargs=mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap/uboot/kernel)ro,60M(rootfs),-(data) root=/dev/mtdblock1 rw rootfstype=jffs2

Is there a trick to add the mtdparts command?
Or is there supposed to be a command?

I unsuccessfully added to include/configs/at91sam9g20ek.h
#define CONFIG_JFFS2_NAND 1
#define CONFIG_JFFS2_CMDLINE 1
#define CONFIG_CMD_JFFS2 1 // Required to include cmd_jffs2.c
which did not result in adding the command line.




NOTICE: This email may contain confidential information.  Please see http://www.meyersound.com/confidential/ for our complete policy.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-22  8:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox