1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-23 19:51:09 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
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
Jonathan Nieder
3d82483481 debian/rules: rewrite as a minimal debian/rules file (using dh)
This makes the packaging easier to read and modify.

Features added:

 * runs ‘make’ with the -j option for a tiny speedup
 * uses appropriate compiler flags even when run directly instead of
   through dpkg-buildpackage
 * after interrupting a partial build, there is no need any more
   for (fake) root privileges to clean up
 * after interrupting a partial build, ‘debian/rules clean’ will
   work without running autoreconf again.

Features retained:

 * ‘debian/rules -n <target>’ provides the list of commands used
   to make that target.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:56:44 +08:00
Jonathan Nieder
da4424df4b configure: Add --disable-firmware option to avoid building firmware
Allow usbboot to be built on systems without a mipsel cross-compiler
by passing configure the --disable-firmware option.

Before using the resulting binary, one would need to grab the firmware
from another machine.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:56:30 +08:00
Jonathan Nieder
aa43b70e0c usbboot: Update and simplify .gitignore
Use anchored filenames and wildcards to make it easier to keep the
.gitignore file up to date with future code changes.

The entries are more precise now:

 * ‘git add .’ will not start tracking the src/usbboot binary
 * ‘git ls-files -i --exclude-standard’ will not list
   xburst_stage1/Makefile and xburst_stage2/Makefile as mistakenly
   tracked.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:53:35 +08:00
Xiangfu Liu
d8105c6d2e [usbboot] use autoconf datadir not static path 2010-02-25 13:13:58 +08:00
Xiangfu Liu
bf8a822136 update manual email address 2010-02-25 12:06:17 +08:00
Xiangfu Liu
c7abbb787d update usbboot version 2010-02-25 12:00:49 +08:00
Xiangfu Liu
7fcb66d6eb update changelog 2010-02-25 11:47:40 +08:00
Xiangfu Liu
cfdd0c3b7e [usbboot] change NAND_FORCEERASE to 1 2010-02-25 11:11:40 +08:00
Xiangfu Liu
632b35178b Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools 2010-02-25 11:10:20 +08:00
Xiangfu Liu
46d22cd94c [usbboot] delete useless config file 2010-02-25 11:08:27 +08:00
Lars-Peter Clausen
8201951775 Don't increase blk_end in case of an bad page. 2010-02-19 20:37:57 +01:00
Lars-Peter Clausen
4868294851 Fix error check. 2010-02-19 04:48:21 +01:00
Lars-Peter Clausen
d122766d93 If the variables passed to CFG_SIMPLE_INT are not of type long the bahviour is
undefined. Use CFG_INT instead.
2010-02-19 04:46:49 +01:00
Xiangfu Liu
53842b350c add libconfure-dev to control file 2010-01-17 22:44:22 +08:00
Xiangfu Liu
900e8dd7bc add Build Pakcage in README 2010-01-17 22:31:27 +08:00
Xiangfu Liu
164a7e19cd Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools 2010-01-08 17:03:21 +08:00
Xiangfu Liu
fac0746ad2 change stage_addr to unsigned 2010-01-08 13:21:11 +08:00
Lars-Peter Clausen
0510f433ed Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools 2010-01-08 03:37:39 +01:00
Lars-Peter Clausen
62e1e80b92 stage1: Don't configure ram, when loaded from u-boot usbboot emulation 2010-01-08 03:36:58 +01:00
Xiangfu Liu
1022f9e3fc change the FORCEERASE to 0 2009-12-23 23:43:07 +08:00
Lars-Peter Clausen
20477f631c Fix bulk transfer bufferoverflows.
Make the bulk buffer large enough to hold at least one page of the nanonotes
nand chip.
2009-12-16 15:12:38 +01:00
Xiangfu Liu
d3fd6c8954 this make the [power] + [u] usbboot mode work. 2009-12-14 10:43:04 +08:00
Xiangfu Liu
29c5fc7479 set sysconfdir to etc 2009-11-04 22:10:28 +08:00
Xiangfu Liu
e5ece9bb31 don't have .cpp file. 2009-11-04 12:57:30 +08:00
Xiangfu Liu
f7c651790c fix the configure file path 2009-11-04 01:51:33 +08:00
Mikhail Gusarov
9356e3dff0 Use autoconf-provided variables instead of absolute paths
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2009-11-04 01:30:39 +08:00
Mikhail Gusarov
fa5c72f095 Typo fix
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2009-11-04 01:13:39 +08:00
Xiangfu Liu
5fd478b936 cleanup output, fix not exit when error 2009-09-30 23:47:29 -04:00
Lars-Peter Clausen
3e030a84f8 fix usbboot skips empty pages during write 2009-09-17 10:22:28 +08:00
Xiangfu Liu
5efe423426 fix the GPL warning when make .deb package 2009-09-17 09:49:46 +08:00
Xiangfu Liu
a7cf94340c update the URL 2009-09-09 18:25:27 +08:00
Xiangfu Liu
deeeba171c update the watch file URL to qi-hardware 2009-09-09 17:52:19 +08:00
Xiangfu Liu
aa371818a1 update the README 2009-09-09 17:46:42 +08:00
Xiangfu Liu
6b31e71e8e make the 2gb nand cfg as the default configure 2009-09-09 17:07:33 +08:00
Xiangfu Liu
845ae95905 fix the SDRAM_BANK4. should be 0 or 1 2009-08-30 21:55:14 +08:00
Xiangfu Liu
d5f2bee6f1 the SDRAM_BW16 shoudl be 1 or 0.
make the xburst tools work in jz4720 and jz4725 cpu.
2009-08-30 21:35:46 +08:00
Xiangfu Liu
c5621d6af8 update README, some code cleanup
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-08-27 21:48:03 +08:00
Xiangfu Liu
f8f75cc9f7 add 2gb nand configure file for usbboot
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-08-25 17:53:42 +08:00
Xiangfu Liu
5d0a80f6a6 many users got error message then use that option
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-08-18 11:39:39 +08:00
ZhangJieJing
4d4837484a autoconf: add error message when check lib usb and confuse failed. And prompts user to install the lib.
Signed-off-by: JieJing.Zhang <kzjeef@gmail.com>
2009-08-05 09:25:02 +08:00
Xiangfu Liu
f426319446 change the default usbboot.cfg path
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-21 01:12:38 +08:00
Xiangfu Liu
80410aaadb mv the config file to /etc/xburst-tools
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-21 00:58:26 +08:00
Xiangfu Liu
2679195988 add configure file path option
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-20 23:43:05 +08:00
xiangfu
0a66ef5e52 cleanup-output-info.patch 2009-07-10 12:15:38 +08:00
Xiangfu Liu
603032264a cleanup the copyright
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-09 23:27:46 +08:00
Xiangfu Liu
0ecb32a9bc cleanup the GPL info.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-09 22:42:29 +08:00
Xiangfu Liu
e8b1b896f4 cleanup
add build dependenices

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-05 12:43:21 +08:00