Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-12 Thread Tom Rini
On Sat, Aug 10, 2013 at 03:50:45PM -0500, Dennis Gilmore wrote: > On Thu, 8 Aug 2013 11:26:37 -0400 > Tom Rini wrote: > > > On Wed, Aug 07, 2013 at 06:04:23PM -0500, Dennis Gilmore wrote: > > > On Wed, 7 Aug 2013 09:19:21 -0400 > > > Tom Rini wrote: > > > > > > > On Tue, Aug 06, 2013 at 06:11:2

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-10 Thread Dennis Gilmore
On Thu, 8 Aug 2013 11:26:37 -0400 Tom Rini wrote: > On Wed, Aug 07, 2013 at 06:04:23PM -0500, Dennis Gilmore wrote: > > On Wed, 7 Aug 2013 09:19:21 -0400 > > Tom Rini wrote: > > > > > On Tue, Aug 06, 2013 at 06:11:25PM -0500, Dennis Gilmore wrote: > > > > On Tue, 6 Aug 2013 17:42:31 -0400 > > >

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-08 Thread Tom Rini
On Wed, Aug 07, 2013 at 06:04:23PM -0500, Dennis Gilmore wrote: > On Wed, 7 Aug 2013 09:19:21 -0400 > Tom Rini wrote: > > > On Tue, Aug 06, 2013 at 06:11:25PM -0500, Dennis Gilmore wrote: > > > On Tue, 6 Aug 2013 17:42:31 -0400 > > > Tom Rini wrote: > > > > > > > On Tue, Aug 06, 2013 at 11:22:2

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-07 Thread Dennis Gilmore
On Wed, 7 Aug 2013 09:19:21 -0400 Tom Rini wrote: > On Tue, Aug 06, 2013 at 06:11:25PM -0500, Dennis Gilmore wrote: > > On Tue, 6 Aug 2013 17:42:31 -0400 > > Tom Rini wrote: > > > > > On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: > > > > > > [snip] > > > > The only way I coul

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-07 Thread Tom Rini
On Tue, Aug 06, 2013 at 06:11:25PM -0500, Dennis Gilmore wrote: > On Tue, 6 Aug 2013 17:42:31 -0400 > Tom Rini wrote: > > > On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: > > > > [snip] > > > The only way I could see having us write a file to disk with the > > > environment work

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 6 Aug 2013 17:42:31 -0400 Tom Rini wrote: > On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: > > [snip] > > The only way I could see having us write a file to disk with the > > environment working is if all boards implement standard variable to > > define the memory locati

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: [snip] > The only way I could see having us write a file to disk with the > environment working is if all boards implement standard variable to > define the memory locations and that is compiled into the u-boot binary. > > some varia

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: > >> How can someone 'overwrite' the default environment from system or > >> when generating a FIT image? > > > > If U-Boot is running, you can get back to the default environme

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:22 AM, Dennis Gilmore wrote: ... > some variables that would need to be compiled in > > fdt_addr > fdt_addr_r > kernel_addr_r > ramdisk_addr_r Those all look standard, and are documented in U-Boot's README. > pxefile_addr_r > scr_addr_r > uenv_addr_r But none of those are, the

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 2:12 PM, Stephen Warren wrote: > On 08/06/2013 10:58 AM, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: How can someone 'overwrite' the default environment from system or when generating a FIT image? >>> >>> If U-Boot is running, y

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:58 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >>> How can someone 'overwrite' the default environment from system or >>> when generating a FIT image? >> >> If U-Boot is running, you can get back to the default environment by >> running exact

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> How can someone 'overwrite' the default environment from system or >> when generating a FIT image? > > If U-Boot is running, you can get back to the default environment by > running exactly the commands you wrote below. > > If you're flashin

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:18 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: >> On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >>> Dear Rob Herring, >>> >>> In message >>> you >>> wrote: > Why would you ever want to compile this into U-Boot at all? Then any >>

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:22 PM, Dennis Gilmore wrote: ... > My issue with this is, we produce a unified image, it could be an > installer image or a installed disk image. it has a unified kernel in > it and can run on any number of soc's but we also need to provide > tooling that will setup the u-

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 06 Aug 2013 13:37:51 +0200 Wolfgang Denk wrote: > Dear Rob Herring, > > In message > > you wrote: > > > > > Why would you ever want to compile this into U-Boot at all? Then > > > any changes you need to make mean compiling and installing a new > > > U-Boot, which is something you norma

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: > On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >> Dear Rob Herring, >> >> In message >> you >> wrote: >>> Why would you ever want to compile this into U-Boot at all? Then any changes you need to make mean compiling and installing

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 05:37 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message > you > wrote: >> >>> Why would you ever want to compile this into U-Boot at all? Then any >>> changes you need to make mean compiling and installing a new U-Boot, >>> which is something you normally don't want to

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Wolfgang Denk
Dear Rob Herring, In message you wrote: > > > Why would you ever want to compile this into U-Boot at all? Then any > > changes you need to make mean compiling and installing a new U-Boot, > > which is something you normally don't want to do. > > You may want to have factory default and "user"

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Rob Herring
On Mon, Aug 5, 2013 at 12:29 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message > you > wrote: >> >> > Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an >> > environment image from a simple ASCII text. The resulting image could be >> > concatenated together with u-b

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Tom Rini
On Mon, Aug 05, 2013 at 10:36:09PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20130805190949.GS5164@bill-the-cat> you wrote: > > > > > Simon's proposal for text version of default environment is a move to > > > the right direction, it seems, as will easy reuse of environment > > > a

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Tom Rini
On Mon, Aug 05, 2013 at 10:28:15PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20130805160747.GP5164@bill-the-cat> you wrote: > > > > > U-Boot is perfectly able to import such settings from text files (or > > > text blobs stored somewhere, even attached to the U-Boot image, if you > >

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Wolfgang Denk
Dear Tom, In message <20130805190949.GS5164@bill-the-cat> you wrote: > > > Simon's proposal for text version of default environment is a move to > > the right direction, it seems, as will easy reuse of environment > > among boards. > > I need to look at this again, I think the biggest problem /

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Wolfgang Denk
Dear Tom, In message <20130805160747.GP5164@bill-the-cat> you wrote: > > > U-Boot is perfectly able to import such settings from text files (or > > text blobs stored somewhere, even attached to the U-Boot image, if you > > want), so just use the text files separately, instead of hard > > compilin

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Tom Rini
On Mon, Aug 05, 2013 at 01:29:20PM -0300, Otavio Salvador wrote: > On Mon, Aug 5, 2013 at 12:33 PM, Tom Rini wrote: > >> Well, OE and Yocto allow to build fine-tuned target environments; they > >> really don't have any new requirements as "standard" distros like > >> Fedroa do. > > > > Yeah, and i

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Otavio Salvador
On Mon, Aug 5, 2013 at 12:33 PM, Tom Rini wrote: >> Well, OE and Yocto allow to build fine-tuned target environments; they >> really don't have any new requirements as "standard" distros like >> Fedroa do. > > Yeah, and it's also true that less per machine hacking you have to do > with each new bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Tom Rini
On Mon, Aug 05, 2013 at 07:29:33AM +0200, Wolfgang Denk wrote: > Dear Rob Herring, > > In message > you > wrote: > > > > > Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an > > > environment image from a simple ASCII text. The resulting image could be > > > concatenated toge

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-05 Thread Tom Rini
On Mon, Aug 05, 2013 at 12:11:47AM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20130804214743.GJ5164@bill-the-cat> you wrote: > > > > > I am not that pessimistic. The tools are all available and in place. > > > "env import" (and other capabilities of the "env" command) allow to > > >

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Rob Herring, In message you wrote: > > > Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an > > environment image from a simple ASCII text. The resulting image could be > > concatenated together with u-boot and in CONFIG_EXTRA_ENV_SETTINGS we > > could have for all boards

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Rob Herring
On Fri, Aug 2, 2013 at 4:14 AM, Stefano Babic wrote: > Hi Rob, Dennis, > > On 01/08/2013 19:19, Rob Herring wrote: >> You both are missing the point. This patch doesn't address the problem, >> but does highlight it. > > I am aware of it - I have already pointed out that we get many patches > that

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Dennis Gilmore
Resending unsigned Hi Wolfgang, On Sun, 04 Aug 2013 22:00:04 +0200 Wolfgang Denk wrote: > Dear Dennis, > > In message <20130801120603.1683f...@adria.ausil.us> you wrote: > > > > ultimately I want to have a standard way to boot any system that > > just works and does not need the installer to k

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Dennis, In message <20130804163442.31dca...@adria.ausil.us> you wrote: > > > But your requirement is just one out of a number of such requirements, > > and I see no indication that an "one size fits all" approach would be > > possible. > It should be possible for those systems that want a gen

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Tom, In message <20130804214743.GJ5164@bill-the-cat> you wrote: > > > I am not that pessimistic. The tools are all available and in place. > > "env import" (and other capabilities of the "env" command) allow to > > import any set of environment from any storage location U-Boot can > > handl

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Tom Rini
On Sun, Aug 04, 2013 at 11:03:53PM +0200, Wolfgang Denk wrote: > Dear Tom Rini, > > In message <20130804202746.GH5164@bill-the-cat> you wrote: > > > > > But your requirement is just one out of a number of such requirements, > > > and I see no indication that an "one size fits all" approach would

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Tom Rini, In message <20130804202746.GH5164@bill-the-cat> you wrote: > > > But your requirement is just one out of a number of such requirements, > > and I see no indication that an "one size fits all" approach would be > > possible. > > And today we have no ability to easily opt-in to any

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Tom Rini
On Thu, Aug 01, 2013 at 12:19:13PM -0500, Rob Herring wrote: > On 08/01/2013 03:53 AM, Stefano Babic wrote: > > Hi Dennis, > > > > On 01/08/2013 01:27, Robert Nelson wrote: [snip] > >> #define CONFIG_BOOTCOMMAND \ > >>"mmc dev ${mmcdev};" \ > >>"if mmc rescan; then " \ > >>"ech

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Tom Rini
On Sun, Aug 04, 2013 at 10:00:04PM +0200, Wolfgang Denk wrote: > Dear Dennis, > > In message <20130801120603.1683f...@adria.ausil.us> you wrote: > > > > ultimately I want to have a standard way to boot any system that just > > works and does not need the installer to know or care what the target >

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Tom Rini
On Fri, Aug 02, 2013 at 11:14:22AM +0200, Stefano Babic wrote: > Hi Rob, Dennis, > > On 01/08/2013 19:19, Rob Herring wrote: > > You both are missing the point. This patch doesn't address the problem, > > but does highlight it. > > I am aware of it - I have already pointed out that we get many pa

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Dennis, In message <20130801120603.1683f...@adria.ausil.us> you wrote: > > ultimately I want to have a standard way to boot any system that just > works and does not need the installer to know or care what the target > system is. using boot.scr and uEnv.txt does not work for my goals. But yo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-04 Thread Wolfgang Denk
Dear Stefano, In message <51fb786e.4010...@denx.de> you wrote: > > Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an > environment image from a simple ASCII text. The resulting image could be > concatenated together with u-boot and in CONFIG_EXTRA_ENV_SETTINGS we > could have

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-02 Thread Stefano Babic
Hi Dennis, On 01/08/2013 19:06, Dennis Gilmore wrote: > > ultimately I want to have a standard way to boot any system that just > works and does not need the installer to know or care what the target > system is. using boot.scr and uEnv.txt does not work for my goals. > Let's go away from the c

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-02 Thread Stefano Babic
Hi Rob, Dennis, On 01/08/2013 19:19, Rob Herring wrote: > You both are missing the point. This patch doesn't address the problem, > but does highlight it. I am aware of it - I have already pointed out that we get many patches that have increased the default environment to something hard to mainta

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Dennis Gilmore
On Thu, 01 Aug 2013 10:53:49 +0200 Stefano Babic wrote: > Hi Dennis, > > On 01/08/2013 01:27, Robert Nelson wrote: > > >> kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} > >> ${kernel_addr_r} ${prefix}vmlinuz && ${fs}load ${devtype} ${devnum} > >> ${ramdisk_addr_r} ${prefix}in

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Rob Herring
On 08/01/2013 03:53 AM, Stefano Babic wrote: > Hi Dennis, > > On 01/08/2013 01:27, Robert Nelson wrote: > >>> kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} >>> ${kernel_addr_r} ${prefix}vmlinuz && ${fs}load ${devtype} ${devnum} >>> ${ramdisk_addr_r} ${prefix}initrd.img && boot

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Stefano Babic
Hi Dennis, On 01/08/2013 01:27, Robert Nelson wrote: >> kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} >> ${kernel_addr_r} ${prefix}vmlinuz && ${fs}load ${devtype} ${devnum} >> ${ramdisk_addr_r} ${prefix}initrd.img && bootz ${kernel_addr_r} >> ${ramdisk_addr_r}:${filesize} ${fd

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-31 Thread Robert Nelson
On Wed, Jul 31, 2013 at 6:01 PM, Rob Herring wrote: > Dennis, > > On Thu, Jul 25, 2013 at 4:13 PM, wrote: >> From: Dennis Gilmore >> >> Signed-off-by: Dennis Gilmore >> --- >> include/configs/wandboard.h | 42 +++--- >> 1 file changed, 39 insertions(+), 3 d

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-31 Thread Rob Herring
Dennis, On Thu, Jul 25, 2013 at 4:13 PM, wrote: > From: Dennis Gilmore > > Signed-off-by: Dennis Gilmore > --- > include/configs/wandboard.h | 42 +++--- > 1 file changed, 39 insertions(+), 3 deletions(-) > > diff --git a/include/configs/wandboard.h b/inclu

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-29 Thread Otavio Salvador
On Fri, Jul 26, 2013 at 9:20 PM, Dennis Gilmore wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 26 Jul 2013 10:52:04 -0300 > Otavio Salvador wrote: > >> On Thu, Jul 25, 2013 at 6:13 PM, wrote: >> > From: Dennis Gilmore >> >> highbank? what does this means? > calxeda highba

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-26 Thread Otavio Salvador
On Thu, Jul 25, 2013 at 6:13 PM, wrote: > From: Dennis Gilmore highbank? what does this means? > Signed-off-by: Dennis Gilmore > --- > include/configs/wandboard.h | 42 +++--- > 1 file changed, 39 insertions(+), 3 deletions(-) > > diff --git a/include/conf

[U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-25 Thread dgilmore
From: Dennis Gilmore Signed-off-by: Dennis Gilmore --- include/configs/wandboard.h | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index ee6bf21..a5052c5 100644 --- a/includ