Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-27 Thread Sascha Hauer
On Wed, Apr 27, 2016 at 02:51:17PM +0200, Juergen Borleis wrote: > Hi, > > On Wednesday 27 April 2016 11:25:01 Sascha Hauer wrote: > > [...] > > > Here the environment partition size is changed from 512kB to 128kB. > > > Couldn't this cause issues? > > > > Normally the environment is much smaller,

Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-27 Thread Juergen Borleis
Hi, On Wednesday 27 April 2016 11:25:01 Sascha Hauer wrote: > [...] > > Here the environment partition size is changed from 512kB to 128kB. > > Couldn't this cause issues? > > Normally the environment is much smaller, so I wouldn't expect issues > here. The alternative to making the environment sm

Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-27 Thread Fabio Estevam
On Wed, Apr 27, 2016 at 6:25 AM, Sascha Hauer wrote: > Normally the environment is much smaller, so I wouldn't expect issues > here. The alternative to making the environment smaller would be to move > other partitions to the back. This would probably hurt more, especially > since a regular fdisk

Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-27 Thread Sascha Hauer
On Tue, Apr 26, 2016 at 08:47:28AM -0300, Fabio Estevam wrote: > Hi Sascha, > > On Tue, Apr 26, 2016 at 3:44 AM, Sascha Hauer wrote: > > > diff --git a/arch/arm/dts/imx25-karo-tx25.dts > > b/arch/arm/dts/imx25-karo-tx25.dts > > index 8d79471..76847ff 100644 > > --- a/arch/arm/dts/imx25-karo-tx2

Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-26 Thread Fabio Estevam
Hi Sascha, On Tue, Apr 26, 2016 at 3:44 AM, Sascha Hauer wrote: > diff --git a/arch/arm/dts/imx25-karo-tx25.dts > b/arch/arm/dts/imx25-karo-tx25.dts > index 8d79471..76847ff 100644 > --- a/arch/arm/dts/imx25-karo-tx25.dts > +++ b/arch/arm/dts/imx25-karo-tx25.dts > @@ -123,12 +123,12 @@ > >

[PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-25 Thread Sascha Hauer
After doing a 'saveenv' command, it is no longer possible to boot. The reason for this behaviour is that the 'barebox' partition has currently a size of 0x8 (512 kB), which is not sufficient to store the barebox binary. This causes the 'barebox' and 'barebox-environment' partitions to overlap.