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
Observer mishuk
Observer
3,311 Views
Registered: ‎09-11-2017

adding pre-built application to roots

Jump to solution

Hi!

I try adding pre-built application (say, taskset) to rootfs using Petalinux-2017.2 as described in UG1144 (Petalinux Tools Documentation), but deployment fails with "ERROR: taskset-1.0-r0 do_package: QA Issue: File '/usr/bin/taskset' from taskset was already stripped, this will prevent future debugging! [already-stripped]". 

The file is indeed stripped.   How can I overcome this Petalinux restriction?

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Observer mishuk
Observer
4,461 Views
Registered: ‎09-11-2017

Re: adding pre-built application to roots

Jump to solution

Actual solution was to add this strings to project-spec/meta-user/recipes-apps/taskset/taskset.bb:

INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"

 

Thank you for your hint.

0 Kudos
3 Replies
Voyager
Voyager
3,307 Views
Registered: ‎06-24-2013

Re: adding pre-built application to roots

Jump to solution

Hey @mishuk,

 

At least for yocto (and as far as I know Petalinux is based on that), to fix this error, you add INSANE_SKIP_${PN}_append = “already-stripped” to your local.conf file, where ${PN} is the associated package name.

 

Hope this helps,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
Observer mishuk
Observer
4,462 Views
Registered: ‎09-11-2017

Re: adding pre-built application to roots

Jump to solution

Actual solution was to add this strings to project-spec/meta-user/recipes-apps/taskset/taskset.bb:

INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"

 

Thank you for your hint.

0 Kudos
Voyager
Voyager
3,252 Views
Registered: ‎06-24-2013

Re: adding pre-built application to roots

Jump to solution

You're welcome!

 

All the best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos