Hi, Sorry for bothering you again - I will appreciate your opinion advise guidance. I'm trying to use the MPC I2C controller to generate I2C transactions,I use linux kernel,which config is CONFIG_UCODE_PATCH=y,CONFIG_I2C=y,CONFIG_I2C_ALGO8XX=y,CONFIG_I2C_CHARDEV=y,CONFIG_I2C_PROC=y.
I use XPC823EZT75B2 cpu,but when I start up the board,I found I2c driver huang the cpu. What is your interpretation of entries I found in the log buf with regards to I2C driver ? which is sleep,I2c can't tranimit,which can not interrupte.That is why? Best thanks to you! ## Booting image at 00200000 ... Image Name: Linux-2.4.18_tx200-1.0-SIDTEC Created: 2005-10-31 2:57:21 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 707422 Bytes = 690.8 kB Load Address: 00000000 Entry Point: 00000000 Uncompressing Kernel Image ... OK Linux version 2.4.18_tx200-1.0-SIDTEC (root at freepass) (gcc version 3.2.1 2002095I2C/SPI uCode patch installed rpxfb: allocated 118 pages for frame buffer On node 0 totalpages: 32768 zone(0): 32768 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=tty0 console=ttyS0,9600 root=/dev/nfs rw nfsroot=11 Decrementer Frequency = 240000000/60 Console: colour dummy device 80x25 Calibrating delay loop... 63.69 BogoMIPS Memory: 126816k available (1236k kernel code, 400k data, 76k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communication. i2c-core.o: i2c core module version 2.6.2 (20011118) i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) i2c-algo-8xx.o: i2c mpc8xx algorithm module version 2.6.2 (20011118) i2c-rpx.o: i2c MPC8xx module version 2.6.2 (20011118) i2c-algo-8xx.o: hw routines for m8xx registered. cpm_iic_init() - iip=fa202400 cpm_iic_init[125] Install ISR for IRQ 16 i2c-algo-8xx.o: scanning bus m8xx... iip fa202400, dp_addr 0x810 iic_tbase 2064, r_tbase 2064 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051104/266be3f5/attachment.htm