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

2014-09-03 Thread Naitik Amin
, 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. (mmcblk0p4) do you use MMC or eMMC ? I guess eMMC

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

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

2014-09-03 Thread Peter A. Bigot
01:13 AM Subject:Re: [U-Boot] uboot env in mmc partition Hi Hannes, Hi, Yes, its an eMMC. If I read your response correctly, #define CONFIG_SYS_MMC_ENV_PART Can only have 2 values, 1 2 is that correct ? yes - i think so. please have a look to env_mmc.c, lines 65 to 120 may

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 calculated the env

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 Naitik Amin
: Partition type: A3 (raw) To hold the uboot-env (Newly created) From: Peter A. Bigot p...@pabigot.com To: Hannes Petermaier hannes.peterma...@br-automation.com, Cc: u-boot@lists.denx.de, Naitik Amin naitik.a...@ametek.com Date: 09/03/2014 10:23 AM Subject:Re: [U-Boot] uboot env

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
...@br-automation.com Date: 09/03/2014 11:54 AM Subject:Re: [U-Boot] uboot env in mmc partition Hi Naitik, On Wed, Sep 3, 2014 at 8:08 PM, Naitik Amin naitik.a...@ametek.com wrote: Below is the layout of my partitions. [root@IM /root]# cat /proc/partitions major minor #blocks name

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 naitik.a...@ametek.com 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

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

2014-09-03 Thread Naitik Amin
hannes.peterma...@br-automation.com To: Peter A. Bigot p...@pabigot.com, Cc: u-boot@lists.denx.de, Naitik Amin naitik.a...@ametek.com Date: 09/03/2014 10:14 AM Subject:Re: [U-Boot] uboot env in mmc partition On 09/03/2014 07:54 AM, Naitik Amin wrote: Hi Hannes, So I did as you

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

2014-09-02 Thread Naitik Amin
...@br-automation.com To: Naitik Amin naitik.a...@ametek.com, 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

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

2014-09-02 Thread Hannes Petermaier
: 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. (mmcblk0p4) do you use MMC or eMMC ? I guess eMMC. Then i dd'd a uboot env image

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

[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

[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