This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教:dm6467的I2C出错DaVinci I2C WARNING: i2c: NACK detected!

Other Parts Discussed in Thread: TVP5158, THS8200

各位朋友,这个问题已经困扰我好几天了,希望大家帮忙。我自己做了一块dm6467的板子,主频为729,tvp5158+ths8200,在跑程序时i2c有问题。

(1)在Uboot下,prob器件地址,可以检测4个外围器件的地址如下
DM6467 EVM > i2c prob
Valid chip addresses: 20 2C 50 59
此时I2c的SCL 为80Kbps,此时i2c应该是好的。
(2)加载kernel时,打印信息如下,内核编译时我将i2c debug选项全部加了进去,提示i2c有问题,我用红色将i2c部分标记出来了,其中ths8200是视频输出芯片。
 
DRAM:  256 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 297MHz
DDR Clock :- 243MHz
Net:   Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot:  0
Using DaVinci EMAC device
TFTP from server 192.168.150.179; our IP address is 192.168.150.181
Filename 'uImage'.
Load address: 0x80000200
Loading: #################################################################
         #######################
done
Bytes transferred = 1284064 (1397e0 hex)
Automatic boot of image at addr 0x80000200 ...
## Booting kernel from Legacy Image at 80000200 ...
   Image Name:   Linux-2.6.10_mvl401-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1284000 Bytes =  1.2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
........................... done, booting the kernel.
Linux version 2.6.10_mvl401-davinci_evm-PSP_01_30_00_082 (root@localhost.localdo
main) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-06)) #54 Wed
 Oct 3 21:48:49 CDT 2012
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci DM6467 EVM
Memory policy: ECC disabled, Data cache writeback
DM6467
<7>On node 0 totalpages: 30720
<7>  DMA zone: 30720 pages, LIFO batch:7
<7>  Normal zone: 0 pages, LIFO batch:1
<7>  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: mem=120M console=ttyS0,115200n8 noinitrd rw ip=192.168.150.
181:255.255.255.0:192.168.150.1 root=/dev/nfs nfsroot=192.168.150.179:/root/armf
s,nolock davincihd_capture.channel0_numbuffers=4
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 120MB = 120MB total
<5>Memory: 118784KB available (2197K code, 474K data, 160K init)
<7>Calibrating delay loop... 249.85 BogoMIPS (lpj=1249280)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
<6>CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
<6>NET: Registered protocol family 16
<6>DaVinci: 48 gpio irqs
<6>Registering platform device 'serial8250.0'. Parent at platform
<6>Registering platform device 'musb_hdrc'. Parent at platform
<6>Registering platform device 'nand_davinci.0'. Parent at platform
<1>DaVinci I2C DEBUG: 21:48:41 Oct  3 2012
<7>i2c-core: driver Davinci I2C driver registered.
<7>i2c_adapter i2c-0: client [] registered to adapter
<7>registering 0-003a
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<7>i2c_adapter i2c-0: registered as adapter #0
<6>Registering platform device 'i2c'. Parent at platform
<5>ch0 default output "COMPONENT", mode "1080I-30"
<5>ch1 default output "", mode ""
Calling Add_Driver
<7>i2c-core: driver THS8200 encoder I2C driver registered.
Calling Attach Client
attach_client addr 20
<7>i2c_adapter i2c-0: client [] registered to adapter
<7>registering 0-0020
I2C Address 20
<6>i2c_adapter i2c-0: THS8200 encoder initialized
THS8200 Registered to the I2C Client
Resetting
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
Reading Register
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
SetMode
SetMode
1080I-30 Found
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
SetMode
SetMode
1080I-30 Found
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
SetMode
SetMode
1080I-30 Found
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<3>Setmode failed, reset to encoder default...
<7>i2c-core: unregister_driver - looking for clients.
<7>i2c_adapter i2c-0: examining adapter
<7>i2c-core.o: detaching client :
<7>i2c-core: driver unregistered: THS8200 encoder I2C driver
Calling Add_Driver
<7>i2c-core: driver THS8200 encoder I2C driver registered.
Calling Attach Client
attach_client addr 20
<7>i2c_adapter i2c-0: client [] registered to adapter
<7>registering 0-0020
I2C Address 20
<6>i2c_adapter i2c-0: THS8200 encoder initialized
THS8200 Registered to the I2C Client
Resetting
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
Reading Register
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
SetMode
SetMode
1080I-30 Found
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<5>SCSI subsystem initialized
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
<6>JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Sep 23 2012 10:56:29 Installing.
<6>Registering platform device 'DavinciHD_vdce.2'. Parent at platform
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
<6>Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654
adapter i2c-0: master_xfer: with 1 msgs.
SetMode
SetMode
1080I-30 Found
Setmode failed, reset to encoder default...
Calling Add_Driver
Calling Attach Client
attach_client addr 20
I2C Address 20
i2c_adapter i2c-0: THS8200 encoder initialized
THS8200 Registered to the I2C Client
Resetting
Reading Register
SetMode
SetMode
1080I-30 Found
SCSI subsystem initialized
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Sep 23 2012 10:56:29 Installing.
Registering platform device 'DavinciHD_vdce.2'. Parent at platform
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654
ttyS1ttyS1 at  at MMIO 0x1c20400MMIO 0x1c20400 (irq = 41) is a ST16650V2
 (irq = 41) is a ST16650V2
