Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-25 Thread Stefano Babic
Hi Luka, On 24/08/2013 19:33, Luka Perkov wrote: AFAIK there is no fw_{printenv,setenv} support for MMC. Except if you use the patches I pointed out. Somebody please correct me if I'm wrong. Because you have already done the work, do you plan to push official patches to the ML ? It is a pity

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-24 Thread Luka Perkov
On Sat, Aug 24, 2013 at 12:01:25AM -0400, Robert P. J. Day wrote: On Sat, 24 Aug 2013, Luka Perkov wrote: /dev/mmcblk0 0x6 0x2000 0x2000 ah, there's the misunderstanding. i thought we were discussing how to be able to refer *directly* to the eMMC partition boot1, as in

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-24 Thread Robert P. J. Day
On Sat, 24 Aug 2013, Luka Perkov wrote: On Sat, Aug 24, 2013 at 12:01:25AM -0400, Robert P. J. Day wrote: On Sat, 24 Aug 2013, Luka Perkov wrote: /dev/mmcblk0 0x6 0x2000 0x2000 ah, there's the misunderstanding. i thought we were discussing how to be able to refer *directly* to

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-24 Thread Michael Heimpold
Hi, right, i can see that and that clarifies things for me. my *original* question was whether there was a way to set up /etc/fw_env.config to refer to the eMMC partition /dev/mmcblk1boot1 *directly*, treating it as a regular block partition and bypassing all the MTD-related processing.

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-24 Thread Luka Perkov
On Sat, Aug 24, 2013 at 07:37:00AM -0400, Robert P. J. Day wrote: On Sat, 24 Aug 2013, Luka Perkov wrote: On Sat, Aug 24, 2013 at 12:01:25AM -0400, Robert P. J. Day wrote: On Sat, 24 Aug 2013, Luka Perkov wrote: /dev/mmcblk0 0x6 0x2000 0x2000 ah, there's the

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Andreas Bießmann
Dear Robert P. J. Day, On 08/23/2013 02:25 PM, Robert P. J. Day wrote: snip so it's clearly there, but i have no idea what i'd put in /etc/fw_env.config to refer to that partition. i tried adding the simple line: /dev/mmcblk1boot1 0x0 0x4000 to (allegedly) represent a

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Stefano Babic
Hi Robert, On 23/08/2013 14:25, Robert P. J. Day wrote: i'm sure there's a simple answer to this There is -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1. but now that it's there, is there a way

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Andreas Bießmann wrote: Dear Robert P. J. Day, On 08/23/2013 02:25 PM, Robert P. J. Day wrote: snip so it's clearly there, but i have no idea what i'd put in /etc/fw_env.config to refer to that partition. i tried adding the simple line: /dev/mmcblk1boot1

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Stefano Babic wrote: Hi Robert, On 23/08/2013 14:25, Robert P. J. Day wrote: i'm sure there's a simple answer to this There is -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Luka Perkov
On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1. but now that it's there, is there a way i can

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1.

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1.

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Luka Perkov
On Fri, Aug 23, 2013 at 05:11:01PM -0400, Robert P. J. Day wrote: On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Sat, 24 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 05:11:01PM -0400, Robert P. J. Day wrote: On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my