1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 06:24:04 +02:00
Commit Graph

694 Commits

Author SHA1 Message Date
Xiangfu Liu
ea7b236b9a [xbboot] add jz4760 detect 2010-06-09 14:43:25 +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
f3237cab36 cleanup for jz4760, move UART_BASE it to board-jz47xx.c file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-07 20:46:04 +08:00
Xiangfu Liu
14fb5adc49 [xbboot] cleanup files for jz4760
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-07 19:29:49 +08:00
Xiangfu Liu
7dc41fd855 renmae 4740 function end with _4740
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-07 18:12:20 +08:00
Xiangfu Liu
5b682c28e0 [xbboot] cleanup for jz4760, split stage1.c to board-jz4740.c
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-04 22:31:19 +08:00
Xiangfu Liu
abec432237 add *~ to gitignore
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-04 19:53:10 +08:00
Xiangfu Liu
13fd1652a9 [xbboot] add jz4760.h file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-04 19:51:42 +08:00
Xiangfu Liu
007cdb0d81 update debian/changelog
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-06-04 15:05:47 +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
b65e32150d update changelog
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:15:22 +08:00
Jonathan Nieder
63d8f0858c avoid accidentally tracking the xbboot stage1 firmware
This also avoids stage1.bin cluttering up ‘git status’ output.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:15:05 +08:00
Jonathan Nieder
dbe9c8ba0f debian/rules: fix clean target
.gitignore does not list any source files any more.  So use it again
as a list of files to delete.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:14:20 +08:00
Jonathan Nieder
e6a1f0f665 update .gitignore
Ignore accidentally tracking xbboot build products.  Do track
Makefiles that are not automatically generated.  Fixing this makes
debian/clean.sh work again.

Mistakenly ignored files were detected by

	git ls-files -i --exclude-standard

and un-ignored build products by

	git ls-files -o --exclude-standard

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:14:12 +08:00
Jonathan Nieder
78f38d48bf include entire source tree in source package
It is probably worth spending the time to split them up with
multiple upstream tarballs, but for now, usbboot, xbboot, and so on
are in a single repository managed as a single project.

Teach debian/rules get-orig-source to build a single upstream tarball
with the entire source tree.

Include history of whole tree in the generated changelog.upstream.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-05-11 17:13:15 +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
4ffa696025 update INSTALL, add how to get cross-toolchain
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-11 13:51:59 +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
18cac78ca3 [xbboot] rename docs to doc
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-05 13:09:09 +08:00
Xiangfu Liu
d411985518 [debian] add xbboot manual to package
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-05 13:07:45 +08:00
Xiangfu Liu
1441403f23 [xbboot] add xbboot manual file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-05 13:05:30 +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
d99438324b change the option --daemon to --upload 2010-05-03 15:42:14 +08:00
Xiangfu Liu
086c985468 cleanup CFLAGS
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-29 14:48:48 +08:00
Xiangfu Liu
2aa4472aae update the email address 2010-04-28 18:29:53 +08:00
Xiangfu Liu
d61d277961 update README 2010-04-28 18:22:57 +08:00
Xiangfu Liu
2175cec366 update configure.ac, remove check signal.h
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-28 18:07:04 +08:00
Xiangfu Liu
07bfc33712 add more error check. remove the signal handler
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-28 18:06:28 +08:00
Xiangfu Liu
4c7e4f9bd5 add CONF_FIRMWARE to Makefile.am
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-28 17:03:43 +08:00
Xiangfu Liu
945e32bae2 code cleanup 2010-04-28 16:34:38 +08:00
Xiangfu Liu
9ed1a769d6 cleanup the configure.ac file, -lconfuse
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-27 13:51:54 +08:00
Xiangfu Liu
59a440415b add -d options. search xburst device every second 2010-04-22 17:13:47 +08:00
Xiangfu Liu
b3ea184e6a split the main function. 2010-04-22 15:27:36 +08:00
Xiangfu Liu
40242c948f add init LCD and keyboard
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-22 15:05:52 +08:00
Xiangfu Liu
f348f4f104 [xbboot] init GPIO_LCD_CS for zImage kernel 2010-04-15 18:08:48 +08:00
Xiangfu Liu
e7cf9e2297 [xbboot] make theh xbboot work with software usbboot mode 2010-04-14 15:35:21 +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
85156c22d8 xburst-tools: Add .mailmap for git-shortlog output
Give each patch author a single full name and working e-mail address
to keep the shortlog tidy.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:43:10 +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
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