Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read the firmware version after six attempts | Received a NAK to the SET_FREQ command from the modem #347

Open
ds2k5 opened this issue Jan 13, 2025 · 2 comments

Comments

@ds2k5
Copy link

ds2k5 commented Jan 13, 2025

Hello,
using a Raspberry PI Zero 2W with a HS_PI Hat (FW: 1.5.2)

sudo ./MMDVMHost -v
MMDVMHost version 20240930 git #ebea3ed

front

back

My settings in MMDVM.ini excerpts


[General]
Callsign=xxxxxx
Id=xxxxxx
Timeout=180
Duplex=0
# ModeHang=10
RFModeHang=10
NetModeHang=3
Display=None
Daemon=0

[Log]
# Logging levels, 0=No logging
DisplayLevel=1
FileLevel=1
FilePath=/mnt/ramdisk/
FileRoot=MMDVM
FileRotate=1

[DMR]
Enable=1

[DMR Network]
Enable=1
# Type may be either 'Direct' or 'Gateway'. When Direct you must provide the Master's
# address as well as the Password, and for DMR+, Options also.
Type=Direct
LocalAddress=127.0.0.1
LocalPort=62032
RemoteAddress=master1.bm262.de
RemotePort=62031
Password=xxxxxxxxxxxx
Jitter=360
Slot1=1


if I run: sudo ./MMDVMHost MMDVM.ini

got this error:

M: 2025-01-13 08:45:11.023 Opening the MMDVM
E: 2025-01-13 08:45:23.841 Unable to read the firmware version after six attempts

Complete Output:


