STEP 3 : How to run the test code

ทำการรัน Application point pillar ด้วย VScode ผ่านการ SSH

  1. ทำการ optimize โมดูล DPU ให้เกิดข้อผิดพลาดในการแสดงผลลดลง

VScode SSH terminal
# Fix bug
$ cd ~/dpu_sw_optimize/zynqmp
$ source ./zynqmp_dpu_optimize.sh

โดยทำการ รัน script นี้จะแก้ไขปัญหาสองอย่างคือ

  • แก้ไขพื้นที่ partition rootfs ให้เหมาะสมกับการใช้งาน

  • แก้ปัญหา Qos ในการใช้งานหน่วยความจำ DDR เพื่อให้สามารถทำงานในการแสดงภาพได้

  1. ทำการ Compile code ที่ได้ทำการแก้ไข

  1. ทำการรันโปรแกรมที่ Compile เสร็จเรียบร้อยแล้ว

  • Output result (sample)

sample
  • ทดสอบประสิทธิภาพ

Last updated

Was this helpful?