1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-29 18:59:22 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
Xiangfu Liu
71d2db02e5 update libusb-1.0 LIBS CFLAGS to configure.ac
update package version define in usbboot, xbboot
 update .gitignore
 resolve the confilict file on "config.h"

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2011-04-08 15:58:16 +08:00
kyak
a3a38cabf1 xburst-tools buffered output patch
It solves the problem that the progress bar in reflash_ben.sh is
buffered and updated in bigger pieces.
With this patch in place, reflash_ben.sh runs nice and smooth
2011-03-08 11:09:11 +08:00
Xiangfu Liu
7597779cae remove duplicate code 2011-03-07 11:11:38 +08:00
Xiangfu Liu
9b840cda9a add reset help 2011-03-07 10:47:08 +08:00
Xiangfu Liu
86d8824507 update usbboot version 2011-03-03 14:43:48 +08:00
Xiangfu Liu
ff3182da41 add new command: reset, then we can reboot device after reflash 2011-03-02 10:42:35 +08:00
Xiangfu Liu
aa59c6a7ec add JZ4760 EVB Lepus config file 2011-03-02 10:10:01 +08:00
Xiangfu Liu
f685003456 increate cmd buf size, some code style cleanup 2011-03-02 10:07:47 +08:00
Xiangfu Liu
702b54aa47 cleanup code style, cleanup command process function 2011-03-02 09:09:53 +08:00
Xiangfu Liu
8ad5b58bf2 update version to 201012 2010-12-23 21:34:09 +08:00
Xiangfu Liu
0e92eb8bd7 xburst_stage2: don't skip bad block when nand erase 2010-12-23 19:39:43 +08:00
Xiangfu Liu
24aa5a2277 cleanup code style 2010-12-23 18:07:30 +08:00
Xiangfu Liu
eb283a6f70 remove check root permissions
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-11-25 10:35:36 +08:00
Sergey Kvachonok
99b7ed962d Add firmware clean target to automake clean-local. 2010-11-05 11:37:10 +02:00
Sergey Kvachonok
6c1baa5e21 Make CROSS_COMPILE configure script variable. 2010-11-05 11:37:10 +02:00
Xiangfu Liu
5f83781aaf change the version number to 201007.
the "201007-1" should be Debian Package Version.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-09-25 15:55:58 +08:00
Xiangfu Liu
b21d2e4ce5 cleanup the output message
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-08-10 14:08:06 +08:00
Xiangfu Liu
8ce9d2081c fix typo of email address
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-08-02 23:59:13 +08:00
Xiangfu Liu
d795fb3459 update version numver. update debian/changelog
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-07-31 00:16:40 +08:00
Xiangfu Liu
3201fd51e4 fix warning: comma at end of enumerator list
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-07-30 20:43:36 +08:00
Xiangfu Liu
00be212db2 [usbboot] rename board_4740.c to board-jz4740.c
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-07-22 14:58:55 +08:00
Xiangfu Liu
dd5adf5bb1 [usbboot] sync defines with jz4760.h
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-07-22 14:56:40 +08:00
Xiangfu Liu
19bc94325c update the email address.
in debian/* file should use the same emails address
as in source code.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-07-21 10:44:34 +08:00
Xiangfu Liu
4a4b5ad31b [usbboot] remove debug output 2010-07-21 09:02:47 +08:00
Xiangfu Liu
2011a397d0 add stage1 stage2 option
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-24 11:28:18 +08:00
Xiangfu Liu
eb23820087 [usbboot] copy the jz4760.h file from u-boot, fix the jz4760 nand addr, cmd, data, port define
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-21 14:41:37 +08:00
Xiangfu Liu
43d775ba97 this is a workaround. we have plan to update the libusb-0.1
to libusb-1.0. then we try to use sync wirte function.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-21 14:35:24 +08:00
Xiangfu Liu
7a5a090832 add jz4760 support to stage2
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-18 15:10:05 +08:00
Xiangfu Liu
bcc23ae567 add jz4760 support to xburst_stage1
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-18 14:33:47 +08:00
Xiangfu Liu
046a7e7cbd make the usbboot detect the target cpu type by usb id
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-18 14:28:25 +08:00
Xiangfu Liu
d0db32762f cleanup head files
remove: archdefs.h  mips.h mipsregs.h sysdefs.h


Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-18 13:58:16 +08:00
Xiangfu Liu
c1873f1c5e [usbboot] fix if there is space at the end of command casue error 2010-06-15 22:37:36 +08:00
Xiangfu Liu
289379e302 [xburst] what even the pagesize is, the first 8 page use static ecc parameters 2010-06-08 20:57:03 +08:00
Xiangfu Liu
77a7270a4b fix issue 76, remove the static prefix and datadir.
http://projects.qi-hardware.com/index.php/p/xburst-tools/issues/76/

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-01 08:30:59 +08:00
Xiangfu Liu
ad2afb0cdd code style cleanup 2010-05-24 11:24:13 +08:00
Jonathan Nieder
e140411424 unset executable bit on firmware image
This firmware is not meant to be executed on the host machine, so
unset its executable bit.  Noticed by lintian.

While at it, teach stage1 builds to recover from interrupted builds by
ensuring *stage1.bin are not present until all of the relevant
commands have been run.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:08:25 +08:00
Xiangfu Liu
cd7bc7f35a update READE, add INSTALL file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-11 13:47:34 +08:00
Xiangfu Liu
30a9ef8e88 add-xbboot-to-xburst-tools-debian-package
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-05 11:36:05 +08:00
Xiangfu Liu
65cc561309 merge xbboot and usbboot to one projects
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-05 11:04:03 +08:00
Xiangfu Liu
3b5b0b328c [usbboot] change the sysconfdir to /etc by default 2010-05-04 17:11:43 +08:00
Xiangfu Liu
905a086f89 [usbboot] change the prefix to /usr by default 2010-05-04 17:09:00 +08:00
Xiangfu Liu
086c985468 cleanup CFLAGS
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-29 14:48:48 +08:00
Jonathan Nieder
bf43104a6a xburst-tools: generate changelog from git log
Use git shortlog to generate a brief list of changes to put in
/usr/share/doc/xburst-tools/changelog.gz.  This list is built
at source package generation time because it requires access to
the git repository.  The commit ID corresponding to each upstream
release is extracted from debian/changelog since the repository
has no tags.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:44:17 +08:00
Jonathan Nieder
24d1e9ce24 odds and ends
Bump the upstream version number since configure.ac changed.  Add
a debian/source/included-binaries file so dpkg-source does not
misinterpret the included firmware as a mistake.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:36:02 +08:00
Jonathan Nieder
3d74b6ace7 debian/rules: add target to build source tarball
Document how to use ‘git archive’ to build a tarball from the
usbboot subdirectory of the source repository.

Repeated invocations of the get-orig-source target to fetch the
same commit will produce byte-for-byte identical results.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:29:21 +08:00
Jonathan Nieder
a2a9d90ef9 use new dpkg source format
The compiled firmware files are unrepresentable in a text diff.
Use the new source format with debian.tar.gz to fix this.

This will also make it easier to patch the upstream source if that
is ever needed in between versions.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:27:25 +08:00
Xiangfu Liu
89f035616d update the email address 2010-04-05 17:55:11 +08:00
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
Jonathan Nieder
1b6d5cccd3 debian/control: Add a Vcs-Git field
Add a pointer to the repository with packaging files to make it
easier for people to contribute.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:58:17 +08:00
Jonathan Nieder
3b0b78256d debian: Avoid tracking generated files
Add a .gitignore file listing build products in the debian/
directory.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:56:51 +08:00