mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
rename inflash to xburst-tools
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
1 parent
476093fe0e
commit
d5a74247a2
58 files changed
+48
-48
No files matched your search
@@ -1,5 +0,0 @@
|
||||
inflash (20090630-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
||||
|
||||
-- xiangfu <xiangfu.z@gmail.com> Mon, 29 Jun 2009 16:24:32 +0800
|
||||
@@ -1,3 +0,0 @@
|
||||
usr/bin
|
||||
usr/share/inflash
|
||||
usr/man/man1
|
||||
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
|
||||
* inflash ChangeLog
|
||||
* xburst-tools ChangeLog
|
||||
|
||||
25Jun2009 [WS] some cleanup in directory structure and build system
|
||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
*
|
||||
* inflash
|
||||
* xburst-tools
|
||||
*
|
||||
* Utility to respond to Ingenic XBurst USB boot protocol, provide
|
||||
* initial boot stages and ability to access NAND on device.
|
||||
@@ -14,7 +14,7 @@ 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.
|
||||
|
||||
inflash is the Linux version of a Windows utility from Ingenic called 'usbboot'.
|
||||
xburst-tools is the Linux version of a Windows utility from Ingenic called 'usbboot'.
|
||||
Homepage: http://www.ingenic.cn/eng/productServ/kfyd/compiler/pffaqContents.aspx#questionAnchor8
|
||||
Manual: ftp://ftp.ingenic.cn/3sw/00tools/usb_boot/manual/USB_Boot_Tool_Manual_1.4_EN.pdf
|
||||
|
||||
@@ -25,14 +25,14 @@ Build and Installation:
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
*) make install will install the 'inflash' binary to /usr/bin/inflash
|
||||
and the stage 1 and 2 bootloaders as well as inflash.cfg configuration
|
||||
file into /usr/share/inflash
|
||||
*) make install will install the 'xburst-tools' binary to /usr/bin/xburst-tools
|
||||
and the stage 1 and 2 bootloaders as well as xburst-tools.cfg configuration
|
||||
file into /usr/share/xburst-tools
|
||||
|
||||
Configuration file: /usr/share/inflash/inflash.cfg
|
||||
Configuration file: /usr/share/xburst-tools/xburst-tools.cfg
|
||||
|
||||
Examples:
|
||||
sudo inflash (invoking inflash without options will let you enter commands at the inflash prompt)
|
||||
sudo inflash -c "boot"
|
||||
sudo inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
||||
sudo inflash -c "nprog 2048 uImage 0 0 -n"
|
||||
sudo xburst-tools (invoking xburst-tools without options will let you enter commands at the xburst-tools prompt)
|
||||
sudo xburst-tools -c "boot"
|
||||
sudo xburst-tools -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
||||
sudo xburst-tools -c "nprog 2048 uImage 0 0 -n"
|
||||
File renamed without changes.
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.63)
|
||||
AC_INIT([inflash], [0.1])
|
||||
AC_INIT([xburst-tools], [0.1])
|
||||
AC_CONFIG_AUX_DIR(m4)
|
||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
@@ -0,0 +1,5 @@
|
||||
xburst-tools (20090630-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
||||
|
||||
-- xiangfu <xiangfu.z@gmail.com> Mon, 29 Jun 2009 16:27:20 +0800
|
||||
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
Source: inflash
|
||||
Source: xburst-tools
|
||||
Section: misc
|
||||
Priority: extra
|
||||
Maintainer: xiangfu liu <xiangfu.z@gmail.com>
|
||||
@@ -6,11 +6,11 @@ Build-Depends: debhelper (>= 7), libusb-dev, libconfuse-dev
|
||||
Standards-Version: 3.8.0
|
||||
Homepage: http://code.google.com/p/pi-project
|
||||
|
||||
Package: inflash
|
||||
Package: xburst-tools
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, libusb, libconfuse
|
||||
Description: host tool for Ingenic XBurst CPU USB boot and NAND flash access.
|
||||
inflash is a host tool for Ingenic XBurst CPU device usb boot.
|
||||
xburst-tools is a host tool for Ingenic XBurst CPU device usb boot.
|
||||
it's can flash bootloader, kernel, rootfs to Ingenic XBurst CPU
|
||||
device nand. also have some test function for Ingenic XBurst CPU
|
||||
device.
|
||||
File renamed without changes.
@@ -0,0 +1,3 @@
|
||||
usr/bin
|
||||
usr/share/xburst-tools
|
||||
usr/man/man1
|
||||
File renamed without changes.
@@ -41,7 +41,7 @@ build-stamp: config.status
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE)
|
||||
#docbook-to-man debian/inflash.sgml > inflash.1
|
||||
#docbook-to-man debian/xburst-tools.sgml > xburst-tools.1
|
||||
|
||||
touch $@
|
||||
|
||||
@@ -62,8 +62,8 @@ install: build
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/inflash.
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/inflash install
|
||||
# Add here commands to install the package into debian/xburst-tools.
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/xburst-tools install
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
@@ -4,21 +4,21 @@ BUILD_BRANCH := $(shell git branch | grep ^\* | cut -d' ' -f2)
|
||||
BUILD_HEAD := $(shell git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16)
|
||||
BUILD_VERSION := ${BUILD_BRANCH}_${BUILD_HEAD}
|
||||
|
||||
inflash_version.h:
|
||||
echo -e '#ifndef INFLASH_VERSION' \
|
||||
'\n#define INFLASH_VERSION "20090628-1"' \
|
||||
'\n#endif' > inflash_version.h
|
||||
BUILT_SOURCES = inflash_version.h
|
||||
xburst_tools_version.h:
|
||||
echo -e '#ifndef XBURST_TOOLS_VERSION' \
|
||||
'\n#define XBURST_TOOLS_VERSION "20090630-1"' \
|
||||
'\n#endif' > xburst_tools_version.h
|
||||
BUILT_SOURCES = xburst_tools_version.h
|
||||
|
||||
bin_PROGRAMS = inflash
|
||||
inflash_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
||||
bin_PROGRAMS = xburst_tools
|
||||
xburst_tools_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
||||
ingenic_usb.c main.c
|
||||
|
||||
prefix = /usr
|
||||
datadir = /usr/share/inflash
|
||||
datadir = /usr/share/xburst_tools
|
||||
data_DATA = ../xburst_stage1/xburst_stage1.bin \
|
||||
../xburst_stage2/xburst_stage2.bin \
|
||||
inflash.cfg
|
||||
xburst_tools.cfg
|
||||
EXTRA_DIST = $(datadir)
|
||||
|
||||
../xburst_stage1/xburst_stage1.bin:
|
||||
File renamed without changes.
File renamed without changes.
@@ -13,7 +13,7 @@
|
||||
#include "usb_boot_defines.h"
|
||||
#include "ingenic_usb.h"
|
||||
#include "cmd.h"
|
||||
#include "inflash_version.h"
|
||||
#include "xburst_tools_version.h"
|
||||
|
||||
extern struct nand_in nand_in;
|
||||
extern struct sdram_in sdram_in;
|
||||
@@ -97,7 +97,7 @@ static int handle_help(void)
|
||||
|
||||
static int handle_version(void)
|
||||
{
|
||||
printf(" USB Boot Software current version: %s\n", INFLASH_VERSION);
|
||||
printf(" USB Boot Software current version: %s\n", XBURST_TOOLS_VERSION);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ int command_handle(char *buf)
|
||||
debug_go();
|
||||
break;
|
||||
case 16: /* exit */
|
||||
printf(" exiting inflash software\n");
|
||||
printf(" exiting xburst-tools software\n");
|
||||
return -1; /* return -1 to break the main.c while
|
||||
* then run usb_ingenic_cleanup*/
|
||||
/*case 17:
|
||||
File renamed without changes.
File renamed without changes.
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "usb_boot_defines.h"
|
||||
|
||||
#define CONFIG_FILE_PATH "/usr/share/inflash/inflash.cfg"
|
||||
#define CONFIG_FILE_PATH "/usr/share/xburst_tools/xburst_tools.cfg"
|
||||
|
||||
int hand_init_def(struct hand *hand);
|
||||
int check_dump_cfg(struct hand *hand);
|
||||
File renamed without changes.
@@ -37,8 +37,8 @@
|
||||
#define VENDOR_ID 0x601a
|
||||
#define PRODUCT_ID 0x4740
|
||||
|
||||
#define STAGE1_FILE_PATH "/usr/share/inflash/xburst_stage1.bin"
|
||||
#define STAGE2_FILE_PATH "/usr/share/inflash/xburst_stage2.bin"
|
||||
#define STAGE1_FILE_PATH "/usr/share/xburst_tools/xburst_stage1.bin"
|
||||
#define STAGE2_FILE_PATH "/usr/share/xburst_tools/xburst_stage2.bin"
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <getopt.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "inflash_version.h"
|
||||
#include "xburst_tools_version.h"
|
||||
#include "command_line.h"
|
||||
#include "ingenic_usb.h"
|
||||
#include "ingenic_cfg.h"
|
||||
@@ -22,18 +22,18 @@ extern struct hand hand;
|
||||
|
||||
static void help(void)
|
||||
{
|
||||
printf("Usage: inflash [options] ...(must run as root)\n"
|
||||
printf("Usage: xburst-tools [options] ...(must run as root)\n"
|
||||
" -h --help\t\t\tPrint this help message\n"
|
||||
" -v --version\t\t\tPrint the version number\n"
|
||||
" -c --command\t\t\tDirect run the commands, split by ';'\n"
|
||||
" <run without options to enter commands via inflash prompt>\n\n"
|
||||
" <run without options to enter commands via xburst-tools prompt>\n\n"
|
||||
"Report bugs to <xiangfu.z@gmail.com>.\n"
|
||||
);
|
||||
}
|
||||
|
||||
static void print_version(void)
|
||||
{
|
||||
printf("inflash version: %s\n", INFLASH_VERSION);
|
||||
printf("xburst-tools version: %s\n", XBURST_TOOLS_VERSION);
|
||||
}
|
||||
|
||||
static struct option opts[] = {
|
||||
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
|
||||
char com_buf[256] = {0};
|
||||
char *cmdpt;
|
||||
|
||||
printf("inflash - Ingenic XBurst USB Boot Utility\n"
|
||||
printf("xburst-tools - Ingenic XBurst USB Boot Utility\n"
|
||||
"(c) 2009 Ingenic Semiconductor Inc., Qi Hardware Inc., Xiangfu Liu, Marek Lindner\n"
|
||||
"This program is Free Software and comes with ABSOLUTELY NO WARRANTY.\n\n");
|
||||
|
||||
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
while (1) {
|
||||
printf("inflash :> ");
|
||||
printf("xburst-tools :> ");
|
||||
cptr = fgets(com_buf, 256, stdin);
|
||||
if (cptr == NULL)
|
||||
continue;
|
||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# inflash configuration file
|
||||
# xburst-tools configuration file
|
||||
#
|
||||
# Utility to respond to Ingenic XBurst USB boot protocol, provide
|
||||
# initial boot stages and ability to access NAND on device.
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user