I’m using AG550Q-EU module and I integrated 550Q SDK to i.MX8MQ.
I.mx8 and 550q are connected via USB.
So, I compiled kernel with this CONFIG;
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE_NAMES=“qcom/sa515m-v2-ccard-usb-ep”
After booting is done, i faced some errors like “usb 4-1: Disable of device-initiated U1 failed.”
And I started cv2x service. (systemctl start cv2x ) It seems like AG550Q is not connected vi USB.
How do I use cv2x service with AG550Q and i.MX8MQ?
Regards,
root@imx8mqevk:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 2, If 1, Class=Vendor Specific Class, Driver=qcom_usb_qrtr, 5000M
|__ Port 1: Dev 2, If 2, Class=Vendor Specific Class, Driver=rmnet_usb, 5000M
|__ Port 1: Dev 2, If 4, Class=Communications, Driver=cdc_ether, 5000M
|__ Port 1: Dev 2, If 5, Class=CDC Data, Driver=cdc_ether, 5000M
|__ Port 1: Dev 2, If 7, Class=Vendor Specific Class, Driver=, 5000M
|__ Port 1: Dev 2, If 8, Class=Vendor Specific Class, Driver=, 5000M
|__ Port 1: Dev 2, If 15, Class=Vendor Specific Class, Driver=, 5000M
root@imx8mqevk:~# [ 206.638999] cv2x-daemon: Starting CV2X Daemon Service
[ 206.803482] cv2x-daemon: Initializing Data subsytem
[ 206.879364] QCMAP:Enable mobileap
[ 206.889628] QCMAP:Enable mobileap done
[ 206.899701] QCMAP: DSD service available
[ 207.036322] cv2x-daemon: Data subsytem ready
root@imx8mqevk:~# acme
diag: Unable to get remote processor info. Continuing with just the local processor
[E][v2x_radio_init_v3:1287] v2x_radio_init_v3: Failed to initialize Cv2x radio
[E][state_initialize:3965] Failed to initalize radio in cv2x inactive state, bail
Welcome to NXP i.MX Release Distro 4.14-sumo (sumo)!
[ 2.620646] systemd[1]: Set hostname to <imx8mqevk>.
[ 2.654828] systemd-fstab-generator[1817]: Failed to create unit file /run/systemd/generator/home-root-work.mount, as it already exists. Duplicate entry in /etc/fstab?
[ 2.693294] systemd[1815]: /lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
[ 2.721440] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.738661] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 2.832696] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.839591] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 2.863009] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.871282] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 2.887035] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.894012] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 2.915136] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice system-getty.slice.
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Swap.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket.
Starting Create list of required st…ce nodes for the current kernel...
Mounting Temporary Directory (/tmp)...
Mounting Kernel Debug File System...
Starting Apply Kernel Variables...
[ OK ] Listening on Process Core Dump Socket.
Mounting Kernel Configuration File System...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Listening on udev Control Socket.
Starting udev Coldplug all Devices...
[ OK ] Reached target System Time Synchronized.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
Mounting Huge Pages File System...
[ OK ] Listening on Network Service Netlink Socket.
Starting Remount Root and Kernel File Systems...
[ 3.284228] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ OK ] Reached target Remote File Systems.
Mounting POSIX Message Queue File System...
[ OK ] Listening on Journal Audit Socket.
Starting Journal Service...
[ OK ] Started Create list of required sta…vice nodes for the current kernel.
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Mounted Kernel Debug File System.
[ OK ] Started Journal Service.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted POSIX Message Queue File System.
Starting Rebuild Hardware Database...
Starting Create System Users...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Create System Users.
Starting Create Static Device Nodes in /dev...
[ 3.596303] systemd-journald[2487]: Received request to flush runtime journal from PID 1
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
[ OK ] Reached target Containers.
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Rebuild Hardware Database.
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
Starting Network Service...
[ OK ] Started Network Service.
[ OK ] Found device /dev/ttymxc0.
[ 5.042070] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[ 5.060204] imx-sdma 30bd0000.sdma: Falling back to user helper
[ 5.068729] imx-sdma 302c0000.sdma: no iram assigned, using external mem
[ OK ] Found device /dev/mmcblk1p3.
[ 5.152146] Atheros 8031 ethernet 30be0000.ethernet-1:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[ 5.153607] c18088 #1
[ 5.166161] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.194973] c18088 #2
[ 5.197269] c18088 #3
Mounting /home/root/work[ 5.201640] usbtwv 1-1.2:1.0: USB usbdev device now attached to USBDEV-192
...
[ 5.211487] c18088 #4
[ 5.214843] usbcore: registered new interface driver usbtwv
[ 5.249357] EXT4-fs (mmcblk1p3): recovery complete
[ 5.254292] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Mounted /home/[ 5.269648] imx-sdma 302c0000.sdma: external firmware not found, using ROM firmware
root/work.
[ 5.279770] imx-sdma 30bd0000.sdma: external firmware not found, using ROM firmware
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Rebuild Dynamic Linker Cache...
Starting Rebuild Journal Catalog...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Rebuild Dynamic Linker Cache.
[ OK ] Started Rebuild Journal Catalog.
Starting Update is Completed...
Starting Update UTMP about System Boot/Shutdown...
Starting Network Name Resolution...
[ OK ] Started Update is Completed.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
Starting sshd.socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started System Logging Service.
Starting NTP client/server...
[ OK ] Started Kernel Logging Service.
[ OK ] Started TEE Supplicant.
Starting Login Service...
Starting QRTR Nameserver...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Login Service.
Starting setup-script.service...
[ 5.819155] imx-sdma 30bd0000.sdma: sdma firmware not ready!
[ 5.824832] imx-uart 30880000.serial: Prepare for the RX slave dma failed!
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 5.843651] random: crng init done
[ 5.847093] random: 7 urandom warning(s) missed due to ratelimiting
[ OK ] Started Network Name Resolution.
[ OK ] Started NTP client/server.
[ OK ] Started QRTR Nameserver.
[ OK ] Started setup-script.service.
[ OK ] Started Netmgrd Service.
[ OK ] Started QCMAP connectionManager service.
Starting Chrony Sock Source...
[ OK ] Reached target Network.
Starting Permit User Sessions...
[ OK ] Reached target Host and Network Name Lookups.
Starting DNS forwarder and DHCP server...
[ OK ] Started Chrony Sock Source.
[ OK ] Started Permit User Sessions.
[ 6.079145] QCMAP:Start Main
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started DNS forwarder and DHCP server.
[ 6.157813] QCMAP:GSB disabled
[ 6.163806] QCMAP:N79 is not enabled
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ 6.192910] QCMAP:Init Complete
[ 6.199178] QCMAP:Netlink Query to Kernel Failed 88
[ OK ] Started Update UTMP about System Runlevel Changes.
NXP i.MX Release Distro 4.14-sumo imx8mqevk ttymxc0
imx8mqevk login: [ 8.256679] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 8.264664] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.303080] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 21.327999] usb 4-1: config 1 has an invalid interface number: 8 but max is 7
[ 21.335179] usb 4-1: config 1 has an invalid interface number: 15 but max is 7
[ 21.342449] usb 4-1: config 1 has no interface number 3
[ 21.347715] usb 4-1: config 1 has no interface number 6
[ 21.357891] alloc_contig_range: [440c0, 440c1) PFNs busy
[ 21.364485] alloc_contig_range: [440c1, 440c2) PFNs busy
[ 21.370547] alloc_contig_range: [440c2, 440c3) PFNs busy
[ 21.376551] alloc_contig_range: [440c3, 440c4) PFNs busy
[ 21.382541] alloc_contig_range: [440c4, 440c5) PFNs busy
[ 21.388525] alloc_contig_range: [440c5, 440c6) PFNs busy
[ 21.394507] alloc_contig_range: [440c6, 440c7) PFNs busy
[ 21.400562] alloc_contig_range: [440c7, 440c8) PFNs busy
[ 21.406593] alloc_contig_range: [440c8, 440c9) PFNs busy
[ 21.412577] alloc_contig_range: [440c9, 440ca) PFNs busy
[ 21.783744] usb 4-1: Enable of device-initiated U1 failed.
[ 21.815724] usb 4-1: Enable of device-initiated U2 failed.
[ 21.821616] option 4-1:1.0: GSM modem (1-port) converter detected
[ 21.828180] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 21.836365] usb 4-1: Disable of device-initiated U1 failed.
[ 21.842780] usb 4-1: Disable of device-initiated U2 failed.
[ 21.880428] rmnet_usb 4-1:1.2 rmnet_usb1: register 'rmnet_usb' at usb-xhci-hcd.1.auto-1, RmNET device 1, 72:c5:fa:91:a9:73
[ 21.911714] usb 4-1: Enable of device-initiated U1 failed.
[ 21.943709] usb 4-1: Enable of device-initiated U2 failed.
[ 21.953233] usb 4-1: Disable of device-initiated U1 failed.
[ 21.958969] usb 4-1: Disable of device-initiated U2 failed.
[ 22.043728] cdc_ether 4-1:1.4 usb0: register 'cdc_ether' at usb-xhci-hcd.1.auto-1, CDC Ethernet Device, a2:15:ea:13:b6:09
[ 22.071728] usb 4-1: Enable of device-initiated U1 failed.
[ 22.103726] usb 4-1: Enable of device-initiated U2 failed.
[ 40.247127] rmnet_usb 4-1:1.2: MRU change request to 0x4000
[ 40.366858] QCMAP: DSI Init Callback Received
[ 40.385809] audit: type=1325 audit(1699225660.829:2): table=mangle family=2 entries=0
[ 40.471027] audit: type=1300 audit(1699225660.829:2): arch=c00000b7 syscall=273 success=yes exit=0 a0=0 a1=419fd0 a2=0 a3=0 items=0 ppid=2787 pid=3226 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0)
[ 40.489908] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 40.496837] audit: type=1327 audit(1699225660.829:2): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D0069707461626C655F6D616E676C65
[ 40.514384] audit: type=1325 audit(1699225660.949:3): table=mangle family=10 entries=0
[ 40.611007] audit: type=1300 audit(1699225660.949:3): arch=c00000b7 syscall=273 success=yes exit=0 a0=0 a1=419fd0 a2=0 a3=0 items=0 ppid=2787 pid=3234 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0)
[ 40.636834] audit: type=1327 audit(1699225660.949:3): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D006970367461626C655F6D616E676C65
[ 40.650351] audit: type=1325 audit(1699225661.093:4): table=mangle family=2 entries=6
[ 40.658292] audit: type=1300 audit(1699225661.093:4): arch=c00000b7 syscall=208 success=yes exit=0 a0=6 a1=0 a2=40 a3=365ecb50 items=0 ppid=3073 pid=3244 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egi)
[ 40.685588] audit: type=1327 audit(1699225661.093:4): proctitle=2F7573722F7362696E2F69707461626C6573002D74006D616E676C65002D4E0071636F6D5F716F735F72657365745F504F5354524F5554494E47
[ 40.701740] audit: type=1325 audit(1699225661.101:5): table=mangle family=2 entries=8
[ 40.779891] QCMAP: DSI Init Callback Received