debian/0000755000000000000000000000000012104731530007162 5ustar debian/get-orig-source.sh0000664000000000000000000000055211770572373012555 0ustar #!/bin/sh # Build a tarball from the latest upstream version, with a nice # version number. # # Requires tar. set -e : ${VERSION=201007} [ -f xburst-tools_${VERSION}.tar.bz2 ] || \ wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2 mv xburst-tools_${VERSION}.tar.bz2 ../xburst-tools_${VERSION}.orig.tar.bz2 debian/xburst_stage2.bin0000664000000000000000000007751412104731000012460 0ustar ?@!$DbA.” # Result is . # Result is empty and writes a message to standard error if no such entry is # found before the next Version: line with a different upstream # version (or EOF). # Argument is the upstream version sought. function read_commit_id(upstream, line,version,corresponding_upstream,commit) { while (getline line) { version = version_line(line); corresponding_upstream = version; sub(/-[^-]*$/, "", corresponding_upstream); if (version != "" && corresponding_upstream != upstream) break; commit = commit_id_line(line); if (commit != "") return commit; } print "No commit id for " upstream >> "/dev/stderr"; return ""; } BEGIN { last = "none"; last_cid = "none"; cl = "debian/changelog.upstream"; } # Add a list of all revisions up to last to debian/changelog.upstream # and set last = new_cid. # new is a user-readable name for the commit new_cide. function add_version(new,new_cid, limiter,versionline,command,line) { if (last == "none") { printf "" > cl; last = new; last_cid = new_cid; return 0; } if (new == "none") { versionline = "Version " last; limiter = ""; } else { versionline = "Version " last "; changes since " new ":"; limiter = new_cid ".."; } print versionline >> cl; gsub(/./, "-", versionline); print versionline >> cl; print "" >> cl; command = "git shortlog \"" limiter last_cid "\""; while(command | getline line) print line >> cl; if (new != "none") print "" >> cl; last = new; last_cid = new_cid; } { version = version_line($0); if (version != "") { # strip Debian revision upstream_version = version; sub(/-[^-]*$/, "", upstream_version); commit = read_commit_id(upstream_version); if (commit == "") exit 1; add_version(upstream_version, commit); } } END { add_version("none", "none"); } debian/xburst_stage1.bin0000664000000000000000000001552412104731000012450 0ustar <@7Q< C< B$< ;@B$D(epD<<;Ĭ0;eE0;d< p8;D0;e!<4$<40;dq <c48;C< C < E0$! d<-;e#<;d B$ C IC HGFED<(;C<$;I<;H<4;G<.;F<,;E<;D'<  ;B @<;"@G$ C`G$JC ' '8 b  < `9$ ;$< 0;D< 8;D<-;D 0 ; D< (;D<$;D 0<;D 0<4;D 0<.;D 0< D< |9$;#`G$b<7 's n  G s<'<;P;R $"&`$`B0C12Q ' $`$'!& &'<;d;bBB0@B0<;BBB0<';P;C;D;B$$ D$ b<;C@G$ b $'K $''$'$#  $c$ i$dB0 F,0H$7G$c$i$' $ $(' <<<@<<J50 <$4<<@  p <h$-5 <c$ e,,  Build-Depends: debhelper (>= 9), pkg-config, autoconf, automake, libusb-dev, libconfuse-dev, libusb-1.0-0-dev, libreadline-dev Build-Conflicts: automake1.4 Standards-Version: 3.9.4 Vcs-Git: git://projects.qi-hardware.com/xburst-tools.git Vcs-Browser: http://projects.qi-hardware.com/p/xburst-tools/source/changes/master/ Homepage: http://projects.qi-hardware.com/p/xburst-tools/ Package: xburst-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: tools for Ingenic XBurst CPU USB boot and NAND flash access xburst-tools contains tools for Ingenic XBurst CPU device booting. It can flash bootloader, kernel, rootfs to Ingenic XBurst CPU device NAND, and also has test functions for Ingenic XBurst CPU devices. debian/clean.sh0000664000000000000000000000344412046716432010620 0ustar #!/bin/sh # Clean up after a failed build. # # Requires access to .gitignore files excluding _all_ modified files. # # Requires a working /dev/fd (with more than just /dev/fd/0 and 1) # or gawk. set -e splitgitignore='#!/usr/bin/awk !/^#/ && !/^$/ { glob = /[[*?]/; directory = /\/$/; sub(/\/$/, ""); anchored = /\//; sub(/^\//, ""); output = "nonexistent/nonsense"; if (anchored) { if (!directory && !glob) output = "/dev/fd/1"; else if (directory && !glob) output = "/dev/fd/3"; else if (!directory && glob) output = "/dev/fd/4"; else if (directory && glob) output = "/dev/fd/5"; } else { if (!directory) output = "/dev/fd/6"; else output = "/dev/fd/7"; } print >> output; } ' offlimits="-type d -name '.*' -prune -o -type d -name debian -prune" remove_file_globs() { while read glob do eval "rm -f $glob" done } remove_directory_globs() { while read glob do eval "rm -fr $glob" done } remove_file_findpatterns() { while read pat do find . $offlimits -o \ '(' -name "$pat" -execdir rm -f '{}' + ')' done } remove_directory_findpatterns() { while read pat do find . $offlimits -o \ '(' -type d -name "$pat" -execdir rm -fr '{}' + ')' done } find . $offlimits -o '(' -name .gitignore -print ')' | while read file do ( cd "$(dirname "$file")" # Dispatch using pipes. Yuck. { { { { { awk "$splitgitignore" | { # anchored files (globless) xargs -d '\n' rm -f } } 3>&1 >&2 | { # anchored directories (globless) xargs -d '\n' rm -fr } } 4>&1 >&2 | { # anchored files remove_file_globs } } 5>&1 >&2 | { # anchored directories remove_directory_globs } } 6>&1 >&2 | { # unanchored files remove_file_findpatterns } } 7>&1 >&2 | { remove_directory_findpatterns } >&2 ) < "$file" done debian/rules0000775000000000000000000000314212104723162010246 0ustar #!/usr/bin/make -f # This file is in the public domain. # You may freely use, modify, distribute, and relicense it. build clean install binary-arch binary-indep binary: +dh --parallel $(opt_no_act) $@ override_dh_auto_clean: test -e debian/xburst_stage1.bin || { \ echo >&2 see debian/README.source; \ exit 1; \ } dh_auto_clean sh debian/clean.sh override_dh_auto_configure: configure dh_auto_configure -- $(opt_optimize) $(opt_quiet) \ --disable-firmware LDFLAGS=-Wl,-z,defs override_dh_auto_install: dh_auto_install : install firmware from source package dh_install debian/xburst_stage1.bin usr/share/xburst-tools/ dh_install debian/xburst_stage2.bin usr/share/xburst-tools/ dh_install debian/stage1.bin usr/share/xburst-tools/ override_dh_installchangelogs: dh_installchangelogs debian/changelog.upstream opt_optimize = CFLAGS="-g -O2" opt_no_act = opt_quiet = ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) opt_optimize = CFLAGS="-g -O0" endif ifneq (,$(findstring n,$(MAKEFLAGS))) opt_no_act = --no-act endif ifneq (,$(filter quiet,$(DEB_BUILD_OPTIONS))) opt_quiet = --quiet MAKEFLAGS += --quiet endif configure: configure.ac AUTOMAKE="automake --foreign" autoreconf -is firmware: configure ./configure --enable-firmware CROSS_COMPILE=mipsel-openwrt-linux- $(MAKE) -C usbboot/src \ ../xburst_stage1/xburst_stage1.bin \ ../xburst_stage2/xburst_stage2.bin $(MAKE) -C xbboot/host-app \ ../target-stage1/stage1.bin VERSION = 201007 debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST)))) get-orig-source: VERSION='$(VERSION)' sh '$(debiandir_SQ)'get-orig-source.sh debian/copyright0000664000000000000000000000276112046716762011144 0ustar This work was packaged for Debian by: Xiangfu Liu on Mon, 22 Jun 2009 22:48:14 +0800 It was downloaded from: http://projects.qi-hardware.com/index.php/p/xburst-tools/ Upstream Authors: Wolfgang Spraul Marek Lindner Seeger Chin Jonathan Nieder Lucifer at Ingenic Semiconductor Inc. Ingenic Semiconductor Inc. Copyright: Copyright (C) 2010, Xiangfu Liu and Qi Hardware Inc, Ingenic Semiconductor Inc. License: This program is free software: you can redistribute it and/or 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. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 2010 Xiangfu Liu and is licensed under the GPL version 3, see above. debian/source/0000755000000000000000000000000012046716762010501 5ustar debian/source/format0000644000000000000000000000001411667710751011707 0ustar 3.0 (quilt) debian/source/include-binaries0000664000000000000000000000010412046716762013636 0ustar debian/xburst_stage1.bin debian/xburst_stage2.bin debian/stage1.bin debian/compat0000644000000000000000000000000211667710751010377 0ustar 7 debian/stage1.bin0000664000000000000000000001401012104731000011026 0ustar @<5`@ <h@<@74<<c$7C7B ! !<< c7$<7D<47D<7C$<7C $<7C $<7C'< b<77@G$D`G$<C'<<$7D7B c(!! !<7$<7D4<7D<7C$<7C $<7C $< 7C ! 8 F < P6$< t6$7`G$b<7'[ V x $ / P < `6$o<'<7Q $B0&`$`B0CR22 ' $`$'!& &''$'$ $c$ i$dB0 F,0H$7G$c$i$' $ $('<7D$bB0@B0<7BBB0<<@<4@<0<  p <h$-5v <c$ e,,m cfg.cpu_speed (uint8_t) before dividing it by the external crystal frequency, and overflow resulted. Now intermediate variable is used and only the final result of the division is placed in handle->cfg.cpu_speed. Ivan Epifanov (1): Fixed rootfs NAND settings in XZ0032 sample flashing script. Peter Zotov (23): Show an error if a file cannot be sourced. Add support for booting of stage2. Make exit command work without readline. Improve error condition handling. Add USB bootloader stage2 firmware. Add sleep command to shell. Fix echo shell command to print all arguments. Add USBBoot cmdset skeleton. Implement GPIO changing with SPL commands. Add the code needed to launch memtest. Add bulk receive code to USB abstraction. Moved message in ingenic_load_sdram to loglevel LEVEL_DEBUG to not distract progressbar. Fix dump script. Merge remote branch 'origin/delayed' Reworked directory structure. Added scripts for easy setting of XZ0032 ECC modes. Fixed paths. Removed unneeded -Wunused-result flag. Removed -Werror from GCC flags, as it causes problems on a lot of GCC versions. Updated ECC settings to support new Linux kernel. Changed everything to use autotools. Rename config.h to app_config.h, as old name conflicts with autoconf. Fix -v to be less ugly. Sergey Gridassov (22): Initial commit. Code cleanup Merge remote branch 'origin/usbboot' Implemented ingenic_sdram_size Implemented memory test Implemented nand configuration; increased command timeout; implemented stage2 configuration; implemented safe builtin; added boot.cfg USB abstraction: implemented sent length checking Ingenic: implemented SDRAM load and go USBBoot cmdset: implemented 'load' and 'go' Implemented ingenic_query_nand Implemented NAND dumping Implemented ECC bypass in nread; implemented nerase Implemented nprogram (USE WITH CARE!) Implemented nload Made shell reentrant Implemented tab completion Implemented shell argument validation; implemented fancy help printout Implemented transfer progress Implemented padding of NAND images Fixed 'unused result' warnings Fixed loading to memory Fixed erroneous file size correction Inserted load delays Added Linux loader. Xiangfu (7): fix typo add create tar.bz2 ball rule add BIG_ENDIAN support to usbboot Update ChangeLog fix helper-templates-in-copyright Fix compile warnings bump version Xiangfu Liu (14): add Makefile.am for xburst-tools autoconf those file auto created by automake system remove useless config.h add print version debian: update changelog update ChangeLog ChangeLog, fix typo fix spell debug_ops should be char not unsigned usbboot: remove useless NAND_READ_TO_RAM from host. remove jzboot submodule. will be merge with subtree Merge jzboot as xburst-tools subdirectory cleanup project COPYING, ChangeLog files add a Makefile.firmware for only compile firmware Version 201105; changes since 201012: ------------------------------------- Peter Zotov (6): Added jzboot as submodule. Adjusted configure.ac to search for libraries required for jzboot. Use pkg-config to detect libusb-1.0. Update README to include jzboot building instructions. Fix Debian package name in configure helper. Updated bundled jzboot. Xiangfu Liu (20): update debian/changelog update debian/rules, add CROSS_COMPILE when enable firmware update ChangeLog cleanup code style, cleanup command process function increate cmd buf size, some code style cleanup add JZ4760 EVB Lepus config file add new command: reset, then we can reboot device after reflash update Changelog update usbboot version update changelog, INSTALL update debian changelog add reset help remove duplicate code add jzboot to build system update jzboot update libusb-1.0 LIBS CFLAGS to configure.ac jzboot: submodule update jzboot. submodule update [debian] update the URL, add new depends for jzboot usbboot: remove useless code usbboot: fix hand.fw_args.cpu_id have wrong value when there is no 'boot' in commands kyak (1): xburst-tools buffered output patch Version 201012; changes since 201007: ------------------------------------- Sergey Kvachonok (4): Make CROSS_COMPILE configure script variable. Add firmware clean target to automake clean-local. Add configure cross-compiler check. Minor configure.ac syntax cleanup. Xiangfu Liu (10): update all debian package base on verison numver 201007 not git commit any more this fix the `uscan --report-status` error update the distribution to [unstable] make the changelog maintainer name same as control file. use the original bz2 file as the orig.tar.bz2, do not repackage it, since the upstream file use bz2 as the package method. remove check root permissions cleanup code style xburst_stage2: don't skip bad block when nand erase update version to 201012 update changelog Version 201007 -------------- Andy Green (173): build-warn-all-error-all.patch add-dfu-image-generation.patch add-dfu-script.patch build-link-with-libgcc.patch add-serial-strings.patch add-kboot-h.patch add-build-stamps.patch change-text-base-and-meddle.patch fix-do-relocation fix-nand.patch tidy-second-phase-stub.patch add-kernel-init.patch tidy-strings.patch remove-prink.patch add-comments-and-tidy.patch add-nand-fixed-partition-layout.patch change-name.patch move-kboot.h-to-include.patch add-per-board-init-change-qi.patch add-nand-read-prototype.patch change-drivers-dir.patch add-glamo-mmc-files.patch add-copyright-notices.patch reenable-bss-cleardown.patch update-comment-linker-script.patch introduce-i2c.patch add-gta02-400MHz.patch clean-serial-c-into-drivers.patch add-gta02-bring-sd-card-power-up.patch add-gta03-pmu-533MHz-init.patch add-gta03-bring-sd-card-power-up.patch add-pcf50633-include.patch add-glamo-init.patch add-glmo-mmc.patch fix-kill-clocks-unused.patch add-print-decimal.patch fix-wild-comment-GLAMO_FB_.patch add-partition-support.patch add-ext2-fs.patch add-jtag-detection.patch fix-gta03-pclk.patch add-openocd-script.patch qi-change-gta02-ext3-sd.patch qi-fix-large-sdhc-timeout.patch qi-fix-malloc-alignment.patch qi-fix-slow-first-bulk.patch qi-fix-strncpy.patch qi-block-sd-indexing-throughout.patch qi-fix-ryan-chen-dynamic-inode-size.patch qi-fix-ext2-sdhc.patch qi-clean-debugging-messages.patch qi-add-more-pcf50633-init.patch qi-delay-after-stop.patch qi-return-i2c-to-peripheral.patch qi-constrain-gta02-board-variants.patch qi-enable-charger-and-unmask-interrupts.patch qi-fix-resume.patch qi-fix-i2c-multiread-nack-nak.patch qi-add-build-stamps.patch qi-fix-dfu-stamped-image.patch qi-reduce-power-glamo-video-off.patch qi-fix-baud-for-200MHz-1-3-6.patch qi-fix-define-all-gpio-data.patch qi-change-boot-speed-200MHz.patch qi-add-totrst-clear-before-linux.patch qi-refactor-for-multi-cpu-add-s3c6410-base.patch qi-fix-s3c24xx-mci.patch qi-add-6410-bootable-sdcard-generator.patch qi-add-missed-files-for-scm.patch qi-build-create-image-dir.patch qi-move-cpu-specific-drivers-into-cpu-dir.patch qi-moved-lowlevel-init-2442.patch qi-break-crc32-out-of-utils.patch qi-move-udelay-out-of-glamo-mmc-to-utils.patch qi-fix-always-slow-glamo-mmc-init.patch qi-add-sc36410-mci.patch qi-change-machine-number-to-smdk.patch qi-add-report-sector-for-ext2-errors.patch qi-clean-remove-debug-line.patch qi-add-build-script.patch qi-clean-s3c6410-hs_mmc.patch qi-add-warn-on-timeouts.patch qi-high-loglevel-tla01.patch qi-fix-return-ext2-dev-last-sector.patch qi-add-initrd-support.patch qi-add-initrd-tla01.patch qi-rename-tla01-gta03.patch qi-return-to-400MHz-boot-for-now.patch qi-fix-ext2-inefficiency-bug.patch qi-optimize-ext2.patch qi-glamo-mmc-multiblock-read.patch qi-add-memory-testing-routines.patch qi-add-steppingstone-section-for-putc.patch qi-clean-split-utils.c-by-phase.patch qi-memory-test-when-no-kernels.patch qi-gta02-also-try-boot-sdcard-partition-2.patch qi-split-boards-smdk6410-gta03.patch qi-gta03-gpio-init.patch qi-6410-i2c-bitbang.patch qi-gta03-add-pmu-init.patch qi-split-board-specific-in-steppingstone.patch qi-gta03-get-dynamic-board-rev.patch qi-gta03-smdk6410-sdcard-rootfs.patch qi-gta03-priority.patch qi-gta03-add-openocd-config.patch qi-gta03-pulldown-card-detect-mmc0.patch qi-clean-s3c6410.h-add-uart3.patch qi-gta03-populate-variant-list.patch qi-fix-gta03-boot-uart3.patch qi-doc-README-update.patch qi-add-2410-to-build-script.patch qi-introduce-device-named-kernels.patch qi-gta03-kill-100mA-usb-limit-temporary.patch qi-reduce-stage2-extent-32KB.patch qi-gta02-add-partition3-boot.patch qi-gta02-additional-regs-init.patch qi-commandline-remove-all-sd-rootfstype.patch qi-commandline-split.patch qi-gta03-framebuffer-enable.patch qi-update-README.patch qi-gta03-framebuffer-init-to-c.patch qi-add-noboot-and-append-check.patch qi-fixes-append.patch qi-fix-nand-noboot-append-disable.patch qi-add-ui-api.patch qi-gta02-add-ui-debounce.patch qi-gta03-add-ui-debounce.patch qi-gta01-add-ui-debounce.patch qi-kernel-source-skip-if-ui-key-down.patch qi-commandline-debug-added-if-ui-key-down.patch qi-s3c2442-enable-d-cache.patch qi-gta02-remap-steppingstone.patch qi-introduce-ui-indicators.patch qi-clean-fail-partition-on-mount-fail.patch qi-fix-only-init-same-block-device-once.patch qi-gta01-02-03-always-tty0-console.patch qi-gta02-no-inidcators-if-battery-low.patch qi-gta03-rootdelay.patch qi-s3c6410-add-resume-path-processing.patch qi-gta02-improve-default-reg-states.patch qi-gta03-fix-charging.patch qi-fix-gta03-default-wlan-power.patch qi-gta03-revert-to-bin-sh.patch qi-gta03-suspend-gpio.patch qi-gta02-rootdelay.patch qi-gta02-correct-filter-polarity.patch qi-change-partitioning.patch qi-strip-trailing-newlines-in-append-file.patch qi-reduce-glamo-mmc-wait-delay.patch qi-fix-block-init-cache-logic.patch qi-export-s3c2442-nand-bad-block-check.patch qi-add-post-serial-init-api.patch qi-add-hex-sprintf-type-functions.patch qi-add-append_device_specific_cmdline-API.patch qi-gta02-compute-and-append-dynparts.patch qi-improve-nand-read-512-granularity.patch qi-add-gta02-indentity-part-parsing.patch qi-gta02-compute-nand-kernel-partition-offset.patch fix-6410-partition-initial-offset.patch fix-trailing-space-ethernet-mac.patch qi-fix-adding-space-to-char-not-to-string.patch qi-gta02-fix-gph-uart0-pin.patch qi-gta02-a7-as-a6.patch qi-fix-prepend-debug-space.patch qi-gta02-revert-unpowered-gsm-UART-safe-at-boot.patch qi-rename-gta03-3d7k.patch qi-3d7k-audit-gpio.patch qi-3d7k-regulator-suspend-tune.patch Return-Path: Received: from mail.openmoko.org ([unix socket]) by mail.openmoko.org (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.1) with LMTP; Sat, 07 Mar 2009 06:46:20 +0000 X-Sieve: CMU Sieve 2.2 Return-path: Received: from sita.openmoko.org ([88.198.124.203]) by mail.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LfqIe-000690-LR for andy@imap.openmoko.org; Sat, 07 Mar 2009 06:46:20 +0000 Received: from localhost ([127.0.0.1] helo=sita.openmoko.org) by sita.openmoko.org with esmtp (Exim 4.63) (envelope-from ) id 1LfqIA-0005iO-2x; Sat, 07 Mar 2009 07:45:50 +0100 Received: from imap.tw.openmoko.org ([59.124.115.149] helo=aakash.openmoko.org) by sita.openmoko.org with esmtp (Exim 4.63) (envelope-from ) id 1LfqI0-0005cg-Rz for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 07:45:44 +0100 Received: from [172.16.22.173] (helo=abacus-om.tw.openmoko.com ident=Debian-exim) by aakash.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LfqHA-0007Xa-Eu for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 14:45:09 +0800 Received: from matt by abacus-om.tw.openmoko.com with local (Exim 4.69) (envelope-from ) id 1Lfqto-0006XS-9X for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 15:24:44 +0800 From: Matt Hsu To: openmoko-kernel@lists.openmoko.org Date: Sat, 7 Mar 2009 15:24:42 +0800 Message-Id: <1236410684-20364-2-git-send-email-matt_hsu@openmoko.org> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1236410684-20364-1-git-send-email-matt_hsu@openmoko.org> References: <1236410684-20364-1-git-send-email-matt_hsu@openmoko.org> X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sita.openmoko.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Subject: [PATCH 1/3] qi/om_3d7k: deassert LCM_RESET pin before getting kernel. X-BeenThere: openmoko-kernel@lists.openmoko.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Discussion regarding the OpenMoko Linux Kernel and boot loader List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openmoko-kernel-bounces@lists.openmoko.org Errors-To: openmoko-kernel-bounces@lists.openmoko.org qi-3d7k-gate-all-unused-clocks.patch qi-3d7k-suspend-gpio-tune.patch qi-3d7k-additional-power-reg-config.patch qi-3d7k-more-suspend-gpio-meddle.patch Christopher Hall (7): qi-fix-gta03-format-script-less-fragile-for-host-kernel.patch qi-clean-makefile-clean.patch qi-fix-compute-GTA03-pcb-rev-backwards.patch qi-move-to-sbin-init.patch Fix dmesg line filtering if uptime is too low Possible mistake in qi/6410-partition.sh My revised version of the partition tool Dmitry Kurochkin (1): Bad magic when booting from NAND Jonathan Nieder (17): usbboot: Update and simplify .gitignore configure: Add --disable-firmware option to avoid building firmware debian/rules: rewrite as a minimal debian/rules file (using dh) debian: Avoid tracking generated files debian/control: Add a Vcs-Git field Do not build firmware on buildds use new dpkg source format debian/rules: add target to build source tarball odds and ends xburst-tools: Add .mailmap for git-shortlog output xburst-tools: generate changelog from git log unset executable bit on firmware image include entire source tree in source package update .gitignore debian/rules: fix clean target avoid accidentally tracking the xbboot stage1 firmware update changelog Lars-Peter Clausen (9): Dont' write ecc data if written page is empty. fix usbboot skips empty pages during write Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools Fix bulk transfer bufferoverflows. stage1: Don't configure ram, when loaded from u-boot usbboot emulation Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools If the variables passed to CFG_SIMPLE_INT are not of type long the bahviour is undefined. Use CFG_INT instead. Fix error check. Don't increase blk_end in case of an bad page. Marek Lindner (8): initial commit - fails to build at glibc patches make glibc compile & install properly locale support added (modify the SUPPORTED file if needed) add linux usb flash tool [flash-tool] complete inflash stage1 [inflash] send the data length before uploading the file [inflash] replace CROSS by standard CROSS_COMPILE and allow command line override [inflash] switch all makefiles to CROSS_COMPILE [openwrt] add Makefile for download & patching Matt Hsu (4): add gta03 board specific support From b25a27989d72a43f2064dcbb85ad2ea0f2bea4b7 Mon Sep 17 00:00:00 2001 Subject: [PATCH] - correct machine id of gta03 - add mtdparts prefix in the kernel command line fix a compiling error qi-3d7k-GPK6-should-be-set-as-output.patch Micael Henriksson (2): qi-add-s3c2410-cpu.patch qi-update-makefile.patch Mikhail Gusarov (2): Typo fix Use autoconf-provided variables instead of absolute paths Nelson Castillo (1): Revert "Remove loglevel from default kernel boot arguments" Paul Fertser (9): Some SD cards require more retries in mmc_init Add a dedicated function to query debug action to board_api GTA02: use POWER button to append debug parameters to the kernel command line GTA01: use POWER button to append debug parameters to the kernel command line Describe interactive UI in README Fix handling of 60 bytes long symlinks Added SDHC support Use different MACs for the host and for the device ends of usb link GTA02: set battery full charging current threshold to 2/32*Ichg Robert Piasek (1): Re: [PATCH 7/8] qi-add-gta02-indentity-part-parsing.patch Sebastian Krzyszkowiak (1): Remove loglevel from default kernel boot arguments Werner Almesberger (15): phase2: simplify the bootloader_second_phase mega-loop phase2: no space after function phase2: separate parameter setup from try_this_kernel phase2: separate partition scan from try_this_kernel phase2: separate CRC from try_this_kernel phase2: separate block init from try_this_kernel phase2: block init buggy x phase2: use "static" wherever possible phase2: use a typedefed type for the kernel function zimage: separate uImage loader from try_this_kernel zimage: add support for the zImage format None [QI] make GTA03 boot-SD on Debian simplify QI GTA03 boot-SD size discovery clean-backslash-strings.patch Wolfgang Spraul (30): some cleanup (note this may break stuff, will fix in next commit) renamed 2 dirs some Makefile cleanup (more coming) more Makefile renamed flash-tool to inflash moved files one level up updated Makefile include cleanup include cleanup Makefile cleanup fix fix Makefile update fixed some compiler warnings, smaller copyright headers renamed usb_boot.cfg to inflash.cfg cosmetic fixes cosmetic fixed bbpage override added -fno-unit-at-a-time to fix register & reordering bug renamed typedefs.h to xburst_types.h deleted obsolete toolchain patches added some gitignore cleanups Merge branch 'master' of git@github.com:xiangfu/inflash Merge branch 'master' of git@github.com:xiangfu/inflash Merge branch 'master' of git@github.com:xiangfu/xburst-tools moved .gitignore files renamed 'xburst-tools' utility back to 'usbboot' fixed some links Created xbboot. added 0x for hex Xiangfu Liu (301): blink led the led_on does not random abort add some initial cpu code in led.S add neo_gta02.h lowlevel_init.S and kboot-stage1.lds add neo_gta02.h lowlevel_init.S kboot-stage1.lds add kboot-stage1.lds add lowlevel_init funtion to led.S reduce the neo_gta02.h blink led all in c code, start add read nand code delete something we don't need blink led in other way ,but not read from NAND file a way to debug the nand_read.c if it's work the one led will be always on if something wrong blink two led under Power Button modified *.h add define corrent the blink_led.h file try to debug the nand_read add serial output function, Thanks Dennis , his patch make me clear. Thank for Andy Green help. change serial_puti to serial_putc add init serial console in serial.c the serial console begin output something when set rUBRDIV=0x11 can output correct. delete some commend and change ubrdiv_var inner serial_init funtion mv some .h file to src/ there are same files. mv some .h file to src/ there are same files. remove src/Makefile add-mmc.c-and-other-file-but-can-not-boot-from-sd Subject: we-don't-nend-led_on.S-any-more X-Git-Url: http://git.openmoko.org/?p=qi.git;a=commitdiff_plain;h=ebbad42a5c0013c68407167c65d9c7e56a725a93 Subject: add-mkudfu-to-qi X-Git-Url: http://git.openmoko.org/?p=qi.git;a=commitdiff_plain;h=bdc874553c41b5c540188798928433ad9ef89a76 Subject: we don't need calc_pclk.c qi-clean-and-add-readme-content.patch test commit log add linux-headers to compile glibc add u-boot patch mv pathchs to the toolchain dir add build u-boot add nand flash tools add kernel patch add usbboot device code -this patch is for the gcc-4.3 -now the glibc can make sucess. still cann't make install add usbboot stage1 stage2 to Makefile don't display the help command, just output change the usbboot to ingenic-tools (host side code) add usb-boot to keep the device code. Here comes the updated patch for the Ingenic SoCs. This patch removed all the *.o.cmd files that were created by the patch, which could ossibly confuse Kbuild with intermediate module sources. change CPU speed and command prompt add README we don't find the RXD on the Pi's PCB. so I make the u-boot driectly boot kernel we have git repos keep u-boot add u-boot git info try to write the ingenic driver mv kernel code to github.com add RXD pin don't need this we use flash-tool instead. test email correct the flash tool path now we don't have USBBoot.cfg file. for now. we put the configure in code. add usb request value upload use usb_bulk_wirte. change the stage1 start address add usb_boot.cfg file add read configure file code init the cpu_id now inflash can upload stage2 update Makefile delete ,inc. delete u-boot folder add option correct the switch for version add clean backup file split main.c to cmd_boot.c and main.c add command line add README command_input return 0 means correct cleanup the code change all the function return 1 for success update Makefile and README fix compile error. ZZy add make clean. now we can "make usb-boot" to get all usb-boot needs. *now we must put "fw.bin", "usb_boot.bin" and "inflash" in the same directory fix strcmp warning format the printf remove the usb-boot change cmd_boot.c to cmd.c, put all the command in this file. add some struct nprog needs. remove handle_help handle_exit function. add some define change the fw_args_t , don't use typedef mv the COMMAND define to command_line.c now the nprog function can read the argument add read nand configure add init hand function add check nand configure -put all the configure file operation to ingenic.c -change usb.c to ingenic_usb.c -finish part of nprog command -try to init the ingenic usb in main.c -try to make code more clear. make the -v -h work with normal user add usb_send_data_address_to_ingenic, usb_send_data_to_ingenic function. add nand_ops function add nand_program_check function add nand_read function add "-c" option to direct run command. add some comment remove command_input function. change nand_program_check not return page num. modify the read data function and send length function add error_check function. add usb_ingenic_configration change usb_read_data_from_ingenic functio to take three argument now the reflash function is work :-) add a reflash shell fix typo add usb boot stage2 for device add device_stage1 folder delete repeat code change the sturct name change the file_buf use the code_buf not malloc change the hand point change some output info change the fread fseek ... to read. seek add openwrt r15323 patch delete the useless head file add fw.bin to the svn add device_stage1 code add jz4750 code add make device stage to the flash-tools makefile add stage1 Makefile add stage1 stage2 makefile correct the struct fw_args_t to fw_args in stage1 remove the make stage1 stage2 in project Makefile add nand erase (nerase) command add requires file to README move make device stage to project Makefile use automake in flash-tool add autogen.sh [flash-tool] add Makefile.am [flash-tool] add configure.ac [flash-tool] fix Makefile format [flash-tool] fix Makefile format, delete space at the end of line add COPYING file remove AM_LDFLAHGS lines add some info of jz4740 to README add more info of jz4740 to README [flash-tool] add copyright to those file because "licensecheck -r *" have something like: "*No copyright* UNKNOWN" add file generate by dh_make [flash tool] edit the control copyright file [flash tool] delete useless file [flash tool] correct the configure.ac with autoscan [flash tool] add device stage to Makefiel.am [flash tool] change the default data path [flash tool] fix the depends add cross toolchain download url to README [flash tool][debian] must a empty line in the control file [flash tool] add error output info add file check for usb_boot.cfg remove repeat code correct the path fix the repeat typedef add nand read command fix nand read compile error change the description clean up the cfg error message cleanup output message add typedef.h rename typedef.h to typedefs.h add 'nmark' command fic then input '\n' there is a error message add memtest gpios gpioc command fix read BOUDRATE not correct clean up stage1 reduce the deb package warning accept-several-commond-once.patch readnand is not work. will fix this next commit readnand is not work. will fix this next commit clean up the '\n' in source code remove hex2dec , use 'strtoul' Merge branch 'master' of git@github.com:xiangfu/inflash fix the version, use date for the inflash version Signed-off-by: Xiangfu Liu cleanup the help command -change the verison to 20090630(YYYYMMDD) -correct the description rename inflash to xburst-tools Merge /home/xiangfu/workspace/qi-boot add cross compile to Makefile.am Merge branch 'master' of git@github.com:xiangfu/xburst-tools fix configure file path -add nandboot to xburst-tool -nandboot load the zImage kernel fix description-synopsis-might-not-be-phrased-properly warning fix the man path add man page for usbboot -correct the version number -add manpage to debian package -fix the path -fix the GPL version no '_' in package fix head file patch update the standard version number add autogen.sh to debian/rules: fix changelog-should-mention-num and version number warning add watch file (deb package need) remove man path in debian/dirs cleanup add build dependenices cleanup the GPL info. cleanup the copyright cleanup-output-info.patch some cleanup. cleanup Makefile and README cleanup the kerenl, mv the Changelog to qi-kernel update README add configure file path option mv the config file to /etc/xburst-tools change the default usbboot.cfg path update-readme many users got error message then use that option Signed-off-by: Xiangfu Liu Merge branch 'master' of git@github.com:xiangfu/xburst-tools Merge branch 'master' of git@github.com:xiangfu/xburst-tools let strtoul auto deal '0x' and decimal string correct the request type in usb_control_msg should USB_ENDPOINT_IN add 2gb nand configure file for usbboot update README, some code cleanup the SDRAM_BW16 shoudl be 1 or 0. make the xburst tools work in jz4720 and jz4725 cpu. fix the SDRAM_BANK4. should be 0 or 1 make the 2gb nand cfg as the default configure update the README update the watch file URL to qi-hardware update the URL fix the GPL warning when make .deb package cleanup output, fix not exit when error fix the configure file path don't have .cpp file. set sysconfdir to etc only need uart0 fix-compile-error-with-new-openwrt-toolchain add nand init for u-boot clean the Makefile and README this make the [power] + [u] usbboot mode work. change the FORCEERASE to 0 change stage_addr to unsigned [xbboot] this patch make upload zImage work correct Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools add Build Pakcage in README add libconfure-dev to control file [usbboot] delete useless config file Merge branch 'master' of git@projects.qi-hardware.com:xburst-tools [usbboot] change NAND_FORCEERASE to 1 update changelog update usbboot version update manual email address [usbboot] use autoconf datadir not static path update the email address [xbboot] make theh xbboot work with software usbboot mode [xbboot] init GPIO_LCD_CS for zImage kernel add init LCD and keyboard split the main function. add -d options. search xburst device every second cleanup the configure.ac file, -lconfuse code cleanup add CONF_FIRMWARE to Makefile.am add more error check. remove the signal handler update configure.ac, remove check signal.h update README update the email address cleanup CFLAGS change the option --daemon to --upload [usbboot] change the prefix to /usr by default [usbboot] change the sysconfdir to /etc by default merge xbboot and usbboot to one projects add-xbboot-to-xburst-tools-debian-package [xbboot] add xbboot manual file [debian] add xbboot manual to package [xbboot] rename docs to doc update READE, add INSTALL file update INSTALL, add how to get cross-toolchain code style cleanup fix issue 76, remove the static prefix and datadir. update debian/changelog [xbboot] add jz4760.h file add *~ to gitignore [xbboot] cleanup for jz4760, split stage1.c to board-jz4740.c renmae 4740 function end with _4740 [xbboot] cleanup files for jz4760 cleanup for jz4760, move UART_BASE it to board-jz47xx.c file [xburst] what even the pagesize is, the first 8 page use static ecc parameters [xbboot] add jz4760 detect [xbboot] echo-kernel remove particular head file [xbboot] rename the 4740 function suffix with _4740 [xbboot] copy 4769 files form Ingenic SVN: Revision: 1391 [xbboot] fix the jz4760 compile error [xbboot] rename cpm_start_all to cpm_start_all_4760 fix typo of cpu speed, remove useless define(NAND) in board-jz4760.h [xboot] output the cpu type mv the output cpu out of the open-xburst-device function [xbboot] jz4760 evb use DDR2 [xbboot] just some cleanup, make the stage1 size less then 8KB [xbboot] fix typo [xbboot] now xbboot can auto detect ingenic device cpu type by USB Product ID correct the jz4760 lepus board mem parameter: ARG_ROW_ADDR = 13; ARG_COL_ADDR = 10; [usbboot] fix if there is space at the end of command casue error [xbboot] put all jz4760 board configure to board-jz4760.h file cleanup head files remove: archdefs.h mips.h mipsregs.h sysdefs.h make the usbboot detect the target cpu type by usb id add jz4760 support to xburst_stage1 add jz4760 support to stage2 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. [usbboot] copy the jz4760.h file from u-boot, fix the jz4760 nand addr, cmd, data, port define add stage1 stage2 option [usbboot] remove debug output update the email address. remove useless projects: qiboot, nandboot, nandprog since we remove some files, update the debina/copyright [usbboot] sync defines with jz4760.h [usbboot] rename board_4740.c to board-jz4740.c [xbboot] add stdint.h head file fix warning: comma at end of enumerator list update version numver. update debian/changelog fix typo of email address cleanup the debian/changelog, add new file ChangLog cleanup tmp folder when send INT TERM signal to get-orig-source.sh create debian branch only for make debian package. cleanup the output message add how to create source tarball to INSTALL change the version number to 201007. for misunderstand the debian rules. I create a [debian] branch for debian package develop. this is not good. we should add the debian/ folder to master branch Zhang JieJing (1): autoconf: add error message when check lib usb and confuse failed. And prompts user to install the lib. debian/autogen.sh0000775000000000000000000000074712046716762011214 0ustar #!/bin/sh # Generate debian/xburst_stage1.bin, debian/xburst_stage2.bin, # and debian/changelog.upstream. # # Uses debian/changelog and the git revision log. # # Requires a mipsel-openwrt-linux- toolchain on the $PATH. set -e dpkg-parsechangelog --format rfc822 --all | awk -f debian/changelog.upstream.awk debian/rules firmware cp -f usbboot/xburst_stage1/xburst_stage1.bin debian/ cp -f usbboot/xburst_stage2/xburst_stage2.bin debian/ cp -f xbboot/target-stage1/stage1.bin debian/ debian/watch0000664000000000000000000000014511770572373010235 0ustar version=3 http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_(.+).tar.bz2 debian/README.source0000664000000000000000000000136211770572373011365 0ustar This Debian package is developed in a Git repository (see the Vcs-Git field of debian/control). To build from a git checkout: debian/rules get-orig-source VERSION=201007 debian/autogen.sh debuild This requires a mipsel-openwrt-linux- cross-toolchain in your $PATH. You can get one by building the development environment from Qi Hardware, for example. git://projects.qi-hardware.com/openwrt-xburst.git xburst See the Qi Hardware wiki for details. http://en.qi-hardware.com/wiki/Building_Software_Image To build a released version of this package, no special instructions apply. “dpkg-buildpackage” or “apt-get -b source xburst-tools” should work as usual. -- Jonathan Nieder Mon, 05 Apr 2010 06:21:12 -0500 debian/docs0000664000000000000000000000005412104723162010040 0ustar usbboot/README.usbboot xbboot/README.xbboot debian/changelog0000664000000000000000000000137712104731524011051 0ustar xburst-tools (201206-1) unstable; urgency=low * Fix BIG-ENDIAN system error, taken from commit bf5b9f6 -- Xiangfu Liu Thu, 21 Jun 2012 18:33:04 +0800 xburst-tools (201105-1) unstable; urgency=low * Add new tool name `jzboot`, taken from commit 1d7a2f3 * Add new command `reset` to usbboot -- Xiangfu Liu Thu, 03 Mar 2011 14:43:59 +0800 xburst-tools (201012-1) unstable; urgency=low * Fix the nerase always erase good blocks, taken from commit fedb6d8 -- Xiangfu Liu Fri, 24 Dec 2010 13:24:30 +0800 xburst-tools (201007-1) unstable; urgency=low * Initial release, taken from commit 7b710f3 (Closes: #535429) -- Xiangfu Liu Tue, 14 Sep 2010 22:34:15 +0800