Install and use dnw-linux

Source: Internet
Author: User

Tiny6410 brush Guide describes how to use USB to download uboot, kernel, filesystem to the nand flash of the Development Board, and the dnw tool for downloading USB files. Unfortunately, this tutorial provides the usage of the dnw tool in windows. As a developer of the Linux platform, we always hope to transfer all the actions to the Linux environment, so that we can look professional. (* ^__ ^ *) Subject: Development Environment: Development Board: FriendlyARM Tiny6410 HOST: CentOS release 6.4 (Final) dnw-linux source package download: dnw-linux installation: the src directory of the dnw-linux source package contains the driver directory and the dnw directory. The driver directory contains the driver source code and the dnw directory contains the dnw tool source code. Installation Method: make and sudo make install under the top-level directory of dnw-linux source code, which generates three actions:1. Generate the driver module secbulk. ko and copy it to the/lib/modules/'uname-R'/extra directory. (find the corresponding driver in the directory when the driver module is automatically loaded)2. Generate the executable dnw file and copy it to the/usr/bin directory. (You can directly execute the dnw command in the command line without entering the detailed path of the dnw)3. Copy dnw. rules to the/etc/udev/rules. d directory. (enable the driver module secbulk. ko to be automatically loaded when the USB cable is used to connect the Development Board and pc)Note: The driver source code is secbulk. the Structure Variable secbulk_table [] in c stores the idVendor and idProduct of the usb device. When the usb cable is used to connect the Development Board and pc, information about the usb device is printed under the terminal, idVendor and idProduct are included. If the idVendor/idProduct value printed by the terminal is different from the value stored in secbulk_table [], modify secbulk_table [] to the actual idVendor and idProduct, also modify dnw. rules file.Dnw-linux: For details, see README.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.