1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-01-22 05:41:05 +02:00
Jonathan Nieder e140411424 unset executable bit on firmware image
This firmware is not meant to be executed on the host machine, so
unset its executable bit.  Noticed by lintian.

While at it, teach stage1 builds to recover from interrupted builds by
ensuring *stage1.bin are not present until all of the relevant
commands have been run.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:08:25 +08:00
..
2010-02-25 12:06:17 +08:00
2010-05-11 13:47:34 +08:00

*
* usbboot
*
* Utility to respond to the Ingenic XBurst USB boot protocol, provide
* initial boot stages and ability to access NAND on device.
*

Authors: Ingenic Semiconductor, Inc.
         Xiangfu Liu <xiangfu@qi-hardware.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.

usbboot is the Linux version and rewrite of a Windows utility from Ingenic also called usbboot.
Homepage: http://www.ingenic.cn/eng/productServ/kfyd/compiler/pffaqContents.aspx#questionAnchor8
Windows Binary: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/tools/usbboot1.4b-tools.zip
Windows Sources: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/tools/usbboot1.4b-sources.zip
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:
  cd ../
  ./autogen.sh
  ./configure --enable-firmware --prefix=/usr
  make
  make install
    *) make install will install the 'usbboot' binary to /usr/bin/usbboot,
       the stage 1 and 2 bootloaders to /usr/share/xburst-tools/,
       usbboot.cfg configuration file into /etc/xburst-tools.

Examples:
  sudo usbboot (invoking usbboot without options will let you enter commands at the usbboot prompt)
  sudo usbboot  -c "boot"
  sudo usbboot  -c "nprog 0 u-boot-nand.bin 0 0 -n"