From 4ff222559682c95bf1e0906c58c8ca79a78f7314 Mon Sep 17 00:00:00 2001 From: Kenneth Johansson <kenneth@southpole.se> Date: Tue, 8 Jan 2019 17:20:03 +0100 Subject: [PATCH] rename program. --- Makefile.am | 10 +++++----- README | 18 +++++++++--------- configure.ac | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Makefile.am b/Makefile.am index bcbc1c5..ff1bc1d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,8 +2,8 @@ AM_CFLAGS = $(OUR_CFLAGS) -bin_PROGRAMS = iop_upgrade -iop_upgrade_SOURCES = \ +bin_PROGRAMS = iopupgrade +iopupgrade_SOURCES = \ src/main.c \ src/log.h \ src/image.c \ @@ -22,8 +22,8 @@ iop_upgrade_SOURCES = \ src/ubi.c \ src/md5sum.c -iop_upgrade_LDADD = $(UCI_LIB) $(UBOX_LIB) $(UBUS_LIB) -lm +iopupgrade_LDADD = $(UCI_LIB) $(UBOX_LIB) $(UBUS_LIB) -lm -#iop_upgrade_CFLAGS = $(AM_CFLAGS) -DPRG_VERSION=\"$(PRG_VERSION)\" -iop_upgrade_CFLAGS = $(AM_CFLAGS) +#iopupgrade_CFLAGS = $(AM_CFLAGS) -DPRG_VERSION=\"$(PRG_VERSION)\" +iopupgrade_CFLAGS = $(AM_CFLAGS) diff --git a/README b/README index 7a82e71..f0058f0 100644 --- a/README +++ b/README @@ -1,39 +1,39 @@ Help ---- -./iop_upgrade -h +./iopupgrade -h Print headers. -------------- -./iop_upgrade -f last.y3 -p +./iopupgrade -f last.y3 -p Broadcom CFE --- Extract cfe to file. -./iop_upgrade -f last.y3 -C cfe_data +./iopupgrade -f last.y3 -C cfe_data Burn image to mtd partition This needs both the mtd partition device and the nvram offset. nvram offset is 1408 or (65536+1408) -> 66944 -./iop_upgrade -f last.y3 -c3,4 -N 1408 -./iop_upgrade -f last.y3 -c3,4 -N 66944 +./iopupgrade -f last.y3 -c3,4 -N 1408 +./iopupgrade -f last.y3 -c3,4 -N 66944 Broadcom kernel --------------- program kernel to mtd0 and set sequence number to 2 -./iop_upgrade -f last.y3 -k 0 -s 2 +./iopupgrade -f last.y3 -k 0 -s 2 UBIFS root filesystem --------------------- extract ubifs image to file -./iop_upgrade -f last.y3 -U ubifs.img +./iopupgrade -f last.y3 -U ubifs.img burn to ubi volume -./iop_upgrade -f last.y3 -u ubi0_0 +./iopupgrade -f last.y3 -u ubi0_0 ------------------------------------------------------------------------------- @@ -45,7 +45,7 @@ cd mtd-utils/ git checkout iopsys_target make - Put PATH to imagewrite into $PATH its called from iop_update + Put PATH to imagewrite into $PATH its called from iopupdate Nand simulator ---------------------- diff --git a/configure.ac b/configure.ac index 789f8ef..f59db68 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl init stuff needs to be first in file -AC_INIT([iop_upgrade], [0.1], [Kenneth Johansson <kenneth@southpole.se>]) +AC_INIT([iopupgrade], [0.1], [Kenneth Johansson <kenneth@southpole.se>]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) AM_SILENT_RULES([yes]) -- GitLab