2008-04-19 05:53:51     /dev/fb0 missing

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-19 05:53:51     /dev/fb0 missing

Harvind Singh (INDIA)

Message: 54555   

 

Dear all,

 

I am trying to interface TFT LCD panel with BF561 Ezkit.

 

I have made the changes in /drivers/video/bfin-t350mcqb-fb.c to suit the timings of TFT

 

I have done following selections in menuconfig

 

Device drivers------->

 

                          Graphics support------------>

 

                                             [ * ]Backlight and LCD device support---------->

 

                                                                                    < * >Lowlevel Backlight controles

 

                                                                                     < * >Low level LCD controls

 

                                           < * >Support for frame buffer devices

 

                                            < * >Varitronics COG-T350MCQB TFT LCD display (BF527 EZKIT)

 

with above configuration I built the image sucessfully and the kernel is booting up.

 

but /dev/fb0 is missing

 

if i do

 

root:/>cat /proc/devices

 

Character devices:

 

1 mem

 

5 /dev/tty

 

................

 

................

 

29 fb

 

................

 

................

 

204 ttyBF

 

Block devices:

 

1 ramdisk

 

31 mtdblock

 

 

 

Pls help me out.

 

Thanks

 

Harvind singh

QuoteReplyEditDelete

 

 

2008-04-21 02:26:50     Re: /dev/fb0 missing

Yi Li (CHINA)

Message: 54587    By default mdev will create the device node. It is possible that your driver does not set up correctly.

QuoteReplyEditDelete

 

 

2008-04-22 08:03:56     Re: /dev/fb0 missing

Harvind Singh (INDIA)

Message: 54728   

 

Hi Li,

 

In the file /drivers/video/bf-t350mcqb-fb.c i have converted all the PPI's to PPI0

 

for eg:-

 

bfin_write_PPI_DELAY()       modified to      bfin_write_PPI0_DELAY() 

 

bfin_write_PPI_CONTROL()       modified to      bfin_write_PPI0_CONTROL()

 

etc.

 

I have made no changes in config  and make file.

 

Is any thing else required to set up driver correctly ?

 

pls help.

 

Thanks,

 

Harvind singh

 

 

QuoteReplyEditDelete

 

 

2008-04-22 08:21:03     Re: /dev/fb0 missing

Robin Getz (UNITED STATES)

Message: 54729    Harvind:

 

There are sometimes differences in PPI - that may require some other minor changes when going from 527 to 561.

 

-Robin

QuoteReplyEditDelete

 

 

2008-04-22 08:41:38     Re: /dev/fb0 missing

Michael Hennerich (GERMANY)

Message: 54731    Did you add the driver to your platfrom device file in arch/blackfin/mach-bf561/boards/yourboard.c ?

Have a look at arch/blackfin/mach-bf527/ezkit.c and look for CONFIG_FB_BFIN_T350MCBQ.

 

If you don't add it the driver won't get called .

 

-Michael

QuoteReplyEditDelete

 

 

2008-04-23 08:04:09     Re: /dev/fb0 missing

Harvind Singh (INDIA)

Message: 54781   

 

Michael,

 

Thanks a lot,

 

It solved the problem.

 

Harvind singh

Attachments

    Outcomes