]> rtime.felk.cvut.cz Git - novaboot.git/log
novaboot.git
10 years agoExport serial line TTY as env. variable
Michal Sojka [Wed, 6 Nov 2013 12:43:37 +0000 (13:43 +0100)]
Export serial line TTY as env. variable

This is needed for reset command in ryulocal configuration.

Also check whether dtrrts command exists before trying to execute it.

10 years agoFix inviseble text (<...>) in Github markdown
Michal Sojka [Wed, 6 Nov 2013 01:27:47 +0000 (02:27 +0100)]
Fix inviseble text (<...>) in Github markdown

10 years agoUpdate documentation
Michal Sojka [Wed, 6 Nov 2013 00:19:20 +0000 (01:19 +0100)]
Update documentation

10 years agoImprove uBoot support; add two targets that use uBoot
Michal Sojka [Tue, 5 Nov 2013 23:44:33 +0000 (00:44 +0100)]
Improve uBoot support; add two targets that use uBoot

10 years agoAdd options for remote reset target connection and reset
Michal Sojka [Tue, 5 Nov 2013 23:38:12 +0000 (00:38 +0100)]
Add options for remote reset target connection and reset

10 years agoRemove debug message
Michal Sojka [Tue, 5 Nov 2013 16:43:11 +0000 (17:43 +0100)]
Remove debug message

10 years agoFix example sudoers file
Michal Sojka [Tue, 5 Nov 2013 15:43:15 +0000 (16:43 +0100)]
Fix example sudoers file

10 years agoRework interaction with the target
Michal Sojka [Tue, 5 Nov 2013 14:34:41 +0000 (15:34 +0100)]
Rework interaction with the target

Only set up bi-directional communication if run on terminal. Also
specify manual_stty on STDIN to not mess up messages from background
server.

I will need to play more with terminal settings, because currently it is
not ideal. See the comment in the patch.

10 years agoClarify and simplify starting and killing of DHCP and TFTP servers
Michal Sojka [Tue, 5 Nov 2013 14:14:40 +0000 (15:14 +0100)]
Clarify and simplify starting and killing of DHCP and TFTP servers

Because servers run under root, we do not have permissions to kill them.
Normally, this is not a problem, because Ctrl-C kills the servers, because
they are in the same process group and kernel (terminal) don't care
about permissions. If novaboot dies after starting server, we need a way
to kill the servers explicitly. We use pkill command and .pid files
produced by the server. This is quite reliable.

10 years agoAdd initial support for uBoot
Michal Sojka [Tue, 5 Nov 2013 13:05:30 +0000 (14:05 +0100)]
Add initial support for uBoot

10 years agoAdd --stty option to specify serial line configuration
Michal Sojka [Tue, 5 Nov 2013 09:51:05 +0000 (10:51 +0100)]
Add --stty option to specify serial line configuration

10 years agoFix warnings when invoked with no script
Michal Sojka [Tue, 5 Nov 2013 09:23:18 +0000 (10:23 +0100)]
Fix warnings when invoked with no script

10 years agoInitialize all possible target connections at one place
Michal Sojka [Tue, 5 Nov 2013 09:20:49 +0000 (10:20 +0100)]
Initialize all possible target connections at one place

i.e. one large if/elif/else block.

Also modularize target reset/poweron/off.

10 years agoUse Expect package to communicate with the target over serial line
Michal Sojka [Mon, 4 Nov 2013 23:08:12 +0000 (00:08 +0100)]
Use Expect package to communicate with the target over serial line

This simplifies the code and unifies the target communication. Now, this
is used for communication with the IP relay, host serial line and qemu
subprocess. More is expected to come.

10 years agoWhen printing an executed command, don't print quote every parameter
Michal Sojka [Mon, 4 Nov 2013 22:19:11 +0000 (23:19 +0100)]
When printing an executed command, don't print quote every parameter

Only parameters containing spaces semicolons etc. are quoted.

10 years agoComment on target connection
Michal Sojka [Mon, 4 Nov 2013 20:43:04 +0000 (21:43 +0100)]
Comment on target connection

10 years agoClarify documentation
Michal Sojka [Sun, 3 Nov 2013 19:30:37 +0000 (20:30 +0100)]
Clarify documentation

10 years agoFix invocation with absolute path
Michal Sojka [Tue, 22 Oct 2013 05:16:30 +0000 (07:16 +0200)]
Fix invocation with absolute path

10 years agoAdd tests of different invocation styles
Michal Sojka [Tue, 22 Oct 2013 05:11:25 +0000 (07:11 +0200)]
Add tests of different invocation styles

10 years agoSimplify file generation in tests
Michal Sojka [Mon, 21 Oct 2013 21:25:02 +0000 (23:25 +0200)]
Simplify file generation in tests

