2008-06-14 14:21:45     Framebuffer driver for ADV7171

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

2008-06-14 14:21:45     Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57305   

 

Hi all,

 

I'm working on a ADV7171 framebuffer driver these days, but encountered some problems here.

 

when I alter .fb_imageblit = cfb_imageblit, the kernel will get stuck on this line:

 

if (register_framebuffer(&bfin_ad7171_fb) < 0) {

  printk(KERN_ERR "bfin_ad7171_fb: unable to register framebuffer\n");

  ret = -EINVAL;

}

 

my current modification is here:

 

static struct fb_ops bfin_ad7171_fb_ops = {

.owner  = THIS_MODULE,

.fb_open        = bfin_ad7171_fb_open,

.fb_release     = bfin_ad7171_fb_release,

.fb_check_var = bfin_ad7171_fb_check_var,

.fb_set_par = bfin_ad7171_fb_set_par,

.fb_pan_display = bfin_ad7171_fb_pan_display,

.fb_blank  = bfin_ad7171_fb_blank,

.fb_fillrect = cfb_fillrect, //bfin_ad7171_fb_fillrect,              //altered by me

.fb_copyarea  = cfb_copyarea,                                              // added by me

.fb_imageblit = cfb_imageblit, //bfin_ad7171_fb_imageblit,     // altered by me

.fb_mmap = bfin_fb_mmap,

};

 

I found that ADV7393 working on this way, but 7171 seems not, do I have to do some configuration first?

 

