Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iopupgrade
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IOPSYS
iopupgrade
Commits
4ff22255
Commit
4ff22255
authored
6 years ago
by
Kenneth Johansson
Browse files
Options
Downloads
Patches
Plain Diff
rename program.
parent
eb4d82ab
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile.am
+5
-5
5 additions, 5 deletions
Makefile.am
README
+9
-9
9 additions, 9 deletions
README
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
with
15 additions
and
15 deletions
Makefile.am
+
5
−
5
View file @
4ff22255
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
AM_CFLAGS
=
$(
OUR_CFLAGS
)
AM_CFLAGS
=
$(
OUR_CFLAGS
)
bin_PROGRAMS
=
iop
_
upgrade
bin_PROGRAMS
=
iopupgrade
iop
_
upgrade_SOURCES
=
\
iopupgrade_SOURCES
=
\
src/main.c
\
src/main.c
\
src/log.h
\
src/log.h
\
src/image.c
\
src/image.c
\
...
@@ -22,8 +22,8 @@ iop_upgrade_SOURCES = \
...
@@ -22,8 +22,8 @@ iop_upgrade_SOURCES = \
src/ubi.c
\
src/ubi.c
\
src/md5sum.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)\"
#iopupgrade_CFLAGS = $(AM_CFLAGS) -DPRG_VERSION=\"$(PRG_VERSION)\"
iop
_
upgrade_CFLAGS
=
$(
AM_CFLAGS
)
iopupgrade_CFLAGS
=
$(
AM_CFLAGS
)
This diff is collapsed.
Click to expand it.
README
+
9
−
9
View file @
4ff22255
Help
Help
----
----
./iop
_
upgrade -h
./iopupgrade -h
Print headers.
Print headers.
--------------
--------------
./iop
_
upgrade -f last.y3 -p
./iopupgrade -f last.y3 -p
Broadcom CFE
Broadcom CFE
---
---
Extract cfe to file.
Extract cfe to file.
./iop
_
upgrade -f last.y3 -C cfe_data
./iopupgrade -f last.y3 -C cfe_data
Burn image to mtd partition
Burn image to mtd partition
This needs both the mtd partition device and the nvram offset.
This needs both the mtd partition device and the nvram offset.
nvram offset is 1408 or (65536+1408) -> 66944
nvram offset is 1408 or (65536+1408) -> 66944
./iop
_
upgrade -f last.y3 -c3,4 -N 1408
./iopupgrade -f last.y3 -c3,4 -N 1408
./iop
_
upgrade -f last.y3 -c3,4 -N 66944
./iopupgrade -f last.y3 -c3,4 -N 66944
Broadcom kernel
Broadcom kernel
---------------
---------------
program kernel to mtd0 and set sequence number to 2
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
UBIFS root filesystem
---------------------
---------------------
extract ubifs image to file
extract ubifs image to file
./iop
_
upgrade -f last.y3 -U ubifs.img
./iopupgrade -f last.y3 -U ubifs.img
burn to ubi volume
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/
...
@@ -45,7 +45,7 @@ cd mtd-utils/
git checkout iopsys_target
git checkout iopsys_target
make
make
Put PATH to imagewrite into $PATH its called from iop
_
update
Put PATH to imagewrite into $PATH its called from iopupdate
Nand simulator
Nand simulator
----------------------
----------------------
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
4ff22255
dnl init stuff needs to be first in file
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])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AM_SILENT_RULES([yes])
AM_SILENT_RULES([yes])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment