| 1 | * |
| 2 | * usbboot |
| 3 | * |
| 4 | * Utility to respond to the Ingenic XBurst USB boot protocol, provide |
| 5 | * initial boot stages and ability to access NAND on device. |
| 6 | * |
| 7 | |
| 8 | Authors: Ingenic Semiconductor, Inc. |
| 9 | Xiangfu Liu <xiangfu@qi-hardware.com> |
| 10 | Marek Lindner <lindner_marek@yahoo.de> |
| 11 | Wolfgang Spraul <wolfgang@qi-hardware.com> |
| 12 | |
| 13 | This program is free software; you can redistribute it and/or |
| 14 | modify it under the terms of the GNU General Public License |
| 15 | as published by the Free Software Foundation; either version |
| 16 | 3 of the License, or (at your option) any later version. |
| 17 | |
| 18 | usbboot is the Linux version and rewrite of a Windows utility from Ingenic also called usbboot. |
| 19 | Homepage: http://www.ingenic.cn/eng/productServ/kfyd/compiler/pffaqContents.aspx#questionAnchor8 |
| 20 | Windows Binary: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/tools/usbboot1.4b-tools.zip |
| 21 | Windows Sources: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/tools/usbboot1.4b-sources.zip |
| 22 | Manual: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/manual/USB_Boot_Tool_Manual_1.4_EN.pdf |
| 23 | |
| 24 | Build Requirements: libusb-dev, libconfuse-dev |
| 25 | |
| 26 | Build and Installation: |
| 27 | ./autogen.sh |
| 28 | ./configure |
| 29 | make |
| 30 | make install |
| 31 | *) make install will install the 'usbboot' binary to /usr/bin/usbboot |
| 32 | and the stage 1 and 2 bootloaders as well as usbboot.cfg configuration |
| 33 | file into /etc/xburst-tools |
| 34 | |
| 35 | Configuration file: /etc/xburst-tools/usbboot.cfg |
| 36 | |
| 37 | Examples: |
| 38 | sudo usbboot (invoking usbboot without options will let you enter commands at the usbboot prompt) |
| 39 | sudo usbboot -c "boot" |
| 40 | sudo usbboot -c "nprog 0 u-boot-nand.bin 0 0 -n" |
| 41 | sudo usbboot -c "nprog 2048 uImage 0 0 -n" |
| 42 | |