<6>io scheduler noop registered
io scheduler noop registered
<6>io scheduler anticipatory registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
<6>Registering platform device 'ti_davinci_emac'. Parent at platform
Registering platform device 'ti_davinci_emac'. Parent at platform
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
<7>i2c_adapter i2c-0: master_xfer: with 1 msgs.
TI DaVinci EMAC: MAC address is 00:00:00:00:00:00
TI DaVinci EMAC: MAC address is 00:00:00:00:00:00
TI DaVinci EMAC Linux version updated 5.0
TI DaVinci EMAC Linux version updated 5.0
TI DaVinci EMAC: Installed 1 instances.
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
netconsole: not configured, aborting
<6>i2c /dev entries driver
i2c /dev entries driver
<7>i2c-core: driver dev_driver registered.
<7>i2c_adapter i2c-0: Registered as minor 0
<6>Linux video capture interface: v1.00
Linux video capture interface: v1.00
<6>Registering platform device 'vpif capture.1'. Parent at platform
Registering platform device 'vpif capture.1'. Parent at platform
<6>Registering platform device 'vpif display.1'. Parent at platform
Registering platform device 'vpif display.1'. Parent at platform
<6>elevator: using anticipatory as default io scheduler
elevator: using anticipatory as default io scheduler
<6>nand_davinci nand_davinci.0: Using 1-bit hardware ECC
nand_davinci nand_davinci.0: Using 1-bit hardware ECC
<6>NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V
8-bit)
NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-b
it)
<6>Scanning device for bad blocks
Scanning device for bad blocks
<5>Creating 5 MTD partitions on "nand_davinci.0":
Creating 5 MTD partitions on "nand_davinci.0":
<5>0x00000000-0x00080000 : "bootloader"
0x00000000-0x00080000 : "bootloader"
<5>0x00080000-0x000a0000 : "params"
0x00080000-0x000a0000 : "params"
<5>0x000a0000-0x002a0000 : "kernel"
0x000a0000-0x002a0000 : "kernel"
<5>0x002a0000-0x006a0000 : "filesystem1"
0x002a0000-0x006a0000 : "filesystem1"
<5>0x006a0000-0x026a0000 : "filesystem2"
0x006a0000-0x026a0000 : "filesystem2"
<6>nand_davinci nand_davinci.0: hardware revision: 2.2
nand_davinci nand_davinci.0: hardware revision: 2.2
<6>mice: PS/2 mouse device common for all mice
mice: PS/2 mouse device common for all mice
<6>NET: Registered protocol family 2
NET: Registered protocol family 2
<6>IP: routing cache hash table of 512 buckets, 4Kbytes
IP: routing cache hash table of 512 buckets, 4Kbytes
<6>TCP: Hash tables configured (established 8192 bind 16384)
TCP: Hash tables configured (established 8192 bind 16384)
<6>NET: Registered protocol family 1
NET: Registered protocol family 1
<6>NET: Registered protocol family 17
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:IP-Config: Complete:
      device=eth0
      device=eth0, addr=192.168.150.181, addr=192.168.150.181, mask=255.255.255.
