Clusterhat v2

898 views
Skip to first unread message

Patrick Nooijen

unread,
Sep 29, 2017, 12:59:24 PM9/29/17
to ClusterHAT
Received my clusterhat v2 today. Loaded the rpiboot image on my pi3. Power light is on and a faded alert led. Clusterhat on does nothing. No p1-4 led goes on. What could be wrong? Defective clusterhat or pi3?

Chris Burton

unread,
Sep 29, 2017, 1:42:25 PM9/29/17
to ClusterHAT
Hi,


Received my clusterhat v2 today. Loaded the rpiboot image on my pi3. Power light is on and a faded alert led. Clusterhat on does nothing. No p1-4 led goes on. What could be wrong? Defective clusterhat or pi3?

The beta rpiboot image doesn't support the Cluster HAT 2 (I'm working on a new version that will). 

I haven't tried but I think you should be able to get it working by running these commands on the controller.

# Enable I2C with raspi-config ( 5 Interfacing Options -> P5 I2C -> Yes )
sudo raspi-config

# Update the tool
sudo wget -O /usr/share/clusterhat/python/xra1200.py \

sudo wget -O /sbin/clusterhat \

# Ensure the Cluster HAT is initialised on boot.
sudo sed -i "s#^exit 0#/sbin/clusterhat init\nexit 0#" /etc/rc.local

If that doesn't work let me know and I'll give it a try here.

Chris.

Patrick Nooijen

unread,
Sep 29, 2017, 1:56:08 PM9/29/17
to ClusterHAT
Thanks, this works for me.
Had to install smbus to.

Patrick Nooijen

unread,
Sep 29, 2017, 2:11:10 PM9/29/17
to ClusterHAT
It does light the p1-4 leds but i dont get the interfaces in ifconfig?

Patrick Nooijen

unread,
Sep 29, 2017, 2:14:50 PM9/29/17
to ClusterHAT
Waiting die bcm2835/6/7 i get in a screen session.

Chris Burton

unread,
Sep 29, 2017, 2:31:01 PM9/29/17
to ClusterHAT
Hi,
Waiting die bcm2835/6/7 i get in a screen session.

Can you see the 4 port hub with "lsusb -t" ?

If not check the USB cable and try a "clusterhat off;clusterhat hub off;sleep 2;clusterhat hub on" and see if that brings it back to life and if so power on the Pi Zeros again.

I'm writing the rpiboot image atm so I should be able to take a quick look in a few.

Chris.

Patrick Nooijen

unread,
Sep 29, 2017, 2:52:12 PM9/29/17
to ClusterHAT
Doesn't help unfortunatly:

pi@controller:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
pi@controller:~ $

Chris Burton

unread,
Sep 29, 2017, 3:24:26 PM9/29/17
to ClusterHAT
Hi,
Well it finds the hub which is a good start, you might want to update the rpiboot tool too.

These are the commands I ran to get it updated to support v2 and it's now working OK here.

# Enable I2C with raspi-config ( 5 Interfacing Options -> P5 I2C -> Yes )
sudo raspi
-config

# Update the tool

sudo mkdir
-p /usr/share/clusterhat/python/


sudo apt
-get install -y python-smbus

# Update usbboot
sudo
-i
cd
/var/lib/clusterhat/usbboot
git pull
make
exit

# Restart the controller
sudo reboot

If after updating the tool + rebooting you're still not seeing them start up properly, what does the output of "dmesg" look like?

Chris.
Message has been deleted

Patrick Nooijen

unread,
Sep 30, 2017, 1:51:22 AM9/30/17
to ClusterHAT
tried it again and this worked! Thanks!

Op vrijdag 29 september 2017 21:24:26 UTC+2 schreef Chris Burton:

George Scott

unread,
Nov 9, 2017, 8:42:01 AM11/9/17
to ClusterHAT
Hey Chris! :) - thanks for all the support you've provided on this group to date.

I too have the v2 and having problems firing up the P0's w/o SD's.

I've done:

# Enable I2C with raspi-config ( 5 Interfacing Options -> P5 I2C -> Yes )
sudo raspi-config

