mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-29 17:45:20 +02:00
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
*
|
|
* inflash
|
|
*
|
|
* Utility to respond to Ingenic XBurst USB boot protocol, provide
|
|
* initial boot stages and ability to access NAND on device.
|
|
*
|
|
|
|
Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
|
Marek Lindner <lindner_marek@yahoo.de>
|
|
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version
|
|
3 of the License, or (at your option) any later version.
|
|
|
|
inflash is the Linux version of a Windows utility from Ingenic called 'usbboot'.
|
|
Homepage: http://www.ingenic.cn/eng/productServ/kfyd/compiler/pffaqContents.aspx#questionAnchor8
|
|
Manual: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/manual/USB_Boot_Tool_Manual_1.4_EN.pdf
|
|
|
|
Build Requirements: libusb-dev, libconfuse-dev
|
|
|
|
Build and Installation:
|
|
./autogen.sh
|
|
./configure
|
|
make
|
|
make install
|
|
*) make install will install the 'inflash' binary to /usr/bin/inflash
|
|
and the stage 1 and 2 bootloaders as well as inflash.cfg configuration
|
|
file into /usr/share/inflash
|
|
|
|
Configuration file: /usr/share/inflash/inflash.cfg
|
|
|
|
Examples:
|
|
sudo inflash (invoking inflash without options will let you enter commands at the inflash prompt)
|
|
sudo inflash -c "boot"
|
|
sudo inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
|
sudo inflash -c "nprog 2048 uImage 0 0 -n"
|