1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:22:48 +02:00
xburst-tools/usbboot
Jonathan Nieder 81adfd188d Do not build firmware on buildds
There is no mipsel cross-compiler packaged for Debian, so building
the firmware on arbitrary build machines is not possible.

So let packagers build firmware when generating the source package.
The built firmware is kept in the debian/ directory and then
copied verbatim to <staging directory>/usr/share/xburst-tools
at the appropriate time.

The commands to prepare the firmware are in a script named
debian/autogen.sh, which could be taught to do other things (such as
generate a changelog) later.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:58:29 +08:00
..
debian Do not build firmware on buildds 2010-04-05 14:58:29 +08:00
doc update manual email address 2010-02-25 12:06:17 +08:00
src configure: Add --disable-firmware option to avoid building firmware 2010-04-05 14:56:30 +08:00
xburst_include Fix bulk transfer bufferoverflows. 2009-12-16 15:12:38 +01:00
xburst_stage1 usbboot: Update and simplify .gitignore 2010-04-05 14:53:35 +08:00
xburst_stage2 usbboot: Update and simplify .gitignore 2010-04-05 14:53:35 +08:00
.gitignore usbboot: Update and simplify .gitignore 2010-04-05 14:53:35 +08:00
autogen.sh renamed 'xburst-tools' utility back to 'usbboot' 2009-06-30 13:49:11 +08:00
ChangeLog renamed 'xburst-tools' utility back to 'usbboot' 2009-06-30 13:49:11 +08:00
configure.ac configure: Add --disable-firmware option to avoid building firmware 2010-04-05 14:56:30 +08:00
COPYING renamed 'xburst-tools' utility back to 'usbboot' 2009-06-30 13:49:11 +08:00
Makefile.am renamed 'xburst-tools' utility back to 'usbboot' 2009-06-30 13:49:11 +08:00
README add Build Pakcage in README 2010-01-17 22:31:27 +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:
  ./autogen.sh
  ./configure
  make
  make install
    *) make install will install the 'usbboot' binary to /usr/bin/usbboot
       and the stage 1 and 2 bootloaders as well as usbboot.cfg configuration
       file into /etc/xburst-tools

Buile Package:
  install the tools for build package
     sudo apt-get install dpkg-dev
     sudo apt-get install debhelper
  run "dpkg-buildpackage -rfakeroot" to create the package.

Configuration file: /etc/xburst-tools/usbboot.cfg

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"
  sudo usbboot  -c "nprog 2048 uImage 0 0 -n"