# TOPST D3 보드 tools/

**URL:** <https://community.topst.ai/t/topst-d3-tools/164>\
**Category:** D3\
**Created:** [May 14, 2024, 6:15am UTC](https://community.topst.ai/t/topst-d3-tools/164 "2024-05-14T06:15:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeonghun.kim](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/jeonghun.kim/32/114_2.png) [@jeonghun.kim](https://community.topst.ai/u/jeonghun.kim)\
**Post date:** [May 14, 2024, 6:15am UTC](https://community.topst.ai/t/topst-d3-tools/164/1 "2024-05-14T06:15:35Z")

</div>

안녕하세요 PCI TEST 관련 문의드립니다.  
[https://www.kernel.org/doc/html/v5.4/PCI/endpoint/pci-test-howto.html](https://www.kernel.org/doc/html/v5.4/PCI/endpoint/pci-test-howto.html)  
위의 링크에 나온데로 PCI TEST를 진행하려고 하는데  
tools/pci/pcitest는 빌드를 완료하여 D3 보드의 usr/sbin 폴더에 복사하여  
테스트를 링크대로 테스트해보았지만  
아래와 같은 에러가 발생합니다.  
/pcitest.sh: line 37: /usr/sbin/pcitest: cannot execute binary file

pcitest를 진행 시 부족한 부분이 있는지 문의드립니다.

감사합니다.

---

<div class="post-metadata">

**Author:** ![TOPST-Admin](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/topst-admin/32/381_2.png) [@TOPST-Admin](https://community.topst.ai/u/TOPST-Admin)\
**Post date:** [May 16, 2024, 3:58am UTC](https://community.topst.ai/t/topst-d3-tools/164/2 "2024-05-16T03:58:30Z")

</div>

안녕하세요.  
말씀해주신 내용으로만 정확히 파악이 어렵습니다.  
빌드를 어떻게 하셨는지 등등 알려주시면 파악에 도움이 될 듯 합니다.  
감사합니다.

---

<div class="post-metadata">

**Author:** ![jeonghun.kim](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/jeonghun.kim/32/114_2.png) [@jeonghun.kim](https://community.topst.ai/u/jeonghun.kim)\
**Post date:** [May 16, 2024, 5:33am UTC](https://community.topst.ai/t/topst-d3-tools/164/3 "2024-05-16T05:33:13Z")

</div>

![build](https://canada1.discourse-cdn.com/flex004/uploads/topst/original/1X/41a5603c1bfc766d03365fbe18e55eeff36d12e7.png)  
pcitest 를 진행하기 위해 tools/pci 를 위와같은 경로에서 빌드하였습니다.  
build된 pcitest 및 pcitest.sh 를 TOPST D3 보드의 usr/sbin에 복사한 뒤

./pcitest.sh 를 실행하게 되면 아래와 같은 Error가 발생합니다.  
/pcitest.sh: line 37: /usr/sbin/pcitest: cannot execute binary file

pcitest tool을 얻기 위해 잘못된 경로에서 빌드하고 있는지

아니면 다른 방법으로 Test를 빌드하고 테스트를 진행하여야 하는지 문의드립니다.

감사합니다.

---

<div class="post-metadata">

**Author:** ![TOPST-Admin](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/topst-admin/32/381_2.png) [@TOPST-Admin](https://community.topst.ai/u/TOPST-Admin)\
**Post date:** [May 16, 2024, 9:00am UTC](https://community.topst.ai/t/topst-d3-tools/164/4 "2024-05-16T09:00:24Z")

</div>

크로스 컴파일을 하셨는지 궁금합니다.  
만약 안하셨다면, populate\_sdk로 나오는 sdk로 크로스 컴파일을 해보시면 됩니다.  
populate\_sdk는  
$bitbake topst -c populate\_sdk  
로 빌드하시면 됩니다.