I: 2025-01-13 09:02:45.188 This software is for use on amateur radio networks only,
I: 2025-01-13 09:02:45.188 it is to be used for educational purposes only. Its use on
I: 2025-01-13 09:02:45.188 commercial networks is strictly prohibited.
I: 2025-01-13 09:02:45.188 Copyright(C) 2015-2024 by Jonathan Naylor, G4KLX and others
I: 2025-01-13 09:02:45.188 MMDVMHost-20240930 is starting
I: 2025-01-13 09:02:45.188 Built 09:27:26 Jan 13 2025 (GitID #ebea3ed)
I: 2025-01-13 09:02:45.188 General Parameters
I: 2025-01-13 09:02:45.188     Callsign: xxxxxx
I: 2025-01-13 09:02:45.188     Id: xxxxxxx
I: 2025-01-13 09:02:45.188     Duplex: no
I: 2025-01-13 09:02:45.188     Timeout: 180s
I: 2025-01-13 09:02:45.188     D-Star: enabled
I: 2025-01-13 09:02:45.188     DMR: enabled
I: 2025-01-13 09:02:45.188     YSF: enabled
I: 2025-01-13 09:02:45.188     P25: enabled
I: 2025-01-13 09:02:45.188     NXDN: enabled
I: 2025-01-13 09:02:45.188     M17: enabled
I: 2025-01-13 09:02:45.188     POCSAG: enabled
I: 2025-01-13 09:02:45.188     FM: enabled
I: 2025-01-13 09:02:45.188     AX.25: enabled
I: 2025-01-13 09:02:45.188 Modem Parameters
I: 2025-01-13 09:02:45.189     Protocol: uart
I: 2025-01-13 09:02:45.189     UART Port: /dev/ttyAMA0
I: 2025-01-13 09:02:45.189     UART Speed: 460800
I: 2025-01-13 09:02:45.189     RX Invert: no
I: 2025-01-13 09:02:45.189     TX Invert: yes
I: 2025-01-13 09:02:45.189     PTT Invert: no
I: 2025-01-13 09:02:45.189     TX Delay: 100ms
I: 2025-01-13 09:02:45.189     RX Offset: 0Hz
I: 2025-01-13 09:02:45.189     TX Offset: 0Hz
I: 2025-01-13 09:02:45.189     RX DC Offset: 0
I: 2025-01-13 09:02:45.189     TX DC Offset: 0
I: 2025-01-13 09:02:45.189     RF Level: 100.0%
I: 2025-01-13 09:02:45.189     DMR Delay: 0 (0.0ms)
I: 2025-01-13 09:02:45.189     RX Level: 50.0%
I: 2025-01-13 09:02:45.189     CW Id TX Level: 50.0%
I: 2025-01-13 09:02:45.189     D-Star TX Level: 50.0%
I: 2025-01-13 09:02:45.189     DMR TX Level: 50.0%
I: 2025-01-13 09:02:45.189     YSF TX Level: 50.0%
I: 2025-01-13 09:02:45.189     P25 TX Level: 50.0%
I: 2025-01-13 09:02:45.189     NXDN TX Level: 50.0%
I: 2025-01-13 09:02:45.190     M17 TX Level: 50.0%
I: 2025-01-13 09:02:45.190     POCSAG TX Level: 50.0%
I: 2025-01-13 09:02:45.190     FM TX Level: 50.0%
I: 2025-01-13 09:02:45.190     AX.25 TX Level: 50.0%
I: 2025-01-13 09:02:45.190     TX Frequency: 435000000Hz (435000000Hz)
I: 2025-01-13 09:02:45.190     Use COS as Lockout: no
I: 2025-01-13 09:02:45.190 FM Parameters
I: 2025-01-13 09:02:45.190     Callsign: DO7DSH
I: 2025-01-13 09:02:45.190     Callsign Speed: 20WPM
I: 2025-01-13 09:02:45.190     Callsign Frequency: 1000Hz
I: 2025-01-13 09:02:45.191     Callsign Time: 10mins
I: 2025-01-13 09:02:45.191     Callsign Holdoff: 1/0
I: 2025-01-13 09:02:45.191     Callsign High Level: 50.0%
I: 2025-01-13 09:02:45.191     Callsign Low Level: 20.0%
I: 2025-01-13 09:02:45.191     Callsign At Start: yes
I: 2025-01-13 09:02:45.191     Callsign At End: yes
I: 2025-01-13 09:02:45.191     Callsign At Latch: no
I: 2025-01-13 09:02:45.191     RF Ack: K
I: 2025-01-13 09:02:45.191     Ack Speed: 20WPM
I: 2025-01-13 09:02:45.191     Ack Frequency: 1750Hz
I: 2025-01-13 09:02:45.191     Ack Min Time: 4s
I: 2025-01-13 09:02:45.191     Ack Delay: 1000ms
I: 2025-01-13 09:02:45.191     Ack Level: 50.0%
I: 2025-01-13 09:02:45.191     Timeout: 180s
I: 2025-01-13 09:02:45.192     Timeout Level: 80.0%
I: 2025-01-13 09:02:45.192     CTCSS Frequency: 88.4Hz
I: 2025-01-13 09:02:45.192     CTCSS High Threshold: 30
I: 2025-01-13 09:02:45.192     CTCSS Low Threshold: 30
I: 2025-01-13 09:02:45.192     CTCSS Level: 20.0%
I: 2025-01-13 09:02:45.192     Kerchunk Time: 0s
I: 2025-01-13 09:02:45.192     Hang Time: 7s
I: 2025-01-13 09:02:45.192     Access Mode: 1
I: 2025-01-13 09:02:45.192     Link Mode: no
I: 2025-01-13 09:02:45.192     COS Invert: no
I: 2025-01-13 09:02:45.192     Noise Squelch: no
I: 2025-01-13 09:02:45.193     RF Audio Boost: x1
I: 2025-01-13 09:02:45.193     Max. Deviation Level: 90.0%
I: 2025-01-13 09:02:45.193     Mode Hang: 10s
I: 2025-01-13 09:02:45.193     Ext. Ack: N
I: 2025-01-13 09:02:45.193     Ext. Audio Boost: x1
M: 2025-01-13 09:02:45.193 Opening the MMDVM

What did I wrong ?

$ lsmod

Module                  Size  Used by
brcmfmac_wcc           12288  0
brcmfmac              360448  1 brcmfmac_wcc
brcmutil               24576  1 brcmfmac
binfmt_misc            16384  1
vc4                   380928  2
cfg80211              983040  1 brcmfmac
snd_soc_hdmi_codec     20480  1
drm_display_helper     16384  1 vc4
cec                    53248  1 vc4
drm_dma_helper         24576  2 vc4
drm_kms_helper        212992  2 drm_dma_helper,vc4
rfkill                 32768  4 cfg80211
snd_soc_core          286720  2 vc4,snd_soc_hdmi_codec
snd_compress           16384  1 snd_soc_core
bcm2835_codec          45056  0
snd_pcm_dmaengine      16384  1 snd_soc_core
bcm2835_isp            28672  0
bcm2835_v4l2           40960  0
bcm2835_mmal_vchiq     36864  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_mem2mem           45056  1 bcm2835_codec
raspberrypi_hwmon      12288  0
snd_bcm2835            24576  0
videobuf2_dma_contig    16384  2 bcm2835_codec,bcm2835_isp
videobuf2_vmalloc      12288  1 bcm2835_v4l2
videobuf2_memops       12288  2 videobuf2_vmalloc,videobuf2_dma_contig
i2c_bcm2835            16384  0
snd_pcm               139264  5 snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
videobuf2_v4l2         32768  4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
videodev              303104  5 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
snd_timer              36864  1 snd_pcm
videobuf2_common       69632  8 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
snd                   110592  6 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
raspberrypi_gpiomem    12288  0
mc                     61440  6 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
vc_sm_cma              28672  2 bcm2835_mmal_vchiq,bcm2835_isp
drm                   643072  5 drm_kms_helper,drm_dma_helper,vc4,drm_display_helper
fuse                  139264  1
drm_panel_orientation_quirks    28672  1 drm
dm_mod                147456  0
backlight              24576  2 drm_kms_helper,drm
ip_tables              32768  0
x_tables               49152  1 ip_tables
ipv6                  569344  26
uio_pdrv_genirq        12288  0
uio                    20480  1 uio_pdrv_genirq

$ dmesg

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.62+rpt-rpi-v8 ([email protected]) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25)
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi Zero 2 W Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000000b800000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x000000000b800000..0x000000001b7fffff (262144 KiB) map reusable linux,cma
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x1b856fc0-0x1b859bff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 30 pages/cpu s85928 r8192 d28760 u122880
[    0.000000] pcpu-alloc: s85928 r8192 d28760 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=B8:27:EB:7C:11:BB vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  console=tty1 root=PARTUUID=061793a8-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE
[    0.000000] cgroup: Disabling memory control group subsystem
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 112896
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 153204K/458752K available (13504K kernel code, 2206K rwdata, 4292K rodata, 4864K init, 1086K bss, 43404K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 43495 entries in 170 pages
[    0.000000] ftrace: allocated 170 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: bcm2836_arm_irqchip_handle_irq
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000404] Console: colour dummy device 80x25
[    0.000421] printk: console [tty1] enabled
[    0.001444] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.001494] pid_max: default: 32768 minimum: 301
[    0.001615] LSM: initializing lsm=capability,integrity
[    0.001860] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.001906] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.004799] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.004972] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.005139] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.005495] rcu: Hierarchical SRCU implementation.
[    0.005522] rcu: 	Max phase no-delay instances is 1000.
[    0.007669] EFI services will not be available.
[    0.008156] smp: Bringing up secondary CPUs ...
[    0.008979] Detected VIPT I-cache on CPU1
[    0.009129] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.010353] Detected VIPT I-cache on CPU2
[    0.010467] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.011584] Detected VIPT I-cache on CPU3
[    0.011688] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.012174] smp: Brought up 1 node, 4 CPUs
[    0.012304] SMP: Total of 4 processors activated.
[    0.012328] CPU features: detected: 32-bit EL0 Support
[    0.012348] CPU features: detected: 32-bit EL1 Support
[    0.012371] CPU features: detected: CRC32 instructions
[    0.012531] CPU: All CPU(s) started at EL2
[    0.012566] alternatives: applying system-wide alternatives
[    0.015344] devtmpfs: initialized
[    0.028729] Enabled cp15_barrier support
[    0.028795] Enabled setend support
[    0.029040] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.029095] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.041692] pinctrl core: initialized pinctrl subsystem
[    0.042544] DMI not present or invalid.
[    0.043322] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.050155] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.050544] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.051154] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.051299] audit: initializing netlink subsys (disabled)
[    0.051615] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.052534] thermal_sys: Registered thermal governor 'step_wise'
[    0.052602] cpuidle: using governor menu
[    0.052953] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.053128] ASID allocator initialised with 32768 entries
[    0.054224] Serial: AMBA PL011 UART driver
[    0.060491] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.072392] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-11-26T12:54:19, variant start
[    0.076392] raspberrypi-firmware soc:firmware: Firmware hash is 2ae30f53898ae2f1ba77ff570a92991bedfb0398
[    0.084838] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.084879] Modules: 0 pages in range for non-PLT usage
[    0.084886] Modules: 517760 pages in range for PLT usage
[    0.090688] bcm2835-dma 3f007000.dma-controller: DMA legacy API manager, dmachans=0x1
[    0.092356] iommu: Default domain type: Translated
[    0.092385] iommu: DMA domain TLB invalidation policy: strict mode
[    0.093025] SCSI subsystem initialized
[    0.093296] usbcore: registered new interface driver usbfs
[    0.093374] usbcore: registered new interface driver hub
[    0.093449] usbcore: registered new device driver usb
[    0.093954] pps_core: LinuxPPS API ver. 1 registered
[    0.093980] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.094039] PTP clock support registered
[    0.096708] vgaarb: loaded
[    0.097332] clocksource: Switched to clocksource arch_sys_counter
[    1.729796] VFS: Disk quotas dquot_6.6.0
[    1.729896] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.730078] FS-Cache: Loaded
[    1.730372] CacheFiles: Loaded
[    1.740921] NET: Registered PF_INET protocol family
[    1.741180] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.742525] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.742586] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.742628] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.742789] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.743001] TCP: Hash tables configured (established 4096 bind 4096)
[    1.743301] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[    1.743396] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.743452] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.743678] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.744359] RPC: Registered named UNIX socket transport module.
[    1.744391] RPC: Registered udp transport module.
[    1.744412] RPC: Registered tcp transport module.
[    1.744432] RPC: Registered tcp-with-tls transport module.
[    1.744453] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.744500] PCI: CLS 0 bytes, default 64
[    1.745135] Trying to unpack rootfs image as initramfs...
[    1.745171] kvm [1]: IPA Size Limit: 40 bits
[    1.747011] kvm [1]: Hyp mode initialized successfully
[    1.751259] Initialise system trusted keyrings
[    1.751697] workingset: timestamp_bits=42 max_order=17 bucket_order=0
[    1.751796] zbud: loaded
[    1.752933] NFS: Registering the id_resolver key type
[    1.753018] Key type id_resolver registered
[    1.753042] Key type id_legacy registered
[    1.753089] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.753119] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.754167] Key type asymmetric registered
[    1.754204] Asymmetric key parser 'x509' registered
[    1.754304] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.754620] io scheduler mq-deadline registered
[    1.754649] io scheduler kyber registered
[    1.754711] io scheduler bfq registered
[    1.757825] pinctrl-bcm2835 3f200000.gpio: GPIO_OUT persistence: yes
[    1.759739] simple-framebuffer 1eaa9000.framebuffer: framebuffer at 0x1eaa9000, 0x151800 bytes
[    1.759811] simple-framebuffer 1eaa9000.framebuffer: format=a8r8g8b8, mode=720x480x32, linelength=2880
[    1.763766] Console: switching to colour frame buffer device 90x30
[    1.768802] simple-framebuffer 1eaa9000.framebuffer: fb0: simplefb registered!
[    1.775296] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.780395] bcm2835-rng 3f104000.rng: hwrng registered
[    1.782912] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.806143] brd: module loaded
[    1.818551] loop: module loaded
[    1.821553] Loading iSCSI transport class v2.0-870.
[    1.829951] usbcore: registered new device driver r8152-cfgselector
[    1.831929] usbcore: registered new interface driver r8152
[    1.833952] usbcore: registered new interface driver lan78xx
[    1.835785] usbcore: registered new interface driver smsc95xx
[    1.838017] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.242875] Freeing initrd memory: 6716K
[    2.568155] Core Release: 2.80a
[    2.569821] Setting default values for core params
[    2.571469] Finished setting default values for core params
[    2.773501] Using Buffer DMA mode
[    2.775178] Periodic Transfer Interrupt Enhancement - disabled
[    2.776876] Multiprocessor Interrupt Enhancement - disabled
[    2.778566] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.780201] Dedicated Tx FIFOs mode

