Avoid stripping of firmware files?
Hi,
for my work on the dm8148-evm I got firmware files with the suffix ".xem3" from TI. I made a simple recipe to install those files in my image, but I ran into a bad problem:
The firmware files I find in my image are different from the files i use in my recipe. No matter if I use "install" or just "cp" to copy the files to the destination.
Looks like those files get stripped during packaging. Normally not a bad idea, but in this special case stripping the symbols makes the files dysfunctional.
Is there a way to avoid stripping?
Regards
Rainer
Signature · 15 lines
Dipl.-Inf. (FH) Rainer Koenig Project Manager Linux Clients Dept. PDG WPS R&D SW OSE Fujitsu Technology Solutions Bürgermeister-Ullrich-Str. 100 86199 Augsburg Germany Telephone: +49-821-804-3321 Telefax: +49-821-804-2131 Mail: mailto:[email protected] Internet ts.fujtsu.com Company Details ts.fujitsu.com/imprint.html
Quoted 10 lines · Rainer Koenig
Hi,
for my work on the dm8148-evm I got firmware files with the suffix ".xem3" from TI. I made a simple recipe to install those files in my image, but I ran into a bad problem:
The firmware files I find in my image are different from the files i use in my recipe. No matter if I use "install" or just "cp" to copy the files to the destination.
Quoted 5 lines
Looks like those files get stripped during packaging. Normally not a bad idea, but in this special case stripping the symbols makes the files dysfunctional.
Is there a way to avoid stripping?
If its just a firmware recipe and there aren't other files that do need to be stripped, you could set:
INHIBIT_PACKAGE_STRIP = "1"
We don't have a mechanism to exclude specific files at present but we could probably do with adding one. The code that does stripping is in package.bbclass if you haven't already found it.
Cheers,
Richard
Am 26.01.2012 14:55, schrieb Richard Purdie:
Quoted 1 line
INHIBIT_PACKAGE_STRIP= "1"
Thank you. I'll give that one a try.
Rainer
Signature · 15 lines
Dipl.-Inf. (FH) Rainer Koenig Project Manager Linux Business Clients Dept. TSP WPS R&D SW OSE Fujitsu Technology Solutions Bürgermeister-Ullrich-Str. 100 86199 Augsburg Germany Telephone: +49-821-804-3321 Telefax: +49-821-804-2131 Mail: mailto:[email protected] Internet ts.fujitsu.com Company Details ts.fujitsu.com/imprint.html