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 tr...@ti.com 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 tr...@ti.com wrote: On Tue, Aug 06, 2013 at

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 tr...@ti.com 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 tr...@ti.com wrote: On Tue, Aug 06, 2013 at 06:11:25PM -0500, Dennis Gilmore wrote: On Tue, 6 Aug 2013 17:42:31

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 tr...@ti.com 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 tr...@ti.com wrote: On Tue, Aug 06, 2013 at

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 tr...@ti.com 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

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 tr...@ti.com 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 tr...@ti.com wrote: On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: [snip] The only way I

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 CAL_JsqJTg4CVfk0o9hLd4ZVksj+DNEsKLjcv6T7-6F-=br+...@mail.gmail.com 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

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 CAL_JsqJTg4CVfk0o9hLd4ZVksj+DNEsKLjcv6T7-6F-=br+...@mail.gmail.com 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

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 swar...@wwwdotorg.org wrote: On 08/06/2013 05:37 AM, Wolfgang Denk wrote: Dear Rob Herring, In message CAL_JsqJTg4CVfk0o9hLd4ZVksj+DNEsKLjcv6T7-6F-=br+...@mail.gmail.com you wrote: Why would you ever want to compile this into U-Boot at all?

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 w...@denx.de wrote: Dear Rob Herring, In message CAL_JsqJTg4CVfk0o9hLd4ZVksj+DNEsKLjcv6T7-6F-=br+...@mail.gmail.com you wrote: Why would you ever want to compile this into U-Boot at all? Then any changes you need to make mean

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 den...@ausil.us 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

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 swar...@wwwdotorg.org wrote: On 08/06/2013 05:37 AM, Wolfgang Denk wrote: Dear Rob Herring, In message CAL_JsqJTg4CVfk0o9hLd4ZVksj+DNEsKLjcv6T7-6F-=br+...@mail.gmail.com you wrote: Why would

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 swar...@wwwdotorg.org 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

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 swar...@wwwdotorg.org 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

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 swar...@wwwdotorg.org wrote: On 08/06/2013 10:58 AM, Otavio Salvador wrote: On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren swar...@wwwdotorg.org wrote: How can someone 'overwrite' the default environment from system or when generating a FIT image?

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 first

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 swar...@wwwdotorg.org 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

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 variables

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 tr...@ti.com 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 swar...@wwwdotorg.org wrote: How can someone 'overwrite' the default environment from system or when generating a FIT

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 tr...@ti.com 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 swar...@wwwdotorg.org wrote: How can someone 'overwrite' the default environment from system or when generating a FIT

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 tr...@ti.com 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

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 import any set of

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 CAL_JsqK++KbAajYtp9UnJuHWd=f8pjhsk0x3hzf73pchdl_...@mail.gmail.com you wrote: Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an environment image from a simple ASCII

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 tr...@ti.com 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

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 tr...@ti.com 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

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 compiling them

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 / concern I

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 want), so

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 among boards.

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 w...@denx.de wrote: Dear Rob Herring, In message CAL_JsqK++KbAajYtp9UnJuHWd=f8pjhsk0x3hzf73pchdl_...@mail.gmail.com you wrote: Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an environment image from a simple ASCII

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 for

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 your

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 patches

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 system

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 \ echo SD/MMC found on

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 of the one

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 be

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 handle. This

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 generic linux

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 w...@denx.de 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

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 sba...@denx.de 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

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 CAL_JsqK++KbAajYtp9UnJuHWd=f8pjhsk0x3hzf73pchdl_...@mail.gmail.com 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

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

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

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} ${fdt_addr}

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 bootz

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 sba...@denx.de 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}

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, dgilm...@fedoraproject.org wrote: From: Dennis Gilmore den...@ausil.us Signed-off-by: Dennis Gilmore den...@ausil.us --- include/configs/wandboard.h | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-)

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 robherri...@gmail.com wrote: Dennis, On Thu, Jul 25, 2013 at 4:13 PM, dgilm...@fedoraproject.org wrote: From: Dennis Gilmore den...@ausil.us Signed-off-by: Dennis Gilmore den...@ausil.us --- include/configs/wandboard.h | 42

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 dgilm...@fedoraproject.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 26 Jul 2013 10:52:04 -0300 Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Jul 25, 2013 at 6:13 PM, dgilm...@fedoraproject.org wrote: From:

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, dgilm...@fedoraproject.org wrote: From: Dennis Gilmore den...@ausil.us highbank? what does this means? Signed-off-by: Dennis Gilmore den...@ausil.us --- include/configs/wandboard.h | 42 +++--- 1 file changed, 39

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

2013-07-25 Thread dgilmore
From: Dennis Gilmore den...@ausil.us Signed-off-by: Dennis Gilmore den...@ausil.us --- 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