mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 10:22:48 +02:00
cleanup
add build dependenices Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
e9796ff8a4
commit
e8b1b896f4
16
Makefile
16
Makefile
@ -1,4 +1,4 @@
|
||||
#
|
||||
|
||||
# "PI Makefile" - for setting up the PI development environment
|
||||
#
|
||||
# (C) Copyright 2009 PI.
|
||||
@ -43,7 +43,7 @@ KERNEL_HEADERS_PACKAGE=$(KERNEL_HEADERS_VER).tar.bz2
|
||||
KERNEL_HEADERS_URL=
|
||||
|
||||
# for the device stage
|
||||
FLASH_TOOL_PATH = ./inflash
|
||||
FLASH_TOOL_PATH = ./usbboot
|
||||
FLASH_TOOL_BIN_PATH = $(FLASH_TOOL_PATH)/bin
|
||||
STAGE1_PATH = $(FLASH_TOOL_PATH)/xburst_stage1
|
||||
STAGE2_PATH = $(FLASH_TOOL_PATH)/xburst_stage2
|
||||
@ -155,15 +155,15 @@ kernel:
|
||||
make uImage
|
||||
|
||||
### flash-boot
|
||||
.PHONY: inflash
|
||||
inflash: stage1 stage2
|
||||
.PHONY: usbboot
|
||||
usbboot: stage1 stage2
|
||||
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
||||
cp $(FLASH_TOOL_PATH)/src/inflash.cfg $(FLASH_TOOL_BIN_PATH)
|
||||
cp $(FLASH_TOOL_PATH)/src/usbboot.cfg $(FLASH_TOOL_BIN_PATH)
|
||||
cd $(FLASH_TOOL_PATH) && \
|
||||
./autogen.sh && \
|
||||
./configure && \
|
||||
make
|
||||
cp $(FLASH_TOOL_PATH)/src/inflash $(FLASH_TOOL_BIN_PATH)
|
||||
cp $(FLASH_TOOL_PATH)/src/usbboot $(FLASH_TOOL_BIN_PATH)
|
||||
|
||||
stage1:
|
||||
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
||||
@ -172,11 +172,11 @@ stage2:
|
||||
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
||||
|
||||
### clean up
|
||||
distclean: clean clean-inflash clean-toolchain
|
||||
distclean: clean clean-usbboot clean-toolchain
|
||||
|
||||
clean:
|
||||
|
||||
clean-inflash:
|
||||
clean-usbboot:
|
||||
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
||||
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
||||
make clean -C $(FLASH_TOOL_PATH)
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
|
||||
Authors: Ingenic Semiconductor, Inc.
|
||||
Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
Marek Lindner <lindner_marek@yahoo.de>
|
||||
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||
|
||||
|
@ -2,4 +2,4 @@ xburst-tools (0.0+200906-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #535429).
|
||||
|
||||
-- Xiangfu Liu <xiangfu.z@gmail.com> Tue, 30 Jun 2009 14:28:36 +0800
|
||||
-- Xiangfu Liu <xiangfu@qi-hardware.com> Tue, 30 Jun 2009 14:28:36 +0800
|
||||
|
@ -1,14 +1,14 @@
|
||||
Source: xburst-tools
|
||||
Section: misc
|
||||
Priority: extra
|
||||
Maintainer: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
Build-Depends: debhelper (>= 7), libusb-dev, libconfuse-dev
|
||||
Maintainer: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
Build-Depends: debhelper (>= 7), pkg-config, autoconf, automake, libusb-dev
|
||||
Standards-Version: 3.8.2
|
||||
Homepage: http://github.com/xiangfu/xburst-tools
|
||||
|
||||
Package: xburst-tools
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libusb, libconfuse
|
||||
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
|
||||
|
@ -1,12 +1,12 @@
|
||||
This package was debianized by Xiangfu Liu<xiangfu.z@gmail.com> on
|
||||
This package was debianized by Xiangfu Liu<xiangfu@qi-hardware.com> on
|
||||
Mon, 22 Jun 2009 22:48:14 +0800.
|
||||
|
||||
It was downloaded from <http://github.com/xiangfu/xburst-tools>
|
||||
|
||||
Upstream Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
Upstream Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
|
||||
|
||||
The Debian packaging is copyright 2009, xiangfu <xiangfu.z@gmail.com> and
|
||||
The Debian packaging is copyright 2009, xiangfu <xiangfu@qi-hardware.com> and
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
You are free to distribute this software under the terms of
|
||||
|
@ -52,6 +52,11 @@ clean:
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
rm -f debian/stamp-autothings-update
|
||||
@# Delete generated files, we don't want them in the diff.
|
||||
rm -f aclocal.m4 config.h.in configure Makefile.in m4/install-sh
|
||||
rm -f m4/missing m4/depcomp src/Makefile.in src/xburst-tools_version.h
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
rm -f config.sub config.guess
|
||||
|
@ -30,16 +30,16 @@ Run command 'boot' to boot the device:
|
||||
.B " $ usbboot -c 'boot' "
|
||||
.PP
|
||||
Please report any further bugs at
|
||||
.B xiangfu.z@gmail.com
|
||||
.B xiangfu@qi-hardware.com
|
||||
.SH LICENCE
|
||||
.B usbboot
|
||||
is covered by the GNU General Public License (GPL), version 3 or later.
|
||||
.SH AUTHORS
|
||||
Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
.br
|
||||
Marek Lindner <lindner_marek@yahoo.de>
|
||||
.br
|
||||
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||
.PP
|
||||
This manual page was written by Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
This manual page was written by Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
It is licensed under the terms of the GNU GPL (version 3 or later).
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Authors: Marek Lindner <lindner_marek@yahoo.de>
|
||||
* Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Authors: Marek Lindner <lindner_marek@yahoo.de>
|
||||
* Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
* Marek Lindner <lindner_marek@yahoo.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -27,7 +27,7 @@ static void help(void)
|
||||
" -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 usbboot prompt>\n\n"
|
||||
"Report bugs to <xiangfu.z@gmail.com>.\n"
|
||||
"Report bugs to <xiangfu@qi-hardware.com>.\n"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
# initial boot stages and ability to access NAND on device.
|
||||
#
|
||||
# Authors: Ingenic Semiconductor, Inc.
|
||||
# Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
# Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
# Marek Lindner <lindner_marek@yahoo.de>
|
||||
# Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||
#
|
||||
|
@ -2,7 +2,7 @@
|
||||
* device board
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Include file for Ingenic Semiconductor's JZ4740 CPU.
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Include file for Ingenic Semiconductor's JZ4750 CPU.
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* "Ingenic flash tool" - flash the Ingenic CPU via USB
|
||||
*
|
||||
* Copyright (C) 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
# Authors: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* device board
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Board init routines.
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* device board
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* device board
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -5,7 +5,7 @@
|
||||
* The firmware code are executed in the ICache.
|
||||
*
|
||||
* (C) Copyright 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Main routine of the firmware.
|
||||
*
|
||||
* Copyright (C) 2009
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Authors: Lucifer at Ingenic Semiconductor Inc.
|
||||
# Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
# Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
@ -2,7 +2,7 @@
|
||||
* USB_BOOT Handle routines
|
||||
*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 QI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -495,8 +495,7 @@ u32 nand_read_4740(void *buf, u32 startpage, u32 pagenum, int option)
|
||||
stat = REG_EMC_NFINTS;
|
||||
if (stat & EMC_NFINTS_ERR) {
|
||||
if (stat & EMC_NFINTS_UNCOR) {
|
||||
if (flag)
|
||||
{
|
||||
if (flag) {
|
||||
serial_puts("\nUncorrectable error occurred\n");
|
||||
serial_put_hex(cur_page);
|
||||
handshake_PKT[3] = 1;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2009 PI
|
||||
* Author: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
* Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
Loading…
Reference in New Issue
Block a user