UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 70599

SDK - How to use a patched driver

描述

How can I use a patched driver within the SDK?

解决方案

SDK provides a way to specify custom repository folders where patched drivers as well as third-party drivers, libraries etc. can be placed. 

As documented in the SDK Help, local repositories takes precedence over Global repositories so they can be used to patch an existing driver using the same version number.

The custom repository (with the new driver) can be added to the project using the GUI or in batch mode.

GUI Mode:

1) Select Xilinx > Repositories.

 


 

 

 

2) Add the driver's parent folder as a new repository.

Note: The repository folder needs to contain the appropriate "driver", "sw_services", etc. folders.

 


 

 

Note: If a BSP has already been created, it needs to be updated with the new driver. Use the Re-generate BSP Sources option.

Batch Mode:

Below is an example of a Tcl script to create a BSP with a user repository:

#!/usr/bin/tclsh
#set workspace location
sdk setws ./

#import hdf file
sdk createhw -name exdes_wrapper_hardware_platform_batch -hwspec ../../v_hdmi_rx_ss_0_ex/v_hdmi_rx_ss_0_ex.sdk/exdes_wrapper.hdf

#add my repo here
sdk set_user_repo_path ../../sw_repos

#creating bsp
sdk createbsp -name standalone_bsp_0 -hwproject exdes_wrapper_hardware_platform_batch -proc ps7_cortexa9_0 -os standalone
sdk projects -build -type bsp -name standalone_bsp_0

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
66297 SDK - 设计助手 N/A N/A

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
32309 EDK - My newly created driver is not available for use in SDK N/A N/A
AR# 70599
日期 08/29/2018
状态 Active
Type 解决方案中心
Tools
的页面