mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 11:53:10 +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
|
# "PI Makefile" - for setting up the PI development environment
|
||||||
#
|
#
|
||||||
# (C) Copyright 2009 PI.
|
# (C) Copyright 2009 PI.
|
||||||
@ -43,7 +43,7 @@ KERNEL_HEADERS_PACKAGE=$(KERNEL_HEADERS_VER).tar.bz2
|
|||||||
KERNEL_HEADERS_URL=
|
KERNEL_HEADERS_URL=
|
||||||
|
|
||||||
# for the device stage
|
# for the device stage
|
||||||
FLASH_TOOL_PATH = ./inflash
|
FLASH_TOOL_PATH = ./usbboot
|
||||||
FLASH_TOOL_BIN_PATH = $(FLASH_TOOL_PATH)/bin
|
FLASH_TOOL_BIN_PATH = $(FLASH_TOOL_PATH)/bin
|
||||||
STAGE1_PATH = $(FLASH_TOOL_PATH)/xburst_stage1
|
STAGE1_PATH = $(FLASH_TOOL_PATH)/xburst_stage1
|
||||||
STAGE2_PATH = $(FLASH_TOOL_PATH)/xburst_stage2
|
STAGE2_PATH = $(FLASH_TOOL_PATH)/xburst_stage2
|
||||||
@ -155,15 +155,15 @@ kernel:
|
|||||||
make uImage
|
make uImage
|
||||||
|
|
||||||
### flash-boot
|
### flash-boot
|
||||||
.PHONY: inflash
|
.PHONY: usbboot
|
||||||
inflash: stage1 stage2
|
usbboot: stage1 stage2
|
||||||
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
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) && \
|
cd $(FLASH_TOOL_PATH) && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
./configure && \
|
./configure && \
|
||||||
make
|
make
|
||||||
cp $(FLASH_TOOL_PATH)/src/inflash $(FLASH_TOOL_BIN_PATH)
|
cp $(FLASH_TOOL_PATH)/src/usbboot $(FLASH_TOOL_BIN_PATH)
|
||||||
|
|
||||||
stage1:
|
stage1:
|
||||||
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
||||||
@ -172,11 +172,11 @@ stage2:
|
|||||||
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
make CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
||||||
|
|
||||||
### clean up
|
### clean up
|
||||||
distclean: clean clean-inflash clean-toolchain
|
distclean: clean clean-usbboot clean-toolchain
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
||||||
clean-inflash:
|
clean-usbboot:
|
||||||
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE1_PATH)
|
||||||
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
make clean CROSS_COMPILE=$(CROSS_COMPILE) -C $(STAGE2_PATH)
|
||||||
make clean -C $(FLASH_TOOL_PATH)
|
make clean -C $(FLASH_TOOL_PATH)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
|
|
||||||
Authors: Ingenic Semiconductor, Inc.
|
Authors: Ingenic Semiconductor, Inc.
|
||||||
Xiangfu Liu <xiangfu.z@gmail.com>
|
Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||||
Marek Lindner <lindner_marek@yahoo.de>
|
Marek Lindner <lindner_marek@yahoo.de>
|
||||||
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||||
|
|
||||||
|
@ -2,4 +2,4 @@ xburst-tools (0.0+200906-1) unstable; urgency=low
|
|||||||
|
|
||||||
* Initial release (Closes: #535429).
|
* 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
|
Source: xburst-tools
|
||||||
Section: misc
|
Section: misc
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Xiangfu Liu <xiangfu.z@gmail.com>
|
Maintainer: Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||||
Build-Depends: debhelper (>= 7), libusb-dev, libconfuse-dev
|
Build-Depends: debhelper (>= 7), pkg-config, autoconf, automake, libusb-dev
|
||||||
Standards-Version: 3.8.2
|
Standards-Version: 3.8.2
|
||||||
Homepage: http://github.com/xiangfu/xburst-tools
|
Homepage: http://github.com/xiangfu/xburst-tools
|
||||||
|
|
||||||
Package: xburst-tools
|
Package: xburst-tools
|
||||||
Architecture: any
|
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
|
Description: tools for Ingenic XBurst CPU USB boot and NAND flash access
|
||||||
xburst-tools contains tools for Ingenic XBurst CPU device booting.
|
xburst-tools contains tools for Ingenic XBurst CPU device booting.
|
||||||
It can flash bootloader, kernel, rootfs to Ingenic XBurst CPU
|
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.
|
Mon, 22 Jun 2009 22:48:14 +0800.
|
||||||
|
|
||||||
It was downloaded from <http://github.com/xiangfu/xburst-tools>
|
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'.
|
is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
|
||||||
|
|
||||||
You are free to distribute this software under the terms of
|
You are free to distribute this software under the terms of
|
||||||
|
@ -52,6 +52,11 @@ clean:
|
|||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp
|
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.
|
# Add here commands to clean up after the build process.
|
||||||
[ ! -f Makefile ] || $(MAKE) distclean
|
[ ! -f Makefile ] || $(MAKE) distclean
|
||||||
rm -f config.sub config.guess
|
rm -f config.sub config.guess
|
||||||
|
@ -30,16 +30,16 @@ Run command 'boot' to boot the device:
|
|||||||
.B " $ usbboot -c 'boot' "
|
.B " $ usbboot -c 'boot' "
|
||||||
.PP
|
.PP
|
||||||
Please report any further bugs at
|
Please report any further bugs at
|
||||||
.B xiangfu.z@gmail.com
|
.B xiangfu@qi-hardware.com
|
||||||
.SH LICENCE
|
.SH LICENCE
|
||||||
.B usbboot
|
.B usbboot
|
||||||
is covered by the GNU General Public License (GPL), version 3 or later.
|
is covered by the GNU General Public License (GPL), version 3 or later.
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
Xiangfu Liu <xiangfu.z@gmail.com>
|
Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||||
.br
|
.br
|
||||||
Marek Lindner <lindner_marek@yahoo.de>
|
Marek Lindner <lindner_marek@yahoo.de>
|
||||||
.br
|
.br
|
||||||
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||||
.PP
|
.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).
|
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>
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Authors: Marek Lindner <lindner_marek@yahoo.de>
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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>
|
* Marek Lindner <lindner_marek@yahoo.de>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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"
|
" -v --version\t\t\tPrint the version number\n"
|
||||||
" -c --command\t\t\tDirect run the commands, split by ';'\n"
|
" -c --command\t\t\tDirect run the commands, split by ';'\n"
|
||||||
" <run without options to enter commands via usbboot prompt>\n\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.
|
# initial boot stages and ability to access NAND on device.
|
||||||
#
|
#
|
||||||
# Authors: Ingenic Semiconductor, Inc.
|
# Authors: Ingenic Semiconductor, Inc.
|
||||||
# Xiangfu Liu <xiangfu.z@gmail.com>
|
# Xiangfu Liu <xiangfu@qi-hardware.com>
|
||||||
# Marek Lindner <lindner_marek@yahoo.de>
|
# Marek Lindner <lindner_marek@yahoo.de>
|
||||||
# Wolfgang Spraul <wolfgang@qi-hardware.com>
|
# Wolfgang Spraul <wolfgang@qi-hardware.com>
|
||||||
#
|
#
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* device board
|
* device board
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Include file for Ingenic Semiconductor's JZ4740 CPU.
|
* Include file for Ingenic Semiconductor's JZ4740 CPU.
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Include file for Ingenic Semiconductor's JZ4750 CPU.
|
* Include file for Ingenic Semiconductor's JZ4750 CPU.
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* "Ingenic flash tool" - flash the Ingenic CPU via USB
|
* "Ingenic flash tool" - flash the Ingenic CPU via USB
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public License
|
# modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* device board
|
* device board
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Board init routines.
|
* Board init routines.
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* device board
|
* device board
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* device board
|
* device board
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* The firmware code are executed in the ICache.
|
* The firmware code are executed in the ICache.
|
||||||
*
|
*
|
||||||
* (C) Copyright 2009
|
* (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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Main routine of the firmware.
|
* Main routine of the firmware.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Authors: Lucifer at Ingenic Semiconductor Inc.
|
# 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
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public License
|
# modify it under the terms of the GNU General Public License
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* USB_BOOT Handle routines
|
* USB_BOOT Handle routines
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 QI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* 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;
|
stat = REG_EMC_NFINTS;
|
||||||
if (stat & EMC_NFINTS_ERR) {
|
if (stat & EMC_NFINTS_ERR) {
|
||||||
if (stat & EMC_NFINTS_UNCOR) {
|
if (stat & EMC_NFINTS_UNCOR) {
|
||||||
if (flag)
|
if (flag) {
|
||||||
{
|
|
||||||
serial_puts("\nUncorrectable error occurred\n");
|
serial_puts("\nUncorrectable error occurred\n");
|
||||||
serial_put_hex(cur_page);
|
serial_put_hex(cur_page);
|
||||||
handshake_PKT[3] = 1;
|
handshake_PKT[3] = 1;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 PI
|
* 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
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
Loading…
Reference in New Issue
Block a user