* [U-Boot-Users] How console redirection is done
@ 2007-07-13 4:56 yasosyaso
2007-07-13 6:17 ` Ori Idan
0 siblings, 1 reply; 7+ messages in thread
From: yasosyaso @ 2007-07-13 4:56 UTC (permalink / raw)
To: u-boot
Can anybody say me in which part of uboot console redirection configuration
is done.
i.e.,how console redirection to serial port is done in the uboot.
--
View this message in context: http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11573368
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
@ 2007-07-13 4:57 yasothabalanr at gmail.com
0 siblings, 0 replies; 7+ messages in thread
From: yasothabalanr at gmail.com @ 2007-07-13 4:57 UTC (permalink / raw)
To: u-boot
Can anybody say me in which part of uboot console redirection configuration is done.
i.e.,how console redirection to serial port is done in the uboot.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
2007-07-13 4:56 yasosyaso
@ 2007-07-13 6:17 ` Ori Idan
2007-07-13 10:47 ` yasosyaso
2007-07-13 12:14 ` Joey Oravec
0 siblings, 2 replies; 7+ messages in thread
From: Ori Idan @ 2007-07-13 6:17 UTC (permalink / raw)
To: u-boot
I am sorry, I can not understand the question.
U-boot always outputs to serial port.
If you would like to change to another serial port look at the
configuration file corresponding to your board under include/configs.
--
Ori Idan
On 7/13/07, yasosyaso <yasothabalanr@gmail.com> wrote:
>
> Can anybody say me in which part of uboot console redirection configuration
> is done.
> i.e.,how console redirection to serial port is done in the uboot.
> --
> View this message in context: http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11573368
> Sent from the Uboot - Users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
2007-07-13 6:17 ` Ori Idan
@ 2007-07-13 10:47 ` yasosyaso
2007-07-13 12:14 ` Joey Oravec
1 sibling, 0 replies; 7+ messages in thread
From: yasosyaso @ 2007-07-13 10:47 UTC (permalink / raw)
To: u-boot
Hi Ori,
thank you for your reply.
Actually how the console redirection is done in the uboot, ie., how it is
implemented in the code.
In which file of Uboot the module that will do console redirection is
present ?
Ori Idan wrote:
>
> I am sorry, I can not understand the question.
> U-boot always outputs to serial port.
> If you would like to change to another serial port look at the
> configuration file corresponding to your board under include/configs.
>
> --
> Ori Idan
>
>
> On 7/13/07, yasosyaso <yasothabalanr@gmail.com> wrote:
>>
>> Can anybody say me in which part of uboot console redirection
>> configuration
>> is done.
>> i.e.,how console redirection to serial port is done in the uboot.
>> --
>> View this message in context:
>> http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11573368
>> Sent from the Uboot - Users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
--
View this message in context: http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11577086
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
2007-07-13 6:17 ` Ori Idan
2007-07-13 10:47 ` yasosyaso
@ 2007-07-13 12:14 ` Joey Oravec
2007-07-16 6:03 ` yasosyaso
1 sibling, 1 reply; 7+ messages in thread
From: Joey Oravec @ 2007-07-13 12:14 UTC (permalink / raw)
To: u-boot
"Ori Idan" <ori@helicontech.co.il> wrote in message
news:65487840707122317ve675e94x222e48968a8a730b at mail.gmail.com...
>I am sorry, I can not understand the question.
> U-boot always outputs to serial port.
> If you would like to change to another serial port look at the
> configuration file corresponding to your board under include/configs.
That's not exactly true. After the initial console (bootup) you can use more
than serial.
There are a few functions like drv_lcd_init in lcd.c that create a device_t
structure -- in my version they're all called within devices_init in
common/devices.c during boot. This defines a putc, puts, getc, and tstc to
handle I/O character by character. Once you call device_register() it will
available to the system. Using the environment variables stdin, stdout, and
stderr you can choose which device is active, and console.c calls the
appropriate function pointer. Set the variable and you can be printing on
the LCD instead.
Of course all this can be changed with a million CONFIG_ parameters, and it
is a little strange if you have several consoles available and no default.
-joey
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
2007-07-13 12:14 ` Joey Oravec
@ 2007-07-16 6:03 ` yasosyaso
2007-07-16 6:05 ` yasosyaso
0 siblings, 1 reply; 7+ messages in thread
From: yasosyaso @ 2007-07-16 6:03 UTC (permalink / raw)
To: u-boot
Joey Oravec wrote:
>
> "Ori Idan" <ori@helicontech.co.il> wrote in message
> news:65487840707122317ve675e94x222e48968a8a730b at mail.gmail.com...
>>I am sorry, I can not understand the question.
>> U-boot always outputs to serial port.
>> If you would like to change to another serial port look at the
>> configuration file corresponding to your board under include/configs.
>
> That's not exactly true. After the initial console (bootup) you can use
> more
> than serial.
>
> There are a few functions like drv_lcd_init in lcd.c that create a
> device_t
> structure -- in my version they're all called within devices_init in
> common/devices.c during boot. This defines a putc, puts, getc, and tstc to
> handle I/O character by character. Once you call device_register() it will
> available to the system. Using the environment variables stdin, stdout,
> and
> stderr you can choose which device is active, and console.c calls the
> appropriate function pointer. Set the variable and you can be printing on
> the LCD instead.
>
> Of course all this can be changed with a million CONFIG_ parameters, and
> it
> is a little strange if you have several consoles available and no default.
>
> -joey
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
--
View this message in context: http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11609584
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] How console redirection is done
2007-07-16 6:03 ` yasosyaso
@ 2007-07-16 6:05 ` yasosyaso
0 siblings, 0 replies; 7+ messages in thread
From: yasosyaso @ 2007-07-16 6:05 UTC (permalink / raw)
To: u-boot
Actually here I want to do console redirection through USB port.
To do that first I want to know how serial console redirection is done in
the UBOOT code.
i.e., how in uboot the "serial console redirection" is implemented.
For console redirection there should be some code, somewhere in the UBoot.
I want to know how and where(in file,in which function) the console
redirection is implemented.
[I have found how the configuration is done for console redirection]
Thanks
yaso
yasosyaso wrote:
>
>
>
> Joey Oravec wrote:
>>
>> "Ori Idan" <ori@helicontech.co.il> wrote in message
>> news:65487840707122317ve675e94x222e48968a8a730b at mail.gmail.com...
>>>I am sorry, I can not understand the question.
>>> U-boot always outputs to serial port.
>>> If you would like to change to another serial port look at the
>>> configuration file corresponding to your board under include/configs.
>>
>> That's not exactly true. After the initial console (bootup) you can use
>> more
>> than serial.
>>
>> There are a few functions like drv_lcd_init in lcd.c that create a
>> device_t
>> structure -- in my version they're all called within devices_init in
>> common/devices.c during boot. This defines a putc, puts, getc, and tstc
>> to
>> handle I/O character by character. Once you call device_register() it
>> will
>> available to the system. Using the environment variables stdin, stdout,
>> and
>> stderr you can choose which device is active, and console.c calls the
>> appropriate function pointer. Set the variable and you can be printing on
>> the LCD instead.
>>
>> Of course all this can be changed with a million CONFIG_ parameters, and
>> it
>> is a little strange if you have several consoles available and no
>> default.
>>
>> -joey
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>>
>>
>
>
--
View this message in context: http://www.nabble.com/How-console-redirection-is-done-tf4072301.html#a11609593
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-07-16 6:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 4:57 [U-Boot-Users] How console redirection is done yasothabalanr at gmail.com
-- strict thread matches above, loose matches on Subject: below --
2007-07-13 4:56 yasosyaso
2007-07-13 6:17 ` Ori Idan
2007-07-13 10:47 ` yasosyaso
2007-07-13 12:14 ` Joey Oravec
2007-07-16 6:03 ` yasosyaso
2007-07-16 6:05 ` yasosyaso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox