dnw4 readme
来源:互联网 发布:天津包子馅儿 知乎 编辑:程序博客网 时间:2024/06/06 07:14
--------------
This is DNW For Linux (dnw4l) application.
dnw4l allows uploading binary images over USB to Samsung SoCs-based boards
with USB/DNW support.
2. PACKAGE CONTENTS
-------------------
dnw4l.c - source code
dnw4l.h
Makefile
board.conf - board configuration file (example)
11-dnw4l.rules - udev rule (example)
README - this file
3. REQUIRED LIBRARIES
---------------------
libusb-1.0
4. HOW TO BUILD IT
------------------
* Install libusb-1.0 library and its devel package.
* Build the application:
for x86:
$ make clean
$ make
for x86-64:
$ make clean
$ ENV=-m64 make
5. HOW TO USE IT
----------------
5.1. Board configuration file
Board configuration file contains information that is necessary
to find your board among other USB devices connected to your PC.
Before you start using this application you should add your board
related information to configuration file. Use board.conf as an
example.
Use dmesg, usbfs or sysfs to get your board info.
5.2. Uploading images
1) Turn on the target board and activate USB/DNW mode.
2) Upload an image using dnw4l.
as root:
# ./dnw4l [-b board_name] [-c config_file] image
dnw4l uses board_name to find your board related information in
configuration file config_file.
Example 1:
# ./dnw4l -b MINI2440 -c /home/user/work/board.conf ./uImage
Example 2:
# ./dnw4l -b MINI2440 ./uImage
dnw4l looks for default configuration file (board.conf) in current
working directory.
Example 3:
# ./dnw4l ./zImage
dnw4l uses default board info that is suitable for Samsung
SMDK boards. (see also: 7. KNOWN PROBLEMS)
Default board info:
ram_base = 0x40008000
idVendor = 0x04e8
idProduct = 0x1234;
To get usage help run:
$ ./dnw4l -h
Note: To be able to run dnw4l as user, create appropriate udev rule.
Use 11-dnw4l.rules file as an example.
6. KNOWN PROBLEMS
-----------------
U-boot USB device driver for Samsung SMDK boards uses the same
values for the fields in Device Descriptor. This makes impossible
to distinguish such boards automatically. Use -b option to select
7. AUTHOR
---------
Anton Tikhomirov <tikhomirov.devel@gmail.com>
- dnw4 readme
- README
- Readme
- README
- README
- readme
- readme
- readme
- ReadMe
- ReadMe
- README
- README
- readme
- Readme
- README
- README
- README
- README
- Activity的生命周期笔记
- ROS机器人操作系统的安装、配置与初级教程 16
- OutOfMemory模拟(一)
- 【 codeforces 749C 】 Voting
- C#选择文件、选择文件夹、打开文件(或者文件夹)
- dnw4 readme
- 进度条
- 电、电路
- 杂记
- ROS机器人操作系统的安装、配置与初级教程 17
- 剑指Offer_面试题01_赋值运算符函数
- 湖南省第六届程序设计竞赛---数字整除
- 套接字网络编程基础(一)
- Mongodb文档的查询操作