[Ilugc] regarding pci vga card output with powerpc

  • From: urwithsudheer@xxxxxxxxx (sudheer)
  • Date: Tue Aug 8 12:24:29 2006


Hello Shakti Kannan,

I think i am not clear in the way i said about the setup.

The setup is
Target - Freescale MPC8360 (Host Mode).
VGA card sits on the pci bus of MPC8360.

The VGA card details are as follows.
Vendor ID=0x1002 Device ID= 0x4752
Name: ATI Technologies Inc Rage XL

MPC8360 is connected to x86 pc with a serial port for minicom.
A monitor is connected to vga card.

I have changed the following:
In the ramdisk file system
1. etc/inittab file, we added
:::respawn:/sbin/getty tty1 115200 vt1002.

 While configuring the linux, we have enable the Virtual Terminal option.

 From minicom, after booting the u-boot,
I have modified the bootargs to:
=> set bootargs console=tty1 console=ttyS0,115200

While booting linux, i could see all the kernel log messages on monitor 
connected to vga card that i get on the minicom, but could not see on 
the vga monitor once it asks for the login. Whatever i do on the minicom 
(after mpc8360 booting to linux), i need to get them on vga monitor also.

In the end product we dont have any keyboard, etc.

As you said, I will try with redirecting the serial buffer data  to 
frame buffer .

Thanks & Regards
Sudheer



Shakthi Kannan wrote:

Hi Sudheer,

--- sudheer <urwithsudheer@xxxxxxxxx> wrote:
  
I have
connected the vga card 
next to the  pci slot of my target processor on the
baseboard.
    

Which one? Does the baseboard also have a keyboard,
mouse input?

  
I have connected a monitor to the vga card.
When i boot linux from minicom, i could see all the
kernel log messages 
on both the minicom and vga card monitor. 
    

You will be passing something like "video=" option to
the kernel command line.

  
But on the
vga monitor, i 
could not see any messages after asking for login as
below:
    

Usually, the hardware is designed such that the
keyboard/mouse on the baseboard functions with the
on-board VGA. Not sure which one you are using or
which Linux kernel you are using.

  
Though i am entering my login and passwd at the
minicom, nothing comes 
on to the vga monitor. 
    

Because input/output goes to the serial port _and_ is
not redirected to the VGA.

  
But i am able to write to vga
monitor using the 
following commands from minicom:
# echo "Hello" > /dev/tty1
    

Sure, hardware is visible to all.

  
My requirement is to get on the vga monitor whatever
i am typing on the 
minicom after logging into the linux like .
    

My question is "Why?". 

The baseboard is supposed to be converted to an
end-product. Serial port is only for developers. An
end-user will use the on-board VGA, keyboard, mouse to
use the system, rather than the serial port. But, if
you want to do it, you also need to redirect the
serial buffer data to the framebuffer driver.

Regards,

SK

--
Shakthi Kannan
http://www.shakthimaan.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

  

Other related posts: