1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 08:29:41 +02:00

update READE, add INSTALL file

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-05-11 13:47:34 +08:00
parent 18cac78ca3
commit cd7bc7f35a
5 changed files with 24 additions and 17 deletions

14
INSTALL Normal file
View File

@ -0,0 +1,14 @@
Build Requirements: libusb-dev, libconfuse-dev
Build and Installation:
./autogen.sh
./configure --enable-firmware --prefix=/usr
make
make install
*) make install will install the 'usbboot' and 'xbboot' binary to /usr/bin/usbboot,
target stages to /usr/share/xburst-tools/, usbboot configure file 'usbboot.cfg'
file into /etc/xburst-tools.
Buile Debian Package:
Please read debian/README.source

1
debian/.gitignore vendored
View File

@ -1,5 +1,6 @@
/xburst_stage1.bin
/xburst_stage2.bin
/stage1.bin
/changelog.upstream
/files

View File

@ -26,5 +26,5 @@ upstream_version="${release}+${date}"
# Generate tarball.
echo "packaging $(git rev-parse --short FETCH_HEAD)"
git archive FETCH_HEAD -- usbboot |
git archive FETCH_HEAD -- usbboot xbboot |
gzip -n -9 > "xburst-tools_$upstream_version.orig.tar.gz"

View File

@ -24,25 +24,16 @@ Manual: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/manual/USB_Boot_Tool_Manual_1.
Build Requirements: libusb-dev, libconfuse-dev
Build and Installation:
cd ../
./autogen.sh
./configure
./configure --enable-firmware --prefix=/usr
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
*) 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"
sudo usbboot -c "nprog 2048 uImage 0 0 -n"
sudo usbboot -c "nprog 0 u-boot-nand.bin 0 0 -n"

View File

@ -16,8 +16,9 @@ as published by the Free Software Foundation; either version
Build Requirements: libusb-dev
Build and Installation:
cd ../
./autogen.sh
./configure --enable-firmware
./configure --enable-firmware --prefix=/usr
make
make install
*) make install will install the xbboot binary to /usr/bin/xbboot