Karel Kočí [Fri, 26 Feb 2016 16:05:42 +0000 (17:05 +0100)]
Revert "Add automatic git version and describe to database module"
This reverts commit 15178be3d5344ad3e547b7e3aba08866b2837395.
Automatic git version and describe to database module should not be
implemented in as part of database definition. So this commit removes
it.
Karel Kočí [Fri, 27 Nov 2015 15:30:31 +0000 (16:30 +0100)]
kconfig2sat write PicoSAT output to Linux config
This commit adds support for "--config" option in kconfig2sat program.
Using this option generates Linux configuration. For now only with
standard configuration, no single configurations generated.
Karel Kočí [Fri, 27 Nov 2015 10:51:19 +0000 (11:51 +0100)]
Integrate PicoSAT to kconfig2sat
PicoSAT is used as library to generate suitable configuration. This
configuration can be dumped to terminal if "--dumpconfig" is used. In
future will be used to update Linux configuration and such updated
configuration will be saved to file.
Karel Kočí [Fri, 20 Nov 2015 11:34:53 +0000 (12:34 +0100)]
Add automatic git version and describe to database module
Entries in tables toolsgit and linuxgit are managed automatically using
get().
Also removing relevant configuration options which are not used anymore.
Michal Sojka [Fri, 26 Feb 2016 14:33:11 +0000 (15:33 +0100)]
Make Django DB layer working
At this point I'm able to use ./manage.py to interact with the database.
Having Django DB layer available as a module from our scripts remains to
be done.
Karel Kočí [Fri, 20 Nov 2015 10:32:47 +0000 (11:32 +0100)]
Fix previous commit
Django wasn't initialized, this lead to exception when filtering with
foreign key.
Also fixing foreign column name "conf" in "Measure". And changing
initialization to use class names for foreign key columns.
Karel Kočí [Mon, 28 Sep 2015 13:50:06 +0000 (15:50 +0200)]
Add information why option can't be measured
When initialization is executed and measurability checked, only output
was that some configuration option can't be measured. This adds message
about why. (If it can't be selected or otherwise can't be unselected)
Karel Kočí [Mon, 28 Sep 2015 13:45:42 +0000 (15:45 +0200)]
Add name of configuration option to generator name for single-sat
When generated with single-sat generator, configuration in database
haven't had information about what configuration option was used as
forced input while generating.
Michal Sojka [Mon, 28 Sep 2015 07:38:11 +0000 (09:38 +0200)]
Update parse script for cyclictest
Previously, some successfully executed measurements had no value in the
database. Let's use explicit parsing script, which may (or may not) solve
this problem.
Karel Kočí [Fri, 25 Sep 2015 13:24:03 +0000 (15:24 +0200)]
Add bbb target for BeagleBone Black
Buildroot configuration is now generated from base configuration and
configuration defined by specified target. And initram is now build
automatically for test target and all target.
Karel Kočí [Thu, 17 Sep 2015 11:03:02 +0000 (13:03 +0200)]
Fix parse_kconfig symbol default
Generated rules for symbols default values was used without information
about their order. Kconfig documentation specifies that only first
valid default value specification should be used.
Karel Kočí [Mon, 14 Sep 2015 12:51:31 +0000 (14:51 +0200)]
Fix multithreading
When multithreading was enabled, same configuration could been build
multiple times. Adding list of built configurations and filtering list
of configurations sourced from database solves this problem. Now script
is aware of configurations that was prepared and not yet been measured.
Karel Kočí [Mon, 14 Sep 2015 09:26:36 +0000 (11:26 +0200)]
Change boot to execute only one scripts
Boot is now executing only lcpinit script. /init scripts is not used
during measurements. Booting without boot script, only using novaboot
scripts, results in using /init script. This helps to access cli in
booted machine without editing any files.
Karel Kočí [Sat, 12 Sep 2015 09:46:26 +0000 (11:46 +0200)]
Fix parse_kconfig choice parsing
Parsing choices was implemented wrong. For non-optional choice output
rules must contain also dependency of all choice symbols. Because if no
choice symbol has fulfilled dependencies, than choice shouldn't be
selected.
Karel Kočí [Fri, 28 Aug 2015 15:45:26 +0000 (17:45 +0200)]
Reimplement fromfolder script
Removing configuration options from configuration file according to
definition folder. New implementation allows to specify required
configuration options that shouldn't be removed in any case.