I'm sorry, here the serial numbers corrected:

D01021016 OK
D01021004 OK
D01020977 nok
D01021002 OK


I don't know if could be significant that the problem occurs only on
the "D01020" series...

Andrea

2014-11-19 16:04 GMT+01:00 Andrea Mattana <[email protected]>:
> Hi all,
> I did just few tests, it seems the problem is not related to the FTDI
> USB cable, I just boot up two roach boards and copied what is shown by
> the dmesg cmd connecting to the boards via SSH, the USB cable has been
> left unplugged. Unfortunately I won't test the i2c clock as suggested
> by Bob because our oscilloscope is busy this week (and anyway, where
> is a testpoint where I can see that clock?).
> These results are repeatable and determistic.
>
> I this may help, the board that fails has serial number D01021016,
> while the others working well have D01021004, D010210977 and
> D010210042.
>
> Here follow what dmesg shows on a working roach board:
>
> root@roach-2-a:~# dmesg
> roach2: claiming matching platform
> Using PowerPC 44x Platform machine description
> Linux version 3.7.0-rc2+ (shanly@shanly-HP8710w) (gcc version 4.6.1
> 20110627 (prerelease) (GCC) ) #21 Mon Nov 19 09:30:32 SAST 2012
> Found legacy serial port 0 for /plb/opb/serial@ef600300
>   mem=1ef600300, taddr=1ef600300, irq=0, clk=5555555, speed=115200
> Found legacy serial port 1 for /plb/opb/serial@ef600400
>   mem=1ef600400, taddr=1ef600400, irq=0, clk=5555555, speed=0
> bootconsole [udbg0] enabled
> Top of RAM: 0x30000000, Total RAM: 0x30000000
> Memory hole size: 0MB
> Zone ranges:
>   DMA      [mem 0x00000000-0x2fffffff]
>   Normal   empty
> Movable zone start for each node
> Early memory node ranges
>   node   0: [mem 0x00000000-0x2fffffff]
> On node 0 totalpages: 196608
> free_area_init_node: node 0, pgdat c0439984, node_mem_map c0975000
>   DMA zone: 1536 pages used for memmap
>   DMA zone: 0 pages reserved
>   DMA zone: 195072 pages, LIFO batch:31
> MMU: Allocated 1088 bytes of context maps for 255 contexts
> pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> pcpu-alloc: [0] 0
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
> Kernel command line: console=ttyS0,115200 root=/dev/nfs
> rootpath=192.168.10.4:/roach2/current,nolock ip=dhcp
> PID hash table entries: 4096 (order: 2, 16384 bytes)
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> Memory: 774576k/786432k available (4176k kernel code, 11856k reserved,
> 208k data, 417k bss, 144k init)
> Kernel virtual memory layout:
>   * 0xfffdf000..0xfffff000  : fixmap
>   * 0xfde00000..0xfe000000  : consistent mem
>   * 0xfddfe000..0xfde00000  : early ioremap
>   * 0xf1000000..0xfddfe000  : vmalloc & ioremap
> SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> NR_IRQS:512 nr_irqs:512 16
> UIC0 (32 IRQ sources) at DCR 0xc0
> UIC1 (32 IRQ sources) at DCR 0xd0
> UIC2 (32 IRQ sources) at DCR 0xe0
> time_init: decrementer frequency = 533.333328 MHz
> time_init: processor frequency   = 533.333328 MHz
> clocksource: timebase mult[1e00000] shift[24] registered
> clockevent: decrementer mult[88888872] shift[32] cpu[0]
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 512
> regulator-dummy: no parameters
> NET: Registered protocol family 16
> bio: create slab <bio-0> at 0
> SCSI subsystem initialized
> Switching to clocksource timebase
> NET: Registered protocol family 2
> TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
> TCP: Hash tables configured (established 131072 bind 65536)
> TCP: reno registered
> UDP hash table entries: 512 (order: 1, 8192 bytes)
> UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
> NET: Registered protocol family 1
> RPC: Registered named UNIX socket transport module.
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> squashfs: version 4.0 (2009/01/31) Phillip Lougher
> jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> ROMFS MTD (C) 2007 Red Hat, Inc.
> msgmni has been set to 1512
> alg: No test for stdrng (krng)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
> serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16) is a 16550A
> console [ttyS0] enabled, bootconsole disabled
> serial8250.0: ttyS1 at MMIO 0x1ef600400 (irq = 17) is a 16550A
> roach2_fpga: ROACH2 FPGA Access driver
> roach2:  major 252Virtex 5 family
> roach2_fpga 1d0000000.fpga: ROACH2 FPGA driver
> roach2_fpga 1d0000000.fpga: check parameters,addr:0x1d0000000,size:0x4000000
> roach2_fpga 1d0000000.fpga: ioremap 1d0000000 to f1080000 with size 4000000
> roach2_fpga 1d0000000.fpga: ioremap 1c0100000 to f5100000 with size 200000
> roach2_fpga 1d0000000.fpga: char devices successfully registered
> brd: module loaded
> 1f8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank.
> Manufacturer ID 0x000001 Chip ID 0x002801
> Amd/Fujitsu Extended Query Table at 0x0040
>   Amd/Fujitsu Extended Query version 1.3.
> number of CFI chips: 1
> 6 ofpart partitions found on MTD device 1f8000000.nor_flash
> Creating 6 MTD partitions on "1f8000000.nor_flash":
> 0x000000000000-0x000000400000 : "kernel"
> 0x000000400000-0x000004400000 : "rootfs"
> 0x000004400000-0x000007400000 : "userfs"
> 0x000007400000-0x000007f00000 : "v6bitstream"
> 0x000007f40000-0x000007f80000 : "ubootenv"
> 0x000007f80000-0x000008000000 : "uboot"
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
> PPC 4xx OCP EMAC driver, version 3.54
> MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
> ZMII /plb/opb/emac-zmii@ef600d00 initialized
> RGMII /plb/opb/emac-rgmii@ef601000 initialized with MDIO support
> /plb/opb/emac-rgmii@ef601000: input 0 in RGMII mode
> eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 02:44:01:02:0a:02
> eth0: found Marvell 88E1111 Ethernet PHY (0x01)
> PPP generic driver version 2.4.2
> mousedev: PS/2 mouse device common for all mice
> r2case_probe:node name:/plb/opb/r2chassis
> input: roach2chassis as /devices/virtual/input/input0
> r2case_probe: init successful
> ibm-iic 1ef600700.i2c: using standard (100 kHz) mode
> ibm-iic 1ef600800.i2c: using standard (100 kHz) mode
> ad7414 0-004c: chip found
> ad7414 0-004e: chip found
> max6650 0-0048: Fan voltage is set to 12V.
> max6650 0-0048: Prescaler is set to 4.
> max6650 0-004b: Fan voltage is set to 12V.
> max6650 0-004b: Prescaler is set to 4.
> max6650 0-001b: Fan voltage is set to 12V.
> max6650 0-001b: Prescaler is set to 4.
> max6650 0-001f: Fan voltage is set to 12V.
> max6650 0-001f: Prescaler is set to 4.
> cpuidle: using governor ladder
> cpuidle: using governor menu
> IPv4 over IPv4 tunneling driver
> TCP: cubic registered
> NET: Registered protocol family 17
> Key type dns_resolver registered
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> ### of_selftest(): No testcase data in device tree; not running tests
> eth0: link is down
> eth0: link is up, 100 FDX, pause enabled
> Sending DHCP requests ., OK
> IP-Config: Got DHCP answer from 192.168.10.4, my address is 192.168.10.121
> IP-Config: Complete:
>      device=eth0, addr=192.168.10.121, mask=255.255.255.0, gw=255.255.255.255
>      host=roach-2-a, domain=, nis-domain=(none)
>      bootserver=192.168.10.4, rootserver=192.168.10.4,
> rootpath=/roach2/current,nolock
>      nameserver0=192.168.10.4<6>VFS: Mounted root (nfs filesystem)
> readonly on device 0:11.
> Freeing unused kernel memory: 144k freed
> root@roach-2-a:~#
>
>
> and what is shown on the interested board:
>
> root@roach-2-b:~# dmesg
> roach2: claiming matching platform
> Using PowerPC 44x Platform machine description
> Linux version 3.7.0-rc2+ (shanly@shanly-HP8710w) (gcc version 4.6.1
> 20110627 (prerelease) (GCC) ) #21 Mon Nov 19 09:30:32 SAST 2012
> Found legacy serial port 0 for /plb/opb/serial@ef600300
>   mem=1ef600300, taddr=1ef600300, irq=0, clk=5555555, speed=115200
> Found legacy serial port 1 for /plb/opb/serial@ef600400
>   mem=1ef600400, taddr=1ef600400, irq=0, clk=5555555, speed=0
> bootconsole [udbg0] enabled
> Top of RAM: 0x30000000, Total RAM: 0x30000000
> Memory hole size: 0MB
> Zone ranges:
>   DMA      [mem 0x00000000-0x2fffffff]
>   Normal   empty
> Movable zone start for each node
> Early memory node ranges
>   node   0: [mem 0x00000000-0x2fffffff]
> On node 0 totalpages: 196608
> free_area_init_node: node 0, pgdat c0439984, node_mem_map c0975000
>   DMA zone: 1536 pages used for memmap
>   DMA zone: 0 pages reserved
>   DMA zone: 195072 pages, LIFO batch:31
> MMU: Allocated 1088 bytes of context maps for 255 contexts
> pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> pcpu-alloc: [0] 0
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
> Kernel command line: console=ttyS0,115200 root=/dev/nfs
> rootpath=192.168.10.4:/roach2/current,nolock ip=dhcp
> PID hash table entries: 4096 (order: 2, 16384 bytes)
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> Memory: 774576k/786432k available (4176k kernel code, 11856k reserved,
> 208k data, 417k bss, 144k init)
> Kernel virtual memory layout:
>   * 0xfffdf000..0xfffff000  : fixmap
>   * 0xfde00000..0xfe000000  : consistent mem
>   * 0xfddfe000..0xfde00000  : early ioremap
>   * 0xf1000000..0xfddfe000  : vmalloc & ioremap
> SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> NR_IRQS:512 nr_irqs:512 16
> UIC0 (32 IRQ sources) at DCR 0xc0
> UIC1 (32 IRQ sources) at DCR 0xd0
> UIC2 (32 IRQ sources) at DCR 0xe0
> time_init: decrementer frequency = 533.333328 MHz
> time_init: processor frequency   = 533.333328 MHz
> clocksource: timebase mult[1e00000] shift[24] registered
> clockevent: decrementer mult[88888872] shift[32] cpu[0]
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 512
> regulator-dummy: no parameters
> NET: Registered protocol family 16
> bio: create slab <bio-0> at 0
> SCSI subsystem initialized
> Switching to clocksource timebase
> NET: Registered protocol family 2
> TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
> TCP: Hash tables configured (established 131072 bind 65536)
> TCP: reno registered
> UDP hash table entries: 512 (order: 1, 8192 bytes)
> UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
> NET: Registered protocol family 1
> RPC: Registered named UNIX socket transport module.
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> squashfs: version 4.0 (2009/01/31) Phillip Lougher
> jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> ROMFS MTD (C) 2007 Red Hat, Inc.
> msgmni has been set to 1512
> alg: No test for stdrng (krng)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
> serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16) is a 16550A
> console [ttyS0] enabled, bootconsole disabled
> serial8250.0: ttyS1 at MMIO 0x1ef600400 (irq = 17) is a 16550A
> roach2_fpga: ROACH2 FPGA Access driver
> roach2:  major 252Virtex 5 family
> roach2_fpga 1d0000000.fpga: ROACH2 FPGA driver
> roach2_fpga 1d0000000.fpga: check parameters,addr:0x1d0000000,size:0x4000000
> roach2_fpga 1d0000000.fpga: ioremap 1d0000000 to f1080000 with size 4000000
> roach2_fpga 1d0000000.fpga: ioremap 1c0100000 to f5100000 with size 200000
> roach2_fpga 1d0000000.fpga: char devices successfully registered
> brd: module loaded
> 1f8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank.
> Manufacturer ID 0x000001 Chip ID 0x002801
> Amd/Fujitsu Extended Query Table at 0x0040
>   Amd/Fujitsu Extended Query version 1.3.
> number of CFI chips: 1
> 6 ofpart partitions found on MTD device 1f8000000.nor_flash
> Creating 6 MTD partitions on "1f8000000.nor_flash":
> 0x000000000000-0x000000400000 : "kernel"
> 0x000000400000-0x000004400000 : "rootfs"
> 0x000004400000-0x000007400000 : "userfs"
> 0x000007400000-0x000007f00000 : "v6bitstream"
> 0x000007f40000-0x000007f80000 : "ubootenv"
> 0x000007f80000-0x000008000000 : "uboot"
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
> PPC 4xx OCP EMAC driver, version 3.54
> MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
> ZMII /plb/opb/emac-zmii@ef600d00 initialized
> RGMII /plb/opb/emac-rgmii@ef601000 initialized with MDIO support
> /plb/opb/emac-rgmii@ef601000: input 0 in RGMII mode
> eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 02:44:01:02:09:4d
> eth0: found Marvell 88E1111 Ethernet PHY (0x01)
> PPP generic driver version 2.4.2
> mousedev: PS/2 mouse device common for all mice
> r2case_probe:node name:/plb/opb/r2chassis
> input: roach2chassis as /devices/virtual/input/input0
> r2case_probe: init successful
> ibm-iic 1ef600700.i2c: using standard (100 kHz) mode
> ibm-iic 1ef600800.i2c: using standard (100 kHz) mode
> ad7414 0-004c: chip found
> ad7414 0-004c: ad7414_probe unable to read config register.
> ad7414 0-004e: chip found
> ad7414 0-004e: ad7414_probe unable to read config register.
> max16065: probe of 0-0050 failed with error -121
> max16065: probe of 0-0051 failed with error -121
> max6650 0-0048: Error reading config, aborting.
> max6650: probe of 0-0048 failed with error -5
> max6650 0-004b: Error reading config, aborting.
> max6650: probe of 0-004b failed with error -5
> max6650 0-001b: Error reading config, aborting.
> max6650: probe of 0-001b failed with error -5
> max6650 0-001f: Error reading config, aborting.
> max6650: probe of 0-001f failed with error -5
> cpuidle: using governor ladder
> cpuidle: using governor menu
> IPv4 over IPv4 tunneling driver
> TCP: cubic registered
> NET: Registered protocol family 17
> Key type dns_resolver registered
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> ### of_selftest(): No testcase data in device tree; not running tests
> eth0: link is up, 100 FDX, pause enabled
> Sending DHCP requests ., OK
> IP-Config: Got DHCP answer from 192.168.10.4, my address is 192.168.10.122
> IP-Config: Complete:
>      device=eth0, addr=192.168.10.122, mask=255.255.255.0, gw=255.255.255.255
>      host=roach-2-b, domain=, nis-domain=(none)
>      bootserver=192.168.10.4, rootserver=192.168.10.4,
> rootpath=/roach2/current,nolock
>      nameserver0=192.168.10.4<6>VFS: Mounted root (nfs filesystem)
> readonly on device 0:11.
> Freeing unused kernel memory: 144k freed
> root@roach-2-b:~#
>
> Thanks for your help,
> Andrea
>
> 2014-11-18 10:22 GMT+01:00 Andrea Mattana <[email protected]>:
>> Thanks to all for your answers,  I will set a testbench today and
>> report later on some results!
>> Cheers,
>> Andrea
>>
>> 2014-11-18 7:44 GMT+01:00 David George <[email protected]>:
>>> This problem is likely the FTDI not being configured to tristate the
>>> IIC pins on reset, hence they are likely driven. This may be weakly
>>> enough that IIC open drain might work, or possibly some are configured
>>> to tristate and other aren't, or the config is random - just a
>>> thought.
>>
>>
>>
>> --
>> Andrea Mattana
>>
>> I.N.A.F. - Istituto di Radioastronomia
>> Radiotelescopi di Medicina
>> Via Fiorentina, 3513 - 40059 Medicina (Bo)
>> Tel. 051/6965834      Fax. 051/6965810
>
>
>
> --
> Andrea Mattana
>
> I.N.A.F. - Istituto di Radioastronomia
> Radiotelescopi di Medicina
> Via Fiorentina, 3513 - 40059 Medicina (Bo)
> Tel. 051/6965834      Fax. 051/6965810



-- 
Andrea Mattana

I.N.A.F. - Istituto di Radioastronomia
Radiotelescopi di Medicina
Via Fiorentina, 3513 - 40059 Medicina (Bo)
Tel. 051/6965834      Fax. 051/6965810

Reply via email to