# Update the tool
# Ensure the Cluster HAT is initialised on boot.
sudo sed -i "s#^exit 0#/sbin/clusterhat init\nexit 0#" /etc/rc.local


but still no joy, and my dmesg output is:


pi@controller:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.35-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1014 SMP Fri Jun 30 14:47:43 BST 2017
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80c6ee40, node_mem_map b9faa000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @b9f64000 s25600 r8192 d23552 u57344
[    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=b7c92c88-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 936296K/966656K available (7168K kernel code, 484K rwdata, 2012K rodata, 1024K init, 778K bss, 22168K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80b00000 - 0x80c00000   (1024 kB)
      .data : 0x80c00000 - 0x80c79014   ( 485 kB)
       .bss : 0x80c7b000 - 0x80d3da64   ( 779 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000009] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000025] Switching to timer-based delay loop, resolution 52ns
[    0.000328] Console: colour dummy device 80x30
[    0.001221] console [tty1] enabled
[    0.001277] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001346] pid_max: default: 32768 minimum: 301
[    0.001705] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001748] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002779] Disabling cpuset control group subsystem
[    0.002967] CPU: Testing write buffer coherency: ok
[    0.003035] ftrace: allocating 22390 entries in 66 pages
[    0.055101] CPU0: update cpu_capacity 1024
[    0.055169] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.055267] Setting up static identity map for 0x100000 - 0x100034
[    0.057497] CPU1: update cpu_capacity 1024
[    0.057505] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.058220] CPU2: update cpu_capacity 1024
[    0.058226] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.058895] CPU3: update cpu_capacity 1024
[    0.058901] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.058985] Brought up 4 CPUs
[    0.059158] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.059187] CPU: All CPU(s) started in HYP mode.
[    0.059213] CPU: Virtualization extensions available.
[    0.060037] devtmpfs: initialized
[    0.071145] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.071458] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.071520] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.072083] pinctrl core: initialized pinctrl subsystem
[    0.073005] NET: Registered protocol family 16
[    0.075290] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.084145] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.084194] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.084362] Serial: AMBA PL011 UART driver
[    0.086266] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.086811] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.087175] irq: no irq domain found for /soc/aux@0x7e215000 !
[    0.155701] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[    0.157569] SCSI subsystem initialized
[    0.157745] usbcore: registered new interface driver usbfs
[    0.157846] usbcore: registered new interface driver hub
[    0.157967] usbcore: registered new device driver usb
[    0.164652] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-03 14:16
[    0.166073] clocksource: Switched to clocksource arch_sys_counter
[    0.212922] VFS: Disk quotas dquot_6.6.0
[    0.213033] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.213261] FS-Cache: Loaded
[    0.213524] CacheFiles: Loaded
[    0.225768] NET: Registered protocol family 2
[    0.226695] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.226832] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.227043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.227156] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.227223] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.227456] NET: Registered protocol family 1
[    0.227891] RPC: Registered named UNIX socket transport module.
[    0.227924] RPC: Registered udp transport module.
[    0.227952] RPC: Registered tcp transport module.
[    0.227979] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.228960] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.231282] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.247438] FS-Cache: Netfs 'nfs' registered for caching
[    0.248449] NFS: Registering the id_resolver key type
[    0.248503] Key type id_resolver registered
[    0.248531] Key type id_legacy registered
[    0.250981] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.251127] io scheduler noop registered
[    0.251157] io scheduler deadline registered (default)
[    0.251433] io scheduler cfq registered
[    0.257169] BCM2708FB: allocated DMA memory fa910000
[    0.257223] BCM2708FB: allocated DMA channel 0 @ bb80f000
[    0.265917] Console: switching to colour frame buffer device 82x26
[    0.273360] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.276288] bcm2835-aux-uart 3f215040.serial: could not get clk: -517
[    0.279637] bcm2835-rng 3f104000.rng: hwrng registered
[    0.282057] vc-cma: Videocore CMA driver
[    0.284417] vc-cma: vc_cma_base      = 0x00000000
[    0.286817] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.289088] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.291452] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.310990] brd: module loaded
[    0.321904] loop: module loaded
[    0.323992] Loading iSCSI transport class v2.0-870.
[    0.326670] usbcore: registered new interface driver smsc95xx
[    0.328811] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.558949] Core Release: 2.80a
[    0.561004] Setting default values for core params
[    0.563134] Finished setting default values for core params
[    0.765676] Using Buffer DMA mode
[    0.767818] Periodic Transfer Interrupt Enhancement - disabled
[    0.770064] Multiprocessor Interrupt Enhancement - disabled
[    0.772294] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.774479] Dedicated Tx FIFOs mode
[    0.776941] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024
[    0.781374] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    0.792734] dwc_otg: Microframe scheduler enabled
[    0.792783] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058ef90
[    0.795089] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058f300 length 36
[    0.797410] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87a000
[    0.799763] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.802082] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.804446] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.806786] Init: Port Power? op_state=1
[    0.809042] Init: Power Port (0)
[    0.811414] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.813724] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.816022] usb usb1: Product: DWC OTG Controller
[    0.818284] usb usb1: Manufacturer: Linux 4.9.35-v7+ dwc_otg_hcd
[    0.820552] usb usb1: SerialNumber: 3f980000.usb
[    0.823643] hub 1-0:1.0: USB hub found
[    0.825847] hub 1-0:1.0: 1 port detected
[    0.828589] dwc_otg: FIQ enabled
[    0.828593] dwc_otg: NAK holdoff enabled
[    0.828597] dwc_otg: FIQ split-transaction FSM enabled
[    0.828610] Module dwc_common_port init
[    0.828836] usbcore: registered new interface driver usb-storage
[    0.831160] mousedev: PS/2 mouse device common for all mice
[    0.834255] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.836812] bcm2835-cpufreq: min=600000 max=1200000
[    0.839467] sdhci: Secure Digital Host Controller Interface driver
[    0.841779] sdhci: Copyright(c) Pierre Ossman
[    0.844305] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[    0.848898] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.851444] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.856502] ledtrig-cpu: registered to indicate activity on CPUs
[    0.859151] hidraw: raw HID events driver (C) Jiri Kosina
[    0.861826] usbcore: registered new interface driver usbhid
[    0.864291] usbhid: USB HID core driver
[    0.867564] vchiq: vchiq_init_state: slot_zero = 0xba980000, is_master = 0
[    0.871778] Initializing XFRM netlink socket
[    0.874324] NET: Registered protocol family 17
[    0.876944] Key type dns_resolver registered
[    0.879792] Registering SWP/SWPB emulation handler
[    0.882949] registered taskstats version 1
[    0.885726] vc-sm: Videocore shared memory driver
[    0.888258] [vc_sm_connected_init]: start
[    0.891187] [vc_sm_connected_init]: end - returning 0
[    0.899634] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    0.906049] console [ttyS0] disabled
[    0.908498] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 220, base_baud = 31250000) is a 16550
[    1.911140] console [ttyS0] enabled
[    1.917823] sdhost: log_buf @ ba907000 (fa907000)
[    1.996100] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.006228] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.014516] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    2.043179] Indeed it is in host mode hprt0 = 00021501
[    2.136198] of_cfs_init
[    2.137885] random: fast init done
[    2.146667] of_cfs_init: OK
[    2.152097] Waiting for root device PARTUUID=b7c92c88-02...
[    2.155164] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.156740] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.158303] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.161119] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.227078] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.244618] mmc0: new high speed SDHC card at address aaaa
[    2.253034] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    2.259615] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.268635] Indeed it is in host mode hprt0 = 00001101
[    2.341054]  mmcblk0: p1 p2
[    2.360965] mmc1: new high speed SDIO card at address 0001
[    2.443037] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.455633] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.468219] devtmpfs: mounted
[    2.475306] Freeing unused kernel memory: 1024K (80b00000 - 80c00000)
[    2.516410] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.525690] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.536554] hub 1-1:1.0: USB hub found
[    2.543592] hub 1-1:1.0: 5 ports detected
[    2.759911] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.779349] systemd[1]: Detected architecture 'arm'.
[    2.876117] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.915857] NET: Registered protocol family 10
[    2.924628] systemd[1]: Inserted module 'ipv6'
[    2.936014] systemd[1]: Set hostname to <controller>.
[    2.943993] systemd[1]: Initializing machine ID from random generator.
[    2.953531] systemd[1]: Installed transient /etc/machine-id file.
[    3.016487] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.026248] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.039236] smsc95xx v1.0.5
[    3.132734] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f1:9e:a9
[    3.246125] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.279475] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[    3.305088] systemd[1]: Found ordering cycle on basic.target/start
[    3.314217] systemd[1]: Found dependency on sysinit.target/start
[    3.323080] systemd[1]: Found dependency on rpcbind.service/start
[    3.377440] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608
[    3.377450] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.377456] usb 1-1.2: Product: USB2.0 Hub
[    3.378367] hub 1-1.2:1.0: USB hub found
[    3.397992] hub 1-1.2:1.0: 4 ports detected
[    3.633688] 8021q: 802.1Q VLAN Support v1.8
[    3.649444] i2c /dev entries driver
[    3.810415] systemd-udevd[137]: starting version 215
[    4.128877] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    4.407545] usbcore: registered new interface driver brcmfmac
[    4.571005] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[    4.571595] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.925183] systemd-journald[141]: Received request to flush runtime journal from PID 1
[   15.547271] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   17.056717] brext: port 1(eth0) entered blocking state
[   17.056729] brext: port 1(eth0) entered disabled state
[   17.057149] device eth0 entered promiscuous mode
[   17.148174] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   17.162107] brext: port 1(eth0) entered blocking state
[   17.162120] brext: port 1(eth0) entered forwarding state
[   17.638758] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.638776] brcmfmac: power management disabled
[   18.046632] uart-pl011 3f201000.serial: no DMA platform data
[   18.086527] brext: port 1(eth0) entered disabled state
[   18.356135] Installing knfsd (copyright (C) 1996 ok...@monad.swb.de).
[   18.394624] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:118780k SSFS
[   18.759230] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x49E1
[   18.761603] brext: port 1(eth0) entered blocking state
[   18.761608] brext: port 1(eth0) entered forwarding state
[   22.497071] Bluetooth: Core ver 2.22
[   22.497149] NET: Registered protocol family 31
[   22.497154] Bluetooth: HCI device and connection manager initialized
[   22.497174] Bluetooth: HCI socket layer initialized
[   22.497185] Bluetooth: L2CAP socket layer initialized
[   22.497218] Bluetooth: SCO socket layer initialized
[   22.508130] Bluetooth: HCI UART driver ver 2.3
[   22.508145] Bluetooth: HCI UART protocol H4 registered
[   22.508150] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   22.508326] Bluetooth: HCI UART protocol Broadcom registered
[   22.671086] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.671093] Bluetooth: BNEP filters: protocol multicast
[   22.671105] Bluetooth: BNEP socket layer initialized
[   30.040996] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   30.044308] NFSD: starting 90-second grace period (net 80c64e40)
[   91.398314] random: crng init done
pi@controller:~ $