[    2.783148] WARN::dwc_otg_hcd_init:1070: FIQ DMA bounce buffers: virt = ffffffc080b92000 dma = 0x00000000cbc00000 len=9024
[    2.787802] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    2.795051] dwc_otg: Microframe scheduler enabled

[    2.795093] WARN::hcd_init_fiq:496: MPHI regs_base at ffffffc080065000
[    2.798042] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.799545] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.801104] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000
[    2.802704] Init: Port Power? op_state=1
[    2.804266] Init: Power Port (0)
[    2.806060] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    2.809229] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.810946] usb usb1: Product: DWC OTG Controller
[    2.812630] usb usb1: Manufacturer: Linux 6.6.62+rpt-rpi-v8 dwc_otg_hcd
[    2.814381] usb usb1: SerialNumber: 3f980000.usb
[    2.816884] hub 1-0:1.0: USB hub found
[    2.818642] hub 1-0:1.0: 1 port detected
[    2.820962] dwc_otg: FIQ enabled
[    2.820972] dwc_otg: NAK holdoff enabled
[    2.820979] dwc_otg: FIQ split-transaction FSM enabled
[    2.820994] Module dwc_common_port init
[    2.821937] usbcore: registered new interface driver uas
[    2.823669] usbcore: registered new interface driver usb-storage
[    2.826029] mousedev: PS/2 mouse device common for all mice
[    2.830366] sdhci: Secure Digital Host Controller Interface driver
[    2.831980] sdhci: Copyright(c) Pierre Ossman
[    2.833862] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.836137] ledtrig-cpu: registered to indicate activity on CPUs
[    2.837491] hid: raw HID events driver (C) Jiri Kosina
[    2.838588] usbcore: registered new interface driver usbhid
[    2.839592] usbhid: USB HID core driver
[    2.840673] bcm2835_vchiq 3f00b840.mailbox: there is not valid maps for state default
[    2.845458] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.848797] NET: Registered PF_PACKET protocol family
[    2.850099] Key type dns_resolver registered
[    2.874353] registered taskstats version 1
[    2.875645] Loading compiled-in X.509 certificates
[    2.887132] Key type .fscrypt registered
[    2.888168] Key type fscrypt-provisioning registered
[    2.897881] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.899115] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.901079] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    2.902117] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    2.926125] sdhost: log_buf @ 000000002099e10e (c4251000)
[    2.976815] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.978659] uart-pl011 3f201000.serial: there is not valid maps for state default
[    2.980634] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.983182] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[    2.988075] of_cfs_init
[    2.989572] of_cfs_init: OK
[    2.991096] clk: Disabling unused clocks
[    2.999710] Freeing unused kernel memory: 4864K
[    3.000900] Run /init as init process
[    3.001911]   with arguments:
[    3.001915]     /init
[    3.001919]   with environment:
[    3.001922]     HOME=/
[    3.001926]     TERM=linux
[    3.044302] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.050076] mmc0: Host Software Queue enabled
[    3.051390] mmc0: new high speed SDHC card at address aaaa
[    3.054628] mmc1: new high speed SDIO card at address 0001
[    3.056770] mmcblk0: mmc0:aaaa SK32G 29.7 GiB
[    3.060697]  mmcblk0: p1 p2
[    3.062463] mmcblk0: mmc0:aaaa SK32G 29.7 GiB (quirks 0x00004000)
[    4.250323] EXT4-fs (mmcblk0p2): mounted filesystem ce208fd3-38a8-424a-87a2-cd44114eb820 ro with ordered data mode. Quota mode: none.
[    5.002995] systemd[1]: System time before build time, advancing clock.
[    5.185491] NET: Registered PF_INET6 protocol family
[    5.187613] Segment Routing with IPv6
[    5.188691] In-situ OAM (IOAM) with IPv6
[    5.264528] systemd[1]: systemd 252.33-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    5.271738] systemd[1]: Detected architecture arm64.
[    5.289760] systemd[1]: Hostname set to <raspberrypi>.
[    6.112298] systemd[1]: Queued start job for default target multi-user.target.
[    6.141738] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    6.148327] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    6.153483] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    6.158229] systemd[1]: Created slice user.slice - User and Session Slice.
[    6.161408] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    6.165785] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    6.170847] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    6.175343] systemd[1]: Expecting device dev-disk-by\x2dpartuuid-061793a8\x2d01.device - /dev/disk/by-partuuid/061793a8-01...
[    6.179841] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    6.183052] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    6.187968] systemd[1]: Reached target paths.target - Path Units.
[    6.191279] systemd[1]: Reached target slices.target - Slice Units.
[    6.194511] systemd[1]: Reached target swap.target - Swaps.
[    6.197685] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    6.202848] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    6.207919] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    6.213686] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    6.218981] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    6.224233] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    6.228921] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    6.234122] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    6.238020] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    6.261813] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    6.271956] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    6.281657] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    6.285700] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    6.293983] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    6.304272] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    6.314219] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    6.325235] systemd[1]: Starting [email protected] - Load Kernel Module configfs...
[    6.336359] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    6.345561] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[    6.355587] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    6.368151] systemd[1]: Starting [email protected] - Load Kernel Module fuse...
[    6.378544] systemd[1]: Starting [email protected] - Load Kernel Module loop...
[    6.384509] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    6.391800] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[    6.404977] systemd[1]: Starting systemd-journald.service - Journal Service...
[    6.421438] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    6.428896] fuse: init (API version 7.39)
[    6.433041] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    6.444918] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    6.465300] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    6.476181] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    6.484243] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    6.496561] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    6.513803] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    6.520909] systemd[1]: [email protected]: Deactivated successfully.
[    6.526398] systemd[1]: Finished [email protected] - Load Kernel Module configfs.
[    6.535402] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    6.537752] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    6.542691] systemd[1]: [email protected]: Deactivated successfully.
[    6.545083] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[    6.550736] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    6.553196] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    6.560317] systemd[1]: [email protected]: Deactivated successfully.
[    6.563103] EXT4-fs (mmcblk0p2): re-mounted ce208fd3-38a8-424a-87a2-cd44114eb820 r/w. Quota mode: none.
[    6.563118] systemd[1]: Finished [email protected] - Load Kernel Module fuse.
[    6.578079] systemd[1]: [email protected]: Deactivated successfully.
[    6.580434] systemd[1]: Finished [email protected] - Load Kernel Module loop.
[    6.585180] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[    6.589662] systemd[1]: Started systemd-journald.service - Journal Service.
[    6.716787] systemd-journald[234]: Received client request to flush runtime journal.
[    6.725632] systemd-journald[234]: File /var/log/journal/e619b41b6aa643f5b38e2cbbe0a66bad/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    7.956573] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    7.974188] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    7.974217] [vc_sm_connected_init]: start
[    7.976705] rpi-gpiomem 3f200000.gpiomem: window base 0x3f200000 size 0x00001000
[    7.978652] [vc_sm_connected_init]: installed successfully
[    7.980694] rpi-gpiomem 3f200000.gpiomem: initialised 1 regions as /dev/gpiomem
[    7.986064] mc: Linux media interface: v0.10
[    8.055492] videodev: Linux video capture interface: v2.00
[    8.111079] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    8.132131] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.162647] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    8.164934] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    8.174204] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    8.179023] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    8.180082] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    8.180589] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    8.180956] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    8.180985] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    8.181002] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    8.181011] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    8.181020] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    8.185180] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    8.185445] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    8.185488] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    8.185952] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    8.186478] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    8.187411] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    8.187434] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    8.187450] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    8.187460] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    8.187483] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    8.187658] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    8.189496] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    8.189537] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    8.192806] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    8.192856] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    8.197849] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    8.197900] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    8.203637] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    8.203688] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    8.576624] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.608055] Console: switching to colour dummy device 80x25
[    8.621715] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    8.642446] Registered IR keymap rc-cec
[    8.642626] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    8.642828] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
[    8.643322] Loaded X.509 cert '[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    8.644353] Loaded X.509 cert '[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    8.657446] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.657875] input: vc4-hdmi HDMI Jack as /devices/platform/soc/3f902000.hdmi/sound/card0/input1
[    8.658467] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    8.659241] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[    8.659604] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[    8.659817] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.660013] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.660208] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.660498] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[    8.679495] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[    8.681865] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[    8.682909] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[    8.858740] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    8.863566] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    8.864257] usbcore: registered new interface driver brcmfmac
[    9.093804] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    9.094350] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jun 14 2023 07:27:45 version 7.45.96.s1 (gf031a129) FWID 01-70bd2af7 es7
[    9.934582] Adding 524284k swap on /var/swap.  Priority:-2 extents:13 across:16252928k SS
[   11.681045] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   33.561884] systemd[531]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[  163.532742] uart-pl011 3f201000.serial: no DMA platform data

