summaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* gitignore: Add stb test kernel filesCyril Bur2018-04-091-0/+3
| | | | | Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* gitignore: Add *.aAndrew Donnellan2018-03-011-0/+1
| | | | | | | | | Since we're using thin archives now, we should ignore all the *.as lying around... Fixes: f6159cff5d91 ("build: use thin archives rather than incremental linking") Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Update .gitignoreAndrew Donnellan2018-02-081-0/+2
| | | | | | | | Add *.pyc (to catch doc/DtsLexer.pyc) and *.patch (to catch patch files we leave lying around). Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libflash/test: Add tests for mbox-flashCyril Bur2017-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | A first basic set of tests for mbox-flash. These tests do their testing by stubbing out or otherwise replacing functions not in libflash/mbox-flash.c. The stubbed out version of the function can then be used to emulate a BMC mbox daemon talking to back to the code in mbox-flash and it can ensure that there is some adherence to the protocol and that from a blocklevel api point of view the world appears sane. This makes these tests simple to run and they have been integrated into `make check`. The down side is that these tests rely on duplicated feature incomplete BMC daemon behaviour. Therefore these tests are a strong indicator of broken behaviour but a very unreliable indicator of correctness. Full integration tests with a 'real' BMC daemon are probably beyond the scope of this repository. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> [stewart: fix TESTS_LOOPS printf] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* doc: Add _build directory to .gitignoreBenjamin Herrenschmidt2017-09-191-0/+1
| | | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* mambo: Add mambo socket programMichael Neuling2017-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This adds a program that can be run inside a mambo simulator in linux userspace which enables TCP sockets to be proxied in and out of the simulator to the host. Unlike mambo bogusnet, it's requires no linux or skiboot specific drivers/infrastructure to run. eg. Run inside the simulator: - to forward host ssh connections to sim ssh server ./mambo-socket-proxy -h 10022 -s 22 Then connect to port 10022 on your host ssh -p 10022 localhost - to allow http proxy access from inside the sim to local http proxy ./mambo-socket-proxy -b proxy.mynetwork -h 3128 -s 3128 Multiple connections are supported. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Update .gitignoreCyril Bur2017-08-151-0/+7
| | | | | Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* gitignore: Add compile_commands.jsonRussell Currey2017-06-091-0/+1
| | | | | | | | | | | | | compile_commands.json is a compilation database used by Clang and some tagging magic tools. There's a tool called `bear` which intercepts the compiler and creates this database of how every file is compiled. This enables my editor to highlight which #ifdef blocks actually get compiled, for example. Used by rtags: https://github.com/Andersbakken/rtags Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add tests for physical memory mapMichael Neuling2017-05-101-0/+1
| | | | | | | | This adds a bunch of tests to the physical memory map infrastructure. It checks for overlaps and alignment.. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* gitignore: Add Secure/Trusted Boot build filesMichael Neuling2016-12-211-0/+2
| | | | | Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libstb: add required container header structuresClaudio Carvalho2016-10-101-0/+2
| | | | | | | | | | | | | The full container header layout will be released soon either as a separate github project or as part of hostboot. This adds the secure boot header structures required by skiboot, and also implements some helper routines related to containers. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: Add unit test, print utility, use zero length arrays to ensure sizeof() works correctly, add parsing function] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* .gitignore: Add vgcore.*Cyril Bur2016-07-271-0/+1
| | | | | Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Update gitignoreStewart Smith2016-07-051-0/+6
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* gitignore: Add more types of tagsRussell Currey2016-06-211-0/+4
| | | | | | | | This covers .tags (and .tags1, etc) as made by Atom, and GTAGS, GRTAGS and GPATH as made by GNU Global. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add new output files from make check to gitignoreMichael Neuling2016-05-121-0/+4
| | | | | Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* update gitignore for new test casesStewart Smith2015-06-251-0/+5
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Expand nvram-format unit test to cover all error pathsStewart Smith2015-06-241-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add unit test for core/time-utilsStewart Smith2015-06-241-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test/hello_world: Add dump to gitignoreMichael Neuling2015-06-011-0/+1
| | | | | Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add extract-gcov to gitignoreMichael Ellerman2015-05-201-0/+1
| | | | | Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libflash: Improved ECC interfaceCyril Bur2015-03-171-0/+1
| | | | | | | | | | | | | | This patch is twofold. 1. Improves the low level ecc memcpy code to better specify that we're reading/writing buffers with ecc bytes. 2. Improves/creates the libflash interfaces for ecc. This patch also includes some tests Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add files to .gitignoreMichael Neuling2015-02-121-2/+2
| | | | | | | To avoid skiboot.tmp.(map|elf) build file. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Update gitignore for current test suite binaries etcStewart Smith2014-12-241-1/+12
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Run the CCAN unit tests and add to coverage-reportStewart Smith2014-12-181-0/+2
| | | | | | | | | | | | | | With some fun Makefile rules, we can pick up all CCAN unit tests. We exclude the unit test source files from the lcov report itself. Add skeleton ccan config.h and tap.h that are enough for us to build and run the test suite. Currently, the minimalist versions should be fine (and we don't need CCAN configurator). Also includes -Werror fixes for ccan tests. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add hello_world tiny payload to test with mambo (if available)Stewart Smith2014-12-151-0/+1
| | | | | | | | | Just calls OPAL_CONSOLE_WRITE with "Hello World!" and with mambo we can execute this tiny boot test in not much time at all. Good little sanity check. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Implement skiboot versioningStewart Smith2014-11-191-1/+2
| | | | | | | | | | | | | | | | | | We grab a version from git tags (or SKIBOOT_VERSION environment variable), optionally tack on EXTRA_VERSION (if from git) as well as add things to the git version number if we're ahead of the most recent tag or the tree is dirty. Also fix-up makefiles so that we don't have to rebuild version.c every time you run make. fsp attn area needed updating as we can have >40 character version strings. We also export the version string via device tree rather than just the gitid. For buildroot builds, setting SKIBOOT_VERSION environment variable to the tag you grab will do the correct thing. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* update gitignore for non-core/test testsStewart Smith2014-10-221-0/+4
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* fsp/elog: Create a logging frontendAlistair Popple2014-10-221-0/+1
| | | | | | | | | | | | | | In order to support fsp-less machines we need to be able to log errors using a BMC or some other mechanism. Currently the error logging code is tightly coupled to the platform making it difficult to add different platforms. This patch factors out the generic parts of the error logging code in preparation for adding different logging backends. It also adds a generic mechanism for pre-allocating a specific number of objects. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* fsp/elog: Separate the PEL log formatting functionsAlistair Popple2014-10-221-0/+1
| | | | | | | | | | The PEL log format is not specific to the FSP. We plan to use the same format for OpenPOWER systems. This patch refactors the code into a platform agnostic file. Signed-off-by: Alistair Popple <alistair@popple.id.au> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Preliminary code coverage reporting infrastructureStewart Smith2014-10-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support in core/test/Makefile.check to build -gcov binaries (with -lgcov and -fprofile-blah-blah) as well as some targets for producing lcov HTML code coverage reports. As part of this, I had to fix up an oddity in run-mem_region_init where that due to running under Valgrind, we'd be malloc()ed a heap with a small address, well inside the mem_regions we added but when not running under valgrind (e.g. for code coverage reporting) we would get a much larger address, outside this range and hit an assert. So, after fiddling with the memory stuff for this test, I think I have it right - it passes both under valgrind and not and does produce code coverage data. Currently, we're at this level of code coverage by unit tests: Hit Total Coverage Lines: 1936 2574 75.2 % Functions: 177 225 78.7 % Branches: 1243 2360 52.7 % The totals should largely be ignored due to the only code being counted is that linked into the unit tests (total LOC is ~50kLOC according to sloccount... so unit tests currently cover < 5%) Try the "make coverage-report" target, you'll get coverage-report directory with a LCOV HTML report Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+27
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud