AnsweredAssumed Answered

bf609 expansion Board adv7511 bfin_display test

Question asked by alen on Aug 11, 2013
Latest reply on Aug 14, 2013 by Aaronwu

hi,adi's experts

     I use adv7511 the hdmi as ouput, I have configured the kernel as required, but when the compiler is completed, the system starts, and is not registered video under /dev Directory.

 

root:/> dmesg

Linux version 3.5.7-ADI-2012R2 (root@louie) (gcc version 4.3.5 (ADI-2012R2-RC2) ) #56 Mon Aug 12 11:19:21 CST 2013

register early platform devices

bootconsole [early_shadow0] enabled

ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0

Board Memory: 128MB

Kernel Managed Memory: 124MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001b3170

  rodata    = 0x001b3194-0x0024579c

  bss       = 0x00246000-0x00259308

  data      = 0x00259320-0x00286000

    stack   = 0x00284000-0x00286000

  init      = 0x00286000-0x00ba2000

  available = 0x00ba2000-0x05c00000

  DMA Zone  = 0x05c00000-0x07c00000

Hardware Trace active and enabled

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

Compiled for ADSP-BF609 Rev 0.0

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

Processor Speed: 500 MHz core clock, 250 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK

boot memmap: 0000000000ba2000 - 0000000005c00000 (usable)

On node 0 totalpages: 23552

free_area_init_node: node 0, pgdat 00282a58, node_mem_map 00ba4000

  DMA zone: 184 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 23368 pages, LIFO batch:0

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-through) in data cache

  L2 SRAM        : uncacheable in data cache

pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

pcpu-alloc: [0] 0

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 23368

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial ,uart0,57600 console=ttyBF0,57600 mem=124M max_mem=128M icc_l2_mem=0x8000

PID hash table entries: 512 (order: -1, 2048 bytes)

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

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

Kernel managed physical pages: 23552

Memory available: 81384k/126976k RAM, (9328k init code, 1736k kernel code, 844k data, 32768k dma, 916k reserved)

NR_IRQS:291

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

devtmpfs: initialized

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (9 KB free)

Blackfin L1 Data B SRAM: 32 KB (32 KB free)

Blackfin L1 Instruction SRAM: 64 KB (50 KB free)

Blackfin L2 SRAM: 256 KB (224 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

ezkit_init(): request emac pins failed

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: master is unqueued, this is deprecated

bfin-spi bfin-spi.0: bfin-spi probe success

bfin-spi bfin-spi.1: master is unqueued, this is deprecated

bfin-spi bfin-spi.1: bfin-spi probe success

i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00

i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00

Linux media interface: v0.10

Linux video capture interface: v2.00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

NET: Registered protocol family 23

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

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

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP: reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

msgmni has been set to 158

io scheduler noop registered (default)

dma_alloc_init: dma_page @ 0x032e7000 - 8192 pages at 0x05c00000

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88) is a BFIN-UART

physmap platform flash device: 01000000 at b0000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

erase region 0: offset=0x0,size=0x8000,blocks=4

erase region 1: offset=0x20000,size=0x20000,blocks=127

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000080000 : "bootloader(nor)"

0x000000080000-0x000000480000 : "linux kernel(nor)"

0x000000480000-0x000001000000 : "file system(nor)"

m25p80 spi0.1: w25q32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p80":

0x000000000000-0x000000080000 : "bootloader(spi)"

0x000000080000-0x000000200000 : "linux kernel(spi)"

0x000000200000-0x000000400000 : "file system(spi)"

CAN device driver interface

bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)

        DWMAC100

No HW DMA feature register supported

Enhanced/Alternate descriptors

RX IPC Checksum Offload not configured.

stmmac_dvr_probe: warning: cannot get CSR clock

stmmac: probed

eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active

input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

i2c /dev entries driver

lirc_dev: IR Remote Control driver registered, major 250

IR NEC protocol handler initialized

IR RC5(x) protocol handler initialized

IR RC6 protocol handler initialized

IR JVC protocol handler initialized

IR Sony protocol handler initialized

IR RC5 (streamzap) protocol handler initialized

IR SANYO protocol handler initialized

IR MCE Keyboard/mouse protocol handler initialized

IR LIRC bridge handler initialized

Hardware Trace:

   0 Target : <0x001b2e24> { _dump_stack + 0x0 }

     Source : <0x00005530> { _peripheral_request + 0x1b0 } JUMP.L

   1 Target : <0x00005522> { _peripheral_request + 0x1a2 }

     Source : <0x000054a6> { _peripheral_request + 0x126 } IF !CC JUMP pcrel

   2 Target : <0x000054a4> { _peripheral_request + 0x124 }

     Source : <0x000051c6> { _cmp_label + 0x22 } RTS

   3 Target : <0x000051c2> { _cmp_label + 0x1e }

     Source : <0xffa01944> { _strcmp + 0x14 } RTS

   4 Target : <0xffa01942> { _strcmp + 0x12 }

     Source : <0xffa0193a> { _strcmp + 0xa } IF !CC JUMP pcrel

   5 Target : <0xffa01930> { _strcmp + 0x0 }

     Source : <0x000051be> { _cmp_label + 0x1a } CALL pcrel

   6 Target : <0x000051a4> { _cmp_label + 0x0 }

     Source : <0x000054a0> { _peripheral_request + 0x120 } JUMP.L

   7 Target : <0x0000549c> { _peripheral_request + 0x11c }

     Source : <0x0000558e> { _peripheral_request + 0x20e } JUMP.S

   8 Target : <0x00005588> { _peripheral_request + 0x208 }

     Source : <0x00005470> { _peripheral_request + 0xf0 } IF CC JUMP pcrel

   9 Target : <0x0000546e> { _peripheral_request + 0xee }

     Source : <0x000053ea> { _peripheral_request + 0x6a } IF !CC JUMP pcrel

  10 Target : <0x000053a4> { _peripheral_request + 0x24 }

     Source : <0x0000539e> { _peripheral_request + 0x1e } IF CC JUMP pcrel

  11 Target : <0x0000539a> { _peripheral_request + 0x1a }

     Source : <0x0000538e> { _peripheral_request + 0xe } IF CC JUMP pcrel

  12 Target : <0x00005380> { _peripheral_request + 0x0 }

     Source : <0x000055b4> { _peripheral_request_list + 0x24 } JUMP.L

  13 Target : <0x000055b2> { _peripheral_request_list + 0x22 }

     Source : <0x000055a2> { _peripheral_request_list + 0x12 } JUMP.S

  14 Target : <0x00005590> { _peripheral_request_list + 0x0 }

     Source : <0x0012c570> { _ppi_create_instance + 0x28 } JUMP.L

  15 Target : <0x0012c560> { _ppi_create_instance + 0x18 }

     Source : <0x0012c552> { _ppi_create_instance + 0xa } IF !CC JUMP pcrel

Stack info:

SP: [0x0201fcfc] <0x0201fcfc> /* kernel dynamic memory */

FP: (0x0201fe34)

Memory from 0x0201fcf0 to 02020000

0201fcf0: 00000010  0201fcfc  00000000 [0201fd28] 0201fd28  00005534  00000000  00008200

0201fd10: 0201d30c  002631e8  0201d314  002631b4  00000001  0000ffff  0201fd58  000055b8

0201fd30: 001b3c54  036d1400  00253cac  00000000  001b3c40  0021c5f0  00000000  0201fd98

0201fd50: 000ab1d6  02009824  0201fd7c  0012c574  002610e8  00261124  001b3c40  0027d248

0201fd70: 036ca7e0  0201fe34  001b224c  0201fe34  001b2262  00261124  00261600  036ddf48

0201fd90: 0201fe0c  00000000  0201fdcc  00088342  036ddf48  002517e4  00000008  0201fdcc

0201fdb0: 000889da  0008825e  036ddf48  0201fe0c  00000000  0201fdc8  00000763  0201fe14

0201fdd0: 00088fce  0201fe0c  036ddf48  02052508  00000000  036ca7e0  0000000f  00000000

0201fdf0: 0201fdf4  00000761  0201fe30  00088b52  036ce108  036ca7e0  036ca7e0  02052508

0201fe10: 00000000  0201fe44  000890f8  002610f0  0027d248  00253cac  00000000  002610f8

0201fe30: 0027d248 (0201fe64)<000dbcf4> 002610f0  0027d248  00253cac  00261124  0201fec0

0201fe50: 0027d248  00000000  0201fe7c  000dac20  002610f0 (0201fe7c)<000dac38> 036ca7e0

0201fe70: 0027d248  0201fe88  ffa02294 (0201fea0) 000dadd8  002610f0  0027d248  036ca7e0

0201fe90: 00261124  00000000  0201fec4  000ac030 (0201fec8)<000d9a6c> 000dad74  0027d248

0201feb0: 00000000  0000003c  0201fee8  000ac962  0201c60c  02053e70 (0201fef0) 000daaee

0201fed0: 00271880  00000007  00246010  00000000  0201ff0c  0201ff08  0201ff0c  000dad74

0201fef0:(0201ff0c) 000da11e  00112500  001f9598  0201ff20  001f9598  001fd258 (0201ff38)

0201ff10: 000db2d8  002a0548  00293774  0027d248  00000007  00246010  0000003c  002a053c

0201ff30: 0201ff58  00112500 (0201ff60) 000dc03c  002a0548  00293774  00246008  00000007

0201ff50: 00246010  00000000  0201ff74  0029376e (0201ff74) 00293784  0201ff90  00000001

0201ff70: 00000000 (0201ff90)<00001106> 00000000  00000000  00000000  00000006  00000006

0201ff90:(0201ffd0) 00286266  002a0548  0029a868  0029a848  00000007  00246010  0000003c

0201ffb0: 0028610c  00215828  00000000  002453d8  0000003c  00000006  00000006  0028610c

0201ffd0:(00000000)<000015e6> 00000000  00000000  00000000  00000000  00000000  00000000

0201fff0: 00000000  00000000  ffffffff  00002806

Return addresses in stack:

   frame  1 : <0x000dbcf4> { _platform_drv_probe + 0x14 }

   frame  2 : <0x000dac38> { _driver_probe_device + 0x64 }

   frame  4 : <0x000d9a6c> { _bus_for_each_dev + 0x48 }

   frame 10 : <0x00001106> { _do_one_initcall + 0x106 }

   frame 12 : <0x000015e6> { _kernel_thread_helper + 0x6 }

peripheral_request: Peripheral 0 function 1 is already reserved by smc0 !

request peripheral failed

bfin_display: Unable to create ppi

bfin_wdt: initialized: timeout=20 sec (nowayout=0)

icc icc.0: initialized

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

Freeing unused kernel memory: 9328k freed

eth0: device MAC address 02:80:ad:20:31:e8

No MAC Management Counters available

PHY: stmmac-0:01 - Link is Up - 100/Full

root:/>

Outcomes