cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mcetinsoy
Contributor
Contributor
970 Views
Registered: ‎06-18-2015

Cross-compiling GPSD for Petalinux

Jump to solution

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.

0 Kudos
Reply
1 Solution

Accepted Solutions
stephenm
Moderator
Moderator
957 Views
Registered: ‎09-12-2007

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

 

 

View solution in original post

5 Replies
stephenm
Moderator
Moderator
958 Views
Registered: ‎09-12-2007

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

 

 

View solution in original post

mcetinsoy
Contributor
Contributor
941 Views
Registered: ‎06-18-2015

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.

0 Kudos
Reply
stephenm
Moderator
Moderator
934 Views
Registered: ‎09-12-2007

You can also build your own modules and apps in Petalinux. See ug1144 for help here

0 Kudos
Reply
ihcfan
Visitor
Visitor
337 Views
Registered: ‎08-09-2020

The equivalent in petalinux 2020.1 is adding CONFIG_gpsd to project-spec/meta-user/conf/user-rootfsconfig

0 Kudos
Reply
kostya.an
Observer
Observer
40 Views
Registered: ‎07-07-2019

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?

 

0 Kudos
Reply