[U-Boot] U-boot environment redundancy

2010-04-06 Thread Nitin Mahajan
Hello, I have some query regarding how the u-boot environment redundancy works. As per my understanding, we need to set the CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND macros in the board config file. The boot loader is supposed to read the both the environments and based on the obsolete

Re: [U-Boot] Saving environment variables in MMC

2010-04-02 Thread Nitin Mahajan
Hello, --- On Thu, 1/4/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] Saving environment variables in MMC > To: nitin...@yahoo.com > Cc: "U-Boot user list" > Date: Thursday, 1 April, 2010, 5:35 PM > Hi Nitin, > > >> It is rather common to write to the U-Boot > environ

Re: [U-Boot] Saving environment variables in MMC

2010-04-01 Thread Nitin Mahajan
Hello, thanks for your valuable inputs. --- On Thu, 1/4/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] Saving environment variables in MMC > To: nitin...@yahoo.com > Cc: "U-Boot user list" > Date: Thursday, 1 April, 2010, 5:35 PM > Hi Nitin, > > >> It is rather common

[U-Boot] U-boot env variables parsing

2010-03-31 Thread Nitin Mahajan
Hi! I am doing env settings some thing like this, ROOT1=/dev/mmcblk0p1 ROOT2=/dev/mmcblk0p2 ROOT=${ROOT1} bootargs1=console=ttyS0,115200n8 mem=256M noinitrd rw rootdelay=1 ${ROOT} when I say 'setenv bootargs ${bootargs1}', ${ROOT} gets resolved to 'ROOT1', it does not get completely resolved to

Re: [U-Boot] Saving environment variables in MMC

2010-03-31 Thread Nitin Mahajan
Thanks Detlev, --- On Wed, 31/3/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] Saving environment variables in MMC > To: nitin...@yahoo.com > Cc: "U-Boot user list" > Date: Wednesday, 31 March, 2010, 8:04 PM > Hi Nitin, > > > Thanks for the information. I just wanted t

Re: [U-Boot] Saving environment variables in MMC

2010-03-31 Thread Nitin Mahajan
; Frans Meulenbroeks wrote: > > 2010/3/30 Nitin Mahajan : > > Hi, > > > Found this in the past: > > http://bitshrine.org/gpp/u-boot-200910-cd77dd10-save-the-env-var-to-SDcard-and-SPI.patch > > You can take a look at this one, too: > > http://lists.denx.de/p

Re: [U-Boot] Saving environment variables in MMC

2010-03-30 Thread Nitin Mahajan
Hello, --- On Mon, 29/3/10, Mike Frysinger wrote: > From: Mike Frysinger > Subject: Re: [U-Boot] Saving environment variables in MMC > To: u-boot@lists.denx.de, nitin...@yahoo.com > Date: Monday, 29 March, 2010, 11:12 PM > On Monday 29 March 2010 11:21:22 > Nitin Mahajan wr

[U-Boot] Saving environment variables in MMC

2010-03-29 Thread Nitin Mahajan
Hi! I want to save and retrieve environment variables from a file in MMC. Can I get some pointers towards this? Whether env_relocate_spec() and other such functions, has some implementation for MMC also? regards -Nitin Get your preferred Email name! Now you can @ymail.com and @rocket

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Nitin Mahajan
Hello, --- On Tue, 9/3/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] bootcounter implementation for OMAP3 > To: nitin...@yahoo.com > Cc: u-boot@lists.denx.de > Date: Tuesday, 9 March, 2010, 10:52 PM > Hi Nitin, > > >> You are writing a 32 bit entity to an non 32-bit >

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Nitin Mahajan
Hello, --- On Tue, 9/3/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] bootcounter implementation for OMAP3 > To: nitin...@yahoo.com > Cc: u-boot@lists.denx.de > Date: Tuesday, 9 March, 2010, 2:03 PM > Hi Nitin, > > > I am trying to implement the bootcount_store and > bo

[U-Boot] bootcounter implementation for OMAP3

2010-03-08 Thread Nitin Mahajan
Hello, I am trying to implement the bootcount_store and bootcount_load methods for the OMAP3503 processor based board which I am using. For this I decided to use the location at the end of scratchpad RAM, that is I am trying to write at location 0x480029BF. The code looks like this, but the boo