I didn't reproduce your problem with images downloaded from the following link
https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz
https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz
I connected two lx2160ardb through dpmac.17, please refer to my following log.
NXP LSDK 2108 main (custom based on ubuntu 20.04)
localhost login: root
Password:
Welcome to NXP LSDK 2108 main (custom based on ubuntu 20.04) (GNU/Linux 5.10.35 aarch64)
* Support: https://www.nxp.com
* Licensing: https://lsdk.github.io/eula
Last login: Wed Jul 21 19:44:37 UTC 2021 from 100.1.1.100 on pts/0
root@localhost:~# modprobe dpaa2_caam
[ 109.828672] fsl_mc_dprc dprc.1 (unnamed net_device) (uninitialized): netif_napi_add() called with weight 512
root@localhost:~# modprobe dpaa2_caam
root@localhost:~# modprobe cryptodev
root@localhost:~# lsmod
Module Size Used by
cryptodev 57344 0
dpaa2_caam 114688 0
caamhash_desc 16384 1 dpaa2_caam
caamalg_desc 40960 1 dpaa2_caam
error 24576 3 caamalg_desc,caamhash_desc,dpaa2_caam
libdes 24576 1 dpaa2_caam
xt_CHECKSUM 16384 1
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
ip6table_mangle 16384 1
ip6table_nat 16384 1
ip6table_filter 16384 1
xt_addrtype 16384 2
ip6_tables 32768 3 ip6table_filter,ip6table_nat,ip6table_mangle
xt_conntrack 16384 2
mali_dp 73728 0
root@localhost:~# dmesg |grep caam
[ 109.803915] dpaa2_caam dpseci.0: Adding to iommu group 9
[ 109.805606] dpaa2_caam dpseci.0: dpseci v5.3
[ 109.854394] dpaa2_caam dpseci.0: algorithms registered in /proc/crypto
[ 109.855505] dpaa2_caam dpseci.0: hash algorithms registered in /proc/crypto
root@localhost:~# ls-listni
dprc.1/dpni.1 (interface: eth1, end point: dpmac.5)
dprc.1/dpni.0 (interface: eth2, end point: dpmac.17)
root@localhost:~# ifconfig eth2 100.1.1.99
root@localhost:~#
On the other lx2160ardb.
root@TinyLinux:~# ping 100.1.1.99
PING 100.1.1.99 (100.1.1.99): 56 data bytes
64 bytes from 100.1.1.99: seq=0 ttl=64 time=0.326 ms
64 bytes from 100.1.1.99: seq=1 ttl=64 time=0.119 ms
64 bytes from 100.1.1.99: seq=2 ttl=64 time=0.119 ms
^C
--- 100.1.1.99 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.119/0.188/0.326 ms
root@TinyLinux:~# ls-listni
dprc.1/dpni.1 (interface: eth1, end point: dpmac.5)
dprc.1/dpni.0 (interface: eth2, end point: dpmac.17)
root@TinyLinux:~# ifconfig eth2
eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.1.1.100 netmask 255.0.0.0 broadcast 100.255.255.255
inet6 fe80::204:9fff:fe05:844a prefixlen 64 scopeid 0x20<link>
ether 00:04:9f:05:84:4a txqueuelen 1000 (Ethernet)
RX packets 495 bytes 75665 (73.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 680 bytes 60735 (59.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@TinyLinux:~# ssh -vvv [email protected]
OpenSSH_8.5p1, OpenSSL 1.1.1k 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug2: resolve_canonicalize: hostname 100.1.1.99 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/root/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to 100.1.1.99 [100.1.1.99] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/root/.ssh/id_rsa type -1
debug1: identity file /home/root/.ssh/id_rsa-cert type -1
debug1: identity file /home/root/.ssh/id_dsa type -1
debug1: identity file /home/root/.ssh/id_dsa-cert type -1
debug1: identity file /home/root/.ssh/id_ecdsa type -1
debug1: identity file /home/root/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/root/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/root/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/root/.ssh/id_ed25519 type -1
debug1: identity file /home/root/.ssh/id_ed25519-cert type -1
debug1: identity file /home/root/.ssh/id_ed25519_sk type -1
debug1: identity file /home/root/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/root/.ssh/id_xmss type -1
debug1: identity file /home/root/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.5
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.3
debug1: compat_banner: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 100.1.1.99:22 as 'root'
debug3: record_hostkey: found key type ED25519 in file /home/root/.ssh/known_hosts:1
debug3: record_hostkey: found key type RSA in file /home/root/.ssh/known_hosts:2
debug3: record_hostkey: found key type ECDSA in file /home/root/.ssh/known_hosts:3
debug3: load_hostkeys_file: loaded 3 keys from 100.1.1.99
debug1: load_hostkeys: fopen /home/root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: have matching best-preference key type [email protected], using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected],zlib
debug2: compression stoc: none,[email protected],zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:DwlMK3S/tYsF+yJpJG7Tu5/TGqwaGuemhOZRgsXFuHs
debug3: record_hostkey: found key type ED25519 in file /home/root/.ssh/known_hosts:1
debug3: record_hostkey: found key type RSA in file /home/root/.ssh/known_hosts:2
debug3: record_hostkey: found key type ECDSA in file /home/root/.ssh/known_hosts:3
debug3: load_hostkeys_file: loaded 3 keys from 100.1.1.99
debug1: load_hostkeys: fopen /home/root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '100.1.1.99' is known and matches the ED25519 host key.
debug1: Found key in /home/root/.ssh/known_hosts:1
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/root/.ssh/id_rsa
debug1: Will attempt key: /home/root/.ssh/id_dsa
debug1: Will attempt key: /home/root/.ssh/id_ecdsa
debug1: Will attempt key: /home/root/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/root/.ssh/id_ed25519
debug1: Will attempt key: /home/root/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/root/.ssh/id_xmss
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected]>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/root/.ssh/id_rsa
debug3: no such identity: /home/root/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_dsa
debug3: no such identity: /home/root/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_ecdsa
debug3: no such identity: /home/root/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_ecdsa_sk
debug3: no such identity: /home/root/.ssh/id_ecdsa_sk: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_ed25519
debug3: no such identity: /home/root/.ssh/id_ed25519: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_ed25519_sk
debug3: no such identity: /home/root/.ssh/id_ed25519_sk: No such file or directory
debug1: Trying private key: /home/root/.ssh/id_xmss
debug3: no such identity: /home/root/.ssh/id_xmss: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
[email protected]'s password:
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to 100.1.1.99 ([100.1.1.99]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: exec
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: client_input_hostkeys: received RSA key SHA256:YKXjJisNDBXw7YyIvtxJnh7lD5NhwlwLijaxCvS+7o0
debug3: client_input_hostkeys: received ECDSA key SHA256:tImb95KfemNtv5WfjbvDhnXBu6/dSgkSvdN/Xzzuq9c
debug3: client_input_hostkeys: received ED25519 key SHA256:DwlMK3S/tYsF+yJpJG7Tu5/TGqwaGuemhOZRgsXFuHs
debug1: client_input_hostkeys: searching /home/root/.ssh/known_hosts for 100.1.1.99 / (none)
debug3: hostkeys_foreach: reading file "/home/root/.ssh/known_hosts"
debug3: hostkeys_find: found ssh-ed25519 key at /home/root/.ssh/known_hosts:1
debug3: hostkeys_find: found ssh-rsa key at /home/root/.ssh/known_hosts:2
debug3: hostkeys_find: found ecdsa-sha2-nistp256 key at /home/root/.ssh/known_hosts:3
debug1: client_input_hostkeys: searching /home/root/.ssh/known_hosts2 for 100.1.1.99 / (none)
debug1: client_input_hostkeys: hostkeys file /home/root/.ssh/known_hosts2 does not exist
debug3: client_input_hostkeys: 3 server keys: 0 new, 3 retained, 0 incomplete match. 0 to remove
debug1: client_input_hostkeys: no new or deprecated keys from server
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug1: X11 forwarding requested but DISPLAY not set
debug2: fd 3 setting TCP_NODELAY
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Welcome to NXP LSDK 2108 main (custom based on ubuntu 20.04) (GNU/Linux 5.10.35 aarch64)
* Support: https://www.nxp.com
* Licensing: https://lsdk.github.io/eula
Last login: Wed Jul 21 19:00:35 2021
root@localhost:~#
root@localhost:~# /usr/sbin/sshd -d
debug1: sshd version OpenSSH_8.2, OpenSSL 1.1.1f 31 Mar 2020
debug1: private host key #0: ssh-rsa SHA256:YKXjJisNDBXw7YyIvtxJnh7lD5NhwlwLijaxCvS+7o0
debug1: private host key #1: ecdsa-sha2-nistp256 SHA256:tImb95KfemNtv5WfjbvDhnXBu6/dSgkSvdN/Xzzuq9c
debug1: private host key #2: ssh-ed25519 SHA256:DwlMK3S/tYsF+yJpJG7Tu5/TGqwaGuemhOZRgsXFuHs
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: Set /proc/self/oom_score_adj from 0 to -1000
debug1: Bind to port 22 on 0.0.0.0.
Bind to port 22 on 0.0.0.0 failed: Address already in use.
debug1: Bind to port 22 on ::.
Bind to port 22 on :: failed: Address already in use.
Cannot bind any address.
root@localhost:~#