DVNIXLOAD

Section: User's Manual (1)
Updated: December 2008
Index Return to Main Contents

 

NAME

dvnixload - UBL and Application flasher for TI DaVinci platforms.

 

SYNOPSIS

dvnixload [OPTION]... UBL APPLICATION

 

DESCRIPTION

dvnixload is a utility to program a UBL (first stage bootloader) and an application (2nd stage bootloader, ex. U-Boot) in NAND flash memory over the serial port.

Both files UBL and APPLICATION are mandatory and must be in the ELF format. APPLICATION is typically U-Boot. You don't have to manually specify the entry point for the UBL or APPLICATION, everything is extracted automatically from the ELF headers.

The program will convert the ELF files into binary format (for the RBL) and S-record format (for the UBL). But the UBL source code must be modified somewhat because the original UBL expected to see the starting load address in the S7 record inside the S-record file, but the S7 record is supposed to hold the entry point according to the Motorola S-record specification, and this is what the standard GNU tools like objcopy will do (objcopy is called by dvnixload).

 

OPTIONS

-b, --baudrate=BAUDRATE
Serial port baud rate. Default is 115200 bps

-d, --debug=LEVEL
Produce verbose debugging output. Valid levels are:
0
display only error messages
1
display warnings (default)
2
display info messages
3
display debug messages
4
increase verbosity of debug messages
5
increase verbosity of debug messages

-p, --port=PORT
Serial port device. Here are some examples of valid devices:

/dev/ttyS0
First serial port (default)
/dev/ttyS1
Second serial port
/dev/ttyUSB0
First USB serial port

-?, --help
Give this help list

--usage
Give a short usage message

-V, --version
Print program version

 

ENVIRONMENT VARIABLES

The program will honor the value of the CROSS_COMPILE environment variable when calling external programs (objdump, objcopy, readelf). The default value is set to "arm-linux-"

 

LIMITATIONS

dvnixload currently support only writing to NAND flash.

 

CREDITS

dvnixload was written by Hugo Villeneuve <hugo@hugovil.com>.

 

COPYRIGHT

dvnixload is free; anyone may redistribute it to anyone under the terms stated in the GNU General Public License. A copy of the license is included in the dvnixload distribution. You can also browse it online at http://www.gnu.org/copyleft/gpl.html


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT VARIABLES
LIMITATIONS
CREDITS
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 04:12:02 GMT, December 04, 2008