mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-23 01:05:20 +02:00
[flash tool] change the default data path
This commit is contained in:
parent
cea37ab2e9
commit
cc128ff127
@ -9,7 +9,9 @@ BUILT_SOURCES = inflash_version.h
|
|||||||
bin_PROGRAMS = inflash
|
bin_PROGRAMS = inflash
|
||||||
inflash_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
inflash_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
||||||
ingenic_usb.c main.c
|
ingenic_usb.c main.c
|
||||||
|
prefix = /usr
|
||||||
|
|
||||||
datadir = /usr/share/inflash
|
datadir = /usr/share/inflash
|
||||||
data_DATA = ../device_stage1/fw.bin ../device_stage2/usb_boot.bin
|
data_DATA = ../device_stage1/fw.bin ../device_stage2/usb_boot.bin \
|
||||||
|
usb_boot.cfg
|
||||||
EXTRA_DIST = $(datadir)
|
EXTRA_DIST = $(datadir)
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "usb_boot_defines.h"
|
#include "usb_boot_defines.h"
|
||||||
|
|
||||||
#define CONFIG_FILE_PATH "usb_boot.cfg"
|
#define CONFIG_FILE_PATH "/usr/share/inflash/usb_boot.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);
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
#define VENDOR_ID 0x601a
|
#define VENDOR_ID 0x601a
|
||||||
#define PRODUCT_ID 0x4740
|
#define PRODUCT_ID 0x4740
|
||||||
|
|
||||||
#define STAGE1_FILE_PATH "fw.bin"
|
#define STAGE1_FILE_PATH "/usr/share/inflash/fw.bin"
|
||||||
#define STAGE2_FILE_PATH "usb_boot.bin"
|
#define STAGE2_FILE_PATH "/usr/share/inflash/usb_boot.bin"
|
||||||
|
|
||||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user