0, mask=255.255.255.0, gw=192.168.150.1, gw=192.168.150.1,
     host=192.168.150.181, domain=, nis-domain=(none),
     host=192.168.150.181, domain=, nis-domain=(none),
     bootserver=255.255.255.0,
     bootserver=255.255.255.0, rootserver=192.168.150.179, rootserver=192.168.15
0.179, rootpath=, rootpath=
<5>Looking up port of RPC 100003/2 on 192.168.150.179
Looking up port of RPC 100003/2 on 192.168.150.179
<5>Looking up port of RPC 100005/1 on 192.168.150.179
Looking up port of RPC 100005/1 on 192.168.150.179
VFS: Mounted root (nfs filesystem).
VFS: Mounted root (nfs filesystem).
<6>Freeing init memory: 160K
Freeing init memory: 160K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating module dependencies
WARNING: Couldn't open directory /lib/modules/2.6.10_mvl401-davinci_evm-PSP_01_3
0_00_082: No such file or directory
FATAL: Could not open /lib/modules/2.6.10_mvl401-davinci_evm-PSP_01_30_00_082/mo
dules.dep.temp for writing: No such file or directory
Loading modules:
Checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Mounting local filesystems: mount nothing was mounted
Cleaning: /tmp /var/lock /var/run done.
Setting up networking (ifupdown) ..
Cleaning: /etc/network/run/ifstate done.
Starting network interfaces: done.
Starting hotplug subsystem:
   pci
   pci      [success]
   usb
   usb      [success]
   isapnp
   isapnp   [success]
   ide
   ide      [success]
   input
   input    [success]
   scsi
   scsi     [success]
done.
Starting portmap daemon: portmap.
done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting NFS common utilities: statd lockd.
Starting internet superserver: inetd.
Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista Softw
are,Inc.
mvltd[976]: started on port 34577
.
MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980)
192.168.150.181 login:
(3)进入系统,运行视频采集程序提示如下:
root@192.168.150.181:/opt/tirvideo# ./mcvip_test.out
<4>DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
<4>DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
<3> i2c_transfer(0x58, 8)
 i2c_transfer(0x58, 8)
 ERROR  (mcvip_api.c|MCVIP_init|44): TVP5158_checkChipId(0xb0) i=0 j=0
 ERROR  (system.c|SYSTEM_init|60): MCVIP_init()
用示波器测试,SCL上有正确的时钟频率,SDA上也有信号,但从结果上来看,器件都没有收到信号。我使用了20,60,110,110,200,400kbps进行测试,问题依然存在。在网上找了些建议,但是都没有解决问题
望各位高手不吝赐教,十分感谢!
  • e2e.ti.com/.../32883.aspx

    you can disable RTC and have a try

  • 个人感觉好象是I2C的ADDR值不对,我在调试I2C驱动时候,也遇到过NACK的问题,但是就是I2C的addr值发的不正确

  • 谢谢两位的热心回答。这个问题已经解决。RTC已经屏蔽,确实如 wang chao说的,是因为i2c的地址有误。

    运行测试程序./mcvip_test.out

    看这一句i2c_transfer(0x58, 8),在这里出错,也就是发送数据给0x58的器件出错。程序设置tvp5158的地址为0x58,而后来我仔细检查在实际硬件设计中我的tvp5158地址为B2,右移一位为0x59,所以程序检测不到tvp5158.后来更改5158地址为B0(实际右移一位为58)问题得到解决。

    再次感谢两位!