mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 19:35:59 +02:00
renamed usb_boot.cfg to inflash.cfg
This commit is contained in:
parent
c84634d0cf
commit
cd27326c16
@ -16,9 +16,18 @@ as published by the Free Software Foundation; either version
|
|||||||
|
|
||||||
Build Requirements: libusb-dev, libconfuse-dev
|
Build Requirements: libusb-dev, libconfuse-dev
|
||||||
|
|
||||||
To run inflash you need device stage 1 (fw.bin), stage 2 (usb_boot.bin)
|
Build and Installation:
|
||||||
and usb_boot.cfg for device configuration.
|
./autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
*) make install will install the 'inflash' binary to /usr/bin/inflash
|
||||||
|
and the stage 1 and 2 bootloaders as well as inflash.cfg configuration
|
||||||
|
file into /usr/share/inflash
|
||||||
|
|
||||||
sudo ./inflash -c "boot"
|
Configuration file: /usr/share/inflash/inflash.cfg
|
||||||
sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
|
||||||
sudo ./inflash -c "nprog 2048 uImage 0 0 -n"
|
Examples:
|
||||||
|
sudo inflash -c "boot"
|
||||||
|
sudo inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
||||||
|
sudo inflash -c "nprog 2048 uImage 0 0 -n"
|
||||||
|
@ -13,7 +13,7 @@ prefix = /usr
|
|||||||
|
|
||||||
datadir = /usr/share/inflash
|
datadir = /usr/share/inflash
|
||||||
data_DATA = ../xburst_stage1/xburst_stage1.bin ../xburst_stage2/xburst_stage2.bin \
|
data_DATA = ../xburst_stage1/xburst_stage1.bin ../xburst_stage2/xburst_stage2.bin \
|
||||||
usb_boot.cfg
|
inflash.cfg
|
||||||
EXTRA_DIST = $(datadir)
|
EXTRA_DIST = $(datadir)
|
||||||
|
|
||||||
../xburst_stage1/xburst_stage1.bin:
|
../xburst_stage1/xburst_stage1.bin:
|
||||||
|
@ -1,23 +1,17 @@
|
|||||||
/*
|
#
|
||||||
* create nand flash image for pavo board
|
# inflash configuration file
|
||||||
*
|
#
|
||||||
* Copyright (C) 2009 xiangfu <xiangfu@gmail.com>
|
# Utility to respond to Ingenic XBurst USB boot protocol, provide
|
||||||
*
|
# initial boot stages and ability to access NAND on device.
|
||||||
* This program is free software; you can redistribute it and/or
|
#
|
||||||
* modify it under the terms of the GNU General Public License as
|
# Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||||
* published by the Free Software Foundation; either version 2 or
|
# Marek Lindner <lindner_marek@yahoo.de>
|
||||||
* (at your option) version 3 of the License.
|
#
|
||||||
*
|
# This program is free software; you can redistribute it and/or
|
||||||
* This program is distributed in the hope that it will be useful,
|
# modify it under the terms of the GNU General Public License
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# as published by the Free Software Foundation; either version
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# 3 of the License, or (at your option) any later version.
|
||||||
* 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, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
||||||
* MA 02111-1307 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
# [PLL]
|
# [PLL]
|
||||||
EXTCLK = 12 #Define the external crystal in MHz
|
EXTCLK = 12 #Define the external crystal in MHz
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "usb_boot_defines.h"
|
#include "usb_boot_defines.h"
|
||||||
|
|
||||||
#define CONFIG_FILE_PATH "/usr/share/inflash/usb_boot.cfg"
|
#define CONFIG_FILE_PATH "/usr/share/inflash/inflash.cfg"
|
||||||
|
|
||||||
int hand_init_def(struct hand *hand);
|
int hand_init_def(struct hand *hand);
|
||||||
int check_dump_cfg(struct hand *hand);
|
int check_dump_cfg(struct hand *hand);
|
||||||
|
Loading…
Reference in New Issue
Block a user