Oh, and my blue alert LED is just on dimly.

Any ideas?

George.

Patrick Nooijen

unread,
Nov 10, 2017, 7:38:28 AM11/10/17
to ClusterHAT


Op vrijdag 29 september 2017 18:59:24 UTC+2 schreef Patrick Nooijen:
Received my clusterhat v2 today. Loaded the rpiboot image on my pi3. Power light is on and a faded alert led. Clusterhat on does nothing. No p1-4 led goes on. What could be wrong? Defective clusterhat or pi3?

Dit you update usbboot? 

Patrick Nooijen

unread,
Nov 10, 2017, 7:39:48 AM11/10/17
to ClusterHAT
and after that reboot te controller :

# Restart the controller
sudo reboot


Op vrijdag 10 november 2017 13:38:28 UTC+1 schreef Patrick Nooijen:

George Scott

unread,
Nov 10, 2017, 8:31:49 AM11/10/17
to Patrick Nooijen, ClusterHAT
Yep - everything that's been done on this thread, I've done too, before asking for help - but still no joy :0(

--
You received this message because you are subscribed to a topic in the Google Groups "ClusterHAT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clusterhat/fp3shqpwNA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clusterhat+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/clusterhat/e4c0c7ab-97d5-4517-a78f-c1b249de98cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Patrick Nooijen

unread,
Nov 10, 2017, 9:44:12 AM11/10/17
to ClusterHAT
wit screen you can check what the zero is doing when you enter clusterhat on :

sudo screen -rx rpiboot
# To detach from screen press CTRL+a then CTRL+d

Op vrijdag 10 november 2017 14:31:49 UTC+1 schreef George Scott:
Yep - everything that's been done on this thread, I've done too, before asking for help - but still no joy :0(
On 10 Nov 2017 12:39, "Patrick Nooijen" <petj...@gmail.com> wrote:
and after that reboot te controller :

# Restart the controller
sudo reboot


Op vrijdag 10 november 2017 13:38:28 UTC+1 schreef Patrick Nooijen:


Op vrijdag 29 september 2017 18:59:24 UTC+2 schreef Patrick Nooijen:
Received my clusterhat v2 today. Loaded the rpiboot image on my pi3. Power light is on and a faded alert led. Clusterhat on does nothing. No p1-4 led goes on. What could be wrong? Defective clusterhat or pi3?

Dit you update usbboot? 

sudo apt-get install -y python-smbus

# Update usbboot
sudo 
-i
cd 
/var/lib/clusterhat/usbboot
git pull
make
exit 

--
You received this message because you are subscribed to a topic in the Google Groups "ClusterHAT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clusterhat/fp3shqpwNA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clusterhat+...@googlegroups.com.

George Scott

unread,
Nov 10, 2017, 11:53:42 AM11/10/17
to ClusterHAT
um...? just says "Waiting for BCM2855/6/7

I've also checked all the simple things like power etc, and is all fine...


On Friday, 29 September 2017 17:59:24 UTC+1, Patrick Nooijen wrote:

Chris Burton

unread,
Nov 10, 2017, 12:40:34 PM11/10/17
to ClusterHAT
Hi, 
um...? just says "Waiting for BCM2855/6/7

If the blue LED is on dim then the cluster hat hasn't been initialised.

It you run "clusterhat init" does the blue light go out, do you get an error, or something else?

From the dmesg output it looks like it's finding the USB hub on the Cluster HAT but none of the Pi Zero and since "init" hasn't been ran it looks like you haven't ran "clusterhat on" as this would also init the HAT if it hasn't already been done.

After running "clusterhat on" do you see any errors?

Chris. 

George Scott

unread,
Nov 10, 2017, 12:49:56 PM11/10/17
to Chris Burton, ClusterHAT
Hi Chris,

Yes, I've run clusterhat on, per instructions from:

Interestingly clusterhat on produces the 4 turning on P1-P4 messages, but clusterhat init (as well as "clusterhat alert on", "clusterhat hub on", for example) just says error: unknown mode.

I've used the non-sd image. Assembly was by the book. All parts are new...

Really stumped? :0$

George

--
You received this message because you are subscribed to a topic in the Google Groups "ClusterHAT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clusterhat/fp3shqpwNA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clusterhat+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/clusterhat/50a5f1d1-a64c-45c9-848b-2e4fc968912b%40googlegroups.com.

Chris Burton

unread,
Nov 10, 2017, 1:10:34 PM11/10/17
to ClusterHAT
Hi, 
Interestingly clusterhat on produces the 4 turning on P1-P4 messages, but clusterhat init (as well as "clusterhat alert on", "clusterhat hub on", for example) just says error: unknown mode.

Which means you're still using the old "clusterhat" tool for Cluster HAT v1 and haven't upgraded.

Run through the steps on https://groups.google.com/forum/#!msg/clusterhat/fp3shqpwNA0/tFKUKFUUBAAJ and that should get the tool updated to work with v2.

Chris. 

George Scott

unread,
Nov 10, 2017, 1:14:57 PM11/10/17
to Chris Burton, ClusterHAT
Hi,
Yes - I followed all of these instructions in this thread before messaging yesterday - but no joy - which is why i then ran dmesg and posted output.

George


--
You received this message because you are subscribed to a topic in the Google Groups "ClusterHAT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clusterhat/fp3shqpwNA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clusterhat+unsubscribe@googlegroups.com.

Chris Burton

unread,
Nov 10, 2017, 1:25:17 PM11/10/17
to ClusterHAT
Hi, 
Yes - I followed all of these instructions in this thread before messaging yesterday - but no joy - which is why i then ran dmesg and posted output.


If when you run "clusterhat on" it says it's turning on P1-P4 then you're running the old tool also if "clusterhat init" says unknown mode you're running the old tool which is why I'm thinking you may have missed a step or there was an error.

Chris.

George Scott

unread,
Nov 10, 2017, 1:27:51 PM11/10/17
to Chris Burton, ClusterHAT
I'll repeat the steps, and report back - thanks Chris.

George

--
You received this message because you are subscribed to a topic in the Google Groups "ClusterHAT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clusterhat/fp3shqpwNA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clusterhat+unsubscribe@googlegroups.com.

George Scott

unread,
Nov 10, 2017, 1:40:28 PM11/10/17
to Chris Burton, ClusterHAT
Chris you're a star - thank you so much for your patience! - it works!!! :0)

Many of the commands came back with already done - but I must have made an error somewhere, as it works now!

Thanks again - great work.

George

George Scott

unread,
Nov 10, 2017, 2:03:59 PM11/10/17
to Chris Burton, ClusterHAT
20171110_184413_1.gif

Ian Goldsmith

unread,
Sep 4, 2018, 6:53:30 AM9/4/18
to ClusterHAT
Hi guys,
I wasn't sure where to post this & whether it's right to resurrect the old thread - but I got my clusterhat v2 not long ago and have only recently tried to use it.

I'm using:
- http://dist.8086.net/clusterhat/ClusterHAT-2017-11-29-lite-2-usbboot.zip
- pi2b
- have only loaded pi-zero's into slots 1-3 of the clusterhat,

clusterhat on seems to work - and I can individiually turn on the orange LED's for p1-3 (or all four slots for that matter), however:

sudo screen -rx rpiboot
Always has:
Waiting for BCM2835/6/7


Additionally:
pi@controller:~ $ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 4: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M


Incase it helps:
pi@controller:~ $ dmesg | grep bcm
[    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=c6836eb2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.080922] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.150822] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[    0.273982] bcm2835-aux-uart 3f215040.serial: could not get clk: -517
[    0.277785] bcm2835-rng 3f104000.rng: hwrng registered
[    0.853249] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.856233] bcm2835-cpufreq: min=600000 max=1200000
[    0.865195] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[    0.872992] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    2.031231] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.041970] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.050813] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    4.703275] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000


