****************************************************************************** ************ D720201 & D720202 ROM Writer Solution for Linux ***************** ****************************************************************************** Release Note February.16.2012 Renesas Electronics uPD720201 & uPD720202 USB3.0 Host Controller ROM Writer Solution Package for Linux Package Version 20120216 : February 16th, 2012 Copyright (C) 2011-2012 Renesas Electronics Corporation. All Rights Reserved. ------------------------------------------------------------------------------ D720201 and D720202 ROM Writer solution is the application and device driver for linux to write the FW file and the configuraiton file into the serial ROM. When the system dose not use the serial Rom, please use FW Download Solution. --------------------------------------------------------------------------- Table of Contents --------------------------------------------------------------------------- 1. Release Files 2. History 3. How to use 4. Notes 5. History 6. Licensing Information --------------------------------------------------------------------------- 1. Release Files --------------------------------------------------------------------------- USB3-201-202-TL-ROM-LNX-20120216 - lx201FWxx // Application source code directory - xhc201w // A special driver (xhc201.ko) source code directory - cleanall.sh // Shell script to clean - install.sh // Shell script to load xhc201.ko - makeall.sh // Shell script to compile whole programs. - Makefile.apli // Makefile for application - Makefile.drv // Makefile for the special driver - uninstall.sh // Script file for uninstall xhc201.ko - cfg_201_v2.ini // Configuration file for uPD720201 - cfg_202_v2.ini // Configuration file for uPD720202 ---------------------------------------------------------------------------------------- 2. How to compile ---------------------------------------------------------------------------------------- Please execute the following commands: . makeall.sh Compile the application program and the special driver. . cleanall.sh Delete the application program, driver's intermediate file, and the execution file. ---------------------------------------------------------------------------------------- 3. How to use ---------------------------------------------------------------------------------------- 1) Modifications 1-1)MODULE_NAME If necessary, please modify the module name of the xHCI driver used in MODULE_NAME and MODULE_EXISTS in the following files. The module name is assumed "xhci_hcd" by default in this application. install.sh uninstall.sh 1-2)KERNEL_DIR If necessary, please modify the kernel directory in KERNEL_DIR in the following files. The kernel directroy is assumed "=/usr/src/linux-$(KERNEL_VERSION) Makefile.drv 2) Command usage The application can be executed with the following steps. For detailed usage, please enter "./lx201fw21 /?" on the command line. Step1: Install(load) the special driver. sh install.sh Step2: Run this application. The application can be run anytime until the special driver is uninstalled (loaded). ./lx201fw21 {argument1} Step3 (if necessary): uninstall(unload) the special driver sh uninstall.sh ---------------------------------------------------------------------------------------- 4. Notes ---------------------------------------------------------------------------------------- 1) When using user-defined Subsystem ID and Subsystem Vendor ID, please be sure to modify the following files which are contained in this package. cfg_201_v2.ini cfg_202_v2.ini 2) The firmware file (.mem) can be downloaded from the Renesas "Premium User" website. Please be sure to use the latest version. 3) It is recommended that all devices attached to the uPD720201 or uPD720202 USB ports should be removed before running this application. --------------------------------------------------------------------------- 5. History --------------------------------------------------------------------------- Version Date Description ---------+--------------+------------------------------------------------ 20120216 Feb 16, 2012 Updated the configuration file(.ini). 20111227 Dec 27, 2011 First Release. Linux Kernel 2.6.31 ~ 2.6.39 (x86, x64) --------------------------------------------------------------------------- 6. Licensing Information --------------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA