* [U-Boot] What is the corect way to define MTD partitions
@ 2009-02-05 14:57 Pieter
0 siblings, 0 replies; only message in thread
From: Pieter @ 2009-02-05 14:57 UTC (permalink / raw)
To: u-boot
Hi All
The example I'm working with probably does everything wrong, so I would
like advise as to how we should define mtd partitions. The Boards Flash
is divided into 7 partitions. The partitions are defined in the board.h
file as extra env settings.
#define CONFIG_EXTRA_ENV_SETTINGS \
"mtdparts=mtdparts=0:16M at 0x0(factory-image),"
\
"16M at 0x1000000(app-image-1),16M at 0x2000000(app-image-2)," \
"16M at 0x3000000(jffs2),16M at 0x4000000(testing),"
\
"16M at 0x5000000(scratchpad),"
\
"256k at 0x7F40000(u-boot-env),512k at 0x7F80000(u-boot-app)\0" \
Is this a acceptable way to set up MTD partitions ?
If it is, is there a way for U-boot to insert MDT partitions into the FDT?
Or can i define the Flash partitions as part of my dts. Then have U-Boot
extract the mtdpart info from the DTS blob and set up the mtdparts for
U-Boot?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2722 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090205/0062bc2a/attachment.bin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-05 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 14:57 [U-Boot] What is the corect way to define MTD partitions Pieter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.