dts,i2c,pcf8574 on Xilinx XUP

ST st at iss.tu-darmstadt.de
Fri Apr 2 09:42:07 EST 2010


Hi Wolfram

Thanks for your reply.
> Is there any output before the crash? Also, the complete device tree and
> bootlog may be useful.
Ups, forgot to attach.

The bootlog is below. There is no output or error msg of the kernel.
Its just gone: no network no nothing. There is a jtag interface but 
i haven't figured out how to use that.

There is only one pcf8574 connected to the i2c bus and nothing else, so
i think that dumping the i2c bus should do no harm?

Best regards
ST
 
zImage starting: loaded at 0x00400000 (sp: 0x004f9fb0)                                         
Allocating 0x220e61 bytes for kernel ...                                                       
gunzipping (0x00000000 <- 0x0040d000:0x004f8ac0)...done 0x20399c bytes                         

Linux/PowerPC load: console=ttyUL0 root=/dev/xsa2 init=/usr/sbin/init
Finalizing device tree... flat tree at 0x506300                      
[    0.000000] Using Xilinx Virtex machine description               
[    0.000000] Linux version 2.6.32 (tstone at ligeia) (gcc version 4.3.2 
(OSELAS.Toolchain-trunk) ) #2 Thu Apr 1 23:19:08 CEST 2010                                                                                                     
[    0.000000] Zone PFN ranges:                                                                                    
[    0.000000]   DMA      0x00000000 -> 0x00010000                                                                 
[    0.000000]   Normal   0x00010000 -> 0x00010000                                                                 
[    0.000000] Movable zone start PFN for each node                                                                
[    0.000000] early_node_map[1] active PFN ranges                                                                 
[    0.000000]     0: 0x00000000 -> 0x00010000                                                                     
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts                                          
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 65024                          
[    0.000000] Kernel command line: console=ttyUL0 root=/dev/xsa2 
init=/usr/sbin/init                              
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)                                                 
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)                                     
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)                                       
[    0.000000] Memory: 257408k/262144k available (1928k kernel code, 4452k 
reserved, 136k data, 115k bss, 104k init)                                                                                                                  
[    0.000000] Kernel virtual memory layout:                                                                       
[    0.000000]   * 0xffffe000..0xfffff000  : fixmap                                                                
[    0.000000]   * 0xfde00000..0xfe000000  : consistent mem                                                        
[    0.000000]   * 0xfde00000..0xfde00000  : early ioremap                                                         
[    0.000000]   * 0xd1000000..0xfde00000  : vmalloc & ioremap                                                     
[    0.000000] Hierarchical RCU implementation.                                                                    
[    0.000000] NR_IRQS:512                                                                                         
[    0.000000] clocksource: timebase mult[1400000] shift[22] registered                                            
[    0.000000] Console: colour dummy device 80x25                                                                  
[2797861247.029784] Mount-cache hash table entries: 512                                                            
[2797861247.038137] NET: Registered protocol family 16                                                             
[2797861247.097587] bio: create slab <bio-0> at 0                                                                  
[2797861247.103850] XGpio: /plb at 0/gpio at 81460000: registered                                                        
[2797861247.105898] XGpio: /plb at 0/gpio at 81440000: registered                                                        
[2797861247.107782] XGpio: /plb at 0/gpio at 81420000: registered                                                        
[2797861247.109683] XGpio: /plb at 0/gpio at 81400000: registered                                                        
[2797861247.121074] Switching to clocksource timebase                                                              
[2797861247.123476] Switched to NOHz mode on CPU #0                                                                
[2797861247.138696] NET: Registered protocol family 2                                                              
[2797861247.139221] IP route cache hash table entries: 2048 (order: 1, 8192 
bytes)                                 
[2797861247.140429] TCP established hash table entries: 8192 (order: 4, 65536 
bytes)                               
[2797861247.142396] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)                                      
[2797861247.143266] TCP: Hash tables configured (established 8192 bind 8192)                                       
[2797861247.143332] TCP reno registered                                                                            
[2797861247.144436] NET: Registered protocol family 1                                                              
[2797861247.183657] msgmni has been set to 503                                                                     
[2797861247.184102] io scheduler noop registered (default)                                                         
[2797861247.184174] io scheduler anticipatory registered                                                           
[2797861247.343035] 84000000.serial: ttyUL0 at MMIO 0x84000003 (irq = 16) is a 
uartlite                            
[2797861247.584681] console [ttyUL0] enabled                                                                       
[2797861247.695229] brd: module loaded
[2797861247.701082] xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12
[2797861247.707889] xsysace 83600000.sysace: capacity: 15858864 sectors
[2797861247.714109]  xsa: xsa1 xsa2
[2797861247.733755] Xilinx SystemACE device driver, major=254
[2797861247.741455] xilinx-xps-spi 81818000.xps-spi: at 0x81818000 mapped to 
0xD101A000, irq=18
[2797861247.761947] xilinx_emaclite 81000000.ethernet: Device Tree Probing
[2797861247.768077] xilinx_emaclite 81000000.ethernet: MAC address is now  2: 
0: 0: 0: 0: 0
[2797861247.778109] xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 
0x81000000 mapped to 0xD10A0000, irq=19
[2797861247.801825] mice: PS/2 mouse device common for all mice
[2797861247.810511] i2c /dev entries driver
[2797861247.817952] Device Tree Probing 'i2c'
[2797861247.830658]  #0 at 0x81600000 mapped to 0xD10C0000, irq=20
[2797861247.838743] pcf857x: probe of 0-0020 failed with error -22
[2797861247.845166] TCP cubic registered
[2797861247.847830] NET: Registered protocol family 17
[2797861247.860624] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[2797861247.882998] VFS: Mounted root (ext2 filesystem) readonly on device 
254:2.
[2797861247.889377] Freeing unused kernel memory: 104k init
cat: /proc/cmdline: No such file or directory
[2797861250.818870] EXT2-fs warning: mounting unchecked fs, running e2fsck is 
recommended
mounting filesystems...done.
running rc.d services...
starting udev
mounting tmpfs at /dev
creating static nodes
starting udevd...done
waiting for devices...done
syslogd starting
Starting system message bus: dbus.
starting sshd...done
starting network interfaces...
lighttpd: starting
lighttpd: done
/bin/sh: exec: line 1: /etc/init.d/rc: not found

xup login: root
root at xup:~ i2cd
i2cdetect  i2cdump
root at xup:~ i2cd
i2cdetect  i2cdump
root at xup:~ i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtex405-xup.dts
Type: text/x-csrc
Size: 7265 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100402/ddd315eb/attachment.c>


More information about the Linuxppc-dev mailing list