* [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX?
@ 2012-10-24 23:05 Stephen Warren
2012-10-25 7:22 ` Holger Brunck
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2012-10-24 23:05 UTC (permalink / raw)
To: u-boot
Mathieu, John,
While looking into a CONFIG_CONSOLE_MUX-related issue, I noticed the
following:
include/configs/u8500_href.h:136: "stdin=serial,usbtty\0"
include/configs/u8500_href.h:135: "stdout=serial,usbtty\0"
include/configs/snowball.h:180: "stdout=serial,usbtty\0"
Those all include multiple devices in the stdin/stdout definitions.
However, those config files don't set CONFIG_CONSOLE_MUX. I assume this
causes usbtty to be ignored, and only serial used?
Or perhaps U-Boot even fails to parse the variable at all, since
CONFIG_SYS_CONSOLE_IS_IN_ENV isn't set on those boards? Actually, there
are a few more boards with that problem:
> include/configs/km/keymile-common.h:258: "stdout=serial\0" \
> include/configs/MVBC_P.h:146: "stdout=serial\0" \
> include/configs/MVBLM7.h:460: "stdout=serial\0" \
> include/configs/MVSMR.h:129: "stdout=serial\0" \
> include/configs/sandbox.h:91: "stdout=serial\0" \
> include/configs/snowball.h:180: "stdout=serial,usbtty\0" \
> include/configs/u8500_href.h:135: "stdout=serial,usbtty\0" \
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX?
2012-10-24 23:05 [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX? Stephen Warren
@ 2012-10-25 7:22 ` Holger Brunck
2012-10-26 11:59 ` Andre Schwarz
0 siblings, 1 reply; 3+ messages in thread
From: Holger Brunck @ 2012-10-25 7:22 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 10/25/2012 01:05 AM, Stephen Warren wrote:
>
> While looking into a CONFIG_CONSOLE_MUX-related issue, I noticed the
> following:
>
> include/configs/u8500_href.h:136: "stdin=serial,usbtty\0"
> include/configs/u8500_href.h:135: "stdout=serial,usbtty\0"
> include/configs/snowball.h:180: "stdout=serial,usbtty\0"
>
> Those all include multiple devices in the stdin/stdout definitions.
> However, those config files don't set CONFIG_CONSOLE_MUX. I assume this
> causes usbtty to be ignored, and only serial used?
>
> Or perhaps U-Boot even fails to parse the variable at all, since
> CONFIG_SYS_CONSOLE_IS_IN_ENV isn't set on those boards? Actually, there
> are a few more boards with that problem:
>
>> include/configs/km/keymile-common.h:258: "stdout=serial\0" \
>> include/configs/MVBC_P.h:146: "stdout=serial\0" \
>> include/configs/MVBLM7.h:460: "stdout=serial\0" \
>> include/configs/MVSMR.h:129: "stdout=serial\0" \
>> include/configs/sandbox.h:91: "stdout=serial\0" \
>> include/configs/snowball.h:180: "stdout=serial,usbtty\0" \
>> include/configs/u8500_href.h:135: "stdout=serial,usbtty\0" \
I actually didn't get the point whats the problem here, but you are right our
boards have stdin,stdout,stderr defined in their environment. It seems to be
unneeded here. Maybe it is caused because we used CONFIG_CONSOLE_MUX in the past
but the relevant code was dropped at some point.
So we can remove these variables from our boards completely. Thanks for pointing
out.
Regards
Holger
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX?
2012-10-25 7:22 ` Holger Brunck
@ 2012-10-26 11:59 ` Andre Schwarz
0 siblings, 0 replies; 3+ messages in thread
From: Andre Schwarz @ 2012-10-26 11:59 UTC (permalink / raw)
To: u-boot
Stephen,
> On 10/25/2012 01:05 AM, Stephen Warren wrote:
>> While looking into a CONFIG_CONSOLE_MUX-related issue, I noticed the
>> following:
>>
>> include/configs/u8500_href.h:136: "stdin=serial,usbtty\0"
>> include/configs/u8500_href.h:135: "stdout=serial,usbtty\0"
>> include/configs/snowball.h:180: "stdout=serial,usbtty\0"
>>
>> Those all include multiple devices in the stdin/stdout definitions.
>> However, those config files don't set CONFIG_CONSOLE_MUX. I assume this
>> causes usbtty to be ignored, and only serial used?
>>
>> Or perhaps U-Boot even fails to parse the variable at all, since
>> CONFIG_SYS_CONSOLE_IS_IN_ENV isn't set on those boards? Actually, there
>> are a few more boards with that problem:
>>
>>> include/configs/km/keymile-common.h:258: "stdout=serial\0" \
>>> include/configs/MVBC_P.h:146: "stdout=serial\0" \
>>> include/configs/MVBLM7.h:460: "stdout=serial\0" \
>>> include/configs/MVSMR.h:129: "stdout=serial\0" \
>>> include/configs/sandbox.h:91: "stdout=serial\0" \
>>> include/configs/snowball.h:180: "stdout=serial,usbtty\0" \
>>> include/configs/u8500_href.h:135: "stdout=serial,usbtty\0" \
> I actually didn't get the point whats the problem here, but you are right our
> boards have stdin,stdout,stderr defined in their environment. It seems to be
> unneeded here. Maybe it is caused because we used CONFIG_CONSOLE_MUX in the past
> but the relevant code was dropped at some point.
same for mvBC_P, mvBLM7 and mvSMR.
> So we can remove these variables from our boards completely. Thanks for pointing
> out.
yes - and I don't mind if anybody else does this during mass cleanup ...
as long as the boards keep working properly ;-)
Regards,
Andr?
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-26 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 23:05 [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX? Stephen Warren
2012-10-25 7:22 ` Holger Brunck
2012-10-26 11:59 ` Andre Schwarz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).