Skip to contentSkip to conversation

Serial & Framebuffer Console together

U-Boot-Users Praveen VS 2 participants 9 messages Feb 4, 2005 – Feb 9, 2005

lore
Share & tools
lore

Praveen VS

author
#0 lore raw

Hello,
In U-boot Can we have serial console & Framebuffer Console working together.Because we are testing our LCD & we neeed to give some commands thro serial.

Regards
Praveen

#1 lore raw
Quoted 4 lines · In message <000001c50ad4$62f7d200$0400a8c0@praveenvs> you wrote:

In U-boot Can we have serial console & Framebuffer Console working together.Because we are testing our LCD & we neeed to give some commands thro serial.

And what exactly is your problem? Just set stdin (and maybe stdout) to serial, and enter your commands.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Small is beautiful.
author
#2 lore raw

Thanks for your reply..
But we want to use both Serial ( Both for STIN & STDOUT)& Frame buffer LCD console for only STDOUT

-----Original Message-----
From: [email protected] [mailto:wd at denx.de]
Sent: Friday, February 04, 2005 10:27 PM
To: praveen at spacomp.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Serial & Framebuffer Console together

Quoted 4 lines · In message <000001c50ad4$62f7d200$0400a8c0@praveenvs> you wrote:

In U-boot Can we have serial console & Framebuffer Console working together.Because we are testing our LCD & we neeed to give some commands thro serial.

And what exactly is your problem? Just set stdin (and maybe stdout) to serial, and enter your commands.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Small is beautiful.
#3 lore raw
Quoted 3 lines · In message <000d01c50b51$d9fe37e0$0400a8c0@praveenvs> you wrote:

But we want to use both Serial ( Both for STIN & STDOUT)& Frame buffer LCD console for only STDOUT

The current implementation of the I/O drivers supports only one one device at a time, i. e. you can have output either on serial _or_ on LCD, but not both at the same time. But you can switch any time you like.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Commitment, n.:      Commitment can be illustrated by a breakfast
of ham and eggs. The chicken was involved, the pig was committed.
author
#4 lore raw

Hello,
Thanks for your previous mail

We have written the routine to initialise our Color LCD Controller( S6B33B0A)
But we are not able to get anything on the LCD Screen We checked the coninfo we are getting like this

$ coninfo
List of available devices:
lcd      00000002 ..O
serial   80000003 SIO stdin stdout stderr
nulldev  80000003 SIO

Our LCD controller is on VLIO & uses static Chipselect CS4 We are giving statics CS4 Address ( 10000000 on PXA255) for lcd_base We are not sure whether we need to give this address ? If not what other address has to be given?
Is this the reason for the nothing coming on the LCD?

Thanks & Regards
Praveen

-----Original Message-----
From: [email protected] [mailto:wd at denx.de]
Sent: Saturday, February 05, 2005 3:22 PM
To: praveen at spacomp.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Serial & Framebuffer Console together

Quoted 3 lines · In message <000d01c50b51$d9fe37e0$0400a8c0@praveenvs> you wrote:

But we want to use both Serial ( Both for STIN & STDOUT)& Frame buffer LCD console for only STDOUT

The current implementation of the I/O drivers supports only one one device at a time, i. e. you can have output either on serial _or_ on LCD, but not both at the same time. But you can switch any time you like.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Commitment, n.:      Commitment can be illustrated by a breakfast
of ham and eggs. The chicken was involved, the pig was committed.
#5 lore raw
Quoted 4 lines · In message <001201c50df3$8678e0d0$0400a8c0@praveenvs> you wrote:

We have written the routine to initialise our Color LCD Controller( S6B33B0A)
But we are not able to get anything on the LCD Screen

We don't know your hardware, we don't know your driver, we don't know how you integrated it into U-Boot.

This is not even enough information for a wild guess.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
                                                 -- Wernher von Braun
author
#6 lore raw

Hello,
I am very sorry that I haven't given enough information.

Our board is customised board based on PXA255 processor, in that we have the samsung
Color LCD Controller( S6B33B0A) .
The LCD is not interfaced to the Default PXA255 LCD pins.But it is on VLIO

In our board the IDE is on VLIO & so also LCD
We are able to successfully boot from the Harddisk
Now we are trying to initialise the LCD.IN our board the LCD controller ChipsSelect is connected to the Static Chipselect 4 of PXA255

We have followed the basic routine given in the u-boot source to initialise the LCD,
We are giving the the Static Chipselect 4 ( CS4 ) address for lcd_base
(10000000 on PXA255)
After initialising we are getting the shell prompt on stdout(serial) In that when we did the cninfo we got the following..

$ coninfo
List of available devices:
lcd      00000002 ..O
serial   80000003 SIO stdin stdout stderr
nulldev  80000003 SIO 

We are not sure if the lcd console info is correct..

Thanks
Regards
Praveen

-----Original Message-----
From: [email protected] [mailto:wd at denx.de]
Sent: Tuesday, February 08, 2005 9:13 PM
To: praveen at spacomp.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Serial & Framebuffer Console together

Quoted 4 lines · In message <001201c50df3$8678e0d0$0400a8c0@praveenvs> you wrote:

We have written the routine to initialise our Color LCD Controller( S6B33B0A)
But we are not able to get anything on the LCD Screen

We don't know your hardware, we don't know your driver, we don't know how you integrated it into U-Boot.

This is not even enough information for a wild guess.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
                                                 -- Wernher von Braun
#7 lore raw
Quoted 10 lines · In message <001301c50df7$99e60900$0400a8c0@praveenvs> you wrote:

After initialising we are getting the shell prompt on stdout(serial) In that when we did the cninfo we got the following..

$ coninfo
List of available devices:
lcd      00000002 ..O
serial   80000003 SIO stdin stdout stderr
nulldev  80000003 SIO 

We are not sure if the lcd console info is correct..

What is not clear to you? As you can see in your log the LCD device has been registered as an output device, and input and poutput are directed to the serial port. So everything looks perfectly fine to me. What did you expect?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the bathtub of history the truth is harder to hold than the  soap,
and much more difficult to find ...     - Terry Pratchett, _Sourcery_
author
#8 lore raw

Hello ,]
Thanks for you mail.
We are trying to draw logo on to the LCD Screen, we are not able to see anything on it..
Regards
Praveen

-----Original Message-----
From: [email protected] [mailto:wd at denx.de]
Sent: Tuesday, February 08, 2005 9:44 PM
To: praveen at spacomp.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Serial & Framebuffer Console together

Quoted 9 lines · In message <001301c50df7$99e60900$0400a8c0@praveenvs> you wrote:

After initialising we are getting the shell prompt on stdout(serial) In that when we did the cninfo we got the following.. $ coninfo List of available devices:

lcd      00000002 ..O
serial   80000003 SIO stdin stdout stderr
nulldev  80000003 SIO 

We are not sure if the lcd console info is correct..

What is not clear to you? As you can see in your log the LCD device has been registered as an output device, and input and poutput are directed to the serial port. So everything looks perfectly fine to me. What did you expect?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de In
the bathtub of history the truth is harder to hold than the  soap,
and much more difficult to find ...     - Terry Pratchett, _Sourcery_