carlesfernandez / meta-gnss-sdr

An OpenEmbedded layer for GNSS-SDR
MIT License
9 stars 9 forks source link

Build meta-gnss-sdr/UHD for KR260 #5

Open AjayaDahal opened 2 months ago

AjayaDahal commented 2 months ago

We want to build yocto langdale with this layer. We are more interested in using UHD which looks like is included in this layer. Can someone provide some ideas? We were able to build KR260 "petalinux" with this layer however there is no volk_profile/volk_gnsssdr_profile in /bin.

k26-smk-kr login: petalinux Password: -e Hello there!

-e This is Geniux, an Operating System for developing and running GNSS-SDR -e on embedded devices.

-e * Please remember to run volk_profile and volk_gnsssdr_profile -e if you have not done so yet (only needs to be done once).

-e Enjoy and have fun.

k26-smk-kr:~$ ls /bin/
arping hostname.coreutils rmdir ash hostname.net-tools rmdir.coreutils base64 ifconfig route bash ifconfig.net-tools route.net-tools bash.bash journalctl run-parts busybox kill sed busybox.nosuid kill.coreutils sed.sed cat kill.procps sh cat.coreutils kill.util-linux sleep chattr kmod sleep.coreutils chattr.e2fsprogs ln stat chgrp ln.coreutils stat.coreutils chgrp.coreutils login stty chmod login.shadow stty.coreutils chmod.coreutils loginctl su chown ls su.shadow chown.coreutils ls.coreutils su.util-linux clockdiff lsattr sync cp lsattr.e2fsprogs sync.coreutils cp.coreutils lsmod systemctl cpio lsmod.kmod systemd-ask-password cpio.cpio mkdir systemd-creds date mkdir.coreutils systemd-escape date.coreutils mknod systemd-hwdb dd mknod.coreutils systemd-inhibit dd.coreutils mktemp systemd-machine-id-setup df more systemd-notify dmesg more.util-linux systemd-sysusers dmesg.util-linux mount systemd-tmpfiles dnsdomainname mount.util-linux systemd-tty-ask-password-agent dnsdomainname.net-tools mountpoint tar domainname mountpoint.util-linux tar.tar domainname.net-tools mv touch dumpkmap mv.coreutils touch.coreutils echo netstat tracepath echo.coreutils netstat.net-tools true ed networkctl true.coreutils egrep nice udevadm egrep.grep nisdomainname umount false nisdomainname.net-tools umount.util-linux false.coreutils pidof uname fgrep pidof.procps uname.coreutils fgrep.grep ping uncompress getopt ping.iputils userdbctl getopt.util-linux ping6 usleep grep printenv vi grep.grep ps watch gtar ps.procps watch.procps gunzip pwd ypdomainname gunzip.gzip pwd.coreutils ypdomainname.net-tools gzip red zcat gzip.gzip rm zcat.gzip hostname rm.coreutils

carlesfernandez commented 2 months ago

Hi,

binaries should be in /usr/bin, not /bin. You can use packagegroup-gnss-sdr-driver to add UHD, including this to your petalinux.conf file:

IMAGE_INSTALL_append = " packagegroup-gnss-sdr-drivers"

Hope this helps.

ajayadaha1 commented 2 months ago

Hi @carlesfernandez , Thank you for getting back and sorry for the delay in replying. I added that in petalinux.conf but ended with the following errors: _NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'gnuradio-iio' (but /home/vboxuser/KR260/sources/poky/../meta-gnss-sdr/recipes-images/packagegroups/packagegroup-gnss-sdr.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'gnuradio-iio' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['gnuradio-iio']

NOTE: Runtime target 'packagegroup-gnss-sdr-drivers' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['packagegroup-gnss-sdr-drivers', 'gnuradio-iio']

ERROR: Required build target 'kria-image-full-cmdline' has no buildable providers.

Missing or unbuildable dependency chain was: ['kria-image-full-cmdline', 'packagegroup-gnss-sdr-drivers', 'gnuradio-iio']_