Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
u-boot.scr Optional boot script not found. Continuing to boot normally ' - try 'help'd ' ' - try 'help'd 'fatload ' - try 'help'd 'fatload " not definedcboot From: Hannes Petermaier To: "Peter A. Bigot" , Cc: u-boot@

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Sachin Verma
Hi Naitik, On Wed, Sep 3, 2014 at 8:08 PM, Naitik Amin wrote: > Below is the layout of my partitions. > > [root@IM /root]# cat /proc/partitions > major minor #blocks name > > 17903887104 mmcblk0 > 1791 20480 mmcblk0p1 > 1792 512000 mmcblk0p2 > 179

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
partition start uevent [root@IM mmcblk0p4]# cat start 1099776 1099776 * 512 = 0x2190 From: Sachin Verma To: Naitik Amin , Cc: "Peter A. Bigot" , u-boot@lists.denx.de, Hannes Petermaier Date: 09/03/2014 11:54 AM Subject: Re: [U-Boot] uboot

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Stephen Warren
On 08/29/2014 11:21 AM, Naitik Amin wrote: HI there, I recently made changes to my system, where I created a new partition on my mmc. (mmcblk0p4) Then i dd'd a uboot env image into this partition, updated the fw_env.config to point to /dev/mmcblk0p4. At this point, my fw_printenv and fw_setenv

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
: Partition type: A3 (raw) To hold the uboot-env (Newly created) From: "Peter A. Bigot" To: Hannes Petermaier , Cc: u-boot@lists.denx.de, Naitik Amin Date: 09/03/2014 10:23 AM Subject: Re: [U-Boot] uboot env in mmc partition On 09/03/2014 09:14 AM, Hannes Petermaier wr

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 09:14 AM, Hannes Petermaier wrote: On 09/03/2014 07:54 AM, Naitik Amin wrote: Hi Hannes, So I did as you had indicated and made some progress, so now, my #defines look as below. #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ #define CONFIG_ENV_OFFSET

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Hannes Petermaier
> > On 09/03/2014 07:54 AM, Naitik Amin wrote: > > Hi Hannes, > > > > So I did as you had indicated and made some progress, so now, my #defines > > look as below. > > #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ > > #define CONFIG_ENV_OFFSET 0x2190 > > > > I ca

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Peter A. Bigot
ffset calculations to the values that correspond to the partition number that's represented in the device structure. Peter From: Hannes Petermaier To: "Naitik Amin" , Cc: u-boot@lists.denx.de, u-boot-boun...@lists.denx.de Date: 09/03/2014 01:13 AM Subject: Re: [U-Bo

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Hannes Petermaier
> > Hi Hannes, Hi, > > So I did as you had indicated and made some progress, so now, my #defines lookas below. > #define CONFIG_SYS_MMC_ENV_DEV0/* device 0 */ > #define CONFIG_ENV_OFFSET0x2190 okay, since we don't have a 'CONFIG_SYS_MMC_ENV_PART' no p

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
that, the bootup gets halted. Any ideas ? What may have trashed the partition ? From: Hannes Petermaier To: "Naitik Amin" , Cc: u-boot@lists.denx.de, u-boot-boun...@lists.denx.de Date: 09/03/2014 01:13 AM Subject: Re: [U-Boot] uboot env in mmc partition > &g

Re: [U-Boot] uboot env in mmc partition

2014-09-02 Thread Hannes Petermaier
sts.denx.de, u-boot-boun...@lists.denx.de > Date: 09/01/2014 12:54 AM > Subject:Re: [U-Boot] uboot env in mmc partition > > > > > HI there, > Hi Naitik, > > > > > I recently made changes to my system, where I created a new partition on > &

Re: [U-Boot] uboot env in mmc partition

2014-09-02 Thread Naitik Amin
ot;Naitik Amin" , Cc: u-boot@lists.denx.de, u-boot-boun...@lists.denx.de Date: 09/01/2014 12:54 AM Subject: Re: [U-Boot] uboot env in mmc partition > HI there, Hi Naitik, > > I recently made changes to my system, where I created a new partition on > my mmc. (mmc

Re: [U-Boot] uboot env in mmc partition

2014-08-31 Thread Hannes Petermaier
> HI there, Hi Naitik, > > I recently made changes to my system, where I created a new partition on > my mmc. (mmcblk0p4) do you use MMC or eMMC ? I guess eMMC. > > Then i dd'd a uboot env image into this partition, updated the > fw_env.config to point to /dev/mmcblk0p4. At this point, my f

[U-Boot] uboot env in mmc partition

2014-08-29 Thread Naitik Amin
HI there, I recently made changes to my system, where I created a new partition on my mmc. (mmcblk0p4) Then i dd'd a uboot env image into this partition, updated the fw_env.config to point to /dev/mmcblk0p4. At this point, my fw_printenv and fw_setenv work good. So as a next step, I am tried t

[U-Boot] uboot env in mmc partition

2014-08-29 Thread Naitik Amin
HI there, I recently made changes to my system, where I created a new partition on my mmc. (mmcblk0p4) Then i dd'd a uboot env image into this partition, updated the fw_env.config to point to /dev/mmcblk0p4. At this point, my fw_printenv and fw_setenv work good. So as a next step, I am tried t