Also:
pi@controller:~ $ brctl show
bridge name    bridge id        STP enabled    interfaces
brext        8000.b827eb725226    no        eth0
brint        8000.000000000000    no


ifconfig interfaces:
pi@controller:~ $ ifconfig  | egrep "^\w"
brext: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
brint: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

Any ideas what I've missed on how to get the other USB devices/interfaces showing up, and getting the zero's visible ?

Chris Burton

unread,
Sep 4, 2018, 12:33:21 PM9/4/18
to ClusterHAT
Hi, 
I wasn't sure where to post this & whether it's right to resurrect the old thread - but I got my clusterhat v2 not long ago and have only recently tried to use it.
 
It's normally best to start a new thread as there are many variables to setups.
 
I'm using:
- http://dist.8086.net/clusterhat/ClusterHAT-2017-11-29-lite-2-usbboot.zip
- pi2b
- have only loaded pi-zero's into slots 1-3 of the clusterhat, 
 
clusterhat on seems to work - and I can individiually turn on the orange LED's for p1-3 (or all four slots for that matter), however:

Firstly check the USB cable between the Cluster HAT and Controller is OK and/or try with another cable.

Are you using a Cluster HAT v2.2? If so then try "clusterhat hub off" which should turn *ON* the USB hub for that version with the old "clusterhat" tool (the logic switched between v2.0 and v2.1).

If after running the above command "lsusb -t" shows the Cluster HAT 4 port USB hub "...Driver=hub/4p" then you can update the tool using the commands below and it should work as you'd expect after a reboot.
Chris.
Reply all
Reply to author
Forward
0 new messages