[U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

Marek Vasut marex at denx.de
Mon Dec 14 02:25:24 CET 2015


On Monday, December 14, 2015 at 02:22:32 AM, Chin Liang See wrote:

[..]

> > > After grabbing a coffee
> > 
> > That's a good idea, though I think I will make do with a green tea
> > (抹茶).
> 
> Yeah, beside green tea, genmaicha (玄米茶) is one of my top choice too. :)

The one with baked rice in it, right ? I love that as well :)

> > > and rethinking, we can have 2 MTD_PARTITION
> > > where one for backward compatiblity (supporting raw) while another
> > > for
> > > UBI.
> > > 
> > > MTDPARTS_RAW
> > > 256k(spl),
> > > 256k(env),
> > > 15872k(boot),
> > > -(rootfs)
> > > 
> > > MTDPARTS_UBI
> > > 256k(spl),
> > > 256k(env),
> > > -(UBI)
> > > 
> > > We should make UBI as default then. If user care about backward
> > > compatiblity, they shall use the MTDPARTS_RAW then.
> > 
> > Try this:
> > 
> > mtdparts=1m(u-boot),256k(env1),256k(env2),14848k(boot),112m(root),
> > - at 1536k(UBI)
> > 
> > This will create overlapping partitions "boot,root" and "UBI" .
> 
> Nice, let me give it a try.

Make sure to test it in Linux too ;-)

Best regards,
Marek Vasut


More information about the U-Boot mailing list