28 Oct, 2016
1 commit
-
Signed-off-by: Tom Rini
Conflicts:
common/Kconfig
configs/dms-ba16_defconfig
24 Oct, 2016
2 commits
-
Supporting shell-style wildcards for the --defconfigs option will be
useful to run the moveconfig tool against a specific platform. For
example, "uniphier*" in the file passed by --defconfigs option will
be expanded to defconfig files that start with "uniphier". This is
easier than listing out all defconfig files you are interested in.Signed-off-by: Masahiro Yamada
Reviewed-by: Joe Hershberger -
Add plugin support for imximage.
Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Eric Nelson
Cc: Ye Li
Reviewed-by: Tom Rini
15 Oct, 2016
1 commit
-
PBL flush command is restricted to CCSR memory space. So use WAIT
PBI command to provide enough time for data to get flush in
target memory.Signed-off-by: Zhao Qiang
[York Sun: rewrap commit message]
Reviewed-by: York Sun
09 Oct, 2016
23 commits
-
Now we can use compiler wrapper such as ccache or distcc for buildman.
Signed-off-by: York Sun
CC: Simon Glass
Acked-by: Simon Glass -
Signed-off-by: York Sun
CC: Simon Glass
Fixed commit subject:
Signed-off-by: Simon Glass
Acked-by: Simon Glass -
If we use the '/' operator then python 3.x will produce a float, and
refuse to multiply the string sequence in Conv_name_to_c by it with:TypeError: can't multiply sequence by non-int of type 'float'
Use the '//' operator instead to enforce that we want integer rather
than floating point division.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
On python 3.x struct.unpack will complain if we provide it with a
string since it expects to operate on a bytes object. In order to
satisfy this requirement, encode the string to a bytes object when
running on python 3.x.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In python 3.x the iteritems() method has been removed from dictionaries,
and the items() method does effectively the same thing. On python 2.x
using items() is a little less efficient since it involves copying data,
but as speed isn't a concern in the affected code switch to using
items() anyway for simplicity.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In python 3.x StringIO is no longer a module, and the class can instead
be found in the io module. Adjust the code in the doctest input to
account for both.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In python 3.x the iteritems() method has been removed from dictionaries,
and the items() method does effectively the same thing. On python 2.x
using items() is a little less efficient since it involves copying data,
but as speed isn't a concern in this code switch to using items() anyway
for simplicity.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In python 3.x module names used in import statements are case sensitive,
and the configparser module is named in all lower-case. Import it as such
in order to avoid errors when running with python 3.x.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
Syntax for exception handling is a little more strict in python 3.x.
Convert all uses to a form accepted by both python 2.x & python 3.x.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In python 3.x, print must be used as a function call. Convert all print
statements to the function call style, importing from __future__ where
we print with no trailing newline or print to a file object.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
In preparation for running on python 3.x, which will refuse to run
scripts which mix tabs & spaces for indentation, replace 2 tab
characters present in series.py with spaces.Signed-off-by: Paul Burton
Acked-by: Simon Glass -
We need to test both the normal (Python libfdt module) and fallback (fdtget)
implementations of the Fdt class. Add a way to select which implementation
to use.Signed-off-by: Simon Glass
-
There is no need to pass a node path separately. Instead we should use the
path for the node provided. Correct this.Signed-off-by: Simon Glass
-
This does not actually call fdtget correctly when requesting a particular
type. Fix it.Signed-off-by: Simon Glass
-
This is not used, so drop it.
Signed-off-by: Simon Glass
-
When Ctrl-C is pressed, just exited quietly. There is no sense in displaying
a stack trace since buildman will always be in the same place: waiting for
threads to complete building all the jobs on the queue.Signed-off-by: Simon Glass
-
This serves no real purpose, since when we are not active, we exit. Drop it.
Signed-off-by: Simon Glass
-
It is annoying that buildman does not respond cleanly to Ctrl-C or SIGINT,
particularly on machines with lots of CPUS. Unfortunately queue.join()
blocks the main thread and does not allow it to see the signal. Use a
separate thread instead,Signed-off-by: Simon Glass
-
If patman is installed on the machine (e.g. in the standard dist-packages
directory), it will find libraries from there in preference to our local
libraries. Adjust the order of the path to ensure that local libraries are
found first.Signed-off-by: Simon Glass
-
Make it clear when buildman actually starts building. This happens when it
has prepared the threads, working directory and output directories.Signed-off-by: Simon Glass
-
When buildman starts, it prepares its output directory by removing any old
build directories which will not be used this time. This can happen if a
previous build left directories around for commit hashes which are no-longer
part of the branch.This can take quite a while, so print a message to indicate what is going
on.Signed-off-by: Simon Glass
-
On a machine with a lot of CPUs this prints a lot of useless lines of the
form:Cloning repo for thread
Adjust the output so that these all appear on one line, and disappear when
the cloning is complete.Note: This cloning is actually unnecessary and very wasteful on disk space
(about 3.5GB each time). It would be better to create symlinks.Signed-off-by: Simon Glass
-
Output which does not include a newline will not be displayed unless
flushed. Add a flush to ensure that it becomes visible.Signed-off-by: Simon Glass
08 Oct, 2016
2 commits
-
The default lockname is set to /var/lock. This limits the
usage of this application where OS uses different lockfile
location parameter.
For example, In case of android, the default lock
path location is /data.
Hence by providing the command line option to input lockfile
path will be useful to reuse the tool across multiple
operating system.usage: ./fw_printenv -l
Signed-off-by: Ravi Babu
07 Oct, 2016
5 commits
-
Fix various misspellings of:
* deprecated
* partition
* preceding,preceded
* preparation
* its versus it's
* export
* existing
* scenario
* redundant
* remaining
* value
* architectureSigned-off-by: Robert P. J. Day
Reviewed-by: Jagan Teki
Reviewed-by: Stefan Roese -
… enforce offset to be start of environment
This allows to take advantage of the environment being block aligned.
This is not a new constraint. Writes always start at the begin of the
environment, since the header with CRC/length as there.
Every environment modification requires updating the headerSigned-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
-
flash_write_buf already looks up size/offset/#sector from struct
envdev_s. It can look up mtd_type as well. Same applies to
flash_read_buf. Makes the interface simplerSigned-off-by: Andreas Fenkart
-
the offset is not modified by linux ioctl call
see mtd_ioctl{drivers/mtd/mtdchar.c}
Makes the interface less ambiguous, since the caller can
now exclude a modification of blockstartSigned-off-by: Andreas Fenkart
-
instead of adhoc computation of the environment end,
use a function with a proper nameSigned-off-by: Andreas Fenkart
06 Oct, 2016
1 commit
-
This format can be flashed directly at address 0 of
the NAND FLASH, as it contains all necessary headers.Signed-off-by: Albert ARIBAUD (3ADEV)
19 Sep, 2016
5 commits
-
Provide easy helpers for reading integer, string and boolean values from
device-tree properties.Signed-off-by: Simon Glass
-
The style is to use single quotes for strings where possible. Adjust this
function.Signed-off-by: Simon Glass
-
Add a way to find the byte offset of a property within the device tree. This
is only supported with the normal libfdt implementation since fdtget does
not provide this information.Signed-off-by: Simon Glass
-
After any node/property deletion the device tree can be packed to remove
spare space. Add a way to perform this operation.Note that for fdt_fallback, fdtput automatically packs the device tree after
deletion, so no action is required here.Signed-off-by: Simon Glass
-
Add support for deleting a device tree property. With the fallback
implementation this uses fdtput. With libfdt it uses the API call and
updates the offsets afterwards.Signed-off-by: Simon Glass