FAQ: [#6216] can't probe lcd device in i2c lcd driver testing on board bf527-ezkit-rev2.0(2010)

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

[#6216] can't probe lcd device in i2c lcd driver testing on board bf527-ezkit-rev2.0

Submitted By: angelia wu

Open Date

2010-08-31 03:59:28     Close Date

2010-09-14 06:46:28

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

EZKIT Lite

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

svn-4681

App binary format:

N/A     

Summary: can't probe lcd device in i2c lcd driver testing on board bf527-ezkit-rev2.0

Details:

 

can't probe lcd device in i2c lcd driver testing on board bf527-ezkit-rev2.0.

And the i2c driver test on other board bf537,bf 548 is OK.

 

the log as follow.

 

Welcome to minicom 2.3

 

OPTIONS: I18n

Compiled on Jul  5 2010, 13:36:15.

Port /dev/ttyS0

 

               Press CTRL-A Z for help on special keys

 

0

## Booting kernel from Legacy Image at 20100000 ...

   Image Name:   bf527-2.6.31.6-ADI-2010R1-pre-sv

   Created:      2009-11-26  12:04:45 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1671987 Bytes = 1.6 MiB

   Load Address: 00001000

   Entry Point:  00182808

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00182808

Linux version 2.6.31.6-ADI-2010R1-pre-svn7860 (test@uboot30-527ezkit) (gcc version 4.3.4 (ADI-trunk/svn-3679) ) #28 Thu Nov 26 12:04:32 GMT 2009

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001048b0

  rodata    = 0x001048b0-0x00155ea0

  bss       = 0x00156000-0x00166bf4

  data      = 0x00166bf4-0x00178000

    stack   = 0x00176000-0x00178000

  init      = 0x00178000-0x002d2000

  available = 0x002d2000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF527 Rev 0.2

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

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

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

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

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600

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

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

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

Memory available: 61052k/65536k RAM, (1384k init code, 1038k kernel code, 462k data, 1024k dma, 572k reserved)

NR_IRQS:119

Configuring Blackfin Priority Driven Interrupts

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1196.03 BogoMIPS (lpj=2392064)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

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

NET: Registered protocol family 1

msgmni has been set to 119

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=9)@sclk=50MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

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

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

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

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

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-05 20:24:09 UTC (419049)

Freeing unused kernel memory: 1384k freed

dma_alloc_init: dma_page @ 0x022de000 - 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

 

Have a lot of fun...

 

 

BusyBox v1.15.2 (2009-11-25 14:23:34 GMT) hush - the humble shell

 

root:/> modprobe bfin_twi_lcd 

modprobe: module bfin_twi_lcd not found in modules.dep

root:/> cd /sys/bus/i2c/devices

root:/sys/bus/i2c/devices> ls

root:/sys/bus/i2c/devices> ls

root:/sys/bus/i2c/devices>

 

Follow-ups

 

--- steven miao                                              2010-09-14 04:47:12

It works, maybe build script for BF527-EZKIT-V2 should update.

 

--- angelia wu                                               2010-09-14 06:46:28

yes, i test it again and now it indeed works.

so i closed the bug and thank you steven miao.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

kernel.527i2c_lcd.config    application/x-config    48681    angelia wu

user.527i2c_lcd.config    application/x-config    48796    angelia wu

Outcomes