10 years agoAdd BUILDDIR variable
Michal Sojka [Mon, 21 Oct 2013 21:23:06 +0000 (23:23 +0200)]
Add BUILDDIR variable

Modify powerpc example to use this variable.

10 years agoAdd test for $hypervisor variable
Michal Sojka [Mon, 21 Oct 2013 21:01:41 +0000 (23:01 +0200)]
Add test for $hypervisor variable

10 years agoMake all warnings fatal under when testing
Michal Sojka [Mon, 21 Oct 2013 20:49:16 +0000 (22:49 +0200)]
Make all warnings fatal under when testing

10 years agoSimplify determination of build directory
Michal Sojka [Mon, 21 Oct 2013 20:48:41 +0000 (22:48 +0200)]
Simplify determination of build directory

Due to the possibility of having the configuration file in arbitrary
directory, it is not necessary to special case NUL build directory in the
core.

10 years agoRun every test in its own directory
Michal Sojka [Mon, 21 Oct 2013 20:07:27 +0000 (22:07 +0200)]
Run every test in its own directory

10 years agoTest suite improvements
Michal Sojka [Mon, 21 Oct 2013 18:18:16 +0000 (20:18 +0200)]
Test suite improvements

10 years agoCleanup
Michal Sojka [Mon, 21 Oct 2013 18:33:50 +0000 (20:33 +0200)]
Cleanup

10 years agoFix warning
Michal Sojka [Mon, 21 Oct 2013 17:57:11 +0000 (19:57 +0200)]
Fix warning

10 years agoAdd rudimentary test suite
Michal Sojka [Mon, 21 Oct 2013 11:18:20 +0000 (13:18 +0200)]
Add rudimentary test suite

10 years agoReplace $chainloader configuration variable with --chainloaders switch
Michal Sojka [Mon, 21 Oct 2013 11:13:22 +0000 (13:13 +0200)]
Replace $chainloader configuration variable with --chainloaders switch

10 years agoAdd --gen-only option
Michal Sojka [Mon, 21 Oct 2013 11:07:45 +0000 (13:07 +0200)]
Add --gen-only option

10 years agoMove --scons documentation to the correct section
Michal Sojka [Mon, 21 Oct 2013 11:00:29 +0000 (13:00 +0200)]
Move --scons documentation to the correct section

10 years agoSimplify pulsar config name
Michal Sojka [Mon, 21 Oct 2013 08:44:59 +0000 (10:44 +0200)]
Simplify pulsar config name

10 years agoReplace $pulsar_root configuration variable with a command line option
Michal Sojka [Mon, 21 Oct 2013 08:41:12 +0000 (10:41 +0200)]
Replace $pulsar_root configuration variable with a command line option

10 years agoAdd target connection check phase to the documentation
Michal Sojka [Mon, 21 Oct 2013 00:27:35 +0000 (02:27 +0200)]
Add target connection check phase to the documentation

10 years agoRemove end mark from grub configs
Michal Sojka [Mon, 21 Oct 2013 00:16:06 +0000 (02:16 +0200)]
Remove end mark from grub configs

This was needed for interaction with grub over serial line which was
removed a few commits back.

10 years agoDon't dump log messages to the config file; better indentation of the config file
Michal Sojka [Mon, 21 Oct 2013 00:12:58 +0000 (02:12 +0200)]
Don't dump log messages to the config file; better indentation of the config file

10 years agoSimplify qemu handling
Michal Sojka [Mon, 21 Oct 2013 00:08:18 +0000 (02:08 +0200)]
Simplify qemu handling

10 years agoSimplify scons handling
Michal Sojka [Mon, 21 Oct 2013 00:07:42 +0000 (02:07 +0200)]
Simplify scons handling

10 years agoRemove $pulsar_mac configuration variable
Michal Sojka [Sun, 20 Oct 2013 23:49:44 +0000 (01:49 +0200)]
Remove $pulsar_mac configuration variable

10 years agoRemove $iprelay configuration variable
Michal Sojka [Sun, 20 Oct 2013 23:47:50 +0000 (01:47 +0200)]
Remove $iprelay configuration variable

Also improve --on/--off handling.

10 years agoRemove grub_keys configuration option
Michal Sojka [Sun, 20 Oct 2013 23:33:08 +0000 (01:33 +0200)]
Remove grub_keys configuration option

I have no use case for this option and it never worked reliably.

10 years agoRemove $server configuration variable
Michal Sojka [Sun, 20 Oct 2013 23:29:41 +0000 (01:29 +0200)]
Remove $server configuration variable

Can be replaced by putting --server option to %targets configuration.

10 years agoSearch configuration files in all directories upwards from the script directory
Michal Sojka [Sun, 20 Oct 2013 23:21:54 +0000 (01:21 +0200)]
Search configuration files in all directories upwards from the script directory

