mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
update READE, add INSTALL file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user