Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-17 Thread Marek Vasut
On Friday, January 16, 2015 at 07:35:11 PM, Pavel Machek wrote: > Hi! > > > > > -#define CONFIG_ENV_IS_NOWHERE > > > > > > > > #define CONFIG_ENV_SIZE4096 > > > > > > > > +#define CONFIG_ENV_IS_IN_MMC > > > > +#define CONFIG_SYS_MMC_ENV_DEV 0/* device 0 */ > > >

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-16 Thread Pavel Machek
Hi! > > > -#define CONFIG_ENV_IS_NOWHERE > > > > > > #define CONFIG_ENV_SIZE 4096 > > > > > > +#define CONFIG_ENV_IS_IN_MMC > > > +#define CONFIG_SYS_MMC_ENV_DEV 0/* device 0 */ > > > +#define CONFIG_ENV_OFFSET512/* just after the MBR */ > > > + > > >

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-15 Thread Marek Vasut
On Friday, January 16, 2015 at 05:50:18 AM, Stefan Roese wrote: Hi! > >> Would it make sense to make environment bigger (64K?) at this point, > >> and enabling the redundant environment option, so that one bad block > >> does not bring the whole device down? > > > > Do you think you'll ever have

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-15 Thread Stefan Roese
On 15.01.2015 23:08, Marek Vasut wrote: On Thursday, January 15, 2015 at 11:00:00 PM, Pavel Machek wrote: diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 6b1f967..673377b 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-15 Thread Marek Vasut
On Thursday, January 15, 2015 at 11:00:00 PM, Pavel Machek wrote: > Hi! Hi! > > From: Dinh Nguyen > > > > Signed-off-by: Dinh Nguyen > > Cc: Marek Vasut > > Cc: Tom Rini > > Cc: Pavel Machek > > --- > > > > include/configs/socfpga_common.h | 5 - > > 1 file changed, 4 insertions(+), 1

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-15 Thread Pavel Machek
Hi! > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > Cc: Marek Vasut > Cc: Tom Rini > Cc: Pavel Machek > --- > include/configs/socfpga_common.h | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/include/configs/socfpga_common.h > b/include/configs/socfpga_com

Re: [U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-14 Thread Marek Vasut
On Wednesday, January 14, 2015 at 05:40:42 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > Cc: Marek Vasut > Cc: Tom Rini > Cc: Pavel Machek > --- > include/configs/socfpga_common.h | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >

[U-Boot] [PATCHv1 02/22] arm: socfpga: enable saveenv to mmc partition

2015-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen Cc: Marek Vasut Cc: Tom Rini Cc: Pavel Machek --- include/configs/socfpga_common.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 6b1f967..673377b 1