$ ls -lathr /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Jan 13 10:02 /dev/ttyAMA0

Tryed with https://github.com/on7lds/NextionDriver/blob/master/README-using.md
too.

But the same error

@ds2k5
Copy link
Author

ds2k5 commented Jan 13, 2025

after slow down the UART Speed to 115200

[Modem]
# Valid values are "null", "uart", "udp", and (on Linux) "i2c"
Protocol=uart
# The port and speed used for a UART connection
# UARTPort=\\.\COM4
# UARTPort=/dev/ttyACM0
UARTPort=/dev/ttyAMA0
#UARTSpeed=460800
UARTSpeed=115200

got this:

I: 2025-01-13 09:26:23.099 MMDVM protocol version: 1, description: MMDVM_HS_Hat-v1.5.2 20201108 14.7456MHz ADF7021 FW by CA6JAU GitID #89daa20
E: 2025-01-13 09:26:23.109 Received a NAK to the SET_FREQ command from the modem

But the program is stopping after this message

After disabling: D-STAR, AX25,..... only DMR Enabled
the progam runs forward.... but....

E: 2025-01-13 10:43:16.641 Error returned from sendto, err: 22
E: 2025-01-13 10:43:16.641 DMR, Socket has failed when writing data to the master, retrying connection
M: 2025-01-13 10:43:16.641 DMR, Closing DMR Network
M: 2025-01-13 10:43:16.641 DMR, Opening DMR Network
I: 2025-01-13 10:43:16.642 Opening UDP port on 62032

