Which SDK package includes "zdump" command?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Which SDK package includes "zdump" command?

跳至解决方案
1,954 次查看
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

标签 (1)
标记 (1)
0 项奖励
1 解答
1,744 次查看
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 项奖励
5 回复数
1,744 次查看
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 项奖励
1,744 次查看
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 项奖励
1,744 次查看
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 项奖励
1,745 次查看
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 项奖励
1,745 次查看
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 项奖励