UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
331 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
1 Solution

Accepted Solutions
Moderator
Moderator
318 Views
Registered: ‎09-12-2007

Re: Cross-compiling GPSD for Petalinux

Jump to solution

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

 

 

3 Replies
Moderator
Moderator
319 Views
Registered: ‎09-12-2007

Re: Cross-compiling GPSD for Petalinux

Jump to solution

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

 

 

Contributor
Contributor
302 Views
Registered: ‎06-18-2015

Re: Cross-compiling GPSD for Petalinux

Jump to solution

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
Moderator
Moderator
295 Views
Registered: ‎09-12-2007

Re: Cross-compiling GPSD for Petalinux

Jump to solution

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

0 Kudos