@ds2k5 ds2k5 changed the title Unable to read the firmware version after six attempts Unable to read the firmware version after six attempts | Received a NAK to the SET_FREQ command from the modem Jan 13, 2025
@ds2k5
Copy link
Author

ds2k5 commented Jan 13, 2025

Here is was I changed:

  1. UART Speed to 115200
  2. disable all except DMR
  3. Set: LocalAddress=0.0.0.0 in [DMR Network]
[DMR Network]
Enable=1
# Type may be either 'Direct' or 'Gateway'. When Direct you must provide the Master's
# address as well as the Password, and for DMR+, Options also.
Type=Direct
LocalAddress=0.0.0.0



```But still error:

E: 2025-01-13 11:11:39.013 DMR, Login to the master has failed, retrying network ...
M: 2025-01-13 11:11:39.013 DMR, Closing DMR Network
M: 2025-01-13 11:11:39.013 DMR, Opening DMR Network
I: 2025-01-13 11:11:39.014 Opening UDP port on 62032
D: 2025-01-13 11:11:49.014 DMR Network Transmitted
D: 2025-01-13 11:11:49.014 0000:  52 50 54 4C 00 28 2B EE                            *RPTL.(+.*
D: 2025-01-13 11:11:49.029 DMR, Network Received
D: 2025-01-13 11:11:49.030 0000:  52 50 54 41 43 4B AF 37 DD 99                      *RPTACK.7..*
D: 2025-01-13 11:11:49.030 DMR, Sending authorisation
D: 2025-01-13 11:11:49.030 DMR Network Transmitted
D: 2025-01-13 11:11:49.030 0000:  52 50 54 4B 00 28 2B EE F5 B3 BF C7 3B F8 A1 DE    *RPTK.(+.....;...*
D: 2025-01-13 11:11:49.030 0010:  1E 77 B7 04 C4 xx xx xx xx xx xx xx xx xx xx 9A    *.w........b.....*
D: 2025-01-13 11:11:49.030 0020:  5D CE F6 46 xx xx xx xx                            *]..F.(..*
D: 2025-01-13 11:11:49.046 DMR, Network Received
D: 2025-01-13 11:11:49.047 0000:  4D 53 54 4E 41 4B 00 28 2B EE                      *MSTNAK.(+.*
E: 2025-01-13 11:11:49.047 DMR, Login to the master has failed, retrying network ...
M: 2025-01-13 11:11:49.047 DMR, Closing DMR Network
M: 2025-01-13 11:11:49.047 DMR, Opening DMR Network
I: 2025-01-13 11:11:49.048 Opening UDP port on 62032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant