Which SDK package includes "zdump" command?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Which SDK package includes "zdump" command?

Jump to solution
1,811 Views
victormazin
Contributor II

Hi 

We use Freescale SDK for LS1021A processor and we would like to add "zdump" command into our Root File System.

Which Yocto package should we use?

The SDK contents "tzcode-native" package, but it is possible to run on only the host machine.

Regards

Victor

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,601 Views
bpe
NXP Employee
NXP Employee

You must be working with a damaged or improperly installed SDK,  incorrectly setup environment or unsupported host distribution. Install your SDK afresh, make sure you followed all installation instructions:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-C4A38716-7009-43DD-A9D3-1...

This is how it looks  with a properly installed SDK:

platon@platon-ws:~/work/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr$ bitbake -s | grep glibc
glibc                                   :linaro-2.20-r2014.11                          
glibc-initial                           :linaro-2.20-r2014.11                          
glibc-locale                                  :linaro-2.20-r0                          
glibc-mtrace                                  :linaro-2.20-r0                          
glibc-scripts                                 :linaro-2.20-r0                          
nativesdk-glibc                         :linaro-2.20-r2014.11                          
nativesdk-glibc-initial                 :linaro-2.20-r2014.11                          
nativesdk-glibc-locale                        :linaro-2.20-r0                          

View solution in original post

0 Kudos
5 Replies
1,601 Views
victormazin
Contributor II

I was able to insert "zdump" utility in our root file system when I added "eglibc-utils" in the IMAGE_INSTALL += line, although even the "eglibc-utils" package was not in the "bitbake -s" list.

0 Kudos
1,601 Views
bpe
NXP Employee
NXP Employee

zdump is part of glibc Yocto package


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,601 Views
victormazin
Contributor II

Thank you for the answer Platon,

I did not find “glibc” package in the SDK. Please see the bitbake response below:

bitbake -s | grep glibc

eglibc :linaro-2.19-r2014.04

eglibc-initial :2.19-r0

eglibc-locale :2.19-r0

eglibc-mtrace :2.19-r0

eglibc-scripts :2.19-r0

nativesdk-eglibc :linaro-2.19-r2014.04

nativesdk-eglibc-initial :2.19-r0

nativesdk-eglibc-locale :2.19-r0

I verified that “zdump” command is also NOT included in the “eglibc” package.

Could you specify which Yocto package contents the “zdump” command?

Regards,

Victor

0 Kudos
1,602 Views
bpe
NXP Employee
NXP Employee

You must be working with a damaged or improperly installed SDK,  incorrectly setup environment or unsupported host distribution. Install your SDK afresh, make sure you followed all installation instructions:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-C4A38716-7009-43DD-A9D3-1...

This is how it looks  with a properly installed SDK:

platon@platon-ws:~/work/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr$ bitbake -s | grep glibc
glibc                                   :linaro-2.20-r2014.11                          
glibc-initial                           :linaro-2.20-r2014.11                          
glibc-locale                                  :linaro-2.20-r0                          
glibc-mtrace                                  :linaro-2.20-r0                          
glibc-scripts                                 :linaro-2.20-r0                          
nativesdk-glibc                         :linaro-2.20-r2014.11                          
nativesdk-glibc-initial                 :linaro-2.20-r2014.11                          
nativesdk-glibc-locale                        :linaro-2.20-r0                          

0 Kudos
1,602 Views
victormazin
Contributor II

Thank you for your support, Platon.

You are right. We use the Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso version of SDK.

I also found the “zdump” utility in the eglibc (linaro-2.19-r2014.04) package.

Regards

Victor Mazin

0 Kudos