gpbb: Add FPGA bitstream file

Signed-off-by: Sean Cross <xobs@kosagi.com>
novenatestwindow: Clean up window title

We add spaces to it to make it a bit prettier.

Signed-off-by: Sean Cross <xobs@kosagi.com>
audiotest: Hack to unmute channels

Since the audio service hasn't started yet, all channels are muted.  Call
amixer directly to unmute the headphones and increase volume.

Signed-off-by: Sean Cross <xobs@kosagi.com>
gpbbtest: Fix hang, increase debug verybosity

The GPBB test would try reading from the GPBB before the EIM clock was
turned on.  This results in a hang.

Increase the number of testDebug() messages, and fix the startup ordering.

Signed-off-by: Sean Cross <xobs@kosagi.com>
hwclocktest: Actually sync systime to RTC

Before, we'd get network time and throw it away.  Now we actually sync it
with the RTC.

Signed-off-by: Sean Cross <xobs@kosagi.com>
novenatestengine: Implement final test order

All tests are functioning now, so add them all to the test list.

Signed-off-by: Sean Cross <xobs@kosagi.com>
novenatestwindow: Post logfiles online

We upload logfiles in case something goes wrong at the factory.

Signed-off-by: Sean Cross <xobs@kosagi.com>
fpga: Move bitstream files to the "files" directory

They aren't code, but are necessary to run.

Signed-off-by: Sean Cross <xobs@kosagi.com>
runtest: Add a startx script to run the factory test

It sets up the window manager, starts an xterm, and launches the test.

Signed-off-by: Sean Cross <xobs@kosagi.com>
systemd: Add factory test service

This service runs early on, and starts X, passing to it runtest.sh as the
xinit script to run.

Signed-off-by: Sean Cross <xobs@kosagi.com>
novena-test: Remove unused tests

These tests do not need to be part of the distribution anymore, as they
are unused.

Signed-off-by: Sean Cross <xobs@kosagi.com>
cleanup: Remove more unused files

Signed-off-by: Sean Cross <xobs@kosagi.com>
novenatestwindow: Run fullscreen instead of maximized

This will prevent the operator from dragging the window around.

Signed-off-by: Sean Cross <xobs@kosagi.com>
audiotest: Use QSoundEffect objects instead of procedural

Sound effects are louder than what we're generating.

Signed-off-by: Sean Cross <xobs@kosagi.com>
audiotest: Use QSound files

QSound files are lower-overhead than QSoundEffects, and work just as well.

Signed-off-by: Sean Cross <xobs@kosagi.com>
runtest: Set speakers as default sound device

Since we now use QSound, we cannot manually specify the default audio
device in Qt.  Set it systemwide.

Signed-off-by: Sean Cross <xobs@kosagi.com>
gpbbtest: Try a few more times to get version ID

Sometimes it takes three or four tries to get a valid message back
from EIM.  Try a few times to be sure.

Signed-off-by: Sean Cross <xobs@kosagi.com>
gpbbtest: Mark EIM areas as volatile

Signed-off-by: Sean Cross <xobs@kosagi.com>
mmctest: Force resize2fs to run

We run resize2fs immediately following fsck.  It shouldn't complain, and
it shouldn't be dirty, but in practice I've seen it refuse to run due to
a dirty fs.

Signed-off-by: Sean Cross <xobs@kosagi.com>
novenatestwindow: Attempt to improve log posting procedure

Sometimes the log posting procedure can get stuck.  This can be due to
weird MTUs, broken networking, or any number of problems.

Work around this problem by only waiting thirty seconds (as opposed to
waiting forever), and setting the MTU to 492.

Signed-off-by: Sean Cross <xobs@kosagi.com>