If I change it back to bfin_ad7171_fb_imageblit (actually it's a dummy functions), kernel booted smoothly, and LCD change its mode and lighted, but no more output follows...

 

I copied file bfin_ad7171fb_main.c and other associate files from uClinux-dist-2007XXXX to my working dir uClinux-dist-2008XXX/driver/video.

 

Somebody has any idear? or has a complished ADV7171 framebuffer driver? could you paste it for an example?

 

thanks & Best regards!

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-06-15 09:07:17     Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57313   

 

I've change this structure back to:

 

static struct fb_ops bfin_ad7171_fb_ops = {

.owner  = THIS_MODULE,

.fb_open        = bfin_ad7171_fb_open,

.fb_release     = bfin_ad7171_fb_release,

.fb_check_var = bfin_ad7171_fb_check_var,

.fb_set_par = bfin_ad7171_fb_set_par,

.fb_pan_display = bfin_ad7171_fb_pan_display,

.fb_blank  = bfin_ad7171_fb_blank,

.fb_fillrect = bfin_ad7171_fb_fillrect,          

  .fb_imageblit = bfin_ad7171_fb_imageblit,    

.fb_mmap = bfin_fb_mmap,

};

 

All I did is add i2c support, framebuffer support, virtual console support, in the menuconfig, and in bfin_ad7171fb_main.c,

 

I modified config_ppi and config_dma.

 

Now I can boot from ucLinux, and when I run video_test, I get LCD lighted, when I press ctrl-c, LCD darked, when I use jpegview, I got the same response, and operate these two command for some times, uclinux crashes, like this:

 

root:~>jpegview 1.jpg

720 576 720 576 0 0 24 0 -1 -1

framebase = 0x3200000 err=0

ImageWidth=432 ImageHeight=576

read 1.jpg OK

root:~>

root:~>

root:~> video_test

root:~> jpegview 1.jpg

720 576 720 576 0 0 24 0 -1 -1

framebase = 0x3200000 err=0

NULL pointer access (probably)

Kernel OOPS in progress

Defered Exception context

CURRENT PROCESS:

COMM=jpegview PID=163

TEXT = 0x00620000-0x00622c9c        DATA = 0x035c1c9c-0x035c1f54

BSS = 0x035c1f54-0x004c0000  USER-STACK = 0x004dfeb0

 

return address: [0x00579c18]; contents of:

0x00579bf0:  9bf0  0057  9bf0  0057  9bf8  0057  9bf8  0057

0x00579c00:  9c00  0057  9c00  0057  9c08  0057  9c08  0057

0x00579c10:  0000  0000  0200  0020 [9c18] 0057  9c18  0057

0x00579c20:  9c20  0057  9c20  0057  9c28  0057  9c28  0057

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000027  IPEND: 4030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

  physical IVG14 asserted : <0xffa00af0> { _evt14_softirq + 0x0 }

  logical irq   6 mapped  : <0xffa00250> { _timer_interrupt + 0x0 }

  logical irq  35 mapped  : <0x000a1f8c> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  36 mapped  : <0x000a1b30> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  62 mapped  : <0x0000996c> { _coreb_dma_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x0047de90> /* unknown address */

RETX: <0x00579c18> /* unknown address */

RETS: <0x0001539a> { _run_timer_softirq + 0xb2 }

PC  : <0x00579c18> /* unknown address */

DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x00579c18> /* unknown address */

 

PROCESSOR STATE:

R0 : 00579c20    R1 : 0000ffff    R2 : ffff0102    R3 : 000000ff

R4 : 00000000    R5 : 0014c578    R6 : 00000100    R7 : 0047c000

P0 : 00579c10    P1 : 0047dea0    P2 : 0047c000    P3 : 00579c18

P4 : 0047dea0    P5 : 00579bc0    FP : 0014da24    SP : 0047ddb4

LB0: ffa021b4    LT0: ffa02168    LC0: 00000000

LB1: ffa02088    LT1: ffa02086    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000001

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : ffff0101

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 0066d4b8   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 004dfc60  ASTAT: 02003004

 

Hardware Trace:

   0 Target : <0x0000487c> { _trap_c + 0x0 }

     Source : <0xffa00774> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa006c0> { _exception_to_level5 + 0x0 }

     Source : <0xffa0061c> { _ex_trap_c + 0x5c }

   2 Target : <0xffa005c0> { _ex_trap_c + 0x0 }

     Source : <0xffa0044a> { _ex_workaround_261 + 0x22 }

   3 Target : <0xffa00428> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00814> { _trap + 0x28 }

   4 Target : <0xffa007ec> { _trap + 0x0 }

     Source : <0xffa00562> { _bfin_return_from_exception + 0xe }

   5 Target : <0xffa00554> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa0043a> { _ex_workaround_261 + 0x12 }

   6 Target : <0xffa00428> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00814> { _trap + 0x28 }

   7 Target : <0xffa007ec> { _trap + 0x0 }

     Source : <0x00015398> { _run_timer_softirq + 0xb0 }

   8 Target : <0x00015376> { _run_timer_softirq + 0x8e }

     Source : <0x000153a8> { _run_timer_softirq + 0xc0 }

   9 Target : <0x0001539a> { _run_timer_softirq + 0xb2 }

     Source : <0x0001524a> { ___mod_timer + 0x76 }

  10 Target : <0x0001522e> { ___mod_timer + 0x5a }

     Source : <0x00014ff2> { _internal_add_timer + 0x2a }

  11 Target : <0x00014fc8> { _internal_add_timer + 0x0 }

     Source : <0x0001522a> { ___mod_timer + 0x56 }

  12 Target : <0x00015220> { ___mod_timer + 0x4c }

     Source : <0x00015204> { ___mod_timer + 0x30 }

  13 Target : <0x000151ee> { ___mod_timer + 0x1a }

     Source : <0x000150e0> { _lock_timer_base + 0x24 }

  14 Target : <0x000150bc> { _lock_timer_base + 0x0 }

     Source : <0x000151ea> { ___mod_timer + 0x16 }

  15 Target : <0x000151d4> { ___mod_timer + 0x0 }

     Source : <0x0008cf16> { _bfin_framebuffer_timer_setup + 0x3a }

Stack from 0047dd94:

        0050f68e ffa00778 0014c56c 0014c56c 0014c568 ffa02088 ffa021b4 ffa02086

        00579c18 00004030 00000027 00000000 0047de90 00579c18 00579c18 0001539a

        00579c20 02003004 ffa02088 ffa021b4 ffa02086 ffa02168 00000000 00000000

        00000000 00000000 0066d4b8 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 ffff0101 00000000 00000001 004dfc60 0014da24 00579bc0 0047dea0

 

Call Trace:

[<0000ffff>] _do_wait+0x2ef/0x998

[<00012568>] ___do_softirq+0x60/0xac

[<00038da8>] _sys_write+0x0/0x64

[<00008f98>] _safe_speculative_execution+0x0/0x8

[<00002819>] _do_rt_sigreturn+0x409/0x854

[<00065400>] _stat_open+0x4c/0x70

[<00065400>] _stat_open+0x4c/0x70

[<00002819>] _do_rt_sigreturn+0x409/0x854

[<00002819>] _do_rt_sigreturn+0x409/0x854

 

Modules linked in:

Kernel panic - not syncing: Kernel exception

 

 

 

 

 

and after uclinux booted, I found lots of "fb_imageblit called... not implement" message, I commit this in bfin_ad7171fb_main.c, but have no idear whether I should implement this function.

 

who got any idear? plz help me.

 

thanks,

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-06-15 10:34:24     Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57314   

 

crash solved , that because I prss ctrl-c in jpegview, then when start framebuffer again, it crash.

 

but I still got nothing show on LCD.

TranslateQuoteReplyEditDelete

 

 

2008-06-15 22:43:05     Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57318   

 

I found that i2c seem don't work, I select i2c support and i2c device interface and i2c_gpio in menuconfig,

 

do I miss something? My board is ebf-561, with blackfin 561 and adv7171

 

here is my boot message.

 

# Booting image at 01000000 ...

   Image Name:   Linux-2.6.22.18-ADI-2008R1-svn

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2750811 Bytes =  2.6 MB

   Load Address: 00001000

   Entry Point:  0015a000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 15a000

Linux version 2.6.22.18-ADI-2008R1-svn (root@linux-4qmv) (gcc version 4.1.2 (ADI svn)) #277 Mon Jun 16 16:26:38 CST 2008

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Recovering from Watchdog event

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.3

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 540 MHz core clock and 90 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x000fd6e0

  rodata    = 0x000fe000-0x001478dc

  data      = 0x00148000-0x0015a000

    stack   = 0x00148000-0x0014a000

  init      = 0x0015a000-0x00561000

  bss       = 0x00561000-0x00573f14

  available = 0x00573f14-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=ttyBF0 ip=10.10.1.254:10.10.1.32:192.168.0.1:255.255.255.0:Eflag_LDS561:eth0:off:00:fe:df:35:48:19

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 51176k/65536k RAM, (4124k init code, 1009k kernel code, 446k data, 1024k dma, 7760k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 16 KB (7 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

efevm_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

BF561 Core B driver v0.1 initialized.

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin_ad7171_fb: initializing:

bfin_ad7171_fb_set_par called not implemented

bfin_ad7171_fb_fillrect called ... not implemented

bfin_ad7171_fb_pan_display called ... not implemented

bfin_ad7171_fb_fillrect called ... not implemented

Console: switching to colour frame buffer device 120x52

bfin_ad7171_fb_pan_display called ... not implemented

bfin_ad7171_fb_fillrect called ... not implemented

fb0: BFIN 7171 frame buffer device

fb memory address : 0x03200000

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton <andrewm@uow.edu.au>

eth%d: cs8900 rev K found at 0x2d400300

cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line

cs89x0 media RJ-45, IRQ 80, programmed I/O, MAC fe:de:ad:fa:ce:01

cs89x0_probe1() successful

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@16

i2c /dev entries driver

adv7171.c: starting probe for adapter i2c-gpio0 (0x0)

i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Freeing unused kernel memory: 4124k freed

dma_alloc_init: dma_page @ 0x0055e000 - 256 pages at 0x03f00000

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

                                - http://www.eflagtech.com

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-06-15 20:54:23 CST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:~>

 

TranslateQuoteReplyEditDelete

 

 

2008-06-15 23:32:52     Re: Framebuffer driver for ADV7171

Bryan Wu (CHINA)

Message: 57319   

 

---

 

i2c /dev entries driver

adv7171.c: starting probe for adapter i2c-gpio0 (0x0)

i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)

 

---

 

This message indicates your i2c-gpio driver is ok.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-06-16 00:02:14     Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57320   

 

thank Bryan for response.

 

But after starting probe:

 

printk(KERN_NOTICE

  "adv7171.c: starting probe for adapter %s (0x%x)\n",

  I2C_NAME(adapter), adapter->id);

return i2c_probe(adapter, &addr_data, &adv7171_detect_client);

 

adv7171_detect_client should be called if any client found, but I NEVER got the following message:

 

printk(KERN_NOTICE

        "adv7171.c: detecting adv7171 client on address 0x%x\n",

        address << 1);

 

this line is in the function  ------  static int adv7171_detect_client

 

so I think i2c dosen't find any match client.

 

do I have to alter fbmem.c to register something?

 

thanks & best regards,

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-06-16 05:16:05     Re: Framebuffer driver for ADV7171

Mike Frysinger (UNITED STATES)

Message: 57336   

 

if your probe function isnt being called then either you've selected the wrong two gpio pins or your driver isnt declaring things correctly

 

please review: http://docs.blackfin.uclinux.org/doku.php?id=i2c

QuoteReplyEditDelete

 

 

2008-06-16 23:48:02     回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57355   

 

Mike,

 

I've got a BF561-ezkit board, I'm working on that from yesterday, so I haven't test your suggestions, but still very appreciated.

 

I download an ad7179 driver from this forum, post by Alex, and compile it into uclinux-dist-2008r1-rc8 src tree, all compilation is fine, but during kernel booting, it get stuck here:

 

Image Name:   Linux-2.6.22.18-ADI-2008R1-svn

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2791611 Bytes =  2.7 MB

   Load Address: 00001000

   Entry Point:  001ec000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 1ec000

﨤inux version 2.6.22.18-ADI-2008R1-svn (root@linux-4qmv) (gcc version 4.1.2 (ADI svn)) #43 Tue Jun 17 11:26:22 CST 2008

Hardware Trace Active and Enabled

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Reset caused by Software reset

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.3

Warning: Compiled for Rev 3, but running on Rev 5

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 600 MHz core clock and 100 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x0016ded0

  rodata    = 0x0016e000-0x001d5bac

  data      = 0x001d6000-0x001ec000

    stack   = 0x001d6000-0x001d8000

  init      = 0x001ec000-0x00550000

  bss       = 0x00550000-0x00568b08

  available = 0x00568b08-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw console=ttyBF0,57600 ip=10.10.1.254:10.10.1.32:10.10.1.1:255.255.255.0:ezkit561:eth0:off

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 51220k/65536k RAM, (3472k init code, 1459k kernel code, 603k data, 1024k dma, 7760k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 16 KB (8 KB free)

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

NET: Registered protocol family 23

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

BF561 Core B driver v0.1 initialized.

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

yaffs Jun 17 2008 10:31:27 Installing.

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin_ad7179_fb: initializing:

 

 

 

I used to think using bf561-ezkit will be more convenient, but it still doesn't work, where can I find a ad7179 driver for bf561-ezkit?

 

thanks a lot!

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-06-17 01:14:08     回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57357   

 

kernel blocks on:

 

if (register_framebuffer(bfin_ad7179_fb) < 0)

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-06-17 03:01:00     回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57359   

 

Hi Mike,

 

I've altered i2c file, and successfully  got following messages:

 

adv7171.c: starting probe for adapter i2c-gpio0 (0x0)

adv7171.c: detecting adv7171 client on address 0x54

adv7171_attach: rev. 0 at 0x54

i2c-gpio i2c-gpio.0: using pins 15 (SDA) and 14 (SCL)

 

but I still got lots of fb_imageblit called... not implement message, and when I run video_test, I got nothing show on my monitor.

 

plz help.

 

thanks & regards,

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-06-17 03:57:23     回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57365   

 

I found that kernel is not halt (in 7179 driver), there has no output from UART because kernel start framebuffer console!

 

my monitor 640x480 LCD with AV in, turned to black background, but no characters output.

 

how to solve this? my bootargs is set to: root=/dev/mtdblock0 rw console=ttyBF0,57600, I don't add console=tty0, why fb console auto comes out?

 

Leslie

 

 

TranslateQuoteReplyEditDelete

 

 

2008-06-17 05:38:57     Re: 回复: Re: Framebuffer driver for ADV7171

Yi Li (CHINA)

Message: 57401   

 

How do you know "there has no output from UART because kernel start framebuffer console"?

So it looks your FB driver is OK?

 

For frambuffer console, you can refer to here: http://docs.blackfin.uclinux.org/doku.php?id=the_framebuffer_console.

 

 

QuoteReplyEditDelete

 

 

2008-06-17 06:32:49     回复: Re: 回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57404   

 

to Yi,

 

my monitor, before kernel starting, it has blue background color, when "framebuffer initializing... "appears, I get no more message from UART, and monitor's background color turned to black, but no characters show on it ( I have include a font build into kernel), only black.

TranslateQuoteReplyEditDelete

 

 

2008-06-17 07:28:24     回复: Re: 回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57406   

 

and if I exclude "framebuffer console support", I can have kernel boot to command line, when I run video_test or jpegview,  screen just  shake for a while, nothing showed.

TranslateQuoteReplyEditDelete

 

 

2008-06-17 13:57:33     Re: Framebuffer driver for ADV7171

Justin Wetherell (UNITED STATES)

Message: 57419   

 

Where did you get the 7171 driver from? I don't see it in the 2008R1-RC8 drop.

QuoteReplyEditDelete

 

 

2008-06-17 21:16:15     回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57435   

 

I copied 7171 driver from 2007-dist.

TranslateQuoteReplyEditDelete

 

 

2008-06-17 21:21:59     回复: Re: 回复: Re: Framebuffer driver for ADV7171

Leslie Li (CHINA)

Message: 57436   

 

Do I miss something in menuconfig or jumper set? I set jumpers just following video in-out example applied by VisualDSP.

 

I don't include PPI driver in menuconfig, do I have to?

 

Leslie

Attachments

    Outcomes