Build add renesas - NVIDIA/edk2-nvidia GitHub Wiki

Building with the Renesas USB driver

The Renesas USB driver supports the USB interface on the Tegra platform. NVIDIA cannot distribute this driver, so it is not included by default. These instructions outline how to download, unpack, and add the driver to the build.

Download

The driver must be downloaded from Renesas. Renesas_USB3-201-202-FW-20131112.zip has been verified, but newer versions may work.

To download the driver, visit Renesas.com, create an account, then "request access". The request will be reviewed by Renesas and download access will be provided.

Unpack

The following instructions assume a workspace has already been created using the build instructions.

cd /path/to/workspace
mkdir -p edk2-renesas/Silicon/Renesas
cd edk2-renesas/Silicon/Renesas
unzip /path/to/Renesas_USB3-201-202-FW-20131112.zip
cd -

Build

Before building the following environment must be set. Add the following to edk2-nvidia/Platform/NVIDIA/Tegra/build.sh prior to the "Prepare and build" steps:

STUART_BUILD_OPTIONS+=" --verbose"
STUART_BUILD_OPTIONS+=" --insert-packages-path edk2-renesas"
STUART_BUILD_OPTIONS+=" BLD_*_ENABLE_RENESAS_USB_FW=1"
export STUART_BUILD_OPTIONS

Once added, the Tegra platform can be built as normal.