NetworkManager/Ping fails to resolve domain names, responds with "bad address". This issue was seen on arm imx6 with ipv6. By default NetworkManager.conf has set dns=dnsmasq Although dnsmasq was not built as a part of the packages. This issue was fixed by setting dns=none. Also, the resolve.conf was a broken link. This was fixed by reestablishing the symlink to the proper path. ln -s /run/NetworkManager/resolv.conf /etc/resolv.conf With theses changes NetworkManager was able to ping and resolve domains names.
Could you please submit config file which you used for it?
Closing, since the OP never provided the defconfig requested by Peter Vorel in comment #1.