- Nov 23, 2017
-
-
Simon Glass authored
Return exit code 1 when test fail so that callers can detect this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
MRC (Memory Reference Code) is a binary blob used to set up the SDRAM controller on some Intel boards. Add a test for this feature. With this test coverage on binman is back up to 100%. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test for this feature. It allows SPL to hold a pointer to the microcode block. This is used for 64-bit U-Boot on x86. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This allows us to put the 16-bit x86 start-up code in SPL. Add a test for it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test that we can pad the BSS with zero bytes. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Files that are never imported are not shown in the test-coverage report. Detect these and show an error. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Make a minor tweak to fix test coverage. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a main program so that the tests can be executed directly, without going through the main binman program. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test that the 'entry' module works with or without importlib. The tests are numbered so that they are executed in the correct order. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is a little check at the top of entry.py which decides if importlib is available. At present this has no test coverage. To add this we will need to import the module twice, once with importlib and once without. In preparation for allowing a test to control the importing of this module, remove all global imports of the 'entry' module. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Rather that overwrite this, append to it, in case the caller has already set up the path correctly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The tool has changed slightly since it was originally written. Update the tests to suit. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The tests were broken by two separate commits which adjusted the output when boards are listed. Fix this by adding back a PowerPC board and putting the name of each board in the test. Fixes: b9f7d881 (powerpc, 5xx: remove some "5xx" remains) Fixes: 8d7523c5 (buildman: Allow showing the list of boards with -n) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Accessing the network slows down the test and limits the environment in which it can be run. Add an option to disable network tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The checkpatch tool was updated but the patman tests were not. Fix this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This script runs the tests but does not report failure. Also it always returns an exit code of 0 even on failure. Fix these problems by checking the result of each test. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These warnings are not useful for binman tests. Disable them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present these tests use the same filename as patman. This adds confusion when running all tests, since error messages look very similar. In fact binman tries to run the wrong tests at present. Rename the tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These test programs are includedd as binary files in U-Boot to avoid having to build them (and associated toolchain differences). Instructions on building are in the files themselves, but it seems better to provide a Makefile which can be manually run when desired. Add a Makefile, separate from the normal build system, to handle this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The process is not obvious. Add a little section to explain how to move a board to use binman. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is a debugging option in the Makefile to allow people to figure out which u-boot.dtsi files are used in the build. But is it not easy to use since it only shows files it finds, not those it is looking for. Update it and update the mention of it to the docs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 21, 2017
-
-
Faiz Abbas authored
Configure thermal configs to remain set by default for dra7xx and am57xx devices. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Faiz Abbas authored
Mark bandgap node as uboot,dm-spl so that it can be accessed in spl Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Faiz Abbas authored
The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Tom Rini authored
We don't want this build anymore. Acked-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
S. Lockwood-Childs authored
Old url currently returns 403; modify to url that actually works with current state of the list server Signed-off-by:
S. Lockwood-Childs <sjl@vctlabs.com>
-
Stefan Agner authored
With commit 84d46e7e ("tools: env: allow to print U-Boot version") the fw_env utilities need the version.h header file. Building only the envtools in a pristine build directory will fail due to missing header files. Make sure the header files are a dependency of the envtools target. Fixes: 84d46e7e ("tools: env: allow to print U-Boot version") Signed-off-by:
Stefan Agner <stefan.agner@toradex.com> Tested-by:
Peter Robinson <pbrobinson@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Tom Rini authored
This support has been deprecated since v2017.09 due to security issues. We now remove this support. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Heinrich Schuchardt authored
fix typo Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
M. Vefa Bicakci authored
When building on a multi-core machine for an SPL-enabled board that also uses CONFIG_OF_EMBED, the following error can be encountered due to a race condition: make[3]: *** No rule to make target 'spl/dts/dt.dtb.o', needed by 'spl/dts/built-in.o'. Stop. ../scripts/Makefile.spl:364: recipe for target 'spl/dts' failed make[2]: *** [spl/dts] Error 2 make[2]: *** Waiting for unfinished jobs.... A reliable way to trigger this race condition is to add "sleep 60" to the end of the "arch-dtbs" rule's recipe in "dts/Makefile" and to build U-Boot against a board which uses the CONFIG_OF_EMBED and CONFIG_SPL options using "make -j8" or a similar command. This commit corrects this race condition via the use of CONFIG_OF_EMBED in the same way that commit 3c00a2c8 ("Makefile: Correct dependency race condition with TPL") and commit 054b3a1e ("dm: Makefile: Build of-platdata before SPL") use CONFIG_OF_SEPARATE. Signed-off-by:
M. Vefa Bicakci <m.v.b@runbox.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Heinrich Schuchardt authored
0 is not a pointer. So do not compare pointers to 0. Do not return 0 from functions with a pointer return type. Problem identified with Coccinelle. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Heinrich Schuchardt authored
Add some useful static code analysis scripts for coccinelle copied from the Linux kernel v4.14-rc8: Warn on check against NULL before calling free. scripts/coccinelle/free/ifnullfree.cocci Detect superfluous NULL check for list iterator. scripts/coccinelle/iterators/itnull.cocci Check if list iterator is reassigned. scripts/coccinelle/iterators/list_entry_update.cocci Check if list iterator is used after loop. scripts/coccinelle/iterators/use_after_iter.cocci Find wrong argument of sizeof in allocation function: scripts/coccinelle/misc/badty.cocci Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
Coccinelle is a program for static code analysis. For details on Coccinelle see http://coccinelle.lip6.fr/ Add scripts/coccicheck copied from Linux kernel v4.14. The coccicheck script executes the tests *.cocci in directory scripts/coccinelle by calling spatch. In Makefile add a coccicheck target. You can use it with make coccicheck MODE=<mode> where mode in patch, report, context, org. Add a copy of Linux v4.14 file Documentation/dev-tools/coccinelle.rst as doc/README.coccinelle. Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
The iterator variable of list_for_each is never NULL. if (1 || A) is always true. Use break if entry found. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Praneeth Bajjuri authored
As per current android recommendation https://source.android.com/devices/architecture/kernel/modular-kernels 1. Android recovery mode should contain both SOC and ODM kernel modules in the recovery partition. 2. If a kernel module is required both in recovery and normal boot mode, the module has to be located in recovery and vendor partition seperately. 3. Kernel modules used in recovery mode should be independent of vendor and odm partition 4. Recovery image should contain atleast storage, display, keypad, battery and pmic modules. Due to these requirements, recovery image size has increased to >10MB. This patch is to increase recovery partition size for TI devices so that we dont see such flashing error log: sending 'recovery' (12560 KB)... OKAY [ 0.436s] writing 'recovery'... FAILED (remote: too large for partition) finished. total time: 0.458s Signed-off-by:
Praneeth Bajjuri <praneeth@ti.com> Reviewed-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Heinrich Schuchardt authored
ld --version | scripts/ld-version.sh fails with awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(') .*) So let's refresh the script from Linux kernel v4.14-rc8. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
sym_arr is of type struct symbol **. So in malloc we need sizeof(struct symbol *). The problem was indicated by coccinelle. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- Nov 20, 2017
-
-
git://git.denx.de/u-boot-ubiTom Rini authored
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
Heinrich Schuchardt authored
kmem_cache_destroy calls free which checks for NULL. Problem was indicated by coccinelle. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-