
Hi Wolfgang,
Dear David Gibson,
In message 20100401185147.GA17447@yookeroo you wrote:
Let me know if we need to increase size of the blob or something which i m missing. This is going to help a lot if you can reply.
For this case where there's a flash partition that's sometimes there and sometimes not, it might be simpler to put all the partitions, including the not-always-present ones in the dts. Then you can use fdt_nop_subnode() to remove the extra one on systems where it's not present.
A completely different approach woul dbe NOT to try defining the flash partitions in the device tree, but use command line partitioning in combination with the "mtdparts" command support in U-Boot. For frequently changing configurations this is probably the most flexible approach.
Actually we have code to fix up the flat device tree from the mtdparts value:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/76029/match=mtdparts
This is somewhat nicer than the "command line bottleneck" and we should really start using it broadly.
Cheers Detlev