Open the project-spec\meta-user\recipes-core\images\petalinux-image.bbappend
IMAGE_INSTALL_append = " gpsd" |
petalinux-config -c rootfs
user packages -> [*] gpsd
|
petalinux-build
03-21-2019 08:21 AM
Hello,
I'm currently new to the linux development.I've built a custom BSP for my zynqMP board. Now I want to add GPSD (http://www.catb.org/gpsd/) to the rootfs.
I'm following the petalinux-build flow. Apart from downloading the tarball and extracting it under apps-recipes how should I proceed?
Regards.
03-21-2019 09:53 AM
There is a yocto recipe here:
https://layers.openembedded.org/layerindex/recipe/1120/
Open the project-spec\meta-user\recipes-core\images\petalinux-image.bbappend
IMAGE_INSTALL_append = " gpsd" |
petalinux-config -c rootfs
user packages -> [*] gpsd
|
petalinux-build
03-21-2019 09:53 AM
There is a yocto recipe here:
https://layers.openembedded.org/layerindex/recipe/1120/
Open the project-spec\meta-user\recipes-core\images\petalinux-image.bbappend
IMAGE_INSTALL_append = " gpsd" |
petalinux-config -c rootfs
user packages -> [*] gpsd
|
petalinux-build
03-21-2019 11:06 AM
Thank you.
I also want to learn how to do this without the yocto recipe. I will be adding other libraries and apps to the rootfs.
There are very few examples out there for cross compiling.
Thank you.
03-21-2019 12:20 PM
You can also build your own modules and apps in Petalinux. See ug1144 for help here
08-29-2020 09:52 AM
The equivalent in petalinux 2020.1 is adding CONFIG_gpsd to project-spec/meta-user/conf/user-rootfsconfig
03-02-2021 02:54 AM
Is there any options to add gpsd clients (cgps, gpsmon, xgps, ubxtool, ... ) also, or build them one by one and then add them like apps is the only way?