Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > Dear Wolfgang Denk, > > On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > > In which way would this approach avoid the problem (potential overflow > > of cmdline max size) that you are trying to fix with your patch? > > The overflow will be av

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > In which way would this approach avoid the problem (potential overflow > of cmdline max size) that you are trying to fix with your patch? The overflow will be avoided on any boards that don't define CONFIG_DEPRECATED_SIL

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > > > personally i found the current behavior useful, but the code to implement it > > is crappy.  oh well. > > Agreed. However, in the previous thread Wolfgang was of the view that > the behavior of silencing linux is best achieved with scripts. I'm O

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:04:27 Doug Anderson wrote: > I believe that you can do a script something like this (where > normal_bootargs is the old bootargs without the console= part, > console_args is the non-silent console settings, and old_bootcmd is > the old bootcmd): it's not exactly the s

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
On Tue, Jan 10, 2012 at 12:18 PM, Mike Frysinger wrote: > personally i found the current behavior useful, but the code to implement it > is crappy.  oh well. Agreed. However, in the previous thread Wolfgang was of the view that the behavior of silencing linux is best achieved with scripts. I'm

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:56 Doug Anderson wrote: > As discussed previously on the U-Boot mailing list (see comments on > "Fix fixup_silent_linux() buffer overrun" patchset), relying on > "bootm" to mangle the Linux bootargs is not a suggested way to go. > We now officially deprecate it and

[U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT