mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 07:51:34 +02:00
update READE, add INSTALL file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
18cac78ca3
commit
cd7bc7f35a
14
INSTALL
Normal file
14
INSTALL
Normal 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
1
debian/.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
/xburst_stage1.bin
|
||||
/xburst_stage2.bin
|
||||
/stage1.bin
|
||||
/changelog.upstream
|
||||
|
||||
/files
|
||||
|
2
debian/get-orig-source.sh
vendored
2
debian/get-orig-source.sh
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user