![Lattice CrossLink-NX PCIe Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/lattice/crosslink-nx-pcie/crosslink-nx-pcie_user-manual_3825488028.webp)
CrossLink-NX PCIe Bridge Board Basic Demo
User Guide
© 2021 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
28
FPGA-UG-02145-1.0
3.2.2.3.
Packages Installation Steps
Run the following commands on a terminal to install the required packages
sudo apt update
sudo apt install build-essential
sudo apt install flex
3.2.2.4.
Manual Setup and Installation
Before installing the driver, the driver must be built.
To build the driver:
1.
Go to the Demonstration directory.
2.
Run the following command on terminal.
sudo chmod 777 -R Linux
3.
Go to the Linux directory.
4.
Go to in Source_Code directory.
5.
Run the following commands.
sudo make clean
sudo make
This builds the driver and API library.
6.
Make sure that the driver is not installed.
7.
To remove an existing driver, run the following command in a terminal window:
sudo rmmod lattice_main.ko