The idea is to allow having a project specific configuration in the
project's repository as well as user specific one in the home directory.

10 years agoSimplify generation of bootloader configuration files
Michal Sojka [Sat, 19 Oct 2013 23:36:14 +0000 (01:36 +0200)]
Simplify generation of bootloader configuration files

Now, every aspect of generation is triggered by command line option
(previously, there were a lot of implicit rules and dependencies).

Removed some configuration options (the rest will follow soon).

Not all combinations of command line switches were tested, so there might
be some errors!

10 years agoReplace custom_options with --target
Michal Sojka [Sat, 19 Oct 2013 20:23:23 +0000 (22:23 +0200)]
Replace custom_options with --target

The result is that the "-I" switch is replaced with "-t tud" and "-J"
with "-t novabox".

10 years agoSmall doc fixes
Michal Sojka [Sat, 19 Oct 2013 14:48:58 +0000 (16:48 +0200)]
Small doc fixes

10 years agoGive more structure to the documentation
Michal Sojka [Sat, 19 Oct 2013 14:41:28 +0000 (16:41 +0200)]
Give more structure to the documentation

10 years agoSimplify config name determination
Michal Sojka [Sat, 19 Oct 2013 13:34:13 +0000 (15:34 +0200)]
Simplify config name determination

10 years agoFix warning in perl v5.18.1
Michal Sojka [Sat, 19 Oct 2013 13:30:34 +0000 (15:30 +0200)]
Fix warning in perl v5.18.1

10 years agoAdd linux-powerpc example
Michal Sojka [Tue, 15 Oct 2013 14:01:31 +0000 (16:01 +0200)]
Add linux-powerpc example

10 years agoAutomatically pass .dtb files to qemu's -dtb options
Michal Sojka [Tue, 15 Oct 2013 13:52:52 +0000 (15:52 +0200)]
Automatically pass .dtb files to qemu's -dtb options

This probably works only for ARMs. PowerPC seems to require fixed name
ppc.dtb.

10 years agoAllow specifying QEMU binary in novaboot scripts
Michal Sojka [Tue, 15 Oct 2013 13:24:27 +0000 (15:24 +0200)]
Allow specifying QEMU binary in novaboot scripts

10 years agoUpdate pre-commit hook
Michal Sojka [Tue, 15 Oct 2013 12:21:19 +0000 (14:21 +0200)]
Update pre-commit hook

10 years agoAdd .gitignore
Michal Sojka [Tue, 15 Oct 2013 12:20:49 +0000 (14:20 +0200)]
Add .gitignore

10 years agoDocument that configuration file should not be used
Michal Sojka [Tue, 15 Oct 2013 12:13:03 +0000 (14:13 +0200)]
Document that configuration file should not be used

10 years agoDon't use the implicitely specified kernel
Michal Sojka [Tue, 15 Oct 2013 12:01:26 +0000 (14:01 +0200)]
Don't use the implicitely specified kernel

This make it easier to boot other OSes than NOVA. If you want to keep
the old behavior add

  $hypervisor = "bin/apps/hypervisor";

to your .novaboot file.

10 years agoAdd outline comments
Michal Sojka [Tue, 15 Oct 2013 11:57:05 +0000 (13:57 +0200)]
Add outline comments

10 years agoAdd GPL header
Michal Sojka [Tue, 15 Oct 2013 10:06:24 +0000 (12:06 +0200)]
Add GPL header

10 years agoAdd an example of how to boot Linux
Michal Sojka [Tue, 15 Oct 2013 10:01:51 +0000 (12:01 +0200)]
Add an example of how to boot Linux

A buildroot configuration to build the images is added as well.

10 years agoAdd pre-commit hook that I use in my repo
Michal Sojka [Tue, 15 Oct 2013 09:40:36 +0000 (11:40 +0200)]
Add pre-commit hook that I use in my repo

10 years agoSmall improvements to documentation
Michal Sojka [Tue, 15 Oct 2013 08:18:08 +0000 (10:18 +0200)]
Small improvements to documentation

10 years agoAdd automatically generated README
Michal Sojka [Tue, 15 Oct 2013 07:34:04 +0000 (09:34 +0200)]
Add automatically generated README

So that Github display something.

10 years agoAdd license (GPLv2)
Michal Sojka [Tue, 15 Oct 2013 07:43:00 +0000 (09:43 +0200)]
Add license (GPLv2)

10 years agoCopy novaboot from NUL repository
Michal Sojka [Tue, 15 Oct 2013 07:33:03 +0000 (09:33 +0200)]
Copy novaboot from NUL repository

I.e. from https://github.com/TUD-OS/NUL.git, revision
a88b4eb03d01969b4ec6c31e80089f7854c000cf.