-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uboot-mkimage: brief README file associated
- Loading branch information
Jose Lopez
committed
Oct 13, 2016
1 parent
08de7ef
commit fdcfc78
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
============================================================ | ||
Title: README | ||
|
||
Author: Jose Lopez | ||
|
||
Date: 2016-10-13 | ||
|
||
Email address: joselj@ugr.es | ||
|
||
Description: Brief readme file to use uboot-mkimage.sh | ||
|
||
============================================================ | ||
|
||
To make use of uboot-mkimage.sh, you will need a copy of the ugr-scripts | ||
repository which is available at https://github.com/TimingKeepers/ugr-scripts | ||
|
||
The script can be found at <repo_directory>/U-boot/uboot-mkimage.sh | ||
|
||
|
||
First of all, you will need to export an environment variable: | ||
|
||
$ export SCRIPT_BASE_FOLDER=/absolute/path/to/repository/ugr-scripts | ||
|
||
|
||
Then, if you have a uramimage.image.gz file and you want to unpack it to some | ||
location, just run: | ||
|
||
$ ./uboot-mkimage.sh -u -r /absolute/path/where/image/will/be/unpacked -i /absolute/path/to/uramdisk.image.gz | ||
|
||
|
||
Or the other way around (packing rootfs to a file): | ||
|
||
$ ./uboot-mkimage.sh -p -r /absolute/path/where/image/will/be/unpacked -i /absolute/path/to/uramdisk.image.gz | ||
|
||
|
||
Easy! |