| f1932b78 | 10-Feb-2013 |
Lubomir Rintel <lkundrak@v3.sk> |
env: Allow accessing non-mtd devices
In certain cases, memory device is present as flat file or block device (via mmc or mtdblock layer). Do not attempt MTD operations against it.
Signed-off-by: Lu
env: Allow accessing non-mtd devices
In certain cases, memory device is present as flat file or block device (via mmc or mtdblock layer). Do not attempt MTD operations against it.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
show more ...
|
| 99adf6ed | 09-Jan-2013 |
Vadim Bendebury <vbendeb@chromium.org> |
patman: Allow use outside of u-boot tree
To make it usable in git trees not providing a patch checker implementation, add a command line option, allowing to suppress patch check. While we are at it,
patman: Allow use outside of u-boot tree
To make it usable in git trees not providing a patch checker implementation, add a command line option, allowing to suppress patch check. While we are at it, sort debug options alphabetically.
Also, do not raise an exception if checkpatch.pl is not found - just print an error message suggesting to use the new option, and return nonzero status.
. unit test passes: $ ./patman -t <unittest.result.TestResult run=7 errors=0 failures=0> . successfully used patman in the autotest tree to generate a patch email (with --no-check option) . successfully used patman in the u-boot tree to generate a patch email . `patman --help' now shows command line options ordered alphabetically
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Acked-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a1dcee84 | 03-Dec-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Add the concept of multiple projects
There are cases that we want to support different settings (or maybe even different aliases) for different projects. Add support for this by: * Adding d
patman: Add the concept of multiple projects
There are cases that we want to support different settings (or maybe even different aliases) for different projects. Add support for this by: * Adding detection for two big projects: U-Boot and Linux. * Adding default settings for Linux (U-Boot is already good with the standard patman defaults). * Extend the new "settings" feature in .patman to specify per-project settings.
Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 8568baed | 03-Dec-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Add support for settings in .patman
This patch adds support for a [settings] section in the .patman file. In this section you can add settings that will affect the default values for command
patman: Add support for settings in .patman
This patch adds support for a [settings] section in the .patman file. In this section you can add settings that will affect the default values for command-line options.
Support is added in a generic way such that any setting can be updated by just referring to the "dest" of the option that is passed to the option parser. At the moment options that would make sense to put in settings are "ignore_errors", "process_tags", and "verbose". You could override them like:
[settings] ignore_errors: True process_tags: False verbose: True
The settings functionality is also used in a future change which adds support for per-project settings.
Signed-off-by: Doug Anderson <dianders@chromium.org>
show more ...
|
| 21a19d70 | 03-Dec-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Add a call to get_maintainer.pl if it exists
For Linux the best way to figure out where to send a patch is with the "get_maintainer.pl" script. Add support for calling it from patman. Suppo
patman: Add a call to get_maintainer.pl if it exists
For Linux the best way to figure out where to send a patch is with the "get_maintainer.pl" script. Add support for calling it from patman. Support is added unconditionally for "scripts/get_maintainer.pl" in case it is helpful for any other projects.
Signed-off-by: Doug Anderson <dianders@chromium.org>
show more ...
|
| 31187255 | 03-Dec-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Add all CC addresses to the cover letter
If we're sending a cover letter make sure to CC everyone that we're CCing on each of the individual patches.
Signed-off-by: Doug Anderson <dianders@
patman: Add all CC addresses to the cover letter
If we're sending a cover letter make sure to CC everyone that we're CCing on each of the individual patches.
Signed-off-by: Doug Anderson <dianders@chromium.org>
show more ...
|
| d94566a1 | 03-Dec-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Cache the CC list from MakeCcFile() for use in ShowActions()
Currently we go through and generate the CC list for patches twice. This gets slow when (in a future CL) we add a call to get_mai
patman: Cache the CC list from MakeCcFile() for use in ShowActions()
Currently we go through and generate the CC list for patches twice. This gets slow when (in a future CL) we add a call to get_maintainer.pl on Linux. Instead of doing things twice, just cache the CC list when it is first generated.
Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d96ef37d | 26-Nov-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Look for checkpatch in the scripts directory
The Linux kernel stores checkpatch.pl in the scripts directory. Add that to the search path to make things more automatic for kernel development
patman: Look for checkpatch in the scripts directory
The Linux kernel stores checkpatch.pl in the scripts directory. Add that to the search path to make things more automatic for kernel development.
Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a970048e | 26-Nov-2012 |
Doug Anderson <dianders@chromium.org> |
patman: Allow tests to run even if patman is in the path
Several of the patman doctests assume that patman was run with: ./patman
Fix them so that they work even if patman is run with just "patma
patman: Allow tests to run even if patman is in the path
Several of the patman doctests assume that patman was run with: ./patman
Fix them so that they work even if patman is run with just "patman" (because patman is in the path).
Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7a546db2 | 10-Nov-2012 |
Mike Frysinger <vapier@gentoo.org> |
fw_env: fix incorrect usage of open(O_CREAT)
When using open(), the O_CREAT flag must be given a mode, otherwise it uses random garbage from the stack. Also, it can fail to build:
In file included
fw_env: fix incorrect usage of open(O_CREAT)
When using open(), the O_CREAT flag must be given a mode, otherwise it uses random garbage from the stack. Also, it can fail to build:
In file included from /usr/include/fcntl.h:290:0, from fw_env_main.c:42: In function 'open', inlined from 'main' at fw_env_main.c:97:9: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|