Re: Query on LCD driver initialization

Fabio Giovagnini <[email protected]> Tue, 1 Mar 2005 08:31:07 +0100
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Organization Aurion s.r.l.
Message-ID <[email protected]>
Ok,
so you are sure to be calling your fb_init.
I suppose 7310 has MMU. Are you sure to write using the correct base addres=
s=20
related to the current bus access mode?
Did you check to write into a register and immediately after to read from i=
t=20
for compare the content you have written and you are reading?

Please post the entire code of your 7310 and a significant code fragment so=
 we=20
can try to get a look.

Best Regards

=46abio Giovagnini

Aurion s.r.l.

www.aurion-tech.com


Alle 07:10, marted=C3=AC 1 marzo 2005, Ravi Lohiya ha scritto:
> Hi,
>
> Right ! It is on chip controller, I have set the registers reading the
> hardware manual in to
> init routine but I do not get the correct contets of registers when I dump
> thur Monitor
> program. Its all Zero value set while printk statement in the init routine
> shows the correct
> value are being set.
>
> Frame buffer device is getting initialized but no graphics displayed which
> I understand the
> controller is not initialized i.e. Registers are not set thru init routin=
e.
>
> Thanks
> Ravi
>
> From: Fabio Giovagnini <[email protected]>
> To: [email protected]
> CC: "Ravi Lohiya" <[email protected]>
> Subject: Re: [linuxsh-dev] Query on LCD driver initialization
> Date: Mon, 28 Feb 2005 12:21:48 +0100
>
> I don't know 7310; I suppose it has and on chip LCD controller. Is it
> right? if yes you should read the hw manual and set the registers.
>
> Does your board have a embedded already working loader? If yes try to dump
> the
> contents of the registers of the LCD and write them into your init routin=
e.
>
> Best regards
>
>
> Fabio Giovagnini
>
> Aurion s.r.l.
>
> www.aurion-tech.com
>
> Alle 11:18, sabato 19 febbraio 2005, Ravi Lohiya ha scritto:
>  > Hi All,
>  >
>  > I am working on Linux based LCD driver for  SH-7310 board.
>  >
>  > At present I am facing the problem of LCD Initialization registers are
>
> not
>
>  > getting set by the
>  > __init  fb_init () in Linux.
>  >
>  > Can anyone tell me how to set the microcontroller registers in Linux.
>  >
>  > Thanks & Regards
>  > Ravi
>  >
>  > _________________________________________________________________
>  > Trailblazer Narain Karthikeyan. Know more about him n his life.
>  > http://server1.msn.co.in/sp04/tataracing/ Stay in the loop with Tata
>  > Racing!
>  >
>  >
>  >
>  > -------------------------------------------------------
>  > SF email is sponsored by - The IT Product Guide
>  > Read honest & candid reviews on hundreds of IT Products from real user=
s.
>  > Discover which products truly live up to the hype. Start reading now.
>  > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
>  > _______________________________________________
>  > linuxsh-dev mailing list
>  > [email protected]
>  > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev
>
> _________________________________________________________________
> Post your CV on Naukri.com
> http://www.naukri.com/tieups/tieups.php?othersrcp=3D534 Get your dream jo=
b.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click