Setting up gateway via bridge

I am following gateway quick deployment guide to setup gateway via bridge node.
I have following configuration
4 anchor , 1 tag ( bridge node also act as initiator). A raspberry pi (version 3 model b) . The pins are soldered properly

I have following outputs

  1. Which Raspberry Image are you using? The official one from the Release 2?
    Official one DRTLS_raspbian_R2.0.img

  2. How do you start the DWM Daemon? Manually or just restarted the Raspberry?
    Just restarted the Raspberry

  3. Can you get the system working or it keeps failing like this?
    it keep failing like this

  4. Can you enter the module shell using: minicom -D /dev/serial0 (and double enter)?
    yes

output:
si:

[000131.560 INF] sys: fw2 fw_ver=x01030001 cfg_ver=x00010700
[000131.560 INF] uwb0: panid=xF8AA addr=xDECAA9AF85E007B8
[000131.570 INF] mode: bn (act,-)
[000131.570 INF] uwbmac: connected
[000131.580 INF] enc: off
[000131.580 INF] ble: addr=C2:7A:7F:A8:9E:E4

la
[000127.710 INF] AN: cnt=3 seq=x08
[000127.710 INF] 0) id=DECA50A194214D33 seat=0 seens=161 rssi=-82
[000127.720 INF] 1) id=DECAD61017C593A7 seat=4 seens=161 rssi=-82
[000127.730 INF] 2) id=DECA0D4B4613970F seat=5 seens=160 rssi=-80
[000127.730 INF]

Why only three anchor are listed , Bridge node is not listed as an anchor?

  1. Please send outputs of the commands on the failing system:

  2. lsmod
    Module Size Used by
    fuse 106496 3
    rfcomm 49152 6
    cmac 16384 1
    bnep 20480 2
    hci_uart 36864 1
    btbcm 16384 1 hci_uart
    serdev 20480 1 hci_uart
    bluetooth 368640 29 hci_uart,bnep,btbcm,rfcomm
    ecdh_generic 28672 1 bluetooth
    spidev 16384 0
    brcmfmac 307200 0
    brcmutil 16384 1 brcmfmac
    snd_bcm2835 32768 1
    cfg80211 573440 1 brcmfmac
    rfkill 28672 6 bluetooth,cfg80211
    snd_pcm 98304 1 snd_bcm2835
    snd_timer 32768 1 snd_pcm
    snd 69632 5 snd_timer,snd_bcm2835,snd_pcm
    spi_bcm2835 16384 0
    evdev 24576 8
    joydev 20480 0
    uio_pdrv_genirq 16384 0
    uio 20480 1 uio_pdrv_genirq
    fixed 16384 0
    dwm 77824 4
    i2c_dev 16384 0
    ip_tables 24576 0
    x_tables 32768 1 ip_tables
    ipv6 434176 57

  3. ls -la /dev/dwm0
    crw------- 1 root root 200, 0 Oct 9 16:39 /dev/dwm0

  4. ps ax | grep dwm
    492 ? Sl 0:00 /usr/local/bin/dwm-daemon -c /etc/dwm1001/dwm1001.config -l /var/log/dwm-daemon.log
    496 ? Sl 0:00 /usr/local/bin/dwm-proxy -c /etc/dwm1001/dwm1001-proxy.config
    1553 pts/1 S+ 0:00 grep --color=auto dwm

  5. config file
    config file

DWM Kernel Module settings

UWB network PANID

Allowed values: 16-bit number in decimal, hexadecimal or octal format

panid = 0xF8AA

UWB encryption

Allowed values: true/false

enc_en = false

UWB encryption key

Allowed values: 128-bit number in hexadecimal format

enc_key = “11111111222222223333333344444444”

uwb_fwup = true

UWB mode

Allowed values: 0=Off 1=Passive 2=Active

uwb_mode = 2

daemon settings

proxy_server_host = “localhost”
proxy_server_port = 1885
mqtt_user = “dwmuser”
mqtt_password = “dwmpass”
mqtt_topic_prefix = “dwm”

  1. dmesg
    0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.50-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1122 SMP Tue Jun 19 12:26:26 BST 2018
    [ 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] Memory policy: Data cache writealloc
    [ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
    [ 0.000000] On node 0 totalpages: 242688
    [ 0.000000] free_area_init_node: node 0, pgdat 80c85000, node_mem_map ba3a1000
    [ 0.000000] Normal zone: 2133 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 242688 pages, LIFO batch:31
    [ 0.000000] percpu: Embedded 17 pages/cpu @ba34a000 s38720 r8192 d22720 u69632
    [ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
    [ 0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=c049f471-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 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: 940236K/970752K available (7168K kernel code, 575K rwdata, 2072K rodata, 1024K init, 706K bss, 22324K 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 - 0xbb400000 ( 948 MB)
    modules : 0x7f000000 - 0x80000000 ( 16 MB)
    .text : 0x80008000 - 0x80800000 (8160 kB)
    .init : 0x80b00000 - 0x80c00000 (1024 kB)
    .data : 0x80c00000 - 0x80c8fef4 ( 576 kB)
    .bss : 0x80c96f40 - 0x80d478b4 ( 707 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] ftrace: allocating 25253 entries in 75 pages
    [ 0.000000] Hierarchical RCU implementation.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] arch_timer: 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.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
    [ 0.000018] Switching to timer-based delay loop, resolution 52ns
    [ 0.000263] Console: colour dummy device 80x30
    [ 0.000281] console [tty1] enabled
    [ 0.000309] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=192000)
    [ 0.000325] pid_max: default: 32768 minimum: 301
    [ 0.000643] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000657] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001588] Disabling memory control group subsystem
    [ 0.001669] CPU: Testing write buffer coherency: ok
    [ 0.002060] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.002438] Setting up static identity map for 0x100000 - 0x10003c
    [ 0.002555] Hierarchical SRCU implementation.
    [ 0.003187] smp: Bringing up secondary CPUs …
    [ 0.003864] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.004608] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 0.005337] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 0.005440] smp: Brought up 1 node, 4 CPUs
    [ 0.005451] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [ 0.005457] CPU: All CPU(s) started in HYP mode.
    [ 0.005461] CPU: Virtualization extensions available.
    [ 0.006316] devtmpfs: initialized
    [ 0.016217] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
    [ 0.016945] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
    [ 0.017166] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.017184] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 0.017745] pinctrl core: initialized pinctrl subsystem
    [ 0.018484] NET: Registered protocol family 16
    [ 0.021178] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    [ 0.026021] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.026028] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.026226] Serial: AMBA PL011 UART driver
    [ 0.027841] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [ 0.028296] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
    [ 0.060125] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
    [ 0.061536] SCSI subsystem initialized
    [ 0.061760] usbcore: registered new interface driver usbfs
    [ 0.061817] usbcore: registered new interface driver hub
    [ 0.061902] usbcore: registered new device driver usb
    [ 0.070090] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-06-07 15:31
    [ 0.071465] clocksource: Switched to clocksource arch_sys_counter
    [ 0.148517] VFS: Disk quotas dquot_6.6.0
    [ 0.148602] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.148788] FS-Cache: Loaded
    [ 0.148986] CacheFiles: Loaded
    [ 0.157733] NET: Registered protocol family 2
    [ 0.158452] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.158562] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.158748] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.158877] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.158921] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.159148] NET: Registered protocol family 1
    [ 0.159586] RPC: Registered named UNIX socket transport module.
    [ 0.159592] RPC: Registered udp transport module.
    [ 0.159597] RPC: Registered tcp transport module.
    [ 0.159602] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.161116] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
    [ 0.163924] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.171905] FS-Cache: Netfs ‘nfs’ registered for caching
    [ 0.172493] NFS: Registering the id_resolver key type
    [ 0.172523] Key type id_resolver registered
    [ 0.172528] Key type id_legacy registered
    [ 0.172543] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
    [ 0.174411] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [ 0.174533] io scheduler noop registered
    [ 0.174540] io scheduler deadline registered (default)
    [ 0.174812] io scheduler cfq registered
    [ 0.174819] io scheduler mq-deadline registered
    [ 0.174825] io scheduler kyber registered
    [ 0.177492] BCM2708FB: allocated DMA memory fad10000
    [ 0.177518] BCM2708FB: allocated DMA channel 0 @ bb813000
    [ 0.227648] Console: switching to colour frame buffer device 228x61
    [ 0.257006] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
    [ 0.258401] bcm2835-rng 3f104000.rng: hwrng registered
    [ 0.258539] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [ 0.259013] vc-sm: Videocore shared memory driver
    [ 0.259293] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [ 0.268965] brd: module loaded
    [ 0.277886] loop: module loaded
    [ 0.277901] Loading iSCSI transport class v2.0-870.
    [ 0.278582] libphy: Fixed MDIO Bus: probed
    [ 0.278685] usbcore: registered new interface driver lan78xx
    [ 0.278743] usbcore: registered new interface driver smsc95xx
    [ 0.278759] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 0.506889] Core Release: 2.80a
    [ 0.506898] Setting default values for core params
    [ 0.506933] Finished setting default values for core params
    [ 0.707203] Using Buffer DMA mode
    [ 0.707209] Periodic Transfer Interrupt Enhancement - disabled
    [ 0.707215] Multiprocessor Interrupt Enhancement - disabled
    [ 0.707221] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 0.707234] Dedicated Tx FIFOs mode
    [ 0.707637] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad04000 dma = 0xfad04000 len=9024
    [ 0.707666] FIQ FSM acceleration enabled for :
    Non-periodic Split Transactions
    Periodic Split Transactions
    High-Speed Isochronous Endpoints
    Interrupt/Control Split Transaction hack enabled
    [ 0.707674] dwc_otg: Microframe scheduler enabled
    [ 0.707730] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e7d20
    [ 0.707741] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e8088 length 36
    [ 0.707754] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87e000
    [ 0.707812] dwc_otg 3f980000.usb: DWC OTG Controller
    [ 0.707846] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
    [ 0.707879] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
    [ 0.707927] Init: Port Power? op_state=1
    [ 0.707932] Init: Power Port (0)
    [ 0.708137] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.708148] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.708156] usb usb1: Product: DWC OTG Controller
    [ 0.708164] usb usb1: Manufacturer: Linux 4.14.50-v7+ dwc_otg_hcd
    [ 0.708172] usb usb1: SerialNumber: 3f980000.usb
    [ 0.708796] hub 1-0:1.0: USB hub found
    [ 0.708844] hub 1-0:1.0: 1 port detected
    [ 0.709397] dwc_otg: FIQ enabled
    [ 0.709402] dwc_otg: NAK holdoff enabled
    [ 0.709408] dwc_otg: FIQ split-transaction FSM enabled
    [ 0.709417] Module dwc_common_port init
    [ 0.709656] usbcore: registered new interface driver usb-storage
    [ 0.709823] mousedev: PS/2 mouse device common for all mice
    [ 0.709896] IR NEC protocol handler initialized
    [ 0.709902] IR RC5(x/sz) protocol handler initialized
    [ 0.709907] IR RC6 protocol handler initialized
    [ 0.709912] IR JVC protocol handler initialized
    [ 0.709917] IR Sony protocol handler initialized
    [ 0.709922] IR SANYO protocol handler initialized
    [ 0.709928] IR Sharp protocol handler initialized
    [ 0.709933] IR MCE Keyboard/mouse protocol handler initialized
    [ 0.709938] IR XMP protocol handler initialized
    [ 0.710647] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
    [ 0.710906] bcm2835-cpufreq: min=600000 max=1200000
    [ 0.711276] sdhci: Secure Digital Host Controller Interface driver
    [ 0.711280] sdhci: Copyright(c) Pierre Ossman
    [ 0.711676] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
    [ 0.711994] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
    [ 0.712091] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 0.713496] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.713676] hidraw: raw HID events driver (C) Jiri Kosina
    [ 0.713804] usbcore: registered new interface driver usbhid
    [ 0.713809] usbhid: USB HID core driver
    [ 0.714568] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
    [ 0.716089] [vc_sm_connected_init]: start
    [ 0.725621] [vc_sm_connected_init]: end - returning 0
    [ 0.726224] Initializing XFRM netlink socket
    [ 0.726247] NET: Registered protocol family 17
    [ 0.726348] Key type dns_resolver registered
    [ 0.726861] Registering SWP/SWPB emulation handler
    [ 0.727452] registered taskstats version 1
    [ 0.733424] uart-pl011 3f201000.serial: cts_event_workaround enabled
    [ 0.733510] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
    [ 0.735067] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 166, base_baud = 31250000) is a 16550
    [ 0.735951] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
    [ 0.735960] mmc-bcm2835 3f300000.mmc: DMA channel allocated
    [ 0.792118] sdhost: log_buf @ bad07000 (fad07000)
    [ 0.826807] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [ 0.828375] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 0.829942] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 0.832747] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [ 0.871483] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
    [ 0.872544] of_cfs_init
    [ 0.872686] of_cfs_init: OK
    [ 0.873267] Waiting for root device PARTUUID=c049f471-02…
    [ 0.908709] random: fast init done
    [ 0.921563] Indeed it is in host mode hprt0 = 00021501
    [ 1.008018] mmc1: new high speed SDIO card at address 0001
    [ 1.049817] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.053625] mmc0: new high speed SDXC card at address aaaa
    [ 1.054072] mmcblk0: mmc0:aaaa SD64G 59.5 GiB
    [ 1.055965] mmcblk0: p1 p2
    [ 1.083559] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [ 1.083567] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [ 1.131511] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 1.131635] Indeed it is in host mode hprt0 = 00001101
    [ 1.371757] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 1.371771] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 1.372483] hub 1-1:1.0: USB hub found
    [ 1.372563] hub 1-1:1.0: 5 ports detected
    [ 1.691573] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 1.821748] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 1.821764] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 1.824525] smsc95xx v1.0.6
    [ 1.862513] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.864551] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.864611] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 1.872256] devtmpfs: mounted
    [ 1.875398] Freeing unused kernel memory: 1024K
    [ 1.914634] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:92:6b:bf
    [ 2.231566] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
    [ 2.248464] systemd[1]: System time before build time, advancing clock.
    [ 2.378816] NET: Registered protocol family 10
    [ 2.380172] Segment Routing with IPv6
    [ 2.389627] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 2.395886] usb 1-1.2: New USB device found, idVendor=3151, idProduct=1002
    [ 2.395901] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2.395910] usb 1-1.2: Product: Wireless Device
    [ 2.395918] usb 1-1.2: Manufacturer: YICHIP
    [ 2.405396] hid-generic 0003:3151:1002.0001: hiddev96,hidraw0: USB HID v2.00 Device [YICHIP Wireless Device] on usb-3f980000.usb-1.2/input0
    [ 2.406986] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.418491] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
    [ 2.419092] systemd[1]: Detected architecture arm.
    [ 2.420095] systemd[1]: Set hostname to .
    [ 2.426744] input: YICHIP Wireless Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:3151:1002.0002/input/input0
    [ 2.453647] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.475563] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
    [ 2.492362] hid-generic 0003:3151:1002.0002: input,hiddev97,hidraw1: USB HID v2.00 Mouse [YICHIP Wireless Device] on usb-3f980000.usb-1.2/input1
    [ 2.863077] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 2.863813] systemd[1]: Listening on Journal Socket.
    [ 2.864634] systemd[1]: Created slice User and Session Slice.
    [ 2.865215] systemd[1]: Created slice System Slice.
    [ 2.865378] systemd[1]: Reached target Slices.
    [ 2.868506] systemd[1]: Mounting Debug File System…
    [ 2.873825] systemd[1]: Starting Set the console keyboard layout…
    [ 2.952064] i2c /dev entries driver
    [ 2.959030] dwm: no symbol version for module_layout
    [ 2.959058] dwm: loading out-of-tree module taints kernel.
    [ 3.347175] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 3.456281] systemd-journald[98]: Received request to flush runtime journal from PID 1
    [ 3.811283] dwm spi0.0: loading
    [ 3.811632] dwm spi0.0: DWM1001 TWR Real Time Location System
    [ 3.811643] dwm spi0.0:
    [ 3.811650] dwm spi0.0: Copyright : 2016-2019 LEAPS and Decawave
    [ 3.811659] dwm spi0.0: License : Please visit Decawave is now part of Qorvo
    [ 3.811666] dwm spi0.0: Compiled : Feb 4 2019 12:36:58
    [ 3.962082] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [ 3.968430] bcm2835_alsa bcm2835_alsa: card created with 8 channels
    [ 4.142153] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
    [ 4.151975] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
    [ 4.152270] usbcore: registered new interface driver brcmfmac
    [ 4.182670] dwm spi0.0: invalid bridge config detected = 0x2816
    [ 4.182686] dwm spi0.0: configuring bridge …
    [ 4.285908] dwm spi0.0: reseting bridge
    [ 4.530657] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
    [ 4.531989] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14
    [ 4.701559] usb 1-1.4: new low-speed USB device number 5 using dwc_otg
    [ 4.848528] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c31d
    [ 4.848548] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 4.848557] usb 1-1.4: Product: USB Keyboard
    [ 4.848565] usb 1-1.4: Manufacturer: Logitech
    [ 4.873573] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C31D.0003/input/input1
    [ 4.954228] hid-generic 0003:046D:C31D.0003: input,hidraw2: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-3f980000.usb-1.4/input0
    [ 4.977756] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C31D.0004/input/input2
    [ 5.043395] hid-generic 0003:046D:C31D.0004: input,hidraw3: USB HID v1.10 Device [Logitech USB Keyboard] on usb-3f980000.usb-1.4/input1
    [ 5.351572] dwm spi0.0: bridge ok
    [ 5.427759] uart-pl011 3f201000.serial: no DMA platform data
    [ 5.658699] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 5.658879] brcmfmac: power management disabled
    [ 6.023759] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
    [ 6.024189] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 6.435873] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 7.529788] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
    [ 8.127876] dwm spi0.0: PAN ID changed by user to xF8AA
    [ 8.127893] dwm spi0.0: encryption key changed by user
    [ 8.127902] dwm spi0.0: encryption configuration changed by user
    [ 8.127911] dwm spi0.0: firmware update configuration changed by user
    [ 8.127918] dwm spi0.0: UWB mode configuration changed by user
    [ 8.127927] dwm spi0.0: reinitialize …
    [ 10.034709] Bluetooth: Core ver 2.22
    [ 10.034792] NET: Registered protocol family 31
    [ 10.034798] Bluetooth: HCI device and connection manager initialized
    [ 10.034818] Bluetooth: HCI socket layer initialized
    [ 10.034832] Bluetooth: L2CAP socket layer initialized
    [ 10.034867] Bluetooth: SCO socket layer initialized
    [ 10.047817] Bluetooth: HCI UART driver ver 2.3
    [ 10.047838] Bluetooth: HCI UART protocol H4 registered
    [ 10.047845] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [ 10.048062] Bluetooth: HCI UART protocol Broadcom registered
    [ 10.175140] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 10.175149] Bluetooth: BNEP filters: protocol multicast
    [ 10.175167] Bluetooth: BNEP socket layer initialized
    [ 10.244718] Bluetooth: RFCOMM TTY layer initialized
    [ 10.244741] Bluetooth: RFCOMM socket layer initialized
    [ 10.244761] Bluetooth: RFCOMM ver 1.11
    [ 10.595566] usb 1-1.5: new low-speed USB device number 6 using dwc_otg
    [ 10.726491] usb 1-1.5: New USB device found, idVendor=093a, idProduct=2510
    [ 10.726503] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 10.726508] usb 1-1.5: Product: USB Optical Mouse
    [ 10.726512] usb 1-1.5: Manufacturer: PixA琀
    [ 10.730867] input: PixA琀 USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:093A:2510.0005/input/input3
    [ 10.731350] hid-generic 0003:093A:2510.0005: input,hidraw4: USB HID v1.11 Mouse [PixA琀 USB Optical Mouse] on usb-3f980000.usb-1.5/input0
    [ 11.506263] dwm spi0.0: setting bridge PAN ID to xF8AA …
    [ 11.561528] dwm spi0.0: setting encryption key on gateway
    [ 11.692678] dwm spi0.0: invalid bridge config detected = 0x2812
    [ 11.692694] dwm spi0.0: configuring bridge …
    [ 11.796085] dwm spi0.0: reseting bridge
    [ 12.101533] usb 1-1.5: reset low-speed USB device number 6 using dwc_otg
    [ 12.401516] usb 1-1.5: device descriptor read/64, error -32
    [ 12.582861] fuse init (API version 7.26)
    [ 12.871509] dwm spi0.0: bridge ok
    [ 24.625141] random: crng init done
    [ 24.625157] random: 7 urandom warning(s) missed due to ratelimiting
    [ 180.602809] dwm spi0.0: expected tlv type 113 != 0
    [ 180.602825] dwm spi0.0: bh_ul_decode_tlv rv(-3)
    [ 180.602833] dwm spi0.0: uplink discarded, sfn=63
    [ 213.002655] dwm spi0.0: expected tlv type 114 != 242
    [ 213.002664] dwm spi0.0: bh_ul_decode_tlv rv(-3)
    [ 213.002669] dwm spi0.0: uplink discarded, sfn=387
    [ 216.202699] dwm spi0.0: expected tlv type 114 != 242
    [ 216.202712] dwm spi0.0: bh_ul_decode_tlv rv(-3)
    [ 216.202716] dwm spi0.0: uplink discarded, sfn=419
    [ 233.792816] dwm spi0.0: expected tlv type 113 != 241
    [ 233.792826] dwm spi0.0: bh_ul_decode_tlv rv(-3)
    [ 233.792831] dwm spi0.0: uplink discarded, sfn=595
    [ 235.500737] dwm spi0.0: uplink len=68 do not fit into len=3 * cnt=1
    [ 235.500751] dwm spi0.0: error -12 in state=1
    [ 235.500757] dwm spi0.0: reinitialize …
    [ 238.882619] dwm spi0.0: decode TLV failed, error 3 t:192 l:1
    [ 238.882638] dwm spi0.0: dwm_status_get failed, error -12
    [ 238.882644] dwm spi0.0: reseting bridge
    [ 239.991544] dwm spi0.0: bridge can’t be initialized, error -14
    [ 243.392604] dwm spi0.0: bridge is not connected to UWB network
    [ 243.392616] dwm spi0.0: bridge ok

Can anyone help me with proper instruction and guide me to install the gatewat

Hi @shashank
thanks for your complex description + logs.

  1. I think that you have a power issues with RPi. How do you power it and with what voltage? You need to use original RPi power source 5.1V !!! Otherwise you might face to some artefacts as you can see at the end of the dmesg log.

  2. Bridge cannot act as initiator. But from you logs it looks like that theres is another initiator present in your network.

  3. Double check your DWM1001-DEV header soldering.

Cheers
JK