mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-23 12:47:42 +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
|
||||
|
||||
To run inflash you need device stage 1 (fw.bin), stage 2 (usb_boot.bin)
|
||||
and usb_boot.cfg for device configuration.
|
||||
Build and Installation:
|
||||
./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"
|
||||
sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
||||
sudo ./inflash -c "nprog 2048 uImage 0 0 -n"
|
||||
Configuration file: /usr/share/inflash/inflash.cfg
|
||||
|
||||
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
|
||||
data_DATA = ../xburst_stage1/xburst_stage1.bin ../xburst_stage2/xburst_stage2.bin \
|
||||
usb_boot.cfg
|
||||
inflash.cfg
|
||||
EXTRA_DIST = $(datadir)
|
||||
|
||||
../xburst_stage1/xburst_stage1.bin:
|
||||
|
@ -1,23 +1,17 @@
|
||||
/*
|
||||
* create nand flash image for pavo board
|
||||
*
|
||||
* Copyright (C) 2009 xiangfu <xiangfu@gmail.com>
|
||||
*
|
||||
* 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 2 or
|
||||
* (at your option) version 3 of the License.
|
||||
*
|
||||
* This program 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*/
|
||||
#
|
||||
# inflash configuration file
|
||||
#
|
||||
# Utility to respond to Ingenic XBurst USB boot protocol, provide
|
||||
# initial boot stages and ability to access NAND on device.
|
||||
#
|
||||
# Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
||||
# Marek Lindner <lindner_marek@yahoo.de>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
# [PLL]
|
||||
EXTCLK = 12 #Define the external crystal in MHz
|
@ -12,7 +12,7 @@
|
||||
|
||||
#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 check_dump_cfg(struct hand *hand);
|
||||
|
Loading…
Reference